diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /fonts/psfonts/ly1/tex |
Initial commit
Diffstat (limited to 'fonts/psfonts/ly1/tex')
-rw-r--r-- | fonts/psfonts/ly1/tex/latex/ly1/ly1enc.def | 248 | ||||
-rw-r--r-- | fonts/psfonts/ly1/tex/latex/ly1/ly1pag.fd | 35 | ||||
-rw-r--r-- | fonts/psfonts/ly1/tex/latex/ly1/ly1pbk.fd | 46 | ||||
-rw-r--r-- | fonts/psfonts/ly1/tex/latex/ly1/ly1pcr.fd | 38 | ||||
-rw-r--r-- | fonts/psfonts/ly1/tex/latex/ly1/ly1phv.fd | 77 | ||||
-rw-r--r-- | fonts/psfonts/ly1/tex/latex/ly1/ly1pnc.fd | 40 | ||||
-rw-r--r-- | fonts/psfonts/ly1/tex/latex/ly1/ly1ppl.fd | 61 | ||||
-rw-r--r-- | fonts/psfonts/ly1/tex/latex/ly1/ly1ptm.fd | 53 | ||||
-rw-r--r-- | fonts/psfonts/ly1/tex/latex/ly1/ly1pzc.fd | 18 | ||||
-rw-r--r-- | fonts/psfonts/ly1/tex/latex/ly1/texnansi.sty | 121 | ||||
-rw-r--r-- | fonts/psfonts/ly1/tex/plain/ly1/texnansi.tex | 378 |
11 files changed, 1115 insertions, 0 deletions
diff --git a/fonts/psfonts/ly1/tex/latex/ly1/ly1enc.def b/fonts/psfonts/ly1/tex/latex/ly1/ly1enc.def new file mode 100644 index 0000000000..b1b32fed52 --- /dev/null +++ b/fonts/psfonts/ly1/tex/latex/ly1/ly1enc.def @@ -0,0 +1,248 @@ +% Copyright 1997, 1998, 1999 David Carlisle +% Updated 2009 Karl Berry. +% +% This work may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% +\ProvidesFile{ly1enc.def}[2009/07/22 v0.7 TeX 'n ANSI encoding (DPC/KB)] +\DeclareFontEncoding{LY1}{}{} + +\DeclareErrorFont{LY1}{ptm}{m}{n}{10} % argh! +\DeclareFontSubstitution{LY1}{ptm}{m}{n} % argh! + +% +% notdef 0 +% \DeclareTextSymbol{\textEuro}{LY1} {1} +\DeclareTextSymbol{\texteuro}{LY1} {1} +% notdef 2 +% notdef 3 +\DeclareTextSymbol{\textfractionsolidus}{LY1} {4} +\DeclareTextAccent{\.}{LY1} {5} +\DeclareTextAccent{\H}{LY1} {6} +\DeclareTextCommand{\k}{LY1}[1] + {\oalign{\null#1\crcr\hidewidth\char7}} +% fl 8 +% notdef 9 +% notdef 10 +% ff 11 +% fi 12 +% notdef 13 +% ffi 14 +% ffl 15 +\DeclareTextSymbol{\i}{LY1} {16} + +% Let's not have \j just bomb out; modern fonts all support it, although +% the original URW Times, etc., Type 1's do not have it. +% The result with this definition is a "missing glyph" warning in the +% log, instead of the LaTeX error. +\DeclareTextSymbol{\j}{LY1} {17} +%\DeclareTextCommand{\j}{LY1} +% {\TextSymbolUnavailable\j j}% 17 + +\DeclareTextAccent{\`}{LY1} {18} +\DeclareTextAccent{\'}{LY1} {19} +\DeclareTextAccent{\v}{LY1} {20} +\DeclareTextAccent{\u}{LY1} {21} +\DeclareTextAccent{\=}{LY1} {22} +\DeclareTextCommand{\b}{LY1}[1] + {{\o@lign{\relax#1\crcr\hidewidth\sh@ft{29}% + \vbox to.2ex{\hbox{\char22}\vss}\hidewidth}}} +\renewcommand\aa{\r{a}}% not needed with recent LaTeX releases +\renewcommand\AA{\r{A}}% not needed with recent LaTeX releases +\DeclareTextAccent{\r}{LY1} {23} +\DeclareTextCommand{\c}{LY1}[1]{% + \setbox\z@\hbox{#1}\ifdim\ht\z@=1ex\accent24 #1% + \else{\ooalign{\hidewidth\char24% + \hidewidth\crcr\unhbox\z@}}\fi} +\DeclareTextSymbol{\ss}{LY1} {25} +% \ae (but use 230) 26 +\DeclareTextSymbol{\oe}{LY1} {27} +% \o (but use 248) 28 +% \AE (but use 198) 29 +\DeclareTextSymbol{\OE}{LY1} {30} +% \O (but use 216) {31} +% \DeclareTextSymbol{\textblank}{LY1} {32} +\DeclareTextSymbol{\textspace}{LY1} {32} +% ! 33 +\DeclareTextSymbol{\textquotedbl}{LY1} {34} +% \# 35 +\DeclareTextSymbol{\textdollar}{LY1} {36} +% \% 37 +% \& 38 +\DeclareTextSymbol{\textquoteright}{LY1} {39} +% ( 40 +% ) 41 +% * 42 +% + 43 +% , 44 +% - 45 +% . 46 +\DeclareTextCommand{\d}{LY1}[1] + {{\o@lign{\relax#1\crcr\hidewidth\sh@ft{10}.\hidewidth}}} +% / 47 +% 0-9 48-57 +% : 58 +% ; 59 +\DeclareTextSymbol{\textless}{LY1} {60} +% = 61 +\DeclareTextSymbol{\textgreater}{LY1} {62} +% ? 63 +% @ 64 +% A-Z 65-90 +% [ 91 +\DeclareTextSymbol{\textbackslash}{LY1} {92} +% ] 93 +\DeclareTextAccent{\^}{LY1} {94} +\DeclareTextSymbol{\textunderscore}{LY1} {95} +\DeclareTextSymbol{\textquoteleft}{LY1} {96} +% a-z 97-122 +\DeclareTextSymbol{\textbraceleft}{LY1} {123} +\DeclareTextSymbol{\textbar}{LY1} {124} +\DeclareTextSymbol{\textbraceright}{LY1} {125} +\DeclareTextAccent{\~}{LY1} {126} +% \" but use 168 127 +\DeclareTextSymbol{\L}{LY1} {128} +\DeclareTextSymbol{\textquotesingle}{LY1} {129} +\DeclareTextSymbol{\quotesinglbase}{LY1} {130} +\DeclareTextSymbol{\textquotesinglbase}{LY1}{130} +\DeclareTextSymbol{\textflorin}{LY1} {131} +\DeclareTextSymbol{\textquotedblbase}{LY1} {132} +\DeclareTextSymbol{\quotedblbase}{LY1} {132} +\DeclareTextSymbol{\textellipsis}{LY1} {133} +\DeclareTextSymbol{\textdagger}{LY1} {134} +\DeclareTextSymbol{\textdaggerdbl}{LY1} {135} +% \^ (again) 136 +\DeclareTextSymbol{\textperthousand}{LY1} {137} +\DeclareTextComposite{\v}{LY1}{S} {138} +\DeclareTextSymbol{\guilsinglleft}{LY1} {139} +% OE (again) 140 +\DeclareTextComposite{\v}{LY1}{Z} {141} +\DeclareTextSymbol{\textasciicircum}{LY1} {142} +\DeclareTextSymbol{\textminus}{LY1} {143} +\DeclareTextSymbol{\l}{LY1} {144} +% quoteleft (again) 145 +% quoteright (again) 146 +\DeclareTextSymbol{\textquotedblleft}{LY1} {147} +\DeclareTextSymbol{\textquotedblright}{LY1} {148} +\DeclareTextSymbol{\textbullet}{LY1} {149} +\DeclareTextSymbol{\textendash}{LY1} {150} +\DeclareTextSymbol{\textemdash}{LY1} {151} +% tilde (again) 152 +\DeclareTextSymbol{\texttrademark}{LY1} {153} +\DeclareTextComposite{\v}{LY1}{s} {154} +\DeclareTextSymbol{\guilsinglright}{LY1} {155} +% oe (again) 156 +\DeclareTextComposite{\v}{LY1}{z} {157} +\DeclareTextSymbol{\textasciitilde}{LY1} {158} +\DeclareTextAccent{\"}{LY1} {168}% moved before \"{Y} +\DeclareTextComposite{\"}{LY1}{Y} {159} +% \DeclareTextSymbol{\textnbspace}{LY1} {160} +\DeclareTextSymbol{\textexclamdown}{LY1} {161} +\DeclareTextSymbol{\textcent}{LY1} {162} +\DeclareTextSymbol{\textsterling}{LY1} {163} +\DeclareTextSymbol{\textcurrency}{LY1} {164} +\DeclareTextSymbol{\textyen}{LY1} {165} +\DeclareTextSymbol{\textbrokenbar}{LY1} {166} +\DeclareTextSymbol{\textsection}{LY1} {167} +%\DeclareTextAccent{\"}{LY1} {168}% declared earlier +\DeclareTextSymbol{\textcopyright}{LY1} {169} +\DeclareTextSymbol{\copyright}{LY1} {169}% Plain TeX name +\DeclareTextSymbol{\textordfeminine}{LY1} {170} +\DeclareTextSymbol{\guillemotleft}{LY1} {171} +\DeclareTextSymbol{\textlogicalnot}{LY1} {172} +% \DeclareTextSymbol{\textsfthyphen}{LY1} {173} +\DeclareTextSymbol{\textregistered}{LY1} {174} +% macron (again) 175 +\DeclareTextSymbol{\textdegree}{LY1} {176} +% \DeclareTextSymbol{\textpm}{LY1} {177} +\DeclareTextSymbol{\textplusminus}{LY1} {177} +\DeclareTextSymbol{\texttwosuperior}{LY1} {178} +\DeclareTextSymbol{\textthreesuperior}{LY1} {179} +% acute (again) 180 +\DeclareTextSymbol{\textmu}{LY1} {181} +\DeclareTextSymbol{\textparagraph}{LY1} {182} +\DeclareTextSymbol{\textperiodcentered}{LY1}{183} +% cedilla (again) 184 +\DeclareTextSymbol{\textonesuperior}{LY1} {185} +\DeclareTextSymbol{\textordmasculine}{LY1} {186} +\DeclareTextSymbol{\guillemotright}{LY1} {187} +\DeclareTextSymbol{\textonequarter}{LY1} {188} +\DeclareTextSymbol{\textonehalf}{LY1} {189} +\DeclareTextSymbol{\textthreequarters}{LY1} {190} +\DeclareTextSymbol{\textquestiondown}{LY1} {191} +\DeclareTextComposite{\`}{LY1}{A} {192} +\DeclareTextComposite{\'}{LY1}{A} {193} +\DeclareTextComposite{\^}{LY1}{A} {194} +\DeclareTextComposite{\~}{LY1}{A} {195} +\DeclareTextComposite{\"}{LY1}{A} {196} +\DeclareTextComposite{\r}{LY1}{A} {197} +\DeclareTextSymbol{\AE}{LY1} {198} +\DeclareTextComposite{\c}{LY1}{C} {199} +\DeclareTextComposite{\`}{LY1}{E} {200} +\DeclareTextComposite{\'}{LY1}{E} {201} +\DeclareTextComposite{\^}{LY1}{E} {202} +\DeclareTextComposite{\"}{LY1}{E} {203} +\DeclareTextComposite{\`}{LY1}{I} {204} +\DeclareTextComposite{\'}{LY1}{I} {205} +\DeclareTextComposite{\^}{LY1}{I} {206} +\DeclareTextComposite{\"}{LY1}{I} {207} +\DeclareTextSymbol{\DH}{LY1} {208} +\DeclareTextComposite{\~}{LY1}{N} {209} +\DeclareTextComposite{\`}{LY1}{O} {210} +\DeclareTextComposite{\'}{LY1}{O} {211} +\DeclareTextComposite{\^}{LY1}{O} {212} +\DeclareTextComposite{\~}{LY1}{O} {213} +\DeclareTextComposite{\"}{LY1}{O} {214} +% \DeclareTextSymbol{\texttimes}{LY1} {215} +\DeclareTextSymbol{\textmultiply}{LY1} {215} +\DeclareTextSymbol{\O}{LY1} {216} +\DeclareTextComposite{\`}{LY1}{U} {217} +\DeclareTextComposite{\'}{LY1}{U} {218} +\DeclareTextComposite{\^}{LY1}{U} {219} +\DeclareTextComposite{\"}{LY1}{U} {220} +\DeclareTextComposite{\'}{LY1}{Y} {221} +\DeclareTextSymbol{\TH}{LY1} {222} +% ss (again) 223 +\DeclareTextComposite{\`}{LY1}{a} {224} +\DeclareTextComposite{\'}{LY1}{a} {225} +\DeclareTextComposite{\^}{LY1}{a} {226} +\DeclareTextComposite{\~}{LY1}{a} {227} +\DeclareTextComposite{\"}{LY1}{a} {228} +\DeclareTextComposite{\r}{LY1}{a} {229} +\DeclareTextSymbol{\ae}{LY1} {230} +\DeclareTextComposite{\c}{LY1}{c} {231} +\DeclareTextComposite{\`}{LY1}{e} {232} +\DeclareTextComposite{\'}{LY1}{e} {233} +\DeclareTextComposite{\^}{LY1}{e} {234} +\DeclareTextComposite{\"}{LY1}{e} {235} +\DeclareTextComposite{\`}{LY1}{i} {236} +\DeclareTextComposite{\`}{LY1}{\i} {236}% again +\DeclareTextComposite{\'}{LY1}{i} {237} +\DeclareTextComposite{\'}{LY1}{\i} {237}% again +\DeclareTextComposite{\^}{LY1}{i} {238} +\DeclareTextComposite{\^}{LY1}{\i} {238}% again +\DeclareTextComposite{\"}{LY1}{i} {239} +\DeclareTextComposite{\"}{LY1}{\i} {239}% again +\DeclareTextSymbol{\dh}{LY1} {240} +\DeclareTextComposite{\~}{LY1}{n} {241} +\DeclareTextComposite{\`}{LY1}{o} {242} +\DeclareTextComposite{\'}{LY1}{o} {243} +\DeclareTextComposite{\^}{LY1}{o} {244} +\DeclareTextComposite{\~}{LY1}{o} {245} +\DeclareTextComposite{\"}{LY1}{o} {246} +% \DeclareTextSymbol{\textdiv}{LY1} {247} +\DeclareTextSymbol{\textdivide}{LY1} {247} +\DeclareTextSymbol{\o}{LY1} {248} +\DeclareTextComposite{\`}{LY1}{u} {249} +\DeclareTextComposite{\'}{LY1}{u} {250} +\DeclareTextComposite{\^}{LY1}{u} {251} +\DeclareTextComposite{\"}{LY1}{u} {252} +\DeclareTextComposite{\'}{LY1}{y} {253} +\DeclareTextSymbol{\th}{LY1} {254} +\DeclareTextComposite{\"}{LY1}{y} {255} +\endinput +%% +%% End of file `ly1enc.def'. diff --git a/fonts/psfonts/ly1/tex/latex/ly1/ly1pag.fd b/fonts/psfonts/ly1/tex/latex/ly1/ly1pag.fd new file mode 100644 index 0000000000..72505355fa --- /dev/null +++ b/fonts/psfonts/ly1/tex/latex/ly1/ly1pag.fd @@ -0,0 +1,35 @@ +%Filename: ly1pag.fd + +%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY + +\ProvidesFile{ly1pag.fd} + [1998/07/06 font definitions for LY1/pag using Berry names.] + +\DeclareFontFamily{LY1}{pag}{} + +\DeclareFontShape{LY1}{pag}{m}{n}{ + <-> pagk8y +}{} + +\DeclareFontShape{LY1}{pag}{m}{sl}{ + <-> pagko8y +}{} + +\DeclareFontShape{LY1}{pag}{db}{n}{ + <-> pagd8y +}{} + +\DeclareFontShape{LY1}{pag}{db}{sl}{ + <-> pagdo8y +}{} + +\DeclareFontShape{LY1}{pag}{m}{it}{<->ssub * pag/m/sl}{} +\DeclareFontShape{LY1}{pag}{b}{n}{<->ssub * pag/db/n}{} +\DeclareFontShape{LY1}{pag}{bx}{n}{<->ssub * pag/b/n}{} +\DeclareFontShape{LY1}{pag}{b}{sl}{<->ssub * pag/db/sl}{} +\DeclareFontShape{LY1}{pag}{bx}{sl}{<->ssub * pag/b/sl}{} +\DeclareFontShape{LY1}{pag}{db}{it}{<->ssub * pag/db/sl}{} +\DeclareFontShape{LY1}{pag}{b}{it}{<->ssub * pag/db/it}{} +\DeclareFontShape{LY1}{pag}{bx}{it}{<->ssub * pag/b/it}{} + +\endinput diff --git a/fonts/psfonts/ly1/tex/latex/ly1/ly1pbk.fd b/fonts/psfonts/ly1/tex/latex/ly1/ly1pbk.fd new file mode 100644 index 0000000000..e9fe6f65de --- /dev/null +++ b/fonts/psfonts/ly1/tex/latex/ly1/ly1pbk.fd @@ -0,0 +1,46 @@ +%Filename: ly1pbk.fd + +%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY + +\ProvidesFile{ly1pbk.fd} + [1998/07/06 font definitions for LY1/pbk using Berry names.] + +\DeclareFontFamily{LY1}{pbk}{} + +\DeclareFontShape{LY1}{pbk}{db}{n}{ + <-> pbkd8y +}{} + +\DeclareFontShape{LY1}{pbk}{db}{it}{ + <-> pbkdi8y +}{} + +\DeclareFontShape{LY1}{pbk}{l}{n}{ + <-> pbkl8y +}{} + +\DeclareFontShape{LY1}{pbk}{l}{it}{ + <-> pbkli8y +}{} + +% Fake Oblique + +\DeclareFontShape{LY1}{pbk}{db}{sl}{ + <-> pbkdo8y +}{} + +\DeclareFontShape{LY1}{pbk}{l}{sl}{ + <-> pbklo8y +}{} + +\DeclareFontShape{LY1}{pbk}{b}{n}{<->ssub * pbk/db/n}{} +\DeclareFontShape{LY1}{pbk}{bx}{n}{<->ssub * pbk/b/n}{} +\DeclareFontShape{LY1}{pbk}{b}{it}{<->ssub * pbk/db/it}{} +\DeclareFontShape{LY1}{pbk}{bx}{it}{<->ssub * pbk/b/it}{} +\DeclareFontShape{LY1}{pbk}{m}{n}{<->ssub * pbk/l/n}{} +\DeclareFontShape{LY1}{pbk}{m}{it}{<->ssub * pbk/l/it}{} +\DeclareFontShape{LY1}{pbk}{b}{sl}{<->ssub * pbk/db/sl}{} +\DeclareFontShape{LY1}{pbk}{bx}{sl}{<->ssub * pbk/b/sl}{} +\DeclareFontShape{LY1}{pbk}{m}{sl}{<->ssub * pbk/l/sl}{} + +\endinput diff --git a/fonts/psfonts/ly1/tex/latex/ly1/ly1pcr.fd b/fonts/psfonts/ly1/tex/latex/ly1/ly1pcr.fd new file mode 100644 index 0000000000..81df50c95d --- /dev/null +++ b/fonts/psfonts/ly1/tex/latex/ly1/ly1pcr.fd @@ -0,0 +1,38 @@ +%Filename: ly1pcr.fd + +%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY + +\ProvidesFile{ly1pcr.fd} + [2001/02/01 font definitions for LY1/pcr using Berry names.] + +\DeclareFontFamily{LY1}{pcr}{\hyphenchar \font\m@ne} + +\DeclareFontShape{LY1}{pcr}{m}{n}{ + <-> pcrr8y +}{} + +\DeclareFontShape{LY1}{pcr}{m}{sl}{ + <-> pcrro8y +}{} + +\DeclareFontShape{LY1}{pcr}{b}{n}{ + <-> pcrb8y +}{} + +\DeclareFontShape{LY1}{pcr}{b}{sl}{ + <-> pcrbo8y +}{} + +% Adobe does not make a smallcaps Courier + +\DeclareFontShape{LY1}{pcr}{m}{sc}{<-> sub * pcr/m/n}{} +\DeclareFontShape{LY1}{pcr}{b}{sc}{<-> sub * pcr/b/n}{} + +\DeclareFontShape{LY1}{pcr}{m}{it}{<->ssub * pcr/m/sl}{} +\DeclareFontShape{LY1}{pcr}{bx}{n}{<->ssub * pcr/b/n}{} +\DeclareFontShape{LY1}{pcr}{bx}{sl}{<->ssub * pcr/b/sl}{} +\DeclareFontShape{LY1}{pcr}{bx}{it}{<->ssub * pcr/b/it}{} +\DeclareFontShape{LY1}{pcr}{b}{it}{<->ssub * pcr/b/sl}{} +\DeclareFontShape{LY1}{pcr}{bx}{sc}{<->ssub * pcr/b/sc}{} + +\endinput diff --git a/fonts/psfonts/ly1/tex/latex/ly1/ly1phv.fd b/fonts/psfonts/ly1/tex/latex/ly1/ly1phv.fd new file mode 100644 index 0000000000..1f83db0f97 --- /dev/null +++ b/fonts/psfonts/ly1/tex/latex/ly1/ly1phv.fd @@ -0,0 +1,77 @@ +%Filename: ly1phv.fd + +%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY + +\ProvidesFile{ly1phv.fd} + [2001/02/01 scalable font definitions for LY1/phv using Berry names.] + +\expandafter\ifx\csname Hv@scale\endcsname\relax + \let\Hv@@scale\@empty +\else + \edef\Hv@@scale{s*[\csname Hv@scale\endcsname]}% +\fi + +\DeclareFontFamily{LY1}{phv}{} + +\DeclareFontShape{LY1}{phv}{m}{n}{ + <-> \Hv@@scale phvr8y +}{} + +\DeclareFontShape{LY1}{phv}{m}{sl}{ + <-> \Hv@@scale phvro8y +}{} + +\DeclareFontShape{LY1}{phv}{b}{n}{ + <-> \Hv@@scale phvb8y +}{} + +\DeclareFontShape{LY1}{phv}{b}{sl}{ + <-> \Hv@@scale phvbo8y +}{} + +% Helvetica Narrow is not Helvetica Condensed. + +\DeclareFontShape{LY1}{phv}{mc}{n}{ + <-> \Hv@@scale phvr8yn +}{} + +\DeclareFontShape{LY1}{phv}{mc}{sl}{ + <-> \Hv@@scale phvro8yn +}{} + +\DeclareFontShape{LY1}{phv}{bc}{n}{ + <-> \Hv@@scale phvb8yn +}{} + +\DeclareFontShape{LY1}{phv}{bc}{sl}{ + <-> \Hv@@scale phvbo8yn +}{} + +% Adobe doesn't make a smallcaps Helvetica or Helvetica Narrow + +\DeclareFontShape{LY1}{phv}{b}{sc}{ + <-> sub * phv/b/n +}{} + +\DeclareFontShape{LY1}{phv}{m}{sc}{ + <-> sub * phv/m/n +}{} + +\DeclareFontShape{LY1}{phv}{bc}{sc}{ + <-> sub * phv/bc/n +}{} + +\DeclareFontShape{LY1}{phv}{mc}{sc}{ + <-> sub * phv/m/n +}{} + +\DeclareFontShape{LY1}{phv}{m}{it}{<->ssub * phv/m/sl}{} +\DeclareFontShape{LY1}{phv}{bx}{n}{<->ssub * phv/b/n}{} +\DeclareFontShape{LY1}{phv}{bx}{sl}{<->ssub * phv/b/sl}{} +\DeclareFontShape{LY1}{phv}{bx}{it}{<->ssub * phv/b/it}{} +\DeclareFontShape{LY1}{phv}{b}{it}{<->ssub * phv/b/sl}{} +\DeclareFontShape{LY1}{phv}{mc}{it}{<->ssub * phv/mc/sl}{} +\DeclareFontShape{LY1}{phv}{bc}{it}{<->ssub * phv/bc/sl}{} +\DeclareFontShape{LY1}{phv}{bx}{sc}{<->ssub * phv/b/sc}{} + +\endinput diff --git a/fonts/psfonts/ly1/tex/latex/ly1/ly1pnc.fd b/fonts/psfonts/ly1/tex/latex/ly1/ly1pnc.fd new file mode 100644 index 0000000000..1d1bd435e3 --- /dev/null +++ b/fonts/psfonts/ly1/tex/latex/ly1/ly1pnc.fd @@ -0,0 +1,40 @@ +%Filename: ly1pnc.fd + +%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY + +\ProvidesFile{ly1pnc.fd} + [1998/07/06 font definitions for LY1/pnc using Berry names.] + +\DeclareFontFamily{LY1}{pnc}{} + +\DeclareFontShape{LY1}{pnc}{m}{n}{ + <-> pncr8y +}{} + +\DeclareFontShape{LY1}{pnc}{m}{it}{ + <-> pncri8y +}{} + +\DeclareFontShape{LY1}{pnc}{b}{n}{ + <-> pncb8y +}{} + +\DeclareFontShape{LY1}{pnc}{b}{it}{ + <-> pncbi8y +}{} + +% Fake Oblique + +\DeclareFontShape{LY1}{pnc}{m}{sl}{ + <-> pncro8y +}{} + +\DeclareFontShape{LY1}{pnc}{b}{sl}{ + <-> pncbo8y +}{} + +\DeclareFontShape{LY1}{pnc}{bx}{n}{<->ssub * pnc/b/n}{} +\DeclareFontShape{LY1}{pnc}{bx}{sl}{<->ssub * pnc/b/sl}{} +\DeclareFontShape{LY1}{pnc}{bx}{it}{<->ssub * pnc/b/it}{} + +\endinput diff --git a/fonts/psfonts/ly1/tex/latex/ly1/ly1ppl.fd b/fonts/psfonts/ly1/tex/latex/ly1/ly1ppl.fd new file mode 100644 index 0000000000..78d797cab9 --- /dev/null +++ b/fonts/psfonts/ly1/tex/latex/ly1/ly1ppl.fd @@ -0,0 +1,61 @@ +%Filename: ly1ppl.fd + +%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY + +\ProvidesFile{ly1ppl.fd} + [1998/07/06 font definitions for LY1/ppl using Berry names.] + +\DeclareFontFamily{LY1}{ppl}{} + +\DeclareFontShape{LY1}{ppl}{m}{n}{ + <-> pplr8y +}{} + +\DeclareFontShape{LY1}{ppl}{m}{it}{ + <-> pplri8y +}{} + +\DeclareFontShape{LY1}{ppl}{b}{n}{ + <-> pplb8y +}{} + +\DeclareFontShape{LY1}{ppl}{b}{it}{ + <-> pplbi8y +}{} + +% Fake Oblique + +\DeclareFontShape{LY1}{ppl}{m}{sl}{ + <-> pplro8y +}{} + +\DeclareFontShape{LY1}{ppl}{b}{sl}{ + <-> pplbo8y +}{} + +% Fake Unslanted + +\DeclareFontShape{LY1}{ppl}{m}{u}{ + <-> pplru8y +}{} + +\DeclareFontShape{LY1}{ppl}{b}{u}{ + <-> pplbu8y +}{} + +% Fake Narrow and Extended + +\DeclareFontShape{LY1}{ppl}{mc}{n}{ + <-> pplr8yn +}{} + +\DeclareFontShape{LY1}{ppl}{mx}{n}{ + <-> pplrr8ye +}{} + +\DeclareFontShape{LY1}{ppl}{bx}{n}{<->ssub * ppl/b/n}{} +\DeclareFontShape{LY1}{ppl}{bx}{sl}{<->ssub * ppl/b/sl}{} +\DeclareFontShape{LY1}{ppl}{bx}{it}{<->ssub * ppl/b/it}{} +\DeclareFontShape{LY1}{ppl}{bx}{u}{<->ssub * ppl/b/u}{} + +\endinput diff --git a/fonts/psfonts/ly1/tex/latex/ly1/ly1ptm.fd b/fonts/psfonts/ly1/tex/latex/ly1/ly1ptm.fd new file mode 100644 index 0000000000..408427662c --- /dev/null +++ b/fonts/psfonts/ly1/tex/latex/ly1/ly1ptm.fd @@ -0,0 +1,53 @@ +%Filename: ly1ptm.fd + +%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY + +\ProvidesFile{ly1ptm.fd} + [2001/02/01 font definitions for LY1/ptm using Berry names.] + +\DeclareFontFamily{LY1}{ptm}{} + +\DeclareFontShape{LY1}{ptm}{m}{n}{ + <-> ptmr8y +}{} + +\DeclareFontShape{LY1}{ptm}{m}{it}{ + <-> ptmri8y +}{} + +\DeclareFontShape{LY1}{ptm}{b}{n}{ + <-> ptmb8y +}{} + +\DeclareFontShape{LY1}{ptm}{b}{it}{ + <-> ptmbi8y +}{} + +% Fake Oblique UGH + +\DeclareFontShape{LY1}{ptm}{m}{sl}{ + <-> ptmro8y +}{} + +\DeclareFontShape{LY1}{ptm}{b}{sl}{ + <-> ptmbo8y +}{} + +\DeclareFontShape{LY1}{ptm}{bx}{n}{<->ssub * ptm/b/n}{} +\DeclareFontShape{LY1}{ptm}{bx}{sl}{<->ssub * ptm/b/sl}{} +\DeclareFontShape{LY1}{ptm}{bx}{it}{<->ssub * ptm/b/it}{} + +% Adobe makes real Times-Roman smallcaps and old style figures. +% Uncomment the following, if you have got the fonts: + +% \DeclareFontShape{LY1}{ptm}{m}{sc}{ +% <-> ptmrc8y % tirsc +% }{} +% +% \DeclareFontShape{LY1}{ptm}{b}{sc}{ +% <-> ptmbc8y % tibsc +% }{} +% +% \DeclareFontShape{LY1}{ptm}{bx}{sc}{<->ssub * ptm/b/sc}{} + +\endinput diff --git a/fonts/psfonts/ly1/tex/latex/ly1/ly1pzc.fd b/fonts/psfonts/ly1/tex/latex/ly1/ly1pzc.fd new file mode 100644 index 0000000000..2d230facda --- /dev/null +++ b/fonts/psfonts/ly1/tex/latex/ly1/ly1pzc.fd @@ -0,0 +1,18 @@ +%Filename: ly1pzc.fd + +%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY + +\ProvidesFile{ly1pzc.fd} + [1998/07/06 font definitions for LY1/pzc using Berry names.] + +\DeclareFontFamily{LY1}{pzc}{} + +\DeclareFontShape{LY1}{pzc}{mb}{it}{ + <-> pzcmi8y +}{} + +\DeclareFontShape{LY1}{pzc}{m}{it}{<->ssub * pzc/mb/it}{} +\DeclareFontShape{LY1}{pzc}{mb}{sl}{<->ssub * pzc/mb/it}{} +\DeclareFontShape{LY1}{pzc}{m}{sl}{<->ssub * pzc/mb/sl}{} + +\endinput diff --git a/fonts/psfonts/ly1/tex/latex/ly1/texnansi.sty b/fonts/psfonts/ly1/tex/latex/ly1/texnansi.sty new file mode 100644 index 0000000000..5d668896b0 --- /dev/null +++ b/fonts/psfonts/ly1/tex/latex/ly1/texnansi.sty @@ -0,0 +1,121 @@ +% Copyright 1997, 1998, 1999 David Carlisle +% +% This work may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% +\ProvidesPackage{texnansi}[1998/05/30 v0.2 texnansi and ansinew support] + +\RequirePackage[LY1]{fontenc} + +\@tempcnta=224 +\@tempcntb=192 + +\loop +\ifnum\@tempcnta<255 + \lccode\@tempcnta=\@tempcnta + \lccode\@tempcntb=\@tempcnta + \uccode\@tempcntb=\@tempcntb + \uccode\@tempcnta=\@tempcntb + \advance\@tempcnta\@ne + \advance\@tempcntb\@ne +\repeat + +% Then there are just a few odd ones that don't fit this pattern + +% OE, oe +\lccode140=156\lccode156=156 +\uccode140=140\uccode156=140 +% Ydieresis, ydieresis +\lccode159=255\lccode255=255 +\uccode159=159\uccode255=159 +% Scaron, scaron +\lccode138=154\lccode154=154 +\uccode138=138\uccode154=138 +% Zcaron, zcaron +\lccode142=158\lccode158=158 +\uccode158=142\uccode142=142 +% Lslash, lslash +\lccode128=144\lccode144=144 +\uccode144=128\uccode128=128 + +\DeclareOption{ansinew}{\let\caronfake\relax} + +\ProcessOptions + +% Stop here unless ansinew being used. +\ifx\caronfake\relax\else\endinput\fi + +% Issue a warning in this case. +\PackageWarningNoLine{fontenc}{% + Modifying LY1 encoding for ansinew rather than texnansi} + +% Use the `high' copies of these +\DeclareTextSymbol{\oe}{LY1} {156} +\DeclareTextSymbol{\OE}{LY1} {140} +\DeclareTextSymbol{\ss}{LY1} {223} + +% Take out some characters. +% Some of the `fakes' used here are so bad it may be better to +% do nothing, but do this for now. +\DeclareTextCommand{\i}{LY1}{% + \TextSymbolUnavailable\i i} +\DeclareTextCommand{\l}{LY1}{% + \TextSymbolUnavailable\l \leavevmode\rlap-l} +\DeclareTextCommand{\L}{LY1}{% + \TextSymbolUnavailable\L \leavevmode\rlap-L} + +\def\accentfake#1#2#3#4#5{% + \TextSymbolUnavailable#1% + {\let\vtop\vbox + \oalign{% + \hfil + \dimen@\f@size\p@ + \fontsize{#2\dimen@}\z@\selectfont + \smash{\lower#3\dimen@\hbox{#4}}\hfil\cr\hfil#5\hfil}}} + +\def\caronfake{\accentfake\v{.4}{.1}{$\vee$}} +\DeclareTextCommand{\v}{LY1}[1]{\caronfake{#1}} +\DeclareTextComposite{\v}{LY1}{S} {138} +\DeclareTextComposite{\v}{LY1}{s} {154} +% \DeclareTextCompositeCommand{\v}{LY1}{Z}{\caronfake{Z}} +% \DeclareTextCompositeCommand{\v}{LY1}{z}{\caronfake{z}} +\DeclareTextComposite{\v}{LY1}{Z} {142} +\DeclareTextComposite{\v}{LY1}{z} {158} + +\DeclareTextCommand{\r}{LY1}[1]{\accentfake\r{.75}{.3}{\char176}{#1}} +\DeclareTextComposite{\r}{LY1}{A} {197} +\DeclareTextComposite{\r}{LY1}{a} {229} + +\DeclareTextCommand{\H}{LY1}[1]{\TextSymbolUnavailable\H\"{#1}} + +\DeclareTextCommand{\u}{LY1}[1]{\accentfake\u{.3}{.1}{$\smile$}{#1}} +\DeclareTextCommand{\k}{LY1}[1]{\TextSymbolUnavailable\k\c{#1}} +\DeclareTextCommand{\.}{LY1}[1]{\accentfake\.{1}{0}{.}{#1}} + + +% Need to deal with prime in math mode since 39 is remapped to 146 + +{\catcode146=\active \gdef^^92{{^\bgroup\prim@s}}} +\mathcode146="8000 % ^\prime + +\chardef\lq=145 \chardef\rq=146 + +% Note that \lq and \rq also provide access to ` and ' + +% `quoteright' has moved from 39 to 146 +% make space for `quotesingle' in ANSI: + +{\catcode`\'=\active \global\chardef'=146} + +% `quoteleft' has moved from 96 to 145 +% make space for `grave' in ANSI: + +{\catcode`\`=\active \global\chardef`=145} + +% Delay making ` and ' active until after packages read. +% So they can be used in octal and character code numbers. +\AtBeginDocument{\catcode`\'\active \catcode`\`\active} + diff --git a/fonts/psfonts/ly1/tex/plain/ly1/texnansi.tex b/fonts/psfonts/ly1/tex/plain/ly1/texnansi.tex new file mode 100644 index 0000000000..73c75e1559 --- /dev/null +++ b/fonts/psfonts/ly1/tex/plain/ly1/texnansi.tex @@ -0,0 +1,378 @@ +% Copyright 2010--2018 TeX Users Group. +% Copyright 1994--1997 Y&Y, Inc. + +% Released under the LaTeX Project Public License, any version. + +% ============================================================================ +% Code to allow plain TeX and LaTeX to fully exploit `texnansi.vec' encoding +% (TeX 'n ANSI) VERSION 2.8 (2018 May 25) +% ============================================================================ + +% \input texnansi in TeX source when using fonts with `TeX n ANSI' encoding. + +% Note that a lot of code that already exists in plain.tex is commented out +% --- it is included here merely for reference. + +% `plain' TeX - and `lplain' TeX - have accents hard-wired to certain codes. +% When a font is encoded differently, compound characters and accents move. +% This file deals with this for TeX 'n ANSI encoding. + +% NOTE: Default is to use the 58 ready-made accented/composite characters +% that occur in text fonts directly, using the macros defined below. +% To instead build them by overprinting, use \buildcomposites. +% To instead link to them via pseudo ligatures, use \usecomposites. + +% NOTE: texnansi.vec is designed to avoid char codes 0, 9, 10, 13, 32, 127 +% since some brain-dead software has trouble with some of these... + +% NOTE: definitions have embedded numbers that depend on the chosen encoding +% These will need to be changed if you use an encoding other than `TEXNANSI' + +% --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- +% First, protect against style files that make quotedbl `active' + +\chardef\dblcode=\catcode`\" % save catcode of quotedbl +\catcode`\"=12 % make quotedbl `other' + +\chardef\atcode=\catcode`\@ % save catcode of atsign +\catcode`\@=11 % make atsign `letter' +% --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- + +% NOTE: plain TeX (and LaTeX) has the accent character positions hardwired to: + +% 16 for `dotlessi', 17 for `dotlessj', 18 for `grave', +% 19 for `acute', 20 for `caron', 21 for `breve', +% 22 for `macron', 23 for `ring', 24 for `cedilla', +% 25 for `germandbls', 26 for `ae', 27 for `oe', +% 28 for `oslash', 29 for `AE', 30 for 'OE', +% 31 for `Oslash', 94 for `circumflex', 95 for `dotaccent', +% 125 for `hungarumlaut', 126 for `tilde', 127 for `dieresis', +% The *real* troublesome ones are `dotaccent' and `hungarumlaut' +% --- and CM fonts do not have `ogonek' --- which we add here. +% (see page 356 of the TeX book for additional information) + +% --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- + +% \ae, \oe, \o, \AE, \OE, \O, \ss are in same place as in TeX text + +% Following constructed from pieces in CM, but exist in Type 1 text fonts + +\def\aa{^^e5} \def\AA{^^c5} % aring (229), Aring (197) +% \def\cc{^^e7} \def\CC{^^c7} % ccedilla (231), Ccedilla (199) + +% NOTE: \cc may conflict with `carbon copy' in letter.sty ... + +\def\l{^^90} \def\L{^^80} % lslash (144), Lslash (128) + +% TEXNANSI also has the Icelandic characters: + +\def\th{^^fe} \def\TH{^^de} % thorn (254), Thorn (222) +\def\dh{^^f0} \def\DH{^^d0} % eth (240), Eth (208) + +\def\pounds{^^a3} \def\copyright{^^a9} % 163 and 169 +\def\registered{^^ae} \def\trademark{^^99} % 174 and 153 +% \def\dag{^^86} \def\ddag{^^87} % dagger (134), daggerdbl (135) +\def\S{^^a7} \def\P{^^b6} % section (167), paragraph (182) + +% Make it more convenient to use { } _ | \ glyphs direct from text font ? + +% \chardef\{=`\{ \chardef\}=`\} \chardef\_=`\_ +% \chardef\|=`\| \chardef\backslash=`\\ + +% --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- + +% Following set up for the 58 accented characters/composites in text fonts: + +% aacute, acircumflex, adieresis, agrave, aring, atilde, ccedilla, +% eacute, ecircumflex, edieresis, egrave, iacute, icircumflex, +% idieresis, igrave, ntilde, oacute, ocircumflex, odieresis, ograve, otilde, +% scaron, uacute, ucircumflex, udieresis, ugrave, yacute, ydieresis, zcaron, +% Aacute, Acircumflex, Adieresis, Agrave, Aring, Atilde, Ccedilla, +% Eacute, Ecircumflex, Edieresis, Egrave, Iacute, Icircumflex, +% Idieresis, Igrave, Ntilde, Oacute, Ocircumflex, Odieresis, Ograve, Otilde, +% Scaron, Uacute, Ucircumflex, Udieresis, Ugrave, Yacute, Ydieresis, Zcaron, + +\def\`#1{% grave +\if#1a^^e0\else% \char224 +\if#1e^^e8\else% \char232 +\if#1i^^ec\else% \char236 +\if#1o^^f2\else% \char242 +\if#1u^^f9\else% \char249 +\if#1A^^c0\else% \char192 +\if#1E^^c8\else% \char200 +\if#1I^^cc\else% \char204 +\if#1O^^d2\else% \char210 +\if#1U^^d9\else% \char217 +% \if#1{\i}^^ec\else% \char236 +\if#1\i^^ec\else% \char236 +{\accent18 #1}% +\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi} + +\def\'#1{% acute +\if#1a^^e1\else% \char225 +\if#1e^^e9\else% \char233 +\if#1i^^ed\else% \char237 +\if#1o^^f3\else% \char243 +\if#1u^^fa\else% \char250 +\if#1y^^fd\else% \char253 +\if#1A^^c1\else% \char193 +\if#1E^^c9\else% \char201 +\if#1I^^cd\else% \char205 +\if#1O^^d3\else% \char211 +\if#1U^^da\else% \char218 +\if#1Y^^dd\else% \char221 +% \if#1{\i}^^ed\else% \char237 +\if#1\i^^ed\else% \char237 +{\accent19 #1}% +\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi} + +\def\^#1{% circumflex +\if#1a^^e2\else% \char226 +\if#1e^^ea\else% \char234 +\if#1i^^ee\else% \char238 +\if#1o^^f4\else% \char244 +\if#1u^^fb\else% \char251 +\if#1A^^c2\else% \char194 +\if#1E^^ca\else% \char202 +\if#1I^^ce\else% \char206 +\if#1O^^d4\else% \char212 +\if#1U^^db\else% \char219 +% \if#1{\i}^^ee\else% \char238 +\if#1\i^^ee\else% \char238 +{\accent94 #1}% +\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi} + +\def\~#1{% tilde +\if#1a^^e3\else% \char227 +\if#1n^^f1\else% \char241 +\if#1o^^f5\else% \char245 +\if#1A^^c3\else% \char195 +\if#1N^^d1\else% \char209 +\if#1O^^d5\else% \char213 +{\accent126 #1}% +\fi\fi\fi\fi\fi\fi} + +\def\"#1{% dieresis +\if#1a^^e4\else% \char228 +\if#1e^^eb\else% \char235 +\if#1i^^ef\else% \char239 +\if#1o^^f6\else% \char246 +\if#1u^^fc\else% \char252 +\if#1y^^ff\else% \char255 +\if#1A^^c4\else% \char196 +\if#1E^^cb\else% \char203 +\if#1I^^cf\else% \char207 +\if#1O^^d6\else% \char214 +\if#1U^^dc\else% \char220 +\if#1Y^^9f\else% \char159 +% \if#1{\i}^^ef\else% \char239 +\if#1\i^^ef\else% \char239 +% {\accent127 #1}% +{\accent168 #1}% +\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi} + +\def\v #1{% caron +\if#1s^^9a\else% \char154 +\if#1z^^9d\else% \char157 +\if#1S^^8a\else% \char138 +\if#1Z^^8d\else% \char141 +{\accent20 #1}% +\fi\fi\fi\fi} + +\def\r #1{% ring +\if#1a^^e5\else% \char229 +\if#1A^^c5\else% \char197 +{\accent23 #1}% +\fi\fi} + +\def\c #1{% cedilla +\if#1c^^e7\else% \char231 +\if#1C^^c7\else% \char199 +{\setbox0\hbox{#1}\ifdim\ht0=1ex\accent24 #1% + \else{\ooalign{\hidewidth\char24\hidewidth\crcr\unhbox0}}\fi}% +\fi\fi} + +\def\H#1{{\accent6 #1}}% hungarumlaut % not in 125 +\def\u#1{{\accent21 #1}}% breve + +% dotaccent and macron have to be treated differently in AMS TeX + +\ifx\amstexloaded@\relax% +\def\D#1{{\accent5 #1}} % dotaccent % not in 95 +\def\B#1{{\accent22 #1}} % macron +\let\graveaccent\` +\let\acuteaccent\' +\let\tildeaccent\~ +\let\hataccent\^ +\let\underscore\_ +\else +\def\.#1{{\accent5 #1}} % dotaccent % not in 95 +\def\=#1{{\accent22 #1}}\fi % macron + +% underline (using macron at 22) +\def\b#1{\oalign{#1\crcr\hidewidth + \vbox to.2ex{\hbox{\char22}\vss}\hidewidth}}% + +% ogonek (using ogonek at 7) +\def\k#1{\setbox0\hbox{#1}\ifdim\ht0=1ex\accent7 #1% + \else{\ooalign{\hidewidth\char7\hidewidth\crcr\unhbox0}}\fi}% + +% --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- + +% For backward compatability, provide for use of font with TeX's \accent: +% (It is however generally better to use ready-made accented characters, since +% \accent creates explicit kerning, which breaks the hyphenation machinery) +% NOTE: Use \buildcomposites only if you want to force accented/composite +% characters to be constructed by `overprinting' base and accent. + +\def\buildcomposites{% +% following four lines are for TeX n ANSI encoding only +\def\.##1{{\accent5 ##1}}% dotaccent % not in 95 +\def\H##1{{\accent6 ##1}}% hungarumlaut % not in 125 +\def\k##1{{\accent7 ##1}}% ogonek % not in CM fonts +\def\"##1{{\accent168 ##1}}% dieresis % alternate to 127 +% following are plain TeX defaults (needed only to undo \usecomposites) +\def\`##1{{\accent18 ##1}}% grave +\def\'##1{{\accent19 ##1}}% acute +\def\^##1{{\accent94 ##1}}% circumflex +\def\~##1{{\accent126 ##1}}% tilde +\def\=##1{{\accent22 ##1}}% macron +\def\v##1{{\accent20 ##1}}% caron +\def\u##1{{\accent21 ##1}}% breve +% \def\"##1{{\accent127 ##1}}% dieresis % use 168 instead +% underline and cedilla accents (macron at 22, cedilla at 24) +\def\b##1{\oalign{##1\crcr\hidewidth + \vbox to.2ex{\hbox{\char22}\vss}\hidewidth}}% +\def\c##1{\setbox0\hbox{##1}\ifdim\ht0=1ex\accent24 ##1% + \else{\ooalign{\hidewidth\char24\hidewidth\crcr\unhbox0}}\fi}% +} + +% --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- + +% USING READY-MADE ACCENTED CHARACTERS: +% We can also use pre-built accented character using pseudo ligatures --- +% provided the TFM files for the text fonts have them wired in. +% The following assumes that the TFM files have the required pseudo-ligatures. +% Use -vadj on the command line with AFMtoTFM to set up these pseudo-ligatures. +% This only works for the 58 ready-made accented/composite characters. + +\def\usecomposites{% +\chardef\`=18 % grave +\chardef\'=19 % acute +\chardef\^=94 % circumflex +\chardef\~=126 % tilde +\chardef\"=127 % dieresis % must match TFM, hence do *not* use 168 here +\chardef\c=24 % cedilla % only for ccedilla, Ccedilla +\chardef\v=20 % caron % only for scaron, zcaron, Scaron, Zcaron +\chardef\r=23 % ring % non-standard, for Aring and aring +% and some extra goodies +\chardef\.=5 % dotaccent % no standard accented chars use this +\chardef\H=6 % hungarumlaut % no standard accented chars use this +\chardef\k=7 % ogonek % no standard accented chars use this +\chardef\u=21 % breve % no standard accented chars use this +\chardef\==22 % macron % no standard accented chars use this +% \chardef\i=16 % dotlessi +} + +% NOTE: To use the above scheme, use \'a, NOT \'{a}, and \c c, NOT \c{c}. + +% --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- + +% \buildcomposites % build composites by overprinting base and accent +% \usecomposites % use 58 ready-made composites via pseudo ligatures + +% Default is to use 58 ready-made composites, and build others by overprinting. + +% --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- + +% Changes required in math macros when roman font is reencoded to `texnansi'. +% (An alternative is to draw the accents from the math fonts) + +% Most accents are in same place as in TeX text encoding (except dotaccent) + +\def\usetextaccents{ +% \def\grave{\mathaccent"7012 } % 18 grave +% \def\acute{\mathaccent"7013 } % 19 acute +% \def\hat{\mathaccent"705E } % 94 circumflex +% \def\tilde{\mathaccent"707E } % 126 tilde +% \def\ddot{\mathaccent"707F } % 127 dieresis +\def\ddot{\mathaccent"70A8 } % 168 dieresis +% \def\bar{\mathaccent"7016 } % 22 macron +% \def\check{\mathaccent"7014 } % 20 caron +% \def\breve{\mathaccent"7015 } % 21 breve +\def\dot{\mathaccent"7005 } % 5 dotaccent +} + +% Do not redefine accents in math mode when using MathTime, +% since MathTime uses accents in the math fonts - not those in the text font + +% In LaTeX 2e check whether mathtime package has been loaded, +% otherwise check whether \MTMI is defined + +\ifx\@ifpackageloaded\undefined\ifx\MTMI\undefined\usetextaccents\fi +\else\@ifpackageloaded{mathtime}{}{\usetextaccents}\fi + +% ************************************************************************** + +% If you want to use < for `guilsinglleft' and > for `guilsinglright' +% then uncomment the following lines: + +% \catcode`\<=\active \chardef<=139 +% \catcode`\>=\active \chardef>=155 + +% If you use < for `exclamdown', > for `questiondown', and | for `emdash' +% then uncomment the following lines: + +% \catcode`\<=\active \chardef<=161 +% \catcode`\>=\active \chardef>=191 +% \catcode`\|=\active \chardef|=151 + +% \chardef\lq=96 \chardef\rq=39 + +% Note that \lq and \rq also provide access to ` and ' + +\catcode`\@=\atcode % restore original catcode of atsign + +\catcode`\"=\dblcode % restore original catcode of quotedbl + +% If you use " for quotedblright then uncomment the following: + +% \catcode`\"=\active \chardef"=148 + +% For proper hyphenation of words with accented characters we need to let +% TeX know how to translate words with accented characters to lower case. +% Hence define \lccode so that one can use them in \hyphenation{...} +% Just for fun, we also define \uccode, and set the \catcode to letter... + +% Mostly in ISO Latin 1, accented characters (and a few special characters) +% occur in upper case form in the range 192 - 222, which is offset +% by 32 from the corresponding lower case forms in the range 224 - 254. + +\bgroup +\newcount\n\newcount\m\n=224\m=192 +\loop\ifnum\n<255 +\global\catcode\n=11\global\catcode\m=11 +\global\lccode\n=\n\global\lccode\m=\n +\global\uccode\m=\m\global\uccode\n=\m +\advance\n by1\advance\m by1\repeat +\egroup + +% Then there are just a few odd ones in TEXNANSI that don't fit this pattern + +\catcode140=11\catcode156=11 % OE, oe +\lccode140=156\lccode156=156 +\uccode140=140\uccode156=140 +\catcode159=11\catcode255=11 % Ydieresis, ydieresis +\lccode159=255\lccode255=255 +\uccode159=159\uccode255=159 +\catcode138=11\catcode154=11 % Scaron, scaron +\lccode138=154\lccode154=154 +\uccode138=138\uccode154=138 +\catcode141=11\catcode157=11 % Zcaron, zcaron +\lccode141=157\lccode157=157 +\uccode157=141\uccode141=141 +\catcode128=11\catcode144=11 % Lslash, lslash +\lccode128=144\lccode144=144 +\uccode144=128\uccode128=128 + +\endinput |