Set up helpers, mostly okay. Some changes yet to come
This commit is contained in:
29
main/tables.tex
Normal file
29
main/tables.tex
Normal file
@@ -0,0 +1,29 @@
|
||||
% _____ _ _
|
||||
% (_ _) ( ) (_ )
|
||||
% | | _ _| |_ | | __ ___
|
||||
% | | / _ ) _ \ | | / __ \ __)
|
||||
% | | ( (_| | |_) )| |( ___/__ \
|
||||
% (_) \__ _)_ __/(___)\____)____/
|
||||
|
||||
|
||||
% Create new table. #1 Layout, #2 title row
|
||||
\newenvironment{tab}[2]{
|
||||
\begin{center}
|
||||
\begin{tabular}{#1}
|
||||
\toprule
|
||||
#2\\
|
||||
\midrule
|
||||
}{
|
||||
\bottomrule
|
||||
\end{center}
|
||||
\end{tabular}
|
||||
}
|
||||
|
||||
% Create new table in table env. #1 layout, #2 title row, #3 caption
|
||||
\newenvironment{fullTable}[3]{
|
||||
\begin{table}[h!]
|
||||
\begin{tab}{#1}{#2}
|
||||
}{
|
||||
\caption{#3}
|
||||
\end{table}
|
||||
}
|
Reference in New Issue
Block a user