diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-12 23:45:28 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-12 23:45:28 +0000 |
commit | 60538160ba9400a121853696453ddb0dc93e3a0c (patch) | |
tree | 96daccd0b1128608f9f4eb15244bb7af8a567c3c /Master/texmf-dist/tex/csplain/base/ttimes.tex | |
parent | 0d9effad76aadeaf26ed7706be6f79e3aaef716e (diff) |
trunk/Master/texmf-dist/tex/csplain
git-svn-id: svn://tug.org/texlive/trunk@610 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/csplain/base/ttimes.tex')
-rw-r--r-- | Master/texmf-dist/tex/csplain/base/ttimes.tex | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/csplain/base/ttimes.tex b/Master/texmf-dist/tex/csplain/base/ttimes.tex new file mode 100644 index 00000000000..009b80f792c --- /dev/null +++ b/Master/texmf-dist/tex/csplain/base/ttimes.tex @@ -0,0 +1,50 @@ +% The file ttimes.tex (C) Petr Olsak, 2000 +% This file allows to use the Times fonts family in T1 encoding (*8t). +% Use (for example): %&csplain -translate-file=il2-t1 +% \input ttimes +% \chyph +% at first three lines in your document. + +% Warning1: This works only in web2c implementations of TeX and derivatives. +% Warning2: Use this file fonts only for experimental or special reason. The +% "\input ctimes" is more natural for csplain. +% Warning3: The \v t and \v d letters are horrible implemented in 8t metrics! + +% The "\rm", "\it", "\tt" and "\bf" will work with the new fonts. +% Use "\setsimplemath" command to set Times fonts family in very +% simple math formulas (without greek letters). + +\input t1code + +\font\tenrm=ptmr8t at 10pt +\font\tenbf=ptmb8t at 10pt +\font\tenit=ptmri8t at 10pt +\font\tentt=pcrr8t at 10pt +\let\tensl=\tenit +\tenrm +\def\setsimplemath{% + \font\sevenrm ptmr8t at7pt + \font\fiverm ptmr8t at5pt + \font\sevenit ptmri8t at7pt + \font\fiveit ptmri8t at5pt + \font\sevenbf ptmb8t at7pt + \font\fivebf ptmb8t at5pt + \message{\string\setsimplemath\space WARNING: + Greek symbols may be loss, see Missing char in .log!} + \textfont0=\tenrm \scriptfont0=\sevenrm \scriptscriptfont0=\fiverm + \textfont1=\tenit \scriptfont1=\sevenit \scriptscriptfont1=\fiveit + \textfont\itfam=\tenit \scriptfont\itfam=\sevenit + \scriptscriptfont\itfam=\fiveit + \textfont\slfam=\tensl + \textfont\bffam=\tenbf \scriptfont\bffam=\sevenbf + \scriptscriptfont\bffam=\fivebf + \textfont\ttfam=\tentt } + +% The \setsimplemath command sets the new family of fonts for math +% formulas. Cf. the usage of "2" (digit in text mode is in a new font) +% but $-2$ is in Computer Modern if \setsimplemath is not used. +% WARNING: The \setsimplemath is usable for very siple math +% formulas only! It may crash some more complicated formulas because +% math symbols are still used from Computer Modern and all greek +% symbols are missing in new fonts. + |