diff options
Diffstat (limited to 'templates/latex')
-rw-r--r-- | templates/latex/doxygen.sty | 12 | ||||
-rwxr-xr-x | templates/latex/tabu_doxygen.sty | 18 |
2 files changed, 18 insertions, 12 deletions
diff --git a/templates/latex/doxygen.sty b/templates/latex/doxygen.sty index bf19901..78a5254 100644 --- a/templates/latex/doxygen.sty +++ b/templates/latex/doxygen.sty @@ -35,9 +35,15 @@ \endgroup% } -\newcommand{\DoxyHorRuler}{% +\newcommand{\DoxyHorRuler}[1]{% \setlength{\parskip}{0ex plus 0ex minus 0ex}% - \hrule% + \ifthenelse{#1=0}% + {% + \hrule% + }% + {% + \hrulefilll% + }% } \newcommand{\DoxyLabelFont}{} \newcommand{\entrylabel}[1]{% @@ -88,7 +94,7 @@ \end{alltt}% \normalsize% } -% Necessary for redefining not defined charcaters, i.e. "Replacement Character" in tex output. +% Necessary for redefining not defined characters, i.e. "Replacement Character" in tex output. \newlength{\CodeWidthChar} \newlength{\CodeHeightChar} \settowidth{\CodeWidthChar}{?} diff --git a/templates/latex/tabu_doxygen.sty b/templates/latex/tabu_doxygen.sty index f760aca..60fd7e8 100755 --- a/templates/latex/tabu_doxygen.sty +++ b/templates/latex/tabu_doxygen.sty @@ -18,7 +18,7 @@ %%
%% tabu works in text and in math modes.
%%
-%% X columns: automatic width ajustment + horizontal and vertical alignment
+%% X columns: automatic width adjustment + horizontal and vertical alignment
%% \begin{tabu} { X[4c] X[1c] X[-2ml] }
%%
%% Horizontal lines and / or leaders:
@@ -78,7 +78,7 @@ \TMP@EnsureCode 58 = 12 % : (for siunitx)
\TMP@EnsureCode124 = 12 % |
\TMP@EnsureCode 36 = 3 % $ = math shift
-\TMP@EnsureCode 38 = 4 % & = tab alignmment character
+\TMP@EnsureCode 38 = 4 % & = tab alignment character
\TMP@EnsureCode 32 = 10 % space
\TMP@EnsureCode 94 = 7 % ^
\TMP@EnsureCode 95 = 8 % _
@@ -840,7 +840,7 @@ }% \tabu@reset
\def\tabu@setsave #1{\expandafter\tabu@sets@ve #1\@nil{#1}}
\long\def\tabu@sets@ve #1\@nil #2{\@temptokena\expandafter{\the\@temptokena \def#2{#1}}}
-%% The Rewritting Process -------------------------------------------
+%% The Rewriting Process -------------------------------------------
\def\tabu@newcolumntype #1{%
\expandafter\tabu@new@columntype
\csname NC@find@\string#1\expandafter\endcsname
@@ -1056,7 +1056,7 @@ \else #2\tabucolX
\fi
}% \tabu@hsize
-%% \usetabu and \preamble: rewritting process ---------------------
+%% \usetabu and \preamble: rewriting process ---------------------
\tabu@privatecolumntype \usetabu [1]{%
\ifx\\#1\\\tabu@saveerr{}\else
\@ifundefined{tabu@saved@\string#1}
@@ -1072,7 +1072,7 @@ {\csname tabu@saved@\string#1\expandafter\endcsname\expandafter\z@}%
\fi
}% \NC@rewrite@\preamble
-%% Controlling the rewritting process -------------------------------
+%% Controlling the rewriting process -------------------------------
\tabu@newcolumntype \tabu@rewritefirst{%
\iftabu@long \aftergroup \tabu@longpream % <the whole implementation is here !>
\else \aftergroup \tabu@pream
@@ -1184,7 +1184,7 @@ \ifcase \count@
\global\let\tabu@elapsedtime \relax
\tabu@seteverycr
- \expandafter \tabuthepreamble % vertical adjustment (inheritated from outer)
+ \expandafter \tabuthepreamble % vertical adjustment (inherited from outer)
\or % exit in vertical measure + struts per cell because no X and outer in mode 3
\tabu@evr{\tabu@verticalinit}\tabu@celllalign@def{\tabu@verticalmeasure}%
\def\tabu@cellralign{\tabu@verticalspacing}%
@@ -2043,7 +2043,7 @@ \newcommand*\savetabu[1]{\noalign{%
\tabu@sanitizearg{#1}\tabu@temp
\ifx \tabu@temp\@empty \tabu@savewarn{}{The tabu will not be saved}\else
- \@ifundefined{tabu@saved@\tabu@temp}{}{\tabu@savewarn{#1}{Overwritting}}%
+ \@ifundefined{tabu@saved@\tabu@temp}{}{\tabu@savewarn{#1}{Overwriting}}%
\ifdefined\tabu@restored \expandafter\let
\csname tabu@saved@\tabu@temp \endcsname \tabu@restored
\else {\tabu@save}%
@@ -2388,7 +2388,7 @@ \PackageWarning{tabu}
{\string\@arrayright\space is missing from the
\MessageBreak definition of \string\endarray.
- \MessageBreak Comptability with delarray.sty is broken.}%
+ \MessageBreak Compatibility with delarray.sty is broken.}%
\fi\fi
}% \tabu@fix@arrayright
\def\tabu@adl@xarraydashrule #1#2#3{%
@@ -2523,7 +2523,7 @@ Package cellspace has some limitations
\MessageBreak And redefines some macros of array.sty.
\MessageBreak Please use \string\tabulinesep\space to control
- \MessageBreak vertical spacing of lines inside tabu environnement}%
+ \MessageBreak vertical spacing of lines inside tabu environment}%
}% \tabu@warn@cellspace
%% tabu Package initialisation
\tabuscantokensfalse
|