Add docs, finish up errors
This commit is contained in:
@@ -5,9 +5,12 @@
|
||||
% | | ( (_| | |_) )| |( ___/__ \
|
||||
% (_) \__ _)_ __/(___)\____)____/
|
||||
|
||||
|
||||
|
||||
\usepackage{booktabs}
|
||||
\usepackage{tabulary}
|
||||
|
||||
% Create new table. #1 Layout, #2 title row
|
||||
\newenvironment{tab}[2]{
|
||||
\newenvironment{tables}[2]{
|
||||
\begin{center}
|
||||
\begin{tabular}{#1}
|
||||
\toprule
|
||||
@@ -15,15 +18,17 @@
|
||||
\midrule
|
||||
}{
|
||||
\bottomrule
|
||||
\end{center}
|
||||
\end{tabular}
|
||||
\end{tabular}
|
||||
\end{center}
|
||||
}
|
||||
|
||||
% Create new table in table env. #1 layout, #2 title row, #3 caption
|
||||
\newenvironment{fullTable}[3]{
|
||||
\edef\tableCaption{#3}
|
||||
\begin{table}[h!]
|
||||
\begin{tab}{#1}{#2}
|
||||
\begin{tables}{#1}{#2}
|
||||
}{
|
||||
\caption{#3}
|
||||
\end{tables}
|
||||
\caption{\tableCaption}
|
||||
\end{table}
|
||||
}
|
||||
|
Reference in New Issue
Block a user