diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2018-07-21 13:13:25 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-21 13:13:25 (GMT) |
commit | 5e05075b2eb5957739d6e32577f6b9643e6bbee6 (patch) | |
tree | afb60fa51be77c2ec4ce06f342e0dfaceffabeb8 /templates | |
parent | 72b5d9ccf8e82930dac5dc4c847babcf41f7cc0a (diff) | |
parent | 7bb6b4792a95626685df5750a6ab79b675c9fd60 (diff) | |
download | Doxygen-5e05075b2eb5957739d6e32577f6b9643e6bbee6.zip Doxygen-5e05075b2eb5957739d6e32577f6b9643e6bbee6.tar.gz Doxygen-5e05075b2eb5957739d6e32577f6b9643e6bbee6.tar.bz2 |
Merge pull request #738 from albert-github/feature/bug_latex_code
Small problems when having code in LaTeX output
Diffstat (limited to 'templates')
-rw-r--r-- | templates/latex/doxygen.sty | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/latex/doxygen.sty b/templates/latex/doxygen.sty index 51e369b..842d101 100644 --- a/templates/latex/doxygen.sty +++ b/templates/latex/doxygen.sty @@ -119,19 +119,19 @@ \normalsize% } -% Redefining not defined charcaters, i.e. "Replacement Character" in tex output. +% 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$}}}} % Choosing right setup for "Replacement character" -\ifpdf - \RequirePackage[utf8]{inputenc} - \DeclareUnicodeCharacter{FFFD}{\ucr} -\else +\ifthenelse{\isundefined{\DeclareUnicodeCharacter}}{% \catcode`\�=13 \def�{\ucr} -\fi +}{% + \RequirePackage[utf8]{inputenc} + \DeclareUnicodeCharacter{FFFD}{\ucr} +} % Used by @example, @include, @includelineno and @dontinclude \newenvironment{DoxyCodeInclude}[1]{% |