Skip to content

Commit

Permalink
Fix Font Warning (#109)
Browse files Browse the repository at this point in the history
* Fix Font Warning

Load fontenc before loading fonts closes #108

* always load fontenc, only load lmodern if no fancy fonts
  • Loading branch information
ZeroPointMax authored Dec 13, 2021
1 parent 063091a commit da2c7a6
Showing 1 changed file with 15 additions and 13 deletions.
28 changes: 15 additions & 13 deletions build/components/package.config.tex
Original file line number Diff line number Diff line change
Expand Up @@ -29,22 +29,24 @@
\usepackage {totcount}
\usepackage {chngcntr}
\usepackage {icomma} % korrekte Darstellung von Kommas in Formeln
\usepackage [T1]{fontenc}

% schönere Fonts, aber optional. Zum deaktivieren CFANCYFONTS in config.tex auf 0 setzen
\if\CFANCYFONTS 1
\usepackage [scaled=0.88]{beraserif} % Bera Serifen Font
\usepackage [scaled=0.85]{berasans} % Bera Sans Font
\usepackage [scaled=0.84]{beramono} % Bera Mono Font
\usepackage [T1]{fontenc}
\usepackage {mathpazo} % Palatino Font
\usepackage [T1,small,euler-digits]{eulervm} % Euler Font
\DeclareMathAlphabet{\mathrm}{OT1}{cmr}{m}{n} % mathrm soll weiter Computer Modern als Font nutzen, siehe #103
\DeclareMathAlphabet{\mathit}{OT1}{cmr}{m}{it}
\usepackage {listings}
\lstset{
basicstyle=\ttfamily,
breaklines=true
}
\usepackage [scaled=0.88]{beraserif} % Bera Serifen Font
\usepackage [scaled=0.85]{berasans} % Bera Sans Font
\usepackage [scaled=0.84]{beramono} % Bera Mono Font
\usepackage {mathpazo} % Palatino Font
\usepackage [T1,small,euler-digits]{eulervm} % Euler Font
\DeclareMathAlphabet{\mathrm}{OT1}{cmr}{m}{n} % mathrm soll weiter Computer Modern als Font nutzen, siehe #103
\DeclareMathAlphabet{\mathit}{OT1}{cmr}{m}{it}
\usepackage {listings}
\lstset{
basicstyle=\ttfamily,
breaklines=true
}
\else
\usepackage{lmodern}
\fi

% VERALTETE PAKETE
Expand Down

0 comments on commit da2c7a6

Please sign in to comment.