summaryrefslogtreecommitdiff
path: root/macros/text1/macros/cm9.textext
diff options
context:
space:
mode:
Diffstat (limited to 'macros/text1/macros/cm9.textext')
-rw-r--r--macros/text1/macros/cm9.textext40
1 files changed, 40 insertions, 0 deletions
diff --git a/macros/text1/macros/cm9.textext b/macros/text1/macros/cm9.textext
new file mode 100644
index 0000000000..8602cb2d64
--- /dev/null
+++ b/macros/text1/macros/cm9.textext
@@ -0,0 +1,40 @@
+\global\newif\ifcmIXbierr
+\font\cmIXcc=cmcsc9
+\font\cmIXrm=cmr9 \font\cmIXit=cmti9
+\font\cmIXbd=cmbx9 \font\cmIXmi=cmmi9
+\font\cmIXtt=cmtt9
+\expandafter\newdimen\csname\the\naMEtok ilsix\endcsname
+\global\csname\the\naMEtok ilsix\endcsname=\bAseSkip
+\ifdim\csname\the\naMEtok ilsix\endcsname=0pt
+\csname\the\naMEtok ilsix\endcsname=11pt\fi%
+\expandafter\xdef\csname\the\naMEtok\endcsname{%
+\def\noexpand\rm{\fam0\cmIXrm}%
+\def\noexpand\mi{\fam1\cmIXmi}%
+\def\noexpand\sy{\fam2\tensy}%
+\def\noexpand\ex{\fam3\tenex}%
+ \textfont0=\cmIXrm \textfont1=\cmIXmi
+ \textfont2=\tensy \textfont3=\tenex
+ \textfont\itfam=\cmIXit
+ \textfont\ttfam=\cmIXtt \textfont\bffam=\cmIXbd
+ \textfont\ccfam=\cmIXcc
+\def\noexpand\bd{\fam\bffam\cmIXbd}%
+\def\noexpand\it{\fam\itfam\cmIXit}%
+\def\noexpand\tt{\fam\ttfam\cmIXtt}%
+\def\noexpand\cc{\fam\ccfam\cmIXcc}%
+\def\noexpand\bi{\noexpand\ifcmIXbierr\noexpand\it%
+\noexpand\else\noexpand\it\noexpand\message{<TEXT1> Warning. %
+No bold italic font in CM9. Will print italic font .}%
+\noexpand\global\noexpand\cmIXbierrtrue \noexpand\fi}%
+\noexpand\rm%
+\noexpand\nonIBM%
+\noexpand\let\noexpand\italic=\noexpand\it%
+\noexpand\let\noexpand\bolditalic=\noexpand\bi%
+\noexpand\let\noexpand\bold=\noexpand\bd%
+\noexpand\let\noexpand\caps=\noexpand\cc%
+\noexpand\let\noexpand\typewriter=\noexpand\tt%
+\noexpand\let\noexpand\roman=\noexpand\rm%
+\noexpand\let\noexpand\symbol=\noexpand\sy%
+\noexpand\let\noexpand\mathitalic=\noexpand\mi%
+\noexpand\let\noexpand\extension=\noexpand\ex%
+\noexpand\interlineskip{%
+\noexpand\csname\the\naMEtok ilsix\noexpand\endcsname}}%