summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/fouriernc/fouriernc.sty
blob: f3889e696abf9dc47d552aa2e1c65429bd205027 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
\def\fileversion{1.0}%
\def\filedate{2005/12/20}%
\NeedsTeXFormat{LaTeX2e}%
\ProvidesPackage{fouriernc}%
[\filedate\space\fileversion\space fouriernc package]%

%The metrics for the 'upright' option have not been tuned.
\DeclareOption{sloped}{\PassOptionsToPackage{sloped}{fourier}}
%\DeclareOption{upright}{\PassOptionsToPackage{upright}{fourier}}

\ExecuteOptions{sloped}
\ProcessOptions
\RequirePackage{fourier}

%\ifsloped
  \DeclareSymbolFont{letters}{FML}{fncmi}{m}{it}
  \DeclareSymbolFont{otherletters}{FML}{fncm}{m}{it}
  \SetSymbolFont{letters}{bold}{FML}{fncmi}{b}{it}
  \SetSymbolFont{otherletters}{bold}{FML}{fncm}{b}{it}
%\else
%  \DeclareSymbolFont{letters}{FML}{fncm}{m}{it}
%  \DeclareSymbolFont{otherletters}{FML}{fncmi}{m}{it}
%  \SetSymbolFont{letters}{bold}{FML}{fncm}{b}{it}
%  \SetSymbolFont{otherletters}{bold}{FML}{fncmi}{b}{it}
%\fi

\renewcommand{\rmdefault}{fnc}

\DeclareFontSubstitution{FML}{fncmi}{m}{it}
\DeclareFontSubstitution{FMS}{fncm}{m}{n}

\DeclareSymbolFont{operators}{T1}{fnc}{m}{n}
\SetSymbolFont{operators}{bold}{T1}{fnc}{b}{n}
\DeclareSymbolFont{symbols}{FMS}{fncm}{m}{n}
\DeclareMathAlphabet{\mathbf}{T1}{fnc}{b}{n}
\DeclareMathAlphabet{\mathrm}{T1}{fnc}{m}{n}
\DeclareMathAlphabet{\mathit}{T1}{fnc}{m}{it}
\DeclareMathAlphabet{\mathcal}{FMS}{fncm}{m}{n}

\endinput