Add tab environment
This commit is contained in:
@@ -82,3 +82,12 @@
|
||||
\captionsetup{%
|
||||
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