added a macro used in tikz diagrams

This commit is contained in:
Noah Diewald 2019-11-20 00:20:26 -05:00
parent 422ee018cc
commit 489dadb751
No known key found for this signature in database
GPG Key ID: EC2BAE1E100A5509
1 changed files with 6 additions and 0 deletions

View File

@ -139,6 +139,12 @@
\newenvironment{statement}[1][]{\refstepcounter{statement}\par\medskip
\textbf{Statement~\thestatement. #1} \rmfamily}{\medskip}
\newcommand{\cgrid}[4]{%
\begin{tabular}{p{1em}|p{1em}}
\textsf{#1} & \textsf{#2} \\\hline
\textsf{#3} & \textsf{#4} \\
\end{tabular}}
\definecolor{darkgreen}{rgb}{0,0.4,0}
\definecolor{darkred}{rgb}{0.4,0,0}
\definecolor{darkblue}{rgb}{0,0,0.4}