diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/latex/doxygen.sty | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/templates/latex/doxygen.sty b/templates/latex/doxygen.sty index 842d101..7798d48 100644 --- a/templates/latex/doxygen.sty +++ b/templates/latex/doxygen.sty @@ -87,6 +87,8 @@ % Necessary for redefining not defined charcaters, i.e. "Replacement Character" in tex output. \newlength{\CodeWidthChar} \newlength{\CodeHeightChar} +\settowidth{\CodeWidthChar}{?} +\settoheight{\CodeHeightChar}{?} % Necessary for hanging indent \newlength{\DoxyCodeWidth} @@ -117,6 +119,8 @@ }{% \normalfont% \normalsize% + \settowidth{\CodeWidthChar}{?}% + \settoheight{\CodeHeightChar}{?}% } % Redefining not defined characters, i.e. "Replacement Character" in tex output. @@ -124,15 +128,6 @@ \textcolor{white}{\sffamily\bfseries\small ?}}{% \rotatebox{45}{$\blacksquare$}}}} -% Choosing right setup for "Replacement character" -\ifthenelse{\isundefined{\DeclareUnicodeCharacter}}{% - \catcode`\�=13 - \def�{\ucr} -}{% - \RequirePackage[utf8]{inputenc} - \DeclareUnicodeCharacter{FFFD}{\ucr} -} - % Used by @example, @include, @includelineno and @dontinclude \newenvironment{DoxyCodeInclude}[1]{% \DoxyCode{#1}% |