Add tab environment
This commit is contained in:
@@ -81,4 +81,13 @@
|
|||||||
|
|
||||||
\captionsetup{%
|
\captionsetup{%
|
||||||
labelfont={sf,bf,up}, % sans-serif, bold, upright
|
labelfont={sf,bf,up}, % sans-serif, bold, upright
|
||||||
}
|
}
|
||||||
|
|
||||||
|
\RenewDocumentEnvironment{tab}{O{htbp} m m o}{% #1 = position, #2 = label, #3 = title, #4 = additional caption
|
||||||
|
\begin{table}[#1]%
|
||||||
|
\centering%
|
||||||
|
\caption[#3]{#3#4}%
|
||||||
|
\label{tab:#2}%
|
||||||
|
}{%
|
||||||
|
\end{table}%
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user