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/ctimes.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/ctimes.tex')
-rw-r--r-- | Master/texmf-dist/tex/csplain/base/ctimes.tex | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/csplain/base/ctimes.tex b/Master/texmf-dist/tex/csplain/base/ctimes.tex new file mode 100644 index 00000000000..8411f7703c8 --- /dev/null +++ b/Master/texmf-dist/tex/csplain/base/ctimes.tex @@ -0,0 +1,38 @@ +% The file ctimes.tex (C) Petr Olsak, 1996, 1999 +% Use "\input ctimes" to set the Times fonts family in text mode +% 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). + +\font\tenrm=ptmr8z at 10pt +\font\tenbf=ptmb8z at 10pt +\font\tenit=ptmri8z at 10pt +\font\tentt=pcrr8u at 10pt +\let\tensl=\tenit +\tenrm +\def\setsimplemath{% + \font\sevenrm ptmr8z at7pt + \font\fiverm ptmr8z at5pt + \font\sevenit ptmri8z at7pt + \font\fiveit ptmri8z at5pt + \font\sevenbf ptmb8z at7pt + \font\fivebf ptmb8z 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. + |