summaryrefslogtreecommitdiff
path: root/macros/text1/pc/misc/cmsan14.txt
diff options
context:
space:
mode:
Diffstat (limited to 'macros/text1/pc/misc/cmsan14.txt')
-rw-r--r--macros/text1/pc/misc/cmsan14.txt46
1 files changed, 46 insertions, 0 deletions
diff --git a/macros/text1/pc/misc/cmsan14.txt b/macros/text1/pc/misc/cmsan14.txt
new file mode 100644
index 0000000000..23d2eb54a5
--- /dev/null
+++ b/macros/text1/pc/misc/cmsan14.txt
@@ -0,0 +1,46 @@
+\global\newif\ifXIVssbierr
+\global\newif\ifXIVssccerr
+\global\newif\ifXIVsstterr
+\font\cmXIVssrm=cmss14 \font\cmXIVssit=cmssi14
+\font\cmXIVssbd=cmssbx14 \font\cmXIVssmi=cmmi14
+\font\cmXIVsssy=cmsy14 \font\cmXIVssex=cmex14
+\expandafter\newdimen\csname\the\naMEtok ilsxivss\endcsname
+\global\csname\the\naMEtok ilsxivss\endcsname=\bAseSkip
+\ifdim\csname\the\naMEtok ilsxivss\endcsname=0pt
+\csname\the\naMEtok ilsxivss\endcsname=16pt\fi%
+\expandafter\xdef\csname\the\naMEtok\endcsname{%
+\def\noexpand\rm{\fam0\cmXIVssrm}%
+\def\noexpand\mi{\fam1\cmXIVssmi}%
+\def\noexpand\sy{\fam2\cmXIVsssy}%
+\def\noexpand\ex{\fam3\cmXIVssex}%
+ \textfont0=\cmXIVssrm \textfont1=\cmXIVssmi
+ \textfont2=\cmXIVsssy \textfont3=\cmXIVssex
+ \textfont\itfam=\cmXIVssit
+ \textfont\bffam=\cmXIVssbd
+\def\noexpand\bd{\fam\bffam\cmXIVssbd}%
+\def\noexpand\it{\fam\itfam\cmXIVssit}%
+\def\noexpand\bi{\noexpand\ifXIVssbierr\noexpand\it%
+\noexpand\else\noexpand\it\noexpand\message{<TEXT1> Warning. %
+No bold italic font in CMSAN14. Will print italic font .}%
+\noexpand\global\noexpand\XIVssbierrtrue \noexpand\fi}%
+\def\noexpand\tt{\noexpand\ifXIVsstterr\noexpand\rm%
+\noexpand\else\noexpand\rm\noexpand\message{<TEXT1> Warning. %
+No typewriter font in CMSAN14. Will print roman font .}%
+\noexpand\global\noexpand\XIVsstterrtrue \noexpand\fi}%
+\def\noexpand\cc{\noexpand\ifXIVssccerr\noexpand\rm%
+\noexpand\else\noexpand\rm\noexpand\message{<TEXT1> Warning. %
+No small caps font in CMSAN14. Will print roman font .}%
+\noexpand\global\noexpand\XIVssccerrtrue \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 ilsxivss\noexpand\endcsname}}%