[Tables] Remove labeledTable again
This commit is contained in:
@@ -30,8 +30,6 @@ This outputs as
|
|||||||
Left content & Right Content\\
|
Left content & Right Content\\
|
||||||
\end{fullTable}
|
\end{fullTable}
|
||||||
|
|
||||||
You may also use the \verb|labeledTable| environment, which takes as fourth argument the label you want to give the table a label to reference using \verb|\ref{tab:<your-label>}|
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
\subsection{Index}
|
\subsection{Index}
|
||||||
|
|||||||
@@ -31,16 +31,3 @@
|
|||||||
\caption{\tableCaption}
|
\caption{\tableCaption}
|
||||||
\end{table}
|
\end{table}
|
||||||
}
|
}
|
||||||
|
|
||||||
% Labeled table. #1 layout, #2 title row, #3 caption, #4 label
|
|
||||||
\newenvironment{labeledTable}[4]{
|
|
||||||
\edef\tableLabel{#4}
|
|
||||||
\edef\tableCaption{#3}
|
|
||||||
\begin{table}[h!]
|
|
||||||
\begin{tables}{#1}{#2}
|
|
||||||
}{
|
|
||||||
\end{tables}
|
|
||||||
\caption{\tableCaption}
|
|
||||||
\label{\tableLabel}
|
|
||||||
\end{table}
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user