diff options
Diffstat (limited to 'macros/latex/contrib/psnfssx/em')
-rw-r--r-- | macros/latex/contrib/psnfssx/em/em.fdd | 994 | ||||
-rw-r--r-- | macros/latex/contrib/psnfssx/em/em.ins | 110 | ||||
-rw-r--r-- | macros/latex/contrib/psnfssx/em/em.sty | 619 | ||||
-rw-r--r-- | macros/latex/contrib/psnfssx/em/em.txt | 241 |
4 files changed, 1964 insertions, 0 deletions
diff --git a/macros/latex/contrib/psnfssx/em/em.fdd b/macros/latex/contrib/psnfssx/em/em.fdd new file mode 100644 index 0000000000..35bde017ab --- /dev/null +++ b/macros/latex/contrib/psnfssx/em/em.fdd @@ -0,0 +1,994 @@ +% \iffalse
+%
+%% EM package for LaTeX
+%%
+%% Copyright 1997 Y&Y, Inc.
+%%
+%% Modified to also cover LM1 (Textures) encoding 1997/Dec/05
+%%
+%
+%<*driver>
+\documentclass{ltxdoc}
+\begin{document}
+ \DocInput{em.fdd}
+\end{document}
+%</driver>
+% \fi
+%
+% \begin{macrocode}
+%<*package>
+\ProvidesPackage{em}
+%</package>
+% \end{macrocode}
+%
+% \begin{macrocode}
+%<*T1>
+%<emr, >\ProvidesFile{t1cmr.fd}
+%<emss, >\ProvidesFile{t1cmss.fd}
+%<emtt, >\ProvidesFile{t1cmtt.fd}
+%<emfr, >\ProvidesFile{t1cmfr.fd}
+%<emdh, >\ProvidesFile{t1cmdh.fd}
+%<emfib, >\ProvidesFile{t1cmfib.fd}
+%</T1>
+% \end{macrocode}
+%
+% \begin{macrocode}
+%<*LY1>
+%<emr, >\ProvidesFile{ly1cmr.fd}
+%<emss, >\ProvidesFile{ly1cmss.fd}
+%<emtt, >\ProvidesFile{ly1cmtt.fd}
+%<emfr, >\ProvidesFile{ly1cmfr.fd}
+%<emdh, >\ProvidesFile{ly1cmdh.fd}
+%<emfib, >\ProvidesFile{ly1cmfib.fd}
+%</LY1>
+% \end{macrocode}
+%
+% \begin{macrocode}
+%<*LM1>
+%<emr, >\ProvidesFile{lm1cmr.fd}
+%<emss, >\ProvidesFile{lm1cmss.fd}
+%<emtt, >\ProvidesFile{lm1cmtt.fd}
+%<emfr, >\ProvidesFile{lm1cmfr.fd}
+%<emdh, >\ProvidesFile{lm1cmdh.fd}
+%<emfib, >\ProvidesFile{lm1cmfib.fd}
+%</LM1>
+% \end{macrocode}
+%
+% \begin{macrocode}
+%<*OML>
+%<emm, >\ProvidesFile{omlcmm.fd}
+%<cmr, >\ProvidesFile{omlcmr.fd}
+%</OML>
+%<*OMS>
+%<cmsy, >\ProvidesFile{omscmsy.fd}
+%<cmr, >\ProvidesFile{omscmr.fd}
+%</OMS>
+%<*OMX>
+%<cmex, >\ProvidesFile{omxcmex.fd}
+%</OMX>
+%<*U>
+%<lasy, >\ProvidesFile{ulasy.fd}
+%<msa, >\ProvidesFile{umsa.fd}
+%<msb, >\ProvidesFile{umsb.fd}
+%<euex, >\ProvidesFile{ueuex.fd}
+%<euf, >\ProvidesFile{ueuf.fd}
+%<eur, >\ProvidesFile{ueur.fd}
+%<eus, >\ProvidesFile{ueus.fd}
+%</U>
+% \end{macrocode}
+%
+% \begin{macrocode}
+% [1997/08/05 v0.05 Y&Y EM font definitions (BKPH,DPC)]
+% [1997/12/05 v0.06 Y&Y EM font definitions T1, LY1, LM1 (BKPH,DPC)]
+ [2000/02/20 v0.07 Y&Y EM font definitions T1, LY1, LM1 (BKPH,DPC)]
+% \end{macrocode}
+%
+% Options to control the encoding used.
+% \begin{macrocode}
+%<*package>
+\edef\operator@encoding{\encodingdefault}
+\DeclareOption{T1}{\def\operator@encoding{T1}}
+\DeclareOption{LY1}{\def\operator@encoding{LY1}}
+\DeclareOption{LM1}{\def\operator@encoding{LM1}}
+% \end{macrocode}
+%
+% \begin{macrocode}
+\ProcessOptions
+% \end{macrocode}
+%
+% Call fontenc to set up the encoding for \LaTeX.
+% \begin{macrocode}
+\RequirePackage[\operator@encoding]{fontenc}
+% \end{macrocode}
+%
+% Either at the line above, or in an earlier |\usepackage| the
+% default font may have been already loaded. As we haven't
+% given the new font shape declarations yet, want to forget about
+% that font, so it will be looked up again with the new settings.
+% \begin{macrocode}
+\expandafter\let
+ \csname \operator@encoding/cmr/m/n/10\endcsname\@undefined
+% \end{macrocode}
+%
+% `fd' code done in a group with white space ignored, for
+% a minor efficiency saving (otherwise each command individually
+% turns on ignoring white space).
+% \begin{macrocode}
+\begingroup
+\nfss@catcodes
+% \end{macrocode}
+%
+% First the T1 encoding.
+% \begin{macrocode}
+\def\@tempa{T1}
+\ifx\operator@encoding\@tempa
+% \end{macrocode}
+%
+% Make the default hyphenchar 127, if you want the old one
+% set the default back to 45.
+% \begin{macrocode}
+\global\defaulthyphenchar=127
+% \end{macrocode}
+%
+% \begin{macrocode}
+%</package>
+% \end{macrocode}
+%
+% \begin{macrocode}
+%<*package,T1>
+%<*package,emr>
+\DeclareFontFamily{T1}{cmr}{}
+\DeclareFontShape{T1}{cmr}{m}{n}{
+ <-6> emr5
+ <6-7> emr6
+ <7-8> emr7
+ <8-9> emr8
+ <9-10> emr9
+ <10-12> emr10
+ <12-17> emr12
+ <17-> emr17
+ }{}
+\DeclareFontShape{T1}{cmr}{m}{sl}{
+ <-9> emsl8
+ <9-10> emsl9
+ <10-12> emsl10
+ <12-> emsl12
+ }{}
+\DeclareFontShape{T1}{cmr}{m}{it}{
+ <-8> emti7
+ <8-9> emti8
+ <9-10> emti9
+ <10-12> emti10
+ <12-> emti12
+ }{}
+\DeclareFontShape{T1}{cmr}{m}{sc}{
+ <-9> emcsc8
+ <9-10> emcsc9
+ <10-> emcsc10
+ }{}
+\DeclareFontShape{T1}{cmr}{m}{ui}{
+ <-> emu10
+ }{}
+\DeclareFontShape{T1}{cmr}{b}{n}{
+ <-> emb10
+ }{}
+\DeclareFontShape{T1}{cmr}{bx}{n}{
+ <-6> embx5
+ <6-7> embx6
+ <7-8> embx7
+ <8-9> embx8
+ <9-10> embx9
+ <10-12> embx10
+ <12-> embx12
+ }{}
+\DeclareFontShape{T1}{cmr}{bx}{sl}{
+ <-> embxsl10
+ }{}
+\DeclareFontShape{T1}{cmr}{bx}{it}{
+ <-> embxti10
+ }{}
+\DeclareFontShape{T1}{cmr}{bx}{ui}
+ {<->ssub * cmr/m/ui}{}
+%</package,emr>
+% \end{macrocode}
+%
+% \begin{macrocode}
+%<*package,emss>
+\DeclareFontFamily{T1}{cmss}{}
+\DeclareFontShape{T1}{cmss}{m}{n}{
+ <-9> emss8
+ <9-10> emss9
+ <10-12> emss10
+ <12-17> emss12
+ <17-> emss17
+ }{}
+\DeclareFontShape{T1}{cmss}{m}{it}
+ {<->sub * cmss/m/sl}{}
+\DeclareFontShape{T1}{cmss}{m}{sl}{
+ <-9> emssi8
+ <9-10> emssi9
+ <10-12> emssi10
+ <12-17> emssi12
+ <17-> emssi17
+ }{}
+\DeclareFontShape{T1}{cmss}{m}{sc}
+ {<->sub * cmr/m/sc}{}
+\DeclareFontShape{T1}{cmss}{m}{ui}
+ {<->sub * cmr/m/ui}{}
+\DeclareFontShape{T1}{cmss}{sbc}{n}{
+ <-> emssdc10
+ }{}
+\DeclareFontShape{T1}{cmss}{bx}{n}{
+ <-> emssbx10
+ }{}
+\DeclareFontShape{T1}{cmss}{bx}{ui}
+ {<->sub * cmr/bx/ui}{}
+%</package,emss>
+% \end{macrocode}
+%
+% \begin{macrocode}
+%<*package,emtt>
+\DeclareFontFamily{T1}{cmtt}{\hyphenchar \font\m@ne}
+\DeclareFontShape{T1}{cmtt}{m}{n}{
+ <-9> emtt8
+ <9-10> emtt9
+ <10-12> emtt10
+ <12-> emtt12
+ }{}
+\DeclareFontShape{T1}{cmtt}{m}{it}{
+ <-> emitt10
+ }{}
+\DeclareFontShape{T1}{cmtt}{m}{sl}{
+ <-> emsltt10
+ }{}
+\DeclareFontShape{T1}{cmtt}{m}{sc}{
+ <-> emtcsc10
+ }{}
+\DeclareFontShape{T1}{cmtt}{m}{ui}
+ {<->sub * cmtt/m/it}{}
+\DeclareFontShape{T1}{cmtt}{bx}{n}
+ {<->sub * cmtt/m/n}{}
+\DeclareFontShape{T1}{cmtt}{bx}{it}
+ {<->sub * cmtt/m/it}{}
+\DeclareFontShape{T1}{cmtt}{bx}{ui}
+ {<->sub * cmtt/m/it}{}
+%</package,emtt>
+% \end{macrocode}
+%
+% \begin{macrocode}
+%<*package,emfr>
+\DeclareFontFamily{T1}{cmfr}{}
+\DeclareFontShape{T1}{cmfr}{m}{n}{%
+ <-> emff10
+ }{}
+\DeclareFontShape{T1}{cmfr}{m}{it}{
+ <-> emfi10
+ }{}
+%</package,emfr>
+% \end{macrocode}
+%
+% \begin{macrocode}
+%<*package,emdh>
+\DeclareFontFamily{T1}{cmdh}{}
+\DeclareFontShape{T1}{cmdh}{m}{n}{
+ <-> emdunh10
+ }{}
+%</package,emdh>
+% \end{macrocode}
+%
+% \begin{macrocode}
+%<*package,emfib>
+\DeclareFontFamily{T1}{cmfib}{}
+\DeclareFontShape{T1}{cmfib}{m}{n}{
+ <-> emfib8
+ }{}
+%</package,emfib>
+%</package,T1>
+% \end{macrocode}
+%
+% End the T1 code, and now the LY1 encoding case.
+% \begin{macrocode}
+%<*package>
+\fi
+% \end{macrocode}
+%
+% \begin{macrocode}
+\def\@tempa{LY1}
+\ifx\operator@encoding\@tempa
+% \end{macrocode}
+%
+% Make the default hyphenchar 173, if you want the old one
+% set the default back to 45.
+% \begin{macrocode}
+\global\defaulthyphenchar=173
+%</package>
+% \end{macrocode}
+%
+% \begin{macrocode}
+%<*package,LY1>
+%<*package,emr>
+\DeclareFontFamily{LY1}{cmr}{}
+\DeclareFontShape{LY1}{cmr}{m}{n}{
+ <-6> emr5
+ <6-7> emr6
+ <7-8> emr7
+ <8-9> emr8
+ <9-10> emr9
+ <10-12> emr10
+ <12-17> emr12
+ <17-> emr17
+ }{}
+\DeclareFontShape{LY1}{cmr}{m}{sl}{
+ <-9> emsl8
+ <9-10> emsl9
+ <10-12> emsl10
+ <12-> emsl12
+ }{}
+\DeclareFontShape{LY1}{cmr}{m}{it}{
+ <-8> emti7
+ <8-9> emti8
+ <9-10> emti9
+ <10-12> emti10
+ <12-> emti12
+ }{}
+\DeclareFontShape{LY1}{cmr}{m}{sc}{
+ <-9> emcsc8
+ <9-10> emcsc9
+ <10-> emcsc10
+ }{}
+\DeclareFontShape{LY1}{cmr}{m}{ui}{
+ <-> emu10
+ }{}
+\DeclareFontShape{LY1}{cmr}{b}{n}{
+ <-> emb10
+ }{}
+\DeclareFontShape{LY1}{cmr}{bx}{n}{
+ <-6> embx5
+ <6-7> embx6
+ <7-8> embx7
+ <8-9> embx8
+ <9-10> embx9
+ <10-12> embx10
+ <12-> embx12
+ }{}
+\DeclareFontShape{LY1}{cmr}{bx}{sl}{
+ <-> embxsl10
+ }{}
+\DeclareFontShape{LY1}{cmr}{bx}{it}{
+ <-> embxti10
+ }{}
+\DeclareFontShape{LY1}{cmr}{bx}{ui}
+ {<->ssub * cmr/m/ui}{}
+%</package,emr>
+% \end{macrocode}
+%
+% \begin{macrocode}
+%<*package,emss>
+\DeclareFontFamily{LY1}{cmss}{}
+\DeclareFontShape{LY1}{cmss}{m}{n}{
+ <-9> emss8
+ <9-10> emss9
+ <10-12> emss10
+ <12-17> emss12
+ <17-> emss17
+ }{}
+\DeclareFontShape{LY1}{cmss}{m}{it}
+ {<->sub * cmss/m/sl}{}
+\DeclareFontShape{LY1}{cmss}{m}{sl}{
+ <-9> emssi8
+ <9-10> emssi9
+ <10-12> emssi10
+ <12-17> emssi12
+ <17-> emssi17
+ }{}
+\DeclareFontShape{LY1}{cmss}{m}{sc}
+ {<->sub * cmr/m/sc}{}
+\DeclareFontShape{LY1}{cmss}{m}{ui}
+ {<->sub * cmr/m/ui}{}
+\DeclareFontShape{LY1}{cmss}{sbc}{n}{
+ <-> emssdc10
+ }{}
+\DeclareFontShape{LY1}{cmss}{bx}{n}{
+ <-> emssbx10
+ }{}
+\DeclareFontShape{LY1}{cmss}{bx}{ui}
+ {<->sub * cmr/bx/ui}{}
+%</package,emss>
+% \end{macrocode}
+%
+% \begin{macrocode}
+%<*package,emtt>
+\DeclareFontFamily{LY1}{cmtt}{\hyphenchar \font\m@ne}
+\DeclareFontShape{LY1}{cmtt}{m}{n}{
+ <-9> emtt8
+ <9-10> emtt9
+ <10-12> emtt10
+ <12-> emtt12
+ }{}
+\DeclareFontShape{LY1}{cmtt}{m}{it}{
+ <-> emitt10
+ }{}
+\DeclareFontShape{LY1}{cmtt}{m}{sl}{
+ <-> emsltt10
+ }{}
+\DeclareFontShape{LY1}{cmtt}{m}{sc}{
+ <-> emtcsc10
+ }{}
+\DeclareFontShape{LY1}{cmtt}{m}{ui}
+ {<->sub * cmtt/m/it}{}
+\DeclareFontShape{LY1}{cmtt}{bx}{n}
+ {<->sub * cmtt/m/n}{}
+\DeclareFontShape{LY1}{cmtt}{bx}{it}
+ {<->sub * cmtt/m/it}{}
+\DeclareFontShape{LY1}{cmtt}{bx}{ui}
+ {<->sub * cmtt/m/it}{}
+%</package,emtt>
+% \end{macrocode}
+%
+% \begin{macrocode}
+%<*package,emfr>
+\DeclareFontFamily{LY1}{cmfr}{}
+\DeclareFontShape{LY1}{cmfr}{m}{n}{%
+ <-> emff10
+ }{}
+\DeclareFontShape{LY1}{cmfr}{m}{it}{
+ <-> emfi10
+ }{}
+%</package,emfr>
+% \end{macrocode}
+%
+% \begin{macrocode}
+%<*package,emdh>
+\DeclareFontFamily{LY1}{cmdh}{}
+\DeclareFontShape{LY1}{cmdh}{m}{n}{
+ <-> emdunh10
+ }{}
+%</package,emdh>
+% \end{macrocode}
+%
+% \begin{macrocode}
+%<*package,emfib>
+\DeclareFontFamily{LY1}{cmfib}{}
+\DeclareFontShape{LY1}{cmfib}{m}{n}{
+ <-> emfib8
+ }{}
+%</package,emfib>
+%</package,LY1>
+% \end{macrocode}
+%
+% End the LY1 code, and now the LM1 encoding case.
+% \begin{macrocode}
+%<*package>
+\fi
+% \end{macrocode}
+%
+% \begin{macrocode}
+\def\@tempa{LM1}
+\ifx\operator@encoding\@tempa
+% \end{macrocode}
+%
+% Make the default hyphenchar 45 (no sfthyphen available in LM1)
+% \begin{macrocode}
+\global\defaulthyphenchar=45
+%</package>
+% \end{macrocode}
+%
+% \begin{macrocode}
+%<*package,LM1>
+%<*package,emr>
+\DeclareFontFamily{LM1}{cmr}{}
+\DeclareFontShape{LM1}{cmr}{m}{n}{
+ <-6> emr5
+ <6-7> emr6
+ <7-8> emr7
+ <8-9> emr8
+ <9-10> emr9
+ <10-12> emr10
+ <12-17> emr12
+ <17-> emr17
+ }{}
+\DeclareFontShape{LM1}{cmr}{m}{sl}{
+ <-9> emsl8
+ <9-10> emsl9
+ <10-12> emsl10
+ <12-> emsl12
+ }{}
+\DeclareFontShape{LM1}{cmr}{m}{it}{
+ <-8> emti7
+ <8-9> emti8
+ <9-10> emti9
+ <10-12> emti10
+ <12-> emti12
+ }{}
+\DeclareFontShape{LM1}{cmr}{m}{sc}{
+ <-9> emcsc8
+ <9-10> emcsc9
+ <10-> emcsc10
+ }{}
+\DeclareFontShape{LM1}{cmr}{m}{ui}{
+ <-> emu10
+ }{}
+\DeclareFontShape{LM1}{cmr}{b}{n}{
+ <-> emb10
+ }{}
+\DeclareFontShape{LM1}{cmr}{bx}{n}{
+ <-6> embx5
+ <6-7> embx6
+ <7-8> embx7
+ <8-9> embx8
+ <9-10> embx9
+ <10-12> embx10
+ <12-> embx12
+ }{}
+\DeclareFontShape{LM1}{cmr}{bx}{sl}{
+ <-> embxsl10
+ }{}
+\DeclareFontShape{LM1}{cmr}{bx}{it}{
+ <-> embxti10
+ }{}
+\DeclareFontShape{LM1}{cmr}{bx}{ui}
+ {<->ssub * cmr/m/ui}{}
+%</package,emr>
+% \end{macrocode}
+%
+% \begin{macrocode}
+%<*package,emss>
+\DeclareFontFamily{LM1}{cmss}{}
+\DeclareFontShape{LM1}{cmss}{m}{n}{
+ <-9> emss8
+ <9-10> emss9
+ <10-12> emss10
+ <12-17> emss12
+ <17-> emss17
+ }{}
+\DeclareFontShape{LM1}{cmss}{m}{it}
+ {<->sub * cmss/m/sl}{}
+\DeclareFontShape{LM1}{cmss}{m}{sl}{
+ <-9> emssi8
+ <9-10> emssi9
+ <10-12> emssi10
+ <12-17> emssi12
+ <17-> emssi17
+ }{}
+\DeclareFontShape{LM1}{cmss}{m}{sc}
+ {<->sub * cmr/m/sc}{}
+\DeclareFontShape{LM1}{cmss}{m}{ui}
+ {<->sub * cmr/m/ui}{}
+\DeclareFontShape{LM1}{cmss}{sbc}{n}{
+ <-> emssdc10
+ }{}
+\DeclareFontShape{LM1}{cmss}{bx}{n}{
+ <-> emssbx10
+ }{}
+\DeclareFontShape{LM1}{cmss}{bx}{ui}
+ {<->sub * cmr/bx/ui}{}
+%</package,emss>
+% \end{macrocode}
+%
+% \begin{macrocode}
+%<*package,emtt>
+\DeclareFontFamily{LM1}{cmtt}{\hyphenchar \font\m@ne}
+\DeclareFontShape{LM1}{cmtt}{m}{n}{
+ <-9> emtt8
+ <9-10> emtt9
+ <10-12> emtt10
+ <12-> emtt12
+ }{}
+\DeclareFontShape{LM1}{cmtt}{m}{it}{
+ <-> emitt10
+ }{}
+\DeclareFontShape{LM1}{cmtt}{m}{sl}{
+ <-> emsltt10
+ }{}
+\DeclareFontShape{LM1}{cmtt}{m}{sc}{
+ <-> emtcsc10
+ }{}
+\DeclareFontShape{LM1}{cmtt}{m}{ui}
+ {<->sub * cmtt/m/it}{}
+\DeclareFontShape{LM1}{cmtt}{bx}{n}
+ {<->sub * cmtt/m/n}{}
+\DeclareFontShape{LM1}{cmtt}{bx}{it}
+ {<->sub * cmtt/m/it}{}
+\DeclareFontShape{LM1}{cmtt}{bx}{ui}
+ {<->sub * cmtt/m/it}{}
+%</package,emtt>
+% \end{macrocode}
+%
+% \begin{macrocode}
+%<*package,emfr>
+\DeclareFontFamily{LM1}{cmfr}{}
+\DeclareFontShape{LM1}{cmfr}{m}{n}{%
+ <-> emff10
+ }{}
+\DeclareFontShape{LM1}{cmfr}{m}{it}{
+ <-> emfi10
+ }{}
+%</package,emfr>
+% \end{macrocode}
+%
+% \begin{macrocode}
+%<*package,emdh>
+\DeclareFontFamily{LM1}{cmdh}{}
+\DeclareFontShape{LM1}{cmdh}{m}{n}{
+ <-> emdunh10
+ }{}
+%</package,emdh>
+% \end{macrocode}
+%
+% \begin{macrocode}
+%<*package,emfib>
+\DeclareFontFamily{LM1}{cmfib}{}
+\DeclareFontShape{LM1}{cmfib}{m}{n}{
+ <-> emfib8
+ }{}
+%</package,emfib>
+%</package,LM1>
+% \end{macrocode}
+%
+% End of LM1 case, and stub test for OT1.
+% \begin{macrocode}
+%<*package>
+\fi
+% \end{macrocode}
+%
+% \begin{macrocode}
+\def\@tempa{OT1}
+\ifx\operator@encoding\@tempa
+\PackageError{em}%
+{OT1\space encoding\space not\space useable\space with\space em.sty}%
+{Specify\space T1\space or\space LY1\space or\space LM1 option}%
+\fi
+%</package>
+% \end{macrocode}
+%
+% Now the fonts with fixed encodings (Math fonts and symbol fonts).
+%
+% \begin{macrocode}
+%<*package,emm>
+\DeclareFontFamily{OML}{cmm}{\skewchar\font127 }
+\DeclareFontShape{OML}{cmm}{m}{it}{
+ <-6> emmi5
+ <6-7> emmi6
+ <7-8> emmi7
+ <8-9> emmi8
+ <9-10> emmi9
+ <10-12> emmi10
+ <12-> emmi12
+ }{}
+\DeclareFontShape{OML}{cmm}{b}{it}{%
+ <-6> emmib5
+ <6-7> emmib6
+ <7-8> emmib7
+ <8-9> emmib8
+ <9-10> emmib9
+ <10-> emmib10
+ }{}
+\DeclareFontShape{OML}{cmm}{bx}{it}
+ {<-> ssub * cmm/b/it}{}
+%</package,emm>
+% \end{macrocode}
+%
+% \begin{macrocode}
+%<*package,OML>
+%<*package,cmr>
+\DeclareFontFamily{OML}{cmr}{\skewchar\font127 }
+\DeclareFontShape{OML}{cmr}{m}{n}
+ {<-> ssub * cmm/m/it}{}
+\DeclareFontShape{OML}{cmr}{m}{it}
+ {<-> ssub * cmm/m/it}{}
+\DeclareFontShape{OML}{cmr}{m}{sl}
+ {<-> ssub * cmm/m/it}{}
+\DeclareFontShape{OML}{cmr}{m}{sc}
+ {<-> ssub * cmm/m/it}{}
+\DeclareFontShape{OML}{cmr}{bx}{n}
+ {<-> ssub * cmm/b/it}{}
+\DeclareFontShape{OML}{cmr}{bx}{it}
+ {<-> ssub * cmm/b/it}{}
+\DeclareFontShape{OML}{cmr}{bx}{sl}
+ {<-> ssub * cmm/b/it}{}
+\DeclareFontShape{OML}{cmr}{bx}{sc}
+ {<-> ssub * cmm/b/it}{}
+%</package,cmr>
+%</package,OML>
+% \end{macrocode}
+%
+% \begin{macrocode}
+%<*package,OMS>
+%<*package,cmsy>
+\DeclareFontFamily{OMS}{cmsy}{\skewchar\font48 }
+\DeclareFontShape{OMS}{cmsy}{m}{n}{%
+ <-6> cmsy5
+ <6-7> cmsy6
+ <7-8> cmsy7
+ <8-9> cmsy8
+ <9-10> cmsy9
+ <10-> cmsy10
+ }{}
+\DeclareFontShape{OMS}{cmsy}{b}{n}{%
+%<*ams&!extra>
+ <-7> cmbsy5
+ <7-10> cmbsy7
+ <10-> cmbsy10
+%</ams&!extra>
+%<*ams&extra>
+ <-6> cmbsy5
+ <6-7> cmbsy6
+ <7-8> cmbsy7
+ <8-9> cmbsy8
+ <9-10> cmbsy9
+ <10-> cmbsy10
+%</ams&extra>
+%<!ams> <-> cmbsy10
+ }{}
+%</package,cmsy>
+% \end{macrocode}
+%
+% \begin{macrocode}
+%<*package,cmr>
+\DeclareFontFamily{OMS}{cmr}{\skewchar\font48 }
+\DeclareFontShape{OMS}{cmr}{m}{n}
+ {<-> ssub * cmsy/m/n}{}
+\DeclareFontShape{OMS}{cmr}{m}{it}
+ {<-> ssub * cmsy/m/n}{}
+\DeclareFontShape{OMS}{cmr}{m}{sl}
+ {<-> ssub * cmsy/m/n}{}
+\DeclareFontShape{OMS}{cmr}{m}{sc}
+ {<-> ssub * cmsy/m/n}{}
+\DeclareFontShape{OMS}{cmr}{bx}{n}
+ {<-> ssub * cmsy/b/n}{}
+\DeclareFontShape{OMS}{cmr}{bx}{it}
+ {<-> ssub * cmsy/b/n}{}
+\DeclareFontShape{OMS}{cmr}{bx}{sl}
+ {<-> ssub * cmsy/b/n}{}
+\DeclareFontShape{OMS}{cmr}{bx}{sc}
+ {<-> ssub * cmsy/b/n}{}
+%</package,cmr>
+%</package,OMS>
+% \end{macrocode}
+%
+% \begin{macrocode}
+%<*package,OMX>
+%<*package,cmex>
+\DeclareFontFamily{OMX}{cmex}{}{}
+\DeclareFontShape{OMX}{cmex}{m}{n}{
+%<*ams&extra>
+ <-8> cmex7
+ <8-9> cmex8
+ <9-10> cmex9
+ <10-> cmex10
+%</ams&extra>
+%<!extra><-> cmex10
+ }{}
+%</package,cmex>
+%</package,OMX>
+% \end{macrocode}
+%
+% \begin{macrocode}
+%<*package,U>
+%<*package,lasy>
+\DeclareFontFamily{U}{lasy}{}
+\DeclareFontShape{U}{lasy}{m}{n}{
+ <-6> lasy5
+ <6-7> lasy6
+ <7-8> lasy7
+ <8-9> lasy8
+ <9-10> lasy9
+ <10-> lasy10
+ }{}
+\DeclareFontShape{U}{lasy}{b}{n}{
+ <-> lasyb10
+ }{}
+%</package,lasy>
+%<*package,ams>
+%<*package,msa>
+\DeclareFontFamily{U}{msa}{}
+\DeclareFontShape{U}{msa}{m}{n}{
+%<!extra> <-7> msam5
+%<!extra> <7-10> msam7
+%<extra> <-6> msam5
+%<extra> <6-7> msam6
+%<extra> <7-8> msam7
+%<extra> <8-9> msam8
+%<extra> <9-10> msam9
+ <10-> msam10
+ }{}
+%</package,msa>
+% \end{macrocode}
+%
+% \begin{macrocode}
+%<*package,msb>
+\DeclareFontFamily{U}{msb}{}
+\DeclareFontShape{U}{msb}{m}{n}{
+%<!extra> <-7> msbm5
+%<!extra> <7-10> msbm7
+%<extra> <-6> msbm5
+%<extra> <6-7> msbm6
+%<extra> <7-8> msbm7
+%<extra> <8-9> msbm8
+%<extra> <9-10> msbm9
+ <10-> msbm10
+ }{}
+%</package,msb>
+% \end{macrocode}
+%
+% \begin{macrocode}
+%<*package,euex>
+\DeclareFontFamily{U}{euex}{}
+\DeclareFontShape{U}{euex}{m}{n}{
+ <-> euex10 % AMS set only includes euex10
+ }{}
+%</package,euex>
+% \end{macrocode}
+%
+% \begin{macrocode}
+%<*package,euf>
+\DeclareFontFamily{U}{euf}{}
+\DeclareFontShape{U}{euf}{m}{n}{
+ <-7> eufm5
+ <7-10> eufm7
+ <10-> eufm10
+ }{}
+\DeclareFontShape{U}{euf}{b}{n}{
+ <-7> eufb5
+ <7-10> eufb7
+ <10-> eufb10
+ }{}
+%</package,euf>
+% \end{macrocode}
+%
+% \begin{macrocode}
+%<*package,eur>
+\DeclareFontFamily{U}{eur}{\skewchar\font'177}
+\DeclareFontShape{U}{eur}{m}{n}{
+ <-7> eurm5
+ <7-10> eurm7
+ <10-> eurm10
+ }{}
+\DeclareFontShape{U}{eur}{b}{n}{
+ <-7> eurb5
+ <7-10> eurb7
+ <10-> eurb10
+ }{}
+%</package,eur>
+% \end{macrocode}
+%
+% \begin{macrocode}
+%<*package,eus>
+\DeclareFontFamily{U}{eus}{\skewchar\font'60}
+\DeclareFontShape{U}{eus}{m}{n}{
+ <-7> eusm5
+ <7-10> eusm7
+ <10-> eusm10
+ }{}
+\DeclareFontShape{U}{eus}{b}{n}{
+ <-7> eusb5
+ <7-10> eusb7
+ <10-> eusb10
+ }{}
+%</package,eus>
+%</package,ams>
+% \end{macrocode}
+%
+% \begin{macrocode}
+%</package,U>
+% \end{macrocode}
+%
+% End of `fd' codes
+% \begin{macrocode}
+%<*package>
+\endgroup
+% \end{macrocode}
+%
+% Now just check we have picked the em fonts with the right encoding.
+% \begin{macrocode}
+% \sbox\z@{\normalfont\char140}
+\sbox\z@{\normalfont\fontsize{10}{10pt}\selectfont\char140}
+\edef\@tempa{%
+ \ifdim\wd0=7.5ptT1% T1 Ncaron
+ \else\ifdim\wd0=10.1389ptLY1% LY1 aring
+ \else\ifdim\wd0=5.24998ptLM1% LM1 OE
+ \else U%
+ \fi\fi\fi}
+% \end{macrocode}
+%
+% \begin{macrocode}
+\ifx\@tempa\operator@encoding
+\else
+ \PackageError{em}{%
+ Installed em tfm files have encoding `\@tempa'\MessageBreak
+ but this document requests encoding `\operator@encoding'}
+ {Change the package option}
+ \showthe\wd0 % debugging output
+\fi
+% \end{macrocode}
+%
+% Use the text encoding for text fonts used in math
+% \begin{macrocode}
+\DeclareSymbolFont{operators}{\operator@encoding}{\rmdefault}{m}{n}
+\SetSymbolFont{operators}{bold}{\operator@encoding}{\rmdefault}{bx}{n}
+% \end{macrocode}
+%
+% \begin{macrocode}
+\DeclareMathAlphabet\mathbf \operator@encoding{\rmdefault}{bx}{n}
+\DeclareMathAlphabet\mathrm \operator@encoding{\rmdefault}{m}{n}
+\DeclareMathAlphabet\mathsf \operator@encoding{\sfdefault}{m}{n}
+\DeclareMathAlphabet\mathit \operator@encoding{\rmdefault}{m}{it}
+\DeclareMathAlphabet\mathtt \operator@encoding{\ttdefault}{m}{n}
+% \end{macrocode}
+%
+% \begin{macrocode}
+\SetMathAlphabet{\mathbf}{bold}{\operator@encoding}{\rmdefault}{bx}{n}
+\SetMathAlphabet{\mathsf}{bold}{\operator@encoding}{\sfdefault}{bx}{n}
+\SetMathAlphabet{\mathrm}{bold}{\operator@encoding}{\rmdefault}{bx}{n}
+\SetMathAlphabet{\mathit}{bold}{\operator@encoding}{\rmdefault}{bx}{it}
+\SetMathAlphabet{\mathtt}{bold}{\operator@encoding}{\ttdefault}{bx}{n}
+% \end{macrocode}
+%
+% So move the Greek to the letters font (which therefore should
+% not really be considered OML encoded, but pass on that for now)
+% \begin{macrocode}
+\DeclareMathSymbol{\Gamma}{\mathalpha}{letters}{"D0}
+\DeclareMathSymbol{\Delta}{\mathalpha}{letters}{"D1}
+\DeclareMathSymbol{\Theta}{\mathalpha}{letters}{"D2}
+\DeclareMathSymbol{\Lambda}{\mathalpha}{letters}{"D3}
+\DeclareMathSymbol{\Xi}{\mathalpha}{letters}{"D4}
+\DeclareMathSymbol{\Pi}{\mathalpha}{letters}{"D5}
+\DeclareMathSymbol{\Sigma}{\mathalpha}{letters}{"D6}
+\DeclareMathSymbol{\Upsilon}{\mathalpha}{letters}{"D7}
+\DeclareMathSymbol{\Phi}{\mathalpha}{letters}{"D8}
+\DeclareMathSymbol{\Psi}{\mathalpha}{letters}{"D9}
+\DeclareMathSymbol{\Omega}{\mathalpha}{letters}{"DA}
+% \end{macrocode}
+%
+% Also need to move the math accents, depending on the
+% encoding used for the operators font.
+% Actually for LY1 only |\dot| needs changing as the others
+% are the same as OT1.
+% Actually for LM1 coding we need not do anything since
+% (by remapping of Macintosh standard roman) it matches OT1.
+% \begin{macrocode}
+\def\@tempa{T1}
+\ifx\operator@encoding\@tempa
+ \DeclareMathAccent{\grave}{\mathalpha}{operators}{0}
+ \DeclareMathAccent{\acute}{\mathalpha}{operators}{1}
+ \DeclareMathAccent{\hat}{\mathalpha}{operators}{2}
+ \DeclareMathAccent{\tilde}{\mathalpha}{operators}{3}
+ \DeclareMathAccent{\ddot}{\mathalpha}{operators}{4}
+ \DeclareMathAccent{\check}{\mathalpha}{operators}{7}
+ \DeclareMathAccent{\breve}{\mathalpha}{operators}{8}
+ \DeclareMathAccent{\bar}{\mathalpha}{operators}{9}
+ \DeclareMathAccent{\dot}{\mathalpha}{operators}{10}
+\else
+% \end{macrocode}
+%
+% \begin{macrocode}
+\def\@tempa{LY1}
+\ifx\operator@encoding\@tempa
+ \DeclareMathAccent{\dot}{\mathalpha}{operators}{5}
+\else
+% \end{macrocode}
+%
+% \begin{macrocode}
+\def\@tempa{LM1}
+\ifx\operator@encoding\@tempa
+% \DeclareMathAccent{\grave}{\mathalpha}{operators}{18}% or 96
+% \DeclareMathAccent{\acute}{\mathalpha}{operators}{19}% or 171
+% \DeclareMathAccent{\hat}{\mathalpha}{operators}{94}% or 246
+% \DeclareMathAccent{\tilde}{\mathalpha}{operators}{126}% or 247
+% \DeclareMathAccent{\ddot}{\mathalpha}{operators}{127}% or 172
+% \DeclareMathAccent{\check}{\mathalpha}{operators}{20}% or 255
+% \DeclareMathAccent{\breve}{\mathalpha}{operators}{21}% or 249
+% \DeclareMathAccent{\bar}{\mathalpha}{operators}{22}% or 248
+% \DeclareMathAccent{\dot}{\mathalpha}{operators}{95}% or 250
+\else
+ \PackageWarningNoLine{em}
+ {Unknown Operator Encoding!\MessageBreak
+ Math accents may be wrong: assuming OT1 positions}
+\fi\fi\fi
+% \end{macrocode}
+%
+% \begin{macrocode}
+%</package>
+% \end{macrocode}
+%
+
diff --git a/macros/latex/contrib/psnfssx/em/em.ins b/macros/latex/contrib/psnfssx/em/em.ins new file mode 100644 index 0000000000..766dc2ffd7 --- /dev/null +++ b/macros/latex/contrib/psnfssx/em/em.ins @@ -0,0 +1,110 @@ +%% em package Copyright 1997 Y&Y, Inc. +%% +%% Please see em.txt for instructions. +%% +%% Based on the type1cm package Copyright 1997 David Carlisle. +%% +%% Revised to also cover LM1 (Textures) encoding 1997/Dec/05 + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% YOU CAN EDIT THIS FIRST PART TO SUITE YOUR INSTALLATION +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +% Assume AMS fontset and the `AMS Extra' fonts from Y&Y by default + +\def\ams{ams,extra} + +% If you have the AMS fonts, but not the `AMS EXTRA' font set available +% (that is, you do not have msam6 in addition to msam5 msam7 and msam10), +% then remove the % on the next line. +% \def\ams{ams} + +% If you do not have the AMS FONT SET at all, then +% remove the % on the next line. +% \def\ams{} + +% We'll assume you do not want to make fd files (see em.txt for details) +\newif\ifmakefd +\makefdfalse + +% If you DO want to make fd files replacing the standard LaTeX and AMS +% ones, remove the % on the next line. +% \makefdtrue + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% DO NOT EDIT BELOW THIS POINT +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\def\batchfile{em.ins} + +\input docstrip + +\askforoverwritefalse +\keepsilent + +\preamble +This is a generated file for the EM font set from Y&Y, Inc. +No permission is granted to distribute a +modified version of this file under its original name. + +\endpreamble + +\generate{% + \file{em.sty}{\from{em.fdd}{package,\ams}}} + +{\ifmakefd + +\preamble +This is a generated file for EM. Permission is granted to +customize the declarations in this file to serve the needs of your +installation. However, no permission is granted to distribute a +modified version of this file under its original name. + +\endpreamble + +\generate{% + \file{ly1cmr.fd}{\from{em.fdd}{LY1,emr,\ams}} + \file{ly1cmss.fd}{\from{em.fdd}{LY1,emss,\ams}} + \file{ly1cmtt.fd}{\from{em.fdd}{LY1,emtt,\ams}} + \file{ly1cmfr.fd}{\from{em.fdd}{LY1,emfr,\ams}} + \file{ly1cmdh.fd}{\from{em.fdd}{LY1,emdh,\ams}} + } + +\generate{% + \file{lm1cmr.fd}{\from{em.fdd}{LM1,emr,\ams}} + \file{lm1cmss.fd}{\from{em.fdd}{LM1,emss,\ams}} + \file{lm1cmtt.fd}{\from{em.fdd}{LM1,emtt,\ams}} + \file{lm1cmfr.fd}{\from{em.fdd}{LM1,emfr,\ams}} + \file{lm1cmdh.fd}{\from{em.fdd}{LM1,emdh,\ams}} + } + +\generate{% + \file{t1cmr.fd}{\from{em.fdd}{T1,emr,\ams}} + \file{t1cmss.fd}{\from{em.fdd}{T1,emss,\ams}} + \file{t1cmtt.fd}{\from{em.fdd}{T1,emtt,\ams}} + \file{t1cmfr.fd}{\from{em.fdd}{T1,emfr,\ams}} + \file{t1cmdh.fd}{\from{em.fdd}{T1,emdh,\ams}}} + +\generate{% +% \file{omlcmm.fd}{\from{em.fdd}{OML,cmm,\ams}} + \file{omlcmm.fd}{\from{em.fdd}{OML,emm,\ams}} + \file{omlcmr.fd}{\from{em.fdd}{OML,cmr,\ams}} + \file{omscmsy.fd}{\from{em.fdd}{OMS,cmsy,\ams}} + \file{omscmr.fd}{\from{em.fdd}{OMS,cmr,\ams}} + \file{omxcmex.fd}{\from{em.fdd}{OMX,cmex,\ams}} + \file{ulasy.fd}{\from{em.fdd}{U,lasy,\ams}}} + +\ifx\ams\empty\else + +\generate{% + \file{umsa.fd}{\from{em.fdd}{U,msa,ams}} + \file{umsb.fd}{\from{em.fdd}{U,msb,ams}} + \file{ueuex.fd}{\from{em.fdd}{U,euex,ams}} + \file{ueuf.fd}{\from{em.fdd}{U,euf,ams}} + \file{ueur.fd}{\from{em.fdd}{U,eur,ams}} + \file{ueus.fd}{\from{em.fdd}{U,eus,ams}} + } + +\fi +\fi +} diff --git a/macros/latex/contrib/psnfssx/em/em.sty b/macros/latex/contrib/psnfssx/em/em.sty new file mode 100644 index 0000000000..6e4ff4a358 --- /dev/null +++ b/macros/latex/contrib/psnfssx/em/em.sty @@ -0,0 +1,619 @@ +%%
+%% This is file `em.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% em.fdd (with options: `package,ams,extra')
+%% This is a generated file for the EM font set from Y&Y, Inc.
+%% No permission is granted to distribute a
+%% modified version of this file under its original name.
+%%
+%% EM package for LaTeX
+%%
+%% Copyright 1997 Y&Y, Inc.
+%%
+%% Modified to also cover LM1 (Textures) encoding 1997/Dec/05
+%%
+\ProvidesPackage{em}
+ [2000/02/20 v0.07 Y&Y EM font definitions T1, LY1, LM1 (BKPH,DPC)]
+\edef\operator@encoding{\encodingdefault}
+\DeclareOption{T1}{\def\operator@encoding{T1}}
+\DeclareOption{LY1}{\def\operator@encoding{LY1}}
+\DeclareOption{LM1}{\def\operator@encoding{LM1}}
+\ProcessOptions
+\RequirePackage[\operator@encoding]{fontenc}
+\expandafter\let
+ \csname \operator@encoding/cmr/m/n/10\endcsname\@undefined
+\begingroup
+\nfss@catcodes
+\def\@tempa{T1}
+\ifx\operator@encoding\@tempa
+\global\defaulthyphenchar=127
+\DeclareFontFamily{T1}{cmr}{}
+\DeclareFontShape{T1}{cmr}{m}{n}{
+ <-6> emr5
+ <6-7> emr6
+ <7-8> emr7
+ <8-9> emr8
+ <9-10> emr9
+ <10-12> emr10
+ <12-17> emr12
+ <17-> emr17
+ }{}
+\DeclareFontShape{T1}{cmr}{m}{sl}{
+ <-9> emsl8
+ <9-10> emsl9
+ <10-12> emsl10
+ <12-> emsl12
+ }{}
+\DeclareFontShape{T1}{cmr}{m}{it}{
+ <-8> emti7
+ <8-9> emti8
+ <9-10> emti9
+ <10-12> emti10
+ <12-> emti12
+ }{}
+\DeclareFontShape{T1}{cmr}{m}{sc}{
+ <-9> emcsc8
+ <9-10> emcsc9
+ <10-> emcsc10
+ }{}
+\DeclareFontShape{T1}{cmr}{m}{ui}{
+ <-> emu10
+ }{}
+\DeclareFontShape{T1}{cmr}{b}{n}{
+ <-> emb10
+ }{}
+\DeclareFontShape{T1}{cmr}{bx}{n}{
+ <-6> embx5
+ <6-7> embx6
+ <7-8> embx7
+ <8-9> embx8
+ <9-10> embx9
+ <10-12> embx10
+ <12-> embx12
+ }{}
+\DeclareFontShape{T1}{cmr}{bx}{sl}{
+ <-> embxsl10
+ }{}
+\DeclareFontShape{T1}{cmr}{bx}{it}{
+ <-> embxti10
+ }{}
+\DeclareFontShape{T1}{cmr}{bx}{ui}
+ {<->ssub * cmr/m/ui}{}
+\DeclareFontFamily{T1}{cmss}{}
+\DeclareFontShape{T1}{cmss}{m}{n}{
+ <-9> emss8
+ <9-10> emss9
+ <10-12> emss10
+ <12-17> emss12
+ <17-> emss17
+ }{}
+\DeclareFontShape{T1}{cmss}{m}{it}
+ {<->sub * cmss/m/sl}{}
+\DeclareFontShape{T1}{cmss}{m}{sl}{
+ <-9> emssi8
+ <9-10> emssi9
+ <10-12> emssi10
+ <12-17> emssi12
+ <17-> emssi17
+ }{}
+\DeclareFontShape{T1}{cmss}{m}{sc}
+ {<->sub * cmr/m/sc}{}
+\DeclareFontShape{T1}{cmss}{m}{ui}
+ {<->sub * cmr/m/ui}{}
+\DeclareFontShape{T1}{cmss}{sbc}{n}{
+ <-> emssdc10
+ }{}
+\DeclareFontShape{T1}{cmss}{bx}{n}{
+ <-> emssbx10
+ }{}
+\DeclareFontShape{T1}{cmss}{bx}{ui}
+ {<->sub * cmr/bx/ui}{}
+\DeclareFontFamily{T1}{cmtt}{\hyphenchar \font\m@ne}
+\DeclareFontShape{T1}{cmtt}{m}{n}{
+ <-9> emtt8
+ <9-10> emtt9
+ <10-12> emtt10
+ <12-> emtt12
+ }{}
+\DeclareFontShape{T1}{cmtt}{m}{it}{
+ <-> emitt10
+ }{}
+\DeclareFontShape{T1}{cmtt}{m}{sl}{
+ <-> emsltt10
+ }{}
+\DeclareFontShape{T1}{cmtt}{m}{sc}{
+ <-> emtcsc10
+ }{}
+\DeclareFontShape{T1}{cmtt}{m}{ui}
+ {<->sub * cmtt/m/it}{}
+\DeclareFontShape{T1}{cmtt}{bx}{n}
+ {<->sub * cmtt/m/n}{}
+\DeclareFontShape{T1}{cmtt}{bx}{it}
+ {<->sub * cmtt/m/it}{}
+\DeclareFontShape{T1}{cmtt}{bx}{ui}
+ {<->sub * cmtt/m/it}{}
+\DeclareFontFamily{T1}{cmfr}{}
+\DeclareFontShape{T1}{cmfr}{m}{n}{%
+ <-> emff10
+ }{}
+\DeclareFontShape{T1}{cmfr}{m}{it}{
+ <-> emfi10
+ }{}
+\DeclareFontFamily{T1}{cmdh}{}
+\DeclareFontShape{T1}{cmdh}{m}{n}{
+ <-> emdunh10
+ }{}
+\DeclareFontFamily{T1}{cmfib}{}
+\DeclareFontShape{T1}{cmfib}{m}{n}{
+ <-> emfib8
+ }{}
+\fi
+\def\@tempa{LY1}
+\ifx\operator@encoding\@tempa
+\global\defaulthyphenchar=173
+\DeclareFontFamily{LY1}{cmr}{}
+\DeclareFontShape{LY1}{cmr}{m}{n}{
+ <-6> emr5
+ <6-7> emr6
+ <7-8> emr7
+ <8-9> emr8
+ <9-10> emr9
+ <10-12> emr10
+ <12-17> emr12
+ <17-> emr17
+ }{}
+\DeclareFontShape{LY1}{cmr}{m}{sl}{
+ <-9> emsl8
+ <9-10> emsl9
+ <10-12> emsl10
+ <12-> emsl12
+ }{}
+\DeclareFontShape{LY1}{cmr}{m}{it}{
+ <-8> emti7
+ <8-9> emti8
+ <9-10> emti9
+ <10-12> emti10
+ <12-> emti12
+ }{}
+\DeclareFontShape{LY1}{cmr}{m}{sc}{
+ <-9> emcsc8
+ <9-10> emcsc9
+ <10-> emcsc10
+ }{}
+\DeclareFontShape{LY1}{cmr}{m}{ui}{
+ <-> emu10
+ }{}
+\DeclareFontShape{LY1}{cmr}{b}{n}{
+ <-> emb10
+ }{}
+\DeclareFontShape{LY1}{cmr}{bx}{n}{
+ <-6> embx5
+ <6-7> embx6
+ <7-8> embx7
+ <8-9> embx8
+ <9-10> embx9
+ <10-12> embx10
+ <12-> embx12
+ }{}
+\DeclareFontShape{LY1}{cmr}{bx}{sl}{
+ <-> embxsl10
+ }{}
+\DeclareFontShape{LY1}{cmr}{bx}{it}{
+ <-> embxti10
+ }{}
+\DeclareFontShape{LY1}{cmr}{bx}{ui}
+ {<->ssub * cmr/m/ui}{}
+\DeclareFontFamily{LY1}{cmss}{}
+\DeclareFontShape{LY1}{cmss}{m}{n}{
+ <-9> emss8
+ <9-10> emss9
+ <10-12> emss10
+ <12-17> emss12
+ <17-> emss17
+ }{}
+\DeclareFontShape{LY1}{cmss}{m}{it}
+ {<->sub * cmss/m/sl}{}
+\DeclareFontShape{LY1}{cmss}{m}{sl}{
+ <-9> emssi8
+ <9-10> emssi9
+ <10-12> emssi10
+ <12-17> emssi12
+ <17-> emssi17
+ }{}
+\DeclareFontShape{LY1}{cmss}{m}{sc}
+ {<->sub * cmr/m/sc}{}
+\DeclareFontShape{LY1}{cmss}{m}{ui}
+ {<->sub * cmr/m/ui}{}
+\DeclareFontShape{LY1}{cmss}{sbc}{n}{
+ <-> emssdc10
+ }{}
+\DeclareFontShape{LY1}{cmss}{bx}{n}{
+ <-> emssbx10
+ }{}
+\DeclareFontShape{LY1}{cmss}{bx}{ui}
+ {<->sub * cmr/bx/ui}{}
+\DeclareFontFamily{LY1}{cmtt}{\hyphenchar \font\m@ne}
+\DeclareFontShape{LY1}{cmtt}{m}{n}{
+ <-9> emtt8
+ <9-10> emtt9
+ <10-12> emtt10
+ <12-> emtt12
+ }{}
+\DeclareFontShape{LY1}{cmtt}{m}{it}{
+ <-> emitt10
+ }{}
+\DeclareFontShape{LY1}{cmtt}{m}{sl}{
+ <-> emsltt10
+ }{}
+\DeclareFontShape{LY1}{cmtt}{m}{sc}{
+ <-> emtcsc10
+ }{}
+\DeclareFontShape{LY1}{cmtt}{m}{ui}
+ {<->sub * cmtt/m/it}{}
+\DeclareFontShape{LY1}{cmtt}{bx}{n}
+ {<->sub * cmtt/m/n}{}
+\DeclareFontShape{LY1}{cmtt}{bx}{it}
+ {<->sub * cmtt/m/it}{}
+\DeclareFontShape{LY1}{cmtt}{bx}{ui}
+ {<->sub * cmtt/m/it}{}
+\DeclareFontFamily{LY1}{cmfr}{}
+\DeclareFontShape{LY1}{cmfr}{m}{n}{%
+ <-> emff10
+ }{}
+\DeclareFontShape{LY1}{cmfr}{m}{it}{
+ <-> emfi10
+ }{}
+\DeclareFontFamily{LY1}{cmdh}{}
+\DeclareFontShape{LY1}{cmdh}{m}{n}{
+ <-> emdunh10
+ }{}
+\DeclareFontFamily{LY1}{cmfib}{}
+\DeclareFontShape{LY1}{cmfib}{m}{n}{
+ <-> emfib8
+ }{}
+\fi
+\def\@tempa{LM1}
+\ifx\operator@encoding\@tempa
+\global\defaulthyphenchar=45
+\DeclareFontFamily{LM1}{cmr}{}
+\DeclareFontShape{LM1}{cmr}{m}{n}{
+ <-6> emr5
+ <6-7> emr6
+ <7-8> emr7
+ <8-9> emr8
+ <9-10> emr9
+ <10-12> emr10
+ <12-17> emr12
+ <17-> emr17
+ }{}
+\DeclareFontShape{LM1}{cmr}{m}{sl}{
+ <-9> emsl8
+ <9-10> emsl9
+ <10-12> emsl10
+ <12-> emsl12
+ }{}
+\DeclareFontShape{LM1}{cmr}{m}{it}{
+ <-8> emti7
+ <8-9> emti8
+ <9-10> emti9
+ <10-12> emti10
+ <12-> emti12
+ }{}
+\DeclareFontShape{LM1}{cmr}{m}{sc}{
+ <-9> emcsc8
+ <9-10> emcsc9
+ <10-> emcsc10
+ }{}
+\DeclareFontShape{LM1}{cmr}{m}{ui}{
+ <-> emu10
+ }{}
+\DeclareFontShape{LM1}{cmr}{b}{n}{
+ <-> emb10
+ }{}
+\DeclareFontShape{LM1}{cmr}{bx}{n}{
+ <-6> embx5
+ <6-7> embx6
+ <7-8> embx7
+ <8-9> embx8
+ <9-10> embx9
+ <10-12> embx10
+ <12-> embx12
+ }{}
+\DeclareFontShape{LM1}{cmr}{bx}{sl}{
+ <-> embxsl10
+ }{}
+\DeclareFontShape{LM1}{cmr}{bx}{it}{
+ <-> embxti10
+ }{}
+\DeclareFontShape{LM1}{cmr}{bx}{ui}
+ {<->ssub * cmr/m/ui}{}
+\DeclareFontFamily{LM1}{cmss}{}
+\DeclareFontShape{LM1}{cmss}{m}{n}{
+ <-9> emss8
+ <9-10> emss9
+ <10-12> emss10
+ <12-17> emss12
+ <17-> emss17
+ }{}
+\DeclareFontShape{LM1}{cmss}{m}{it}
+ {<->sub * cmss/m/sl}{}
+\DeclareFontShape{LM1}{cmss}{m}{sl}{
+ <-9> emssi8
+ <9-10> emssi9
+ <10-12> emssi10
+ <12-17> emssi12
+ <17-> emssi17
+ }{}
+\DeclareFontShape{LM1}{cmss}{m}{sc}
+ {<->sub * cmr/m/sc}{}
+\DeclareFontShape{LM1}{cmss}{m}{ui}
+ {<->sub * cmr/m/ui}{}
+\DeclareFontShape{LM1}{cmss}{sbc}{n}{
+ <-> emssdc10
+ }{}
+\DeclareFontShape{LM1}{cmss}{bx}{n}{
+ <-> emssbx10
+ }{}
+\DeclareFontShape{LM1}{cmss}{bx}{ui}
+ {<->sub * cmr/bx/ui}{}
+\DeclareFontFamily{LM1}{cmtt}{\hyphenchar \font\m@ne}
+\DeclareFontShape{LM1}{cmtt}{m}{n}{
+ <-9> emtt8
+ <9-10> emtt9
+ <10-12> emtt10
+ <12-> emtt12
+ }{}
+\DeclareFontShape{LM1}{cmtt}{m}{it}{
+ <-> emitt10
+ }{}
+\DeclareFontShape{LM1}{cmtt}{m}{sl}{
+ <-> emsltt10
+ }{}
+\DeclareFontShape{LM1}{cmtt}{m}{sc}{
+ <-> emtcsc10
+ }{}
+\DeclareFontShape{LM1}{cmtt}{m}{ui}
+ {<->sub * cmtt/m/it}{}
+\DeclareFontShape{LM1}{cmtt}{bx}{n}
+ {<->sub * cmtt/m/n}{}
+\DeclareFontShape{LM1}{cmtt}{bx}{it}
+ {<->sub * cmtt/m/it}{}
+\DeclareFontShape{LM1}{cmtt}{bx}{ui}
+ {<->sub * cmtt/m/it}{}
+\DeclareFontFamily{LM1}{cmfr}{}
+\DeclareFontShape{LM1}{cmfr}{m}{n}{%
+ <-> emff10
+ }{}
+\DeclareFontShape{LM1}{cmfr}{m}{it}{
+ <-> emfi10
+ }{}
+\DeclareFontFamily{LM1}{cmdh}{}
+\DeclareFontShape{LM1}{cmdh}{m}{n}{
+ <-> emdunh10
+ }{}
+\DeclareFontFamily{LM1}{cmfib}{}
+\DeclareFontShape{LM1}{cmfib}{m}{n}{
+ <-> emfib8
+ }{}
+\fi
+\def\@tempa{OT1}
+\ifx\operator@encoding\@tempa
+\PackageError{em}%
+{OT1\space encoding\space not\space useable\space with\space em.sty}%
+{Specify\space T1\space or\space LY1\space or\space LM1 option}%
+\fi
+\DeclareFontFamily{OML}{cmm}{\skewchar\font127 }
+\DeclareFontShape{OML}{cmm}{m}{it}{
+ <-6> emmi5
+ <6-7> emmi6
+ <7-8> emmi7
+ <8-9> emmi8
+ <9-10> emmi9
+ <10-12> emmi10
+ <12-> emmi12
+ }{}
+\DeclareFontShape{OML}{cmm}{b}{it}{%
+ <-6> emmib5
+ <6-7> emmib6
+ <7-8> emmib7
+ <8-9> emmib8
+ <9-10> emmib9
+ <10-> emmib10
+ }{}
+\DeclareFontShape{OML}{cmm}{bx}{it}
+ {<-> ssub * cmm/b/it}{}
+\DeclareFontFamily{OML}{cmr}{\skewchar\font127 }
+\DeclareFontShape{OML}{cmr}{m}{n}
+ {<-> ssub * cmm/m/it}{}
+\DeclareFontShape{OML}{cmr}{m}{it}
+ {<-> ssub * cmm/m/it}{}
+\DeclareFontShape{OML}{cmr}{m}{sl}
+ {<-> ssub * cmm/m/it}{}
+\DeclareFontShape{OML}{cmr}{m}{sc}
+ {<-> ssub * cmm/m/it}{}
+\DeclareFontShape{OML}{cmr}{bx}{n}
+ {<-> ssub * cmm/b/it}{}
+\DeclareFontShape{OML}{cmr}{bx}{it}
+ {<-> ssub * cmm/b/it}{}
+\DeclareFontShape{OML}{cmr}{bx}{sl}
+ {<-> ssub * cmm/b/it}{}
+\DeclareFontShape{OML}{cmr}{bx}{sc}
+ {<-> ssub * cmm/b/it}{}
+\DeclareFontFamily{OMS}{cmsy}{\skewchar\font48 }
+\DeclareFontShape{OMS}{cmsy}{m}{n}{%
+ <-6> cmsy5
+ <6-7> cmsy6
+ <7-8> cmsy7
+ <8-9> cmsy8
+ <9-10> cmsy9
+ <10-> cmsy10
+ }{}
+\DeclareFontShape{OMS}{cmsy}{b}{n}{%
+ <-6> cmbsy5
+ <6-7> cmbsy6
+ <7-8> cmbsy7
+ <8-9> cmbsy8
+ <9-10> cmbsy9
+ <10-> cmbsy10
+ }{}
+\DeclareFontFamily{OMS}{cmr}{\skewchar\font48 }
+\DeclareFontShape{OMS}{cmr}{m}{n}
+ {<-> ssub * cmsy/m/n}{}
+\DeclareFontShape{OMS}{cmr}{m}{it}
+ {<-> ssub * cmsy/m/n}{}
+\DeclareFontShape{OMS}{cmr}{m}{sl}
+ {<-> ssub * cmsy/m/n}{}
+\DeclareFontShape{OMS}{cmr}{m}{sc}
+ {<-> ssub * cmsy/m/n}{}
+\DeclareFontShape{OMS}{cmr}{bx}{n}
+ {<-> ssub * cmsy/b/n}{}
+\DeclareFontShape{OMS}{cmr}{bx}{it}
+ {<-> ssub * cmsy/b/n}{}
+\DeclareFontShape{OMS}{cmr}{bx}{sl}
+ {<-> ssub * cmsy/b/n}{}
+\DeclareFontShape{OMS}{cmr}{bx}{sc}
+ {<-> ssub * cmsy/b/n}{}
+\DeclareFontFamily{OMX}{cmex}{}{}
+\DeclareFontShape{OMX}{cmex}{m}{n}{
+ <-8> cmex7
+ <8-9> cmex8
+ <9-10> cmex9
+ <10-> cmex10
+ }{}
+\DeclareFontFamily{U}{lasy}{}
+\DeclareFontShape{U}{lasy}{m}{n}{
+ <-6> lasy5
+ <6-7> lasy6
+ <7-8> lasy7
+ <8-9> lasy8
+ <9-10> lasy9
+ <10-> lasy10
+ }{}
+\DeclareFontShape{U}{lasy}{b}{n}{
+ <-> lasyb10
+ }{}
+\DeclareFontFamily{U}{msa}{}
+\DeclareFontShape{U}{msa}{m}{n}{
+ <-6> msam5
+ <6-7> msam6
+ <7-8> msam7
+ <8-9> msam8
+ <9-10> msam9
+ <10-> msam10
+ }{}
+\DeclareFontFamily{U}{msb}{}
+\DeclareFontShape{U}{msb}{m}{n}{
+ <-6> msbm5
+ <6-7> msbm6
+ <7-8> msbm7
+ <8-9> msbm8
+ <9-10> msbm9
+ <10-> msbm10
+ }{}
+\DeclareFontFamily{U}{euex}{}
+\DeclareFontShape{U}{euex}{m}{n}{
+ <-> euex10 % AMS set only includes euex10
+ }{}
+\DeclareFontFamily{U}{euf}{}
+\DeclareFontShape{U}{euf}{m}{n}{
+ <-7> eufm5
+ <7-10> eufm7
+ <10-> eufm10
+ }{}
+\DeclareFontShape{U}{euf}{b}{n}{
+ <-7> eufb5
+ <7-10> eufb7
+ <10-> eufb10
+ }{}
+\DeclareFontFamily{U}{eur}{\skewchar\font'177}
+\DeclareFontShape{U}{eur}{m}{n}{
+ <-7> eurm5
+ <7-10> eurm7
+ <10-> eurm10
+ }{}
+\DeclareFontShape{U}{eur}{b}{n}{
+ <-7> eurb5
+ <7-10> eurb7
+ <10-> eurb10
+ }{}
+\DeclareFontFamily{U}{eus}{\skewchar\font'60}
+\DeclareFontShape{U}{eus}{m}{n}{
+ <-7> eusm5
+ <7-10> eusm7
+ <10-> eusm10
+ }{}
+\DeclareFontShape{U}{eus}{b}{n}{
+ <-7> eusb5
+ <7-10> eusb7
+ <10-> eusb10
+ }{}
+\endgroup
+% \sbox\z@{\normalfont\char140}
+\sbox\z@{\normalfont\fontsize{10}{10pt}\selectfont\char140}
+\edef\@tempa{%
+ \ifdim\wd0=7.5ptT1% T1 Ncaron
+ \else\ifdim\wd0=10.1389ptLY1% LY1 aring
+ \else\ifdim\wd0=5.24998ptLM1% LM1 OE
+ \else U%
+ \fi\fi\fi}
+\ifx\@tempa\operator@encoding
+\else
+ \PackageError{em}{%
+ Installed em tfm files have encoding `\@tempa'\MessageBreak
+ but this document requests encoding `\operator@encoding'}
+ {Change the package option}
+ \showthe\wd0 % debugging output
+\fi
+\DeclareSymbolFont{operators}{\operator@encoding}{\rmdefault}{m}{n}
+\SetSymbolFont{operators}{bold}{\operator@encoding}{\rmdefault}{bx}{n}
+\DeclareMathAlphabet\mathbf \operator@encoding{\rmdefault}{bx}{n}
+\DeclareMathAlphabet\mathrm \operator@encoding{\rmdefault}{m}{n}
+\DeclareMathAlphabet\mathsf \operator@encoding{\sfdefault}{m}{n}
+\DeclareMathAlphabet\mathit \operator@encoding{\rmdefault}{m}{it}
+\DeclareMathAlphabet\mathtt \operator@encoding{\ttdefault}{m}{n}
+\SetMathAlphabet{\mathbf}{bold}{\operator@encoding}{\rmdefault}{bx}{n}
+\SetMathAlphabet{\mathsf}{bold}{\operator@encoding}{\sfdefault}{bx}{n}
+\SetMathAlphabet{\mathrm}{bold}{\operator@encoding}{\rmdefault}{bx}{n}
+\SetMathAlphabet{\mathit}{bold}{\operator@encoding}{\rmdefault}{bx}{it}
+\SetMathAlphabet{\mathtt}{bold}{\operator@encoding}{\ttdefault}{bx}{n}
+\DeclareMathSymbol{\Gamma}{\mathalpha}{letters}{"D0}
+\DeclareMathSymbol{\Delta}{\mathalpha}{letters}{"D1}
+\DeclareMathSymbol{\Theta}{\mathalpha}{letters}{"D2}
+\DeclareMathSymbol{\Lambda}{\mathalpha}{letters}{"D3}
+\DeclareMathSymbol{\Xi}{\mathalpha}{letters}{"D4}
+\DeclareMathSymbol{\Pi}{\mathalpha}{letters}{"D5}
+\DeclareMathSymbol{\Sigma}{\mathalpha}{letters}{"D6}
+\DeclareMathSymbol{\Upsilon}{\mathalpha}{letters}{"D7}
+\DeclareMathSymbol{\Phi}{\mathalpha}{letters}{"D8}
+\DeclareMathSymbol{\Psi}{\mathalpha}{letters}{"D9}
+\DeclareMathSymbol{\Omega}{\mathalpha}{letters}{"DA}
+\def\@tempa{T1}
+\ifx\operator@encoding\@tempa
+ \DeclareMathAccent{\grave}{\mathalpha}{operators}{0}
+ \DeclareMathAccent{\acute}{\mathalpha}{operators}{1}
+ \DeclareMathAccent{\hat}{\mathalpha}{operators}{2}
+ \DeclareMathAccent{\tilde}{\mathalpha}{operators}{3}
+ \DeclareMathAccent{\ddot}{\mathalpha}{operators}{4}
+ \DeclareMathAccent{\check}{\mathalpha}{operators}{7}
+ \DeclareMathAccent{\breve}{\mathalpha}{operators}{8}
+ \DeclareMathAccent{\bar}{\mathalpha}{operators}{9}
+ \DeclareMathAccent{\dot}{\mathalpha}{operators}{10}
+\else
+\def\@tempa{LY1}
+\ifx\operator@encoding\@tempa
+ \DeclareMathAccent{\dot}{\mathalpha}{operators}{5}
+\else
+\def\@tempa{LM1}
+\ifx\operator@encoding\@tempa
+\else
+ \PackageWarningNoLine{em}
+ {Unknown Operator Encoding!\MessageBreak
+ Math accents may be wrong: assuming OT1 positions}
+\fi\fi\fi
+
+\endinput
+%%
+%% End of file `em.sty'.
diff --git a/macros/latex/contrib/psnfssx/em/em.txt b/macros/latex/contrib/psnfssx/em/em.txt new file mode 100644 index 0000000000..3c36567388 --- /dev/null +++ b/macros/latex/contrib/psnfssx/em/em.txt @@ -0,0 +1,241 @@ +European Modern (EM) package for LaTeX: +======================================== + + CM style fonts - but with accented characters - in Adobe Type 1 format. + + Copyright 1997 Y&Y, Inc. + Parts Copyright 1997 David Carlisle +Important Note: +=============== + +The LaTeX PSNFSS support files for "European Modern" (EM) fonts on +their own are not useful without the actual fonts. The EM font set +itself is available from Y&Y, Inc. + +Background: +=========== + +Do you: + + (1) like the look of Computer Modern (CM) fonts; but + (2) need ready-made accented characters for proper hyphenation; and + (3) need scalable outline fonts (a.k.a. `PostScript' or `ATM' fonts)? + +Then the EM font set is for you. The character shapes are from Computer +Modern, yet the glyph complement is much larger -- including numerous +ready-made accented and composite characters -- and the fonts are in +scalable Adobe Type 1 format (as opposed to METAFONT based PK bitmaps). + +The EM fonts also satisfy the needs of non-TeX users desireous of the CM +look, because they appear to the operating system as plain vanilla text +fonts, and so can be easily used with applications other than TeX. + +The EM font set: +================ + +The EM font set contains 57 text fonts based on the text fonts in Knuth's +Computer Modern font (CM) set. It also contains 13 math italic fonts based +on the math italic fonts in CM and AMS font sets. The EM text fonts +have a much larger glyph set than the corresponding CM fonts. + +Each CM text font has about 117 usable glyphs for text (plus eleven +Greek letters). The EM fonts add over 90 ready-made composites and +numerous other `missing' glyphs to bring the total number of glyphs to +over 300. This makes it possible, e.g., to use these fonts with +T1 (Cork) encoding, or LY1 (TeX 'n ANSI) encoding, or LM1 (Textures) +encoding. The AFM files show the actual glyph complement available. + +Note that the EM fonts are set up as normal text fonts, unlike the CM fonts -- +all of which have to be set up as pi/math/symbol/decorative/non-text since +CM fonts use there own unusual character layout and do not have anywhere +near the `standard' complement of 228 glyphs expected of a text font. + +Treated as text fonts, the EM fonts are reencoded to platform +specific encoding when installed on operating systems with +system-level support for scalable fonts, such as Windows and Macintosh. +Consequently, for optimum use with TeX, you need a system that can +reencode fonts `on the fly' (or you need to `hard reencode' the PFB +and PFM files using the REENCODE and AFMtoPFM utilities, or use the +reencoding feature of psfonts.map for DVIPS when printing to PS printers). + +The EM text fonts are used in conjunction with some of the CM math fonts. +CM math fonts do not contain upright uppercase Greek letters -- these are +normally taken from the roman text fonts (CMR* and CMBX*). Included in the EM +font set are EMMI* math italic fonts which have these irksome upright +uppercase Greek letters in character code positions 208 - 218. Note that +this is the same scheme used in the MathTime font set, and similar to the +scheme used with the Lucida Bright + Lucida New Math font set when the Lucida +Bright Expert set is not available. + +The names of the EM fonts are derived directly from those of the CM fonts. +So, for example, EMR17 is based on CMR17 --- with close to two hundred +glyphs added. And EMMI10 is based on CMMI10 --- with upright Greek added. + +Relation to the EC font set: +============================ + +The "European Computer Modern" (EC) font set was defined to add +ready-made accented characters to CM, including those needed for some +Eastern European languages. In order to make space for these +characters, many typographically important glyphs had to be banished +to "text companion" (TC) fonts. + +The new EM font set differs from the EC font set in several ways: + +(1) The EC font set is unmanageably large (500 to 600 fonts), making it + unlikely that a well hinted version will become available, and + cluttering operating system files with font listings. + +(2) The EC font set uses fixed encoding, just like CM fonts, except + it is hard wired to T1/Cork encoding instead of OT1/TeX Text encoding. + This means it is less flexible and harder to use with non-TeX applications. + +(3) EC fonts are hard-wired for T1/Cork encoding. + EM text fonts have a larger glyph complement covering several encodings + including T1, LY1, LM1, Windows ANSI, and various ISO standard encodings. + +(4) The metric files for EC fonts have a problem with kerning for + quotation marks. The EM fonts are setup to deal correctly with + "boundary character" kerning for both left and right quotation marks. + +(5) The metric files for EC fonts include a few errors, such as incorrect + sign on a few kerning pairs. These have been fixed in the EM font set. + +(6) The EM fonts use the old germandbls from the CM fonts instead of the + redesigned one in EC. + +(7) The EM font metrics match the CM font metrics exactly for characters that + occur in CM. EC font metrics differ slightly from CM. + +As a result EM is not a "drop in" replacement for EC - it is better. + +NOTE: the following is largely adapted from David Carlisle's type1cm.txt + +Using the LaTeX support for the EM font set +=========================================== + +The default way of using the `em' package is as a LaTeX package file. +Install em.sty as described below and then just add + +\usepackage[T1]{em} or \usepackage[LY1]{em} or \usepackage[LM1]{em} + +to your document. This will override the definitions for all the fonts +and so the standard fd files are not used. This will cause LaTeX +to use the em fonts, and will also call the fontenc package to switch +to the requested encoding (T1/Cork, or LY1/TeXnANSI, or LM1/Mac). + +Installation Instructions: +========================== + +IMPORTANT NOTE: we supply a ready-made em.sty file so the following +`unpacking' is actually not normally needed; unless you require some +particular customization. + +The installation is controlled by the file em.ins which you may want to +edit in two places. + +1) If you do not have the AMS Font set available in scalable form then + remove the `%' from the line %\def\ams{} + This will cause a more restricted font specification to be used. + + If you do not have the `AMS Extra' font set available in scalable form + (i.e. msam6, msam8 and msam9 in addition to msam5, msam7 and msam10) + then remove the `%' from the line %\def\ams{ams} + +2) If after reading the warning above regarding *.fd files, you decide to + make a set of fd files, remove the `%'from the line %\makefdtrue + +Then run TeX (or LaTeX) on the file em.ins. A package file em.sty (and +perhaps a set of fd files - see above) will be produced which you should +place in a directory where TeX looks for input files. (Alternatively, add +the directory containing these files to the list in the TEXINPUTS +environment variable; or the format specific environment variable LATEX). + +Appendix A: Font sizing -- discrete or continuous? +================================================== + +LaTeX separates its internal notion of font specification from the external +fonts available on the system by means of `Font Shape Specifications', that +are normally held in `Font Descriptor' (fd) files. + +The fd files that come with LaTeX that refer to the standard Computer Modern +set (and the related AMS set) are based on the classical bitmap fonts which +are available in discrete `magstep' sizes only. For instance, the +specification of the main roman font is + + \DeclareFontShape{OT1}{cmr}{m}{n} + { <5> <6> <7> <8> <9> <10> <12> gen * cmr + <10.95> cmr10 + <14.4> cmr12 + <17.28><20.74><24.88>cmr17}{} + +which says that no font is available at 10.5pt (LaTeX will substitute the +nearest available size if you ask for this) and similarly the font is not +available at all above 25pt. + +Such restrictions are essential with bitmap fonts to save generating huge +numbers of bitmaps for any size that might be requested, however with +scalable versions of the fonts these restrictions are not really needed. +For instance the equivalent definition here is: + +\DeclareFontShape{LY1}{cmr}{m}{n}{ + <-6> emr5 + <6-7> emr6 + <7-8> emr7 + <8-9> emr8 + <9-10> emr9 + <10-12> emr10 + <12-17> emr12 + <17-> emr17 + }{} + +which means that you can (although some may consider it bad style) go +\fontsize{10.345pt}{12pt}\selectfont and be given a suitably scaled version of +emr10 and a baseline setting of 12pt. Similarly if you really want, you can +go \fontsize{2cm}{2.5cm}\selectfont and use emr17 scaled to 2cm height for a +special display context. + +Appendix B: Technical note about the Font Shape specifications used: +========================================================================== + +David Carlisle consistently specifies that given a requested size, the +largest available font size smaller than (or equal to) the requested size +should be used and then enlarged to the requested size. The exception being +sizes smaller than the smallest available font, which use a reduced version +of that font. The rationale for this is that enlarging a small font +typically produces a rather `fat' font, but something readable, whereas +shrinking a font may produce something unreadable quite quickly, particulary +since the strokes in Computer Modern - and hence European Modern - are +already quite thin. + +So for msam (if `extra' is not specified) he used: + +\DeclareFontShape{U}{msa}{m}{n}{ + <-7> msam5 + <7-10> msam7 + <10-> msam10 + }{} + +That is, for sizes strictly below 7pt use msam5, 7pt to (less than) 10pt +use msam7 and sizes 10pt and above use msam10. + +This differs from the specification that the AMS use for the scalable +AMS fonts (used by the psfonts option to the amsfonts package). They use + +\DeclareFontShape{U}{msa}{m}{n}{ + <-6> msam5 + <6-8> msam7 + <8-> msam10 + }{} + +This scheme has the advantage of minimising the scaling used, so for instance +a 9pt request is satisfied by msam7 scaled up to 9 by this package, but by +msam10 scaled down to 9 by the AMS package. + +In practice this is not likely to make a difference that anyone might notice, +but it could in principle affect line breaks etc, so David thought that it +should be mentioned here. + +-------------------------------------------------------------------------------- +(TM) European Modern is a trademark of Y&Y, Inc. http://www.YandY.com +--------------------------------------------------------------------------------
\ No newline at end of file |