2018-11-29 05:03:26 -06:00
|
|
|
\NeedsTeXFormat{LaTeX2e}
|
|
|
|
\ProvidesPackage{doxygen}
|
|
|
|
|
|
|
|
% Packages used by this style file
|
|
|
|
\RequirePackage{alltt}
|
2022-08-13 10:46:47 -05:00
|
|
|
%%\RequirePackage{array} %% moved to refman.tex due to workaround for LaTex 2019 version and unmaintained tabu package
|
2018-11-29 05:03:26 -06:00
|
|
|
\RequirePackage{calc}
|
|
|
|
\RequirePackage{float}
|
2022-08-13 10:46:47 -05:00
|
|
|
%%\RequirePackage{ifthen} %% moved to refman.tex due to workaround for LaTex 2019 version and unmaintained tabu package
|
2018-11-29 05:03:26 -06:00
|
|
|
\RequirePackage{verbatim}
|
|
|
|
\RequirePackage[table]{xcolor}
|
2022-08-13 10:46:47 -05:00
|
|
|
\RequirePackage{longtable_doxygen}
|
|
|
|
\RequirePackage{tabu_doxygen}
|
|
|
|
\RequirePackage{fancyvrb}
|
2018-11-29 05:03:26 -06:00
|
|
|
\RequirePackage{tabularx}
|
2022-08-13 10:46:47 -05:00
|
|
|
\RequirePackage{multicol}
|
2018-11-29 05:03:26 -06:00
|
|
|
\RequirePackage{multirow}
|
2022-08-13 10:46:47 -05:00
|
|
|
\RequirePackage{hanging}
|
|
|
|
\RequirePackage{ifpdf}
|
|
|
|
\RequirePackage{adjustbox}
|
|
|
|
\RequirePackage{amssymb}
|
|
|
|
\RequirePackage{stackengine}
|
|
|
|
\RequirePackage[normalem]{ulem} % for strikeout, but don't modify emphasis
|
2018-11-29 05:03:26 -06:00
|
|
|
|
|
|
|
%---------- Internal commands used in this style file ----------------
|
|
|
|
|
|
|
|
\newcommand{\ensurespace}[1]{%
|
|
|
|
\begingroup%
|
|
|
|
\setlength{\dimen@}{#1}%
|
|
|
|
\vskip\z@\@plus\dimen@%
|
|
|
|
\penalty -100\vskip\z@\@plus -\dimen@%
|
|
|
|
\vskip\dimen@%
|
|
|
|
\penalty 9999%
|
|
|
|
\vskip -\dimen@%
|
|
|
|
\vskip\z@skip% hide the previous |\vskip| from |\addvspace|
|
|
|
|
\endgroup%
|
|
|
|
}
|
|
|
|
|
2022-08-13 10:46:47 -05:00
|
|
|
\newcommand{\DoxyHorRuler}[1]{%
|
|
|
|
\setlength{\parskip}{0ex plus 0ex minus 0ex}%
|
|
|
|
\ifthenelse{#1=0}%
|
|
|
|
{%
|
|
|
|
\hrule%
|
|
|
|
}%
|
|
|
|
{%
|
|
|
|
\hrulefilll%
|
|
|
|
}%
|
|
|
|
}
|
2018-11-29 05:03:26 -06:00
|
|
|
\newcommand{\DoxyLabelFont}{}
|
|
|
|
\newcommand{\entrylabel}[1]{%
|
|
|
|
{%
|
|
|
|
\parbox[b]{\labelwidth-4pt}{%
|
|
|
|
\makebox[0pt][l]{\DoxyLabelFont#1}%
|
|
|
|
\vspace{1.5\baselineskip}%
|
|
|
|
}%
|
|
|
|
}%
|
|
|
|
}
|
|
|
|
|
|
|
|
\newenvironment{DoxyDesc}[1]{%
|
|
|
|
\ensurespace{4\baselineskip}%
|
|
|
|
\begin{list}{}{%
|
|
|
|
\settowidth{\labelwidth}{20pt}%
|
2022-08-13 10:46:47 -05:00
|
|
|
%\setlength{\parsep}{0pt}%
|
2018-11-29 05:03:26 -06:00
|
|
|
\setlength{\itemsep}{0pt}%
|
|
|
|
\setlength{\leftmargin}{\labelwidth+\labelsep}%
|
|
|
|
\renewcommand{\makelabel}{\entrylabel}%
|
|
|
|
}%
|
|
|
|
\item[#1]%
|
|
|
|
}{%
|
|
|
|
\end{list}%
|
|
|
|
}
|
|
|
|
|
|
|
|
\newsavebox{\xrefbox}
|
|
|
|
\newlength{\xreflength}
|
|
|
|
\newcommand{\xreflabel}[1]{%
|
|
|
|
\sbox{\xrefbox}{#1}%
|
|
|
|
\setlength{\xreflength}{\wd\xrefbox}%
|
|
|
|
\ifthenelse{\xreflength>\labelwidth}{%
|
|
|
|
\begin{minipage}{\textwidth}%
|
|
|
|
\setlength{\parindent}{0pt}%
|
|
|
|
\hangindent=15pt\bfseries #1\vspace{1.2\itemsep}%
|
|
|
|
\end{minipage}%
|
|
|
|
}{%
|
|
|
|
\parbox[b]{\labelwidth}{\makebox[0pt][l]{\textbf{#1}}}%
|
|
|
|
}%
|
|
|
|
}
|
|
|
|
|
|
|
|
%---------- Commands used by doxygen LaTeX output generator ----------
|
|
|
|
|
|
|
|
% Used by <pre> ... </pre>
|
|
|
|
\newenvironment{DoxyPre}{%
|
|
|
|
\small%
|
|
|
|
\begin{alltt}%
|
|
|
|
}{%
|
|
|
|
\end{alltt}%
|
|
|
|
\normalsize%
|
|
|
|
}
|
2022-08-13 10:46:47 -05:00
|
|
|
% Necessary for redefining not defined characters, i.e. "Replacement Character" in tex output.
|
|
|
|
\newlength{\CodeWidthChar}
|
|
|
|
\newlength{\CodeHeightChar}
|
|
|
|
\settowidth{\CodeWidthChar}{?}
|
|
|
|
\settoheight{\CodeHeightChar}{?}
|
|
|
|
% Necessary for hanging indent
|
|
|
|
\newlength{\DoxyCodeWidth}
|
|
|
|
|
|
|
|
\newcommand\DoxyCodeLine[1]{\hangpara{\DoxyCodeWidth}{1}{#1}\par}
|
|
|
|
|
|
|
|
\newcommand\NiceSpace{%
|
|
|
|
\discretionary{}{\kern\fontdimen2\font}{\kern\fontdimen2\font}%
|
|
|
|
}
|
2018-11-29 05:03:26 -06:00
|
|
|
|
|
|
|
% Used by @code ... @endcode
|
2022-08-13 10:46:47 -05:00
|
|
|
\newenvironment{DoxyCode}[1]{%
|
2018-11-29 05:03:26 -06:00
|
|
|
\par%
|
|
|
|
\scriptsize%
|
2022-08-13 10:46:47 -05:00
|
|
|
\normalfont\ttfamily%
|
|
|
|
\rightskip0pt plus 1fil%
|
|
|
|
\settowidth{\DoxyCodeWidth}{000000}%
|
|
|
|
\settowidth{\CodeWidthChar}{?}%
|
|
|
|
\settoheight{\CodeHeightChar}{?}%
|
|
|
|
\setlength{\parskip}{0ex plus 0ex minus 0ex}%
|
|
|
|
\ifthenelse{\equal{#1}{0}}
|
|
|
|
{
|
|
|
|
{\lccode`~32 \lowercase{\global\let~}\NiceSpace}\obeyspaces%
|
|
|
|
}
|
|
|
|
{
|
|
|
|
{\lccode`~32 \lowercase{\global\let~}}\obeyspaces%
|
|
|
|
}
|
|
|
|
|
2018-11-29 05:03:26 -06:00
|
|
|
}{%
|
2022-08-13 10:46:47 -05:00
|
|
|
\normalfont%
|
2018-11-29 05:03:26 -06:00
|
|
|
\normalsize%
|
2022-08-13 10:46:47 -05:00
|
|
|
\settowidth{\CodeWidthChar}{?}%
|
|
|
|
\settoheight{\CodeHeightChar}{?}%
|
2018-11-29 05:03:26 -06:00
|
|
|
}
|
|
|
|
|
2022-08-13 10:46:47 -05:00
|
|
|
% Redefining not defined characters, i.e. "Replacement Character" in tex output.
|
|
|
|
\def\ucr{\adjustbox{width=\CodeWidthChar,height=\CodeHeightChar}{\stackinset{c}{}{c}{-.2pt}{%
|
|
|
|
\textcolor{white}{\sffamily\bfseries\small ?}}{%
|
|
|
|
\rotatebox{45}{$\blacksquare$}}}}
|
|
|
|
|
2018-11-29 05:03:26 -06:00
|
|
|
% Used by @example, @include, @includelineno and @dontinclude
|
2022-08-13 10:46:47 -05:00
|
|
|
\newenvironment{DoxyCodeInclude}[1]{%
|
|
|
|
\DoxyCode{#1}%
|
2018-11-29 05:03:26 -06:00
|
|
|
}{%
|
|
|
|
\endDoxyCode%
|
|
|
|
}
|
|
|
|
|
|
|
|
% Used by @verbatim ... @endverbatim
|
|
|
|
\newenvironment{DoxyVerb}{%
|
|
|
|
\footnotesize%
|
|
|
|
\verbatim%
|
|
|
|
}{%
|
|
|
|
\endverbatim%
|
|
|
|
\normalsize%
|
|
|
|
}
|
|
|
|
|
|
|
|
% Used by @verbinclude
|
|
|
|
\newenvironment{DoxyVerbInclude}{%
|
|
|
|
\DoxyVerb%
|
|
|
|
}{%
|
|
|
|
\endDoxyVerb%
|
|
|
|
}
|
|
|
|
|
|
|
|
% Used by numbered lists (using '-#' or <ol> ... </ol>)
|
|
|
|
\newenvironment{DoxyEnumerate}{%
|
|
|
|
\enumerate%
|
|
|
|
}{%
|
|
|
|
\endenumerate%
|
|
|
|
}
|
|
|
|
|
|
|
|
% Used by bullet lists (using '-', @li, @arg, or <ul> ... </ul>)
|
|
|
|
\newenvironment{DoxyItemize}{%
|
|
|
|
\itemize%
|
|
|
|
}{%
|
|
|
|
\enditemize%
|
|
|
|
}
|
|
|
|
|
|
|
|
% Used by description lists (using <dl> ... </dl>)
|
|
|
|
\newenvironment{DoxyDescription}{%
|
|
|
|
\description%
|
|
|
|
}{%
|
|
|
|
\enddescription%
|
|
|
|
}
|
|
|
|
|
|
|
|
% Used by @image, @dotfile, @dot ... @enddot, and @msc ... @endmsc
|
|
|
|
% (only if caption is specified)
|
|
|
|
\newenvironment{DoxyImage}{%
|
|
|
|
\begin{figure}[H]%
|
2022-08-13 10:46:47 -05:00
|
|
|
\centering%
|
2018-11-29 05:03:26 -06:00
|
|
|
}{%
|
|
|
|
\end{figure}%
|
|
|
|
}
|
|
|
|
|
|
|
|
% Used by @image, @dotfile, @dot ... @enddot, and @msc ... @endmsc
|
|
|
|
% (only if no caption is specified)
|
|
|
|
\newenvironment{DoxyImageNoCaption}{%
|
|
|
|
\begin{center}%
|
|
|
|
}{%
|
|
|
|
\end{center}%
|
|
|
|
}
|
|
|
|
|
2022-08-13 10:46:47 -05:00
|
|
|
% Used by @image
|
|
|
|
% (only if inline is specified)
|
|
|
|
\newenvironment{DoxyInlineImage}{%
|
|
|
|
}{%
|
|
|
|
}
|
|
|
|
|
2018-11-29 05:03:26 -06:00
|
|
|
% Used by @attention
|
|
|
|
\newenvironment{DoxyAttention}[1]{%
|
|
|
|
\begin{DoxyDesc}{#1}%
|
|
|
|
}{%
|
|
|
|
\end{DoxyDesc}%
|
|
|
|
}
|
|
|
|
|
|
|
|
% Used by @author and @authors
|
|
|
|
\newenvironment{DoxyAuthor}[1]{%
|
|
|
|
\begin{DoxyDesc}{#1}%
|
|
|
|
}{%
|
|
|
|
\end{DoxyDesc}%
|
|
|
|
}
|
|
|
|
|
|
|
|
% Used by @date
|
|
|
|
\newenvironment{DoxyDate}[1]{%
|
|
|
|
\begin{DoxyDesc}{#1}%
|
|
|
|
}{%
|
|
|
|
\end{DoxyDesc}%
|
|
|
|
}
|
|
|
|
|
|
|
|
% Used by @invariant
|
|
|
|
\newenvironment{DoxyInvariant}[1]{%
|
|
|
|
\begin{DoxyDesc}{#1}%
|
|
|
|
}{%
|
|
|
|
\end{DoxyDesc}%
|
|
|
|
}
|
|
|
|
|
|
|
|
% Used by @note
|
|
|
|
\newenvironment{DoxyNote}[1]{%
|
|
|
|
\begin{DoxyDesc}{#1}%
|
|
|
|
}{%
|
|
|
|
\end{DoxyDesc}%
|
|
|
|
}
|
|
|
|
|
|
|
|
% Used by @post
|
|
|
|
\newenvironment{DoxyPostcond}[1]{%
|
|
|
|
\begin{DoxyDesc}{#1}%
|
|
|
|
}{%
|
|
|
|
\end{DoxyDesc}%
|
|
|
|
}
|
|
|
|
|
|
|
|
% Used by @pre
|
|
|
|
\newenvironment{DoxyPrecond}[1]{%
|
|
|
|
\begin{DoxyDesc}{#1}%
|
|
|
|
}{%
|
|
|
|
\end{DoxyDesc}%
|
|
|
|
}
|
|
|
|
|
|
|
|
% Used by @copyright
|
|
|
|
\newenvironment{DoxyCopyright}[1]{%
|
|
|
|
\begin{DoxyDesc}{#1}%
|
|
|
|
}{%
|
|
|
|
\end{DoxyDesc}%
|
|
|
|
}
|
|
|
|
|
|
|
|
% Used by @remark
|
|
|
|
\newenvironment{DoxyRemark}[1]{%
|
|
|
|
\begin{DoxyDesc}{#1}%
|
|
|
|
}{%
|
|
|
|
\end{DoxyDesc}%
|
|
|
|
}
|
|
|
|
|
|
|
|
% Used by @return and @returns
|
|
|
|
\newenvironment{DoxyReturn}[1]{%
|
|
|
|
\begin{DoxyDesc}{#1}%
|
|
|
|
}{%
|
|
|
|
\end{DoxyDesc}%
|
|
|
|
}
|
|
|
|
|
|
|
|
% Used by @since
|
|
|
|
\newenvironment{DoxySince}[1]{%
|
|
|
|
\begin{DoxyDesc}{#1}%
|
|
|
|
}{%
|
|
|
|
\end{DoxyDesc}%
|
|
|
|
}
|
|
|
|
|
|
|
|
% Used by @see
|
|
|
|
\newenvironment{DoxySeeAlso}[1]{%
|
|
|
|
\begin{DoxyDesc}{#1}%
|
|
|
|
}{%
|
|
|
|
\end{DoxyDesc}%
|
|
|
|
}
|
|
|
|
|
|
|
|
% Used by @version
|
|
|
|
\newenvironment{DoxyVersion}[1]{%
|
|
|
|
\begin{DoxyDesc}{#1}%
|
|
|
|
}{%
|
|
|
|
\end{DoxyDesc}%
|
|
|
|
}
|
|
|
|
|
|
|
|
% Used by @warning
|
|
|
|
\newenvironment{DoxyWarning}[1]{%
|
|
|
|
\begin{DoxyDesc}{#1}%
|
|
|
|
}{%
|
|
|
|
\end{DoxyDesc}%
|
|
|
|
}
|
|
|
|
|
|
|
|
% Used by @internal
|
|
|
|
\newenvironment{DoxyInternal}[1]{%
|
|
|
|
\paragraph*{#1}%
|
|
|
|
}{%
|
|
|
|
}
|
|
|
|
|
|
|
|
% Used by @par and @paragraph
|
|
|
|
\newenvironment{DoxyParagraph}[1]{%
|
2022-08-13 10:46:47 -05:00
|
|
|
\begin{DoxyDesc}{#1}%
|
2018-11-29 05:03:26 -06:00
|
|
|
}{%
|
2022-08-13 10:46:47 -05:00
|
|
|
\end{DoxyDesc}%
|
2018-11-29 05:03:26 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
% Used by parameter lists
|
|
|
|
\newenvironment{DoxyParams}[2][]{%
|
|
|
|
\tabulinesep=1mm%
|
|
|
|
\par%
|
|
|
|
\ifthenelse{\equal{#1}{}}%
|
2022-08-13 10:46:47 -05:00
|
|
|
{\begin{longtabu*}spread 0pt [l]{|X[-1,l]|X[-1,l]|}}% name + description
|
2018-11-29 05:03:26 -06:00
|
|
|
{\ifthenelse{\equal{#1}{1}}%
|
2022-08-13 10:46:47 -05:00
|
|
|
{\begin{longtabu*}spread 0pt [l]{|X[-1,l]|X[-1,l]|X[-1,l]|}}% in/out + name + desc
|
|
|
|
{\begin{longtabu*}spread 0pt [l]{|X[-1,l]|X[-1,l]|X[-1,l]|X[-1,l]|}}% in/out + type + name + desc
|
2018-11-29 05:03:26 -06:00
|
|
|
}
|
|
|
|
\multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #2}\\[1ex]%
|
|
|
|
\hline%
|
|
|
|
\endfirsthead%
|
|
|
|
\multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #2}\\[1ex]%
|
|
|
|
\hline%
|
|
|
|
\endhead%
|
|
|
|
}{%
|
2022-08-13 10:46:47 -05:00
|
|
|
\end{longtabu*}%
|
2018-11-29 05:03:26 -06:00
|
|
|
\vspace{6pt}%
|
|
|
|
}
|
|
|
|
|
|
|
|
% Used for fields of simple structs
|
|
|
|
\newenvironment{DoxyFields}[1]{%
|
|
|
|
\tabulinesep=1mm%
|
|
|
|
\par%
|
2022-08-13 10:46:47 -05:00
|
|
|
\begin{longtabu*}spread 0pt [l]{|X[-1,r]|X[-1,l]|X[-1,l]|}%
|
2018-11-29 05:03:26 -06:00
|
|
|
\multicolumn{3}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #1}\\[1ex]%
|
|
|
|
\hline%
|
|
|
|
\endfirsthead%
|
|
|
|
\multicolumn{3}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #1}\\[1ex]%
|
|
|
|
\hline%
|
|
|
|
\endhead%
|
|
|
|
}{%
|
2022-08-13 10:46:47 -05:00
|
|
|
\end{longtabu*}%
|
2018-11-29 05:03:26 -06:00
|
|
|
\vspace{6pt}%
|
|
|
|
}
|
|
|
|
|
|
|
|
% Used for fields simple class style enums
|
|
|
|
\newenvironment{DoxyEnumFields}[1]{%
|
|
|
|
\tabulinesep=1mm%
|
|
|
|
\par%
|
2022-08-13 10:46:47 -05:00
|
|
|
\begin{longtabu*}spread 0pt [l]{|X[-1,r]|X[-1,l]|}%
|
2018-11-29 05:03:26 -06:00
|
|
|
\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%
|
|
|
|
}{%
|
2022-08-13 10:46:47 -05:00
|
|
|
\end{longtabu*}%
|
2018-11-29 05:03:26 -06:00
|
|
|
\vspace{6pt}%
|
|
|
|
}
|
|
|
|
|
|
|
|
% Used for parameters within a detailed function description
|
|
|
|
\newenvironment{DoxyParamCaption}{%
|
|
|
|
\renewcommand{\item}[2][]{\\ \hspace*{2.0cm} ##1 {\em ##2}}%
|
|
|
|
}{%
|
|
|
|
}
|
|
|
|
|
|
|
|
% Used by return value lists
|
|
|
|
\newenvironment{DoxyRetVals}[1]{%
|
|
|
|
\tabulinesep=1mm%
|
|
|
|
\par%
|
2022-08-13 10:46:47 -05:00
|
|
|
\begin{longtabu*}spread 0pt [l]{|X[-1,r]|X[-1,l]|}%
|
2018-11-29 05:03:26 -06:00
|
|
|
\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%
|
|
|
|
}{%
|
2022-08-13 10:46:47 -05:00
|
|
|
\end{longtabu*}%
|
2018-11-29 05:03:26 -06:00
|
|
|
\vspace{6pt}%
|
|
|
|
}
|
|
|
|
|
|
|
|
% Used by exception lists
|
|
|
|
\newenvironment{DoxyExceptions}[1]{%
|
|
|
|
\tabulinesep=1mm%
|
|
|
|
\par%
|
2022-08-13 10:46:47 -05:00
|
|
|
\begin{longtabu*}spread 0pt [l]{|X[-1,r]|X[-1,l]|}%
|
2018-11-29 05:03:26 -06:00
|
|
|
\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%
|
|
|
|
}{%
|
2022-08-13 10:46:47 -05:00
|
|
|
\end{longtabu*}%
|
2018-11-29 05:03:26 -06:00
|
|
|
\vspace{6pt}%
|
|
|
|
}
|
|
|
|
|
|
|
|
% Used by template parameter lists
|
|
|
|
\newenvironment{DoxyTemplParams}[1]{%
|
|
|
|
\tabulinesep=1mm%
|
|
|
|
\par%
|
2022-08-13 10:46:47 -05:00
|
|
|
\begin{longtabu*}spread 0pt [l]{|X[-1,r]|X[-1,l]|}%
|
2018-11-29 05:03:26 -06:00
|
|
|
\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%
|
|
|
|
}{%
|
2022-08-13 10:46:47 -05:00
|
|
|
\end{longtabu*}%
|
2018-11-29 05:03:26 -06:00
|
|
|
\vspace{6pt}%
|
|
|
|
}
|
|
|
|
|
|
|
|
% Used for member lists
|
|
|
|
\newenvironment{DoxyCompactItemize}{%
|
|
|
|
\begin{itemize}%
|
|
|
|
\setlength{\itemsep}{-3pt}%
|
|
|
|
\setlength{\parsep}{0pt}%
|
|
|
|
\setlength{\topsep}{0pt}%
|
|
|
|
\setlength{\partopsep}{0pt}%
|
|
|
|
}{%
|
|
|
|
\end{itemize}%
|
|
|
|
}
|
|
|
|
|
|
|
|
% Used for member descriptions
|
|
|
|
\newenvironment{DoxyCompactList}{%
|
|
|
|
\begin{list}{}{%
|
|
|
|
\setlength{\leftmargin}{0.5cm}%
|
|
|
|
\setlength{\itemsep}{0pt}%
|
|
|
|
\setlength{\parsep}{0pt}%
|
|
|
|
\setlength{\topsep}{0pt}%
|
|
|
|
\renewcommand{\makelabel}{\hfill}%
|
|
|
|
}%
|
|
|
|
}{%
|
|
|
|
\end{list}%
|
|
|
|
}
|
|
|
|
|
|
|
|
% Used for reference lists (@bug, @deprecated, @todo, etc.)
|
|
|
|
\newenvironment{DoxyRefList}{%
|
|
|
|
\begin{list}{}{%
|
|
|
|
\setlength{\labelwidth}{10pt}%
|
|
|
|
\setlength{\leftmargin}{\labelwidth}%
|
|
|
|
\addtolength{\leftmargin}{\labelsep}%
|
|
|
|
\renewcommand{\makelabel}{\xreflabel}%
|
|
|
|
}%
|
|
|
|
}{%
|
|
|
|
\end{list}%
|
|
|
|
}
|
|
|
|
|
|
|
|
% Used by @bug, @deprecated, @todo, etc.
|
|
|
|
\newenvironment{DoxyRefDesc}[1]{%
|
|
|
|
\begin{list}{}{%
|
|
|
|
\renewcommand\makelabel[1]{\textbf{##1}}%
|
|
|
|
\settowidth\labelwidth{\makelabel{#1}}%
|
|
|
|
\setlength\leftmargin{\labelwidth+\labelsep}%
|
|
|
|
}%
|
|
|
|
}{%
|
|
|
|
\end{list}%
|
|
|
|
}
|
|
|
|
|
|
|
|
% Used by parameter lists and simple sections
|
|
|
|
\newenvironment{Desc}
|
|
|
|
{\begin{list}{}{%
|
|
|
|
\settowidth{\labelwidth}{20pt}%
|
|
|
|
\setlength{\parsep}{0pt}%
|
|
|
|
\setlength{\itemsep}{0pt}%
|
|
|
|
\setlength{\leftmargin}{\labelwidth+\labelsep}%
|
|
|
|
\renewcommand{\makelabel}{\entrylabel}%
|
|
|
|
}
|
|
|
|
}{%
|
|
|
|
\end{list}%
|
|
|
|
}
|
|
|
|
|
|
|
|
% Used by tables
|
|
|
|
\newcommand{\PBS}[1]{\let\temp=\\#1\let\\=\temp}%
|
|
|
|
\newenvironment{TabularC}[1]%
|
|
|
|
{\tabulinesep=1mm
|
2022-08-13 10:46:47 -05:00
|
|
|
\begin{longtabu*}spread 0pt [c]{*#1{|X[-1]}|}}%
|
|
|
|
{\end{longtabu*}\par}%
|
2018-11-29 05:03:26 -06:00
|
|
|
|
|
|
|
\newenvironment{TabularNC}[1]%
|
2022-08-13 10:46:47 -05:00
|
|
|
{\begin{tabu}spread 0pt [l]{*#1{|X[-1]}|}}%
|
2018-11-29 05:03:26 -06:00
|
|
|
{\end{tabu}\par}%
|
|
|
|
|
|
|
|
% Used for member group headers
|
|
|
|
\newenvironment{Indent}{%
|
|
|
|
\begin{list}{}{%
|
|
|
|
\setlength{\leftmargin}{0.5cm}%
|
|
|
|
}%
|
|
|
|
\item[]\ignorespaces%
|
|
|
|
}{%
|
|
|
|
\unskip%
|
|
|
|
\end{list}%
|
|
|
|
}
|
|
|
|
|
|
|
|
% Used when hyperlinks are turned off
|
|
|
|
\newcommand{\doxyref}[3]{%
|
|
|
|
\textbf{#1} (\textnormal{#2}\,\pageref{#3})%
|
|
|
|
}
|
|
|
|
|
|
|
|
% Used to link to a table when hyperlinks are turned on
|
|
|
|
\newcommand{\doxytablelink}[2]{%
|
|
|
|
\ref{#1}%
|
|
|
|
}
|
|
|
|
|
|
|
|
% Used to link to a table when hyperlinks are turned off
|
|
|
|
\newcommand{\doxytableref}[3]{%
|
|
|
|
\ref{#3}%
|
|
|
|
}
|
|
|
|
|
|
|
|
% Used by @addindex
|
|
|
|
\newcommand{\lcurly}{\{}
|
|
|
|
\newcommand{\rcurly}{\}}
|
|
|
|
|
|
|
|
% Colors used for syntax highlighting
|
|
|
|
\definecolor{comment}{rgb}{0.5,0.0,0.0}
|
|
|
|
\definecolor{keyword}{rgb}{0.0,0.5,0.0}
|
|
|
|
\definecolor{keywordtype}{rgb}{0.38,0.25,0.125}
|
|
|
|
\definecolor{keywordflow}{rgb}{0.88,0.5,0.0}
|
|
|
|
\definecolor{preprocessor}{rgb}{0.5,0.38,0.125}
|
|
|
|
\definecolor{stringliteral}{rgb}{0.0,0.125,0.25}
|
|
|
|
\definecolor{charliteral}{rgb}{0.0,0.5,0.5}
|
|
|
|
\definecolor{vhdldigit}{rgb}{1.0,0.0,1.0}
|
|
|
|
\definecolor{vhdlkeyword}{rgb}{0.43,0.0,0.43}
|
|
|
|
\definecolor{vhdllogic}{rgb}{1.0,0.0,0.0}
|
|
|
|
\definecolor{vhdlchar}{rgb}{0.0,0.0,0.0}
|
|
|
|
|
|
|
|
% Color used for table heading
|
|
|
|
\newcommand{\tableheadbgcolor}{lightgray}%
|
|
|
|
|
|
|
|
% Version of hypertarget with correct landing location
|
|
|
|
\newcommand{\Hypertarget}[1]{\Hy@raisedlink{\hypertarget{#1}{}}}
|
|
|
|
|
2022-08-13 10:46:47 -05:00
|
|
|
% possibility to have sections etc. be within the margins
|
|
|
|
% unfortunately had to copy part of book.cls and add \raggedright
|
|
|
|
\makeatletter
|
|
|
|
\newcommand\doxysection{\@startsection {section}{1}{\z@}%
|
|
|
|
{-3.5ex \@plus -1ex \@minus -.2ex}%
|
|
|
|
{2.3ex \@plus.2ex}%
|
|
|
|
{\raggedright\normalfont\Large\bfseries}}
|
|
|
|
\newcommand\doxysubsection{\@startsection{subsection}{2}{\z@}%
|
|
|
|
{-3.25ex\@plus -1ex \@minus -.2ex}%
|
|
|
|
{1.5ex \@plus .2ex}%
|
|
|
|
{\raggedright\normalfont\large\bfseries}}
|
|
|
|
\newcommand\doxysubsubsection{\@startsection{subsubsection}{3}{\z@}%
|
|
|
|
{-3.25ex\@plus -1ex \@minus -.2ex}%
|
|
|
|
{1.5ex \@plus .2ex}%
|
|
|
|
{\raggedright\normalfont\normalsize\bfseries}}
|
|
|
|
\newcommand\doxyparagraph{\@startsection{paragraph}{4}{\z@}%
|
|
|
|
{3.25ex \@plus1ex \@minus.2ex}%
|
|
|
|
{-1em}%
|
|
|
|
{\raggedright\normalfont\normalsize\bfseries}}
|
|
|
|
\newcommand\doxysubparagraph{\@startsection{subparagraph}{5}{\parindent}%
|
|
|
|
{3.25ex \@plus1ex \@minus .2ex}%
|
|
|
|
{-1em}%
|
|
|
|
{\raggedright\normalfont\normalsize\bfseries}}
|
|
|
|
\makeatother
|
2018-11-29 05:03:26 -06:00
|
|
|
% Define caption that is also suitable in a table
|
|
|
|
\makeatletter
|
|
|
|
\def\doxyfigcaption{%
|
2022-08-13 10:46:47 -05:00
|
|
|
\H@refstepcounter{figure}%
|
2018-11-29 05:03:26 -06:00
|
|
|
\@dblarg{\@caption{figure}}}
|
|
|
|
\makeatother
|