summaryrefslogtreecommitdiff
path: root/macros/text1/pc/misc/cm11.txt
diff options
context:
space:
mode:
Diffstat (limited to 'macros/text1/pc/misc/cm11.txt')
-rw-r--r--macros/text1/pc/misc/cm11.txt40
1 files changed, 40 insertions, 0 deletions
diff --git a/macros/text1/pc/misc/cm11.txt b/macros/text1/pc/misc/cm11.txt
new file mode 100644
index 0000000000..aa9300ae37
--- /dev/null
+++ b/macros/text1/pc/misc/cm11.txt
@@ -0,0 +1,40 @@
+\global\newif\ifcmXIbierr
+\font\cmXIcc=cmcsc11
+\font\cmXIrm=cmr11 \font\cmXIit=cmti11
+\font\cmXIbd=cmbx11 \font\cmXImi=cmmi11
+\font\cmXItt=cmtt11\font\cmXIsy=cmsy11
+\expandafter\newdimen\csname\the\naMEtok ilsxi\endcsname
+\global\csname\the\naMEtok ilsxi\endcsname=\bAseSkip
+\ifdim\csname\the\naMEtok ilsxi\endcsname=0pt
+\csname\the\naMEtok ilsxi\endcsname=13pt\fi%
+\expandafter\xdef\csname\the\naMEtok\endcsname{%
+\def\noexpand\rm{\fam0\cmXIrm}%
+\def\noexpand\mi{\fam1\cmXImi}%
+\def\noexpand\sy{\fam2\cmXIsy}%
+\def\noexpand\ex{\fam3\tenex}%
+ \textfont0=\cmXIrm \textfont1=\cmXImi
+ \textfont2=\cmXIsy\textfont3=\tenex
+ \textfont\itfam=\cmXIit
+ \textfont\ttfam=\cmXItt \textfont\bffam=\cmXIbd
+ \textfont\ccfam=\cmXIcc
+\def\noexpand\bd{\fam\bffam\cmXIbd}%
+\def\noexpand\it{\fam\itfam\cmXIit}%
+\def\noexpand\tt{\fam\ttfam\cmXItt}%
+\def\noexpand\cc{\fam\ccfam\cmXIcc}%
+\def\noexpand\bi{\noexpand\ifcmXIbierr\noexpand\it%
+\noexpand\else\noexpand\it\noexpand\message{<TEXT1> Warning. %
+No bold italic font in CM11. Will print italic font .}%
+\noexpand\global\noexpand\cmXIbierrtrue \noexpand\fi}%
+\noexpand\rm%
+\noexpand\nonIBM%
+\noexpand\let\noexpand\bolditalic=\noexpand\bi%
+\noexpand\let\noexpand\italic=\noexpand\it%
+\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 ilsxi\noexpand\endcsname}}%