summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/csplain/base/chelvet.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/csplain/base/chelvet.tex')
-rw-r--r--Master/texmf-dist/tex/csplain/base/chelvet.tex39
1 files changed, 39 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/csplain/base/chelvet.tex b/Master/texmf-dist/tex/csplain/base/chelvet.tex
new file mode 100644
index 00000000000..43aeaba70d1
--- /dev/null
+++ b/Master/texmf-dist/tex/csplain/base/chelvet.tex
@@ -0,0 +1,39 @@
+% The file chelvet.tex (C) Petr Olsak, 1996, 1999
+% Use "\input chelvet" to set the Helvetica fonts family in text mode
+% The "\rm", "\it", "\tt" and "\bf" will work with the new fonts.
+% Use "\setsimplemath" command to set Helvetica fonts family in very
+% simple math formulas (without greek letters).
+
+\font\tenrm=phvr8z at 10pt
+\font\tenbf=phvb8z at 10pt
+\font\tenit=phvro8z at 10pt
+\font\tentt=pcrr8u at 10pt
+\let\tensl=\tenit
+\tenrm
+\def\setsimplemath{%
+ \font\sevenrm phvr8z at7pt
+ \font\fiverm phvr8z at5pt
+ \font\sevenit phvro8z at7pt
+ \font\fiveit phvro8z at5pt
+ \font\sevenbf phvb8z at7pt
+ \font\fivebf phvb8z 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.
+
+