diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2016-08-31 09:47:12 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2016-08-31 09:47:12 (GMT) |
commit | 9c915b83bc06babe6f0127f6446143ea50d00b62 (patch) | |
tree | b5620b380c41e0155e3326b8242712be1b3a5b57 /templates | |
parent | 59a8f09137ebfc25c2f238a417088b50b8fbb631 (diff) | |
download | Doxygen-9c915b83bc06babe6f0127f6446143ea50d00b62.zip Doxygen-9c915b83bc06babe6f0127f6446143ea50d00b62.tar.gz Doxygen-9c915b83bc06babe6f0127f6446143ea50d00b62.tar.bz2 |
Unified display of enum values across output formats and languages
Diffstat (limited to 'templates')
-rw-r--r-- | templates/latex/doxygen.sty | 16 |
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}}% |