summaryrefslogtreecommitdiffstats
path: root/templates/latex/doxygen.sty
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2016-08-31 09:47:12 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2016-08-31 09:47:12 (GMT)
commit9c915b83bc06babe6f0127f6446143ea50d00b62 (patch)
treeb5620b380c41e0155e3326b8242712be1b3a5b57 /templates/latex/doxygen.sty
parent59a8f09137ebfc25c2f238a417088b50b8fbb631 (diff)
downloadDoxygen-9c915b83bc06babe6f0127f6446143ea50d00b62.zip
Doxygen-9c915b83bc06babe6f0127f6446143ea50d00b62.tar.gz
Doxygen-9c915b83bc06babe6f0127f6446143ea50d00b62.tar.bz2
Unified display of enum values across output formats and languages
Diffstat (limited to 'templates/latex/doxygen.sty')
-rw-r--r--templates/latex/doxygen.sty16
1 files changed, 16 insertions, 0 deletions
diff --git a/templates/latex/doxygen.sty b/templates/latex/doxygen.sty
index 67860e0..2510b41 100644
--- a/templates/latex/doxygen.sty
+++ b/templates/latex/doxygen.sty
@@ -305,6 +305,22 @@
\vspace{6pt}%
}
+% Used for fields simple class style enums
+\newenvironment{DoxyEnumFields}[1]{%
+ \tabulinesep=1mm%
+ \par%
+ \begin{longtabu} spread 0pt [l]{|X[-1,r]|X[-1,l]|}%
+ \multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #1}\\[1ex]%
+ \hline%
+ \endfirsthead%
+ \multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #1}\\[1ex]%
+ \hline%
+ \endhead%
+}{%
+ \end{longtabu}%
+ \vspace{6pt}%
+}
+
% Used for parameters within a detailed function description
\newenvironment{DoxyParamCaption}{%
\renewcommand{\item}[2][]{\\ \hspace*{2.0cm} ##1 {\em ##2}}%