summaryrefslogtreecommitdiff
path: root/macros/text1/pc/misc/cm7.txt
blob: 894bff8b2c5542b635d2c67e5eebd8c8a0674dd1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
\global\newif\ifVIIbierr                                                        
\global\newif\ifVIIbderr                                                        
\global\newif\ifVIItterr                                                        
\global\newif\ifVIIccerr                                                        
\font\cmVIIit=cmti7                                                             
\expandafter\newdimen\csname\the\naMEtok ilsvii\endcsname                       
\global\csname\the\naMEtok ilsvii\endcsname=\bAseSkip                           
\ifdim\csname\the\naMEtok ilsvii\endcsname=0pt                                  
\csname\the\naMEtok ilsvii\endcsname=9pt\fi%                                    
\expandafter\xdef\csname\the\naMEtok\endcsname{%                                
\def\noexpand\rm{\fam0\sevenrm}%                                                
\def\noexpand\mi{\fam1\seveni}%                                                 
\def\noexpand\sy{\fam2\sevensy}%                                                
\def\noexpand\ex{\fam3\tenex}%                                                  
    \textfont0=\sevenrm \textfont1=\seveni                                      
    \textfont2=\sevensy \textfont3=\tenex                                       
    \textfont\itfam=\cmVIIit                                                    
    \textfont\bffam=\sevenbf                                                    
\def\noexpand\it{\fam\itfam\cmVIIit}%                                           
\def\noexpand\bd{\fam\bffam\sevenbf}%                                           
\def\noexpand\tt{\noexpand\ifVIItterr\noexpand\rm%                              
\noexpand\else\noexpand\rm\noexpand\message{<TEXT1> Warning. %                  
No typewriter font  in CM7. Will print roman font .}%                           
\noexpand\global\noexpand\VIItterrtrue \noexpand\fi}%                           
\def\noexpand\bi{\noexpand\ifVIIbierr\noexpand\it%                              
\noexpand\else\noexpand\it\noexpand\message{<TEXT1> Warning. %                  
No bold italic  font in CM7. Will print italic font .}%                         
\noexpand\global\noexpand\VIIbierrtrue \noexpand\fi}%                           
\def\noexpand\cc{\noexpand\ifVIIccerr\noexpand\rm%                              
\noexpand\else\noexpand\rm\noexpand\message{<TEXT1> Warning. %                  
No small caps font  in CM7. Will print roman font .}%                           
\noexpand\global\noexpand\VIIccerrtrue \noexpand\fi}%                           
\noexpand\rm%                                                                   
\noexpand\nonIBM%                                                               
\noexpand\let\noexpand\italic=\noexpand\it%                                     
\noexpand\let\noexpand\bold=\noexpand\bd%                                       
\noexpand\let\noexpand\bolditalic=\noexpand\bi%                                 
\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 ilsvii\noexpand\endcsname}}%