]> mj.ucw.cz Git - ucwmac.git/commitdiff
ucw-ofs defines \ttfam
authorMartin Mares <mj@ucw.cz>
Tue, 5 Jun 2018 18:24:48 +0000 (20:24 +0200)
committerMartin Mares <mj@ucw.cz>
Tue, 5 Jun 2018 18:24:48 +0000 (20:24 +0200)
test.tex
ucw-ofs.tex

index a697b38d9d5506f852079b6ce6feaf575d7371de..2e1b230692c258c69ce16d87aa1a8d94b7d7ec6a 100644 (file)
--- a/test.tex
+++ b/test.tex
@@ -96,7 +96,6 @@ abracadabra {!@#$%^&*()\_}
 
 {\csc Caps And Small Caps}
 
-\loadmathfam \ttfam [/cmtt\fotenc]%
 ${\tt x}\in\fam\bbfam R$
 
 The set{\settextsize{11}text}size macro does not strew spaces.
index 46c816534b7a1ea19a8f8f31b16a706b38692ded..c6bfa16d02f1850896a7ffba1819f6abfbdae6e6 100644 (file)
@@ -97,4 +97,6 @@
 \def\twelvepoint{\settextsize{12}}
 
 % Re-define \tt, so that it works in both text and math mode
+\newfam\ttfam
+\loadmathfam\ttfam[/cmtt\fotenc]
 \def\tt{\ifmmode\fam\ttfam\else\setfonts[CMTypewriter/]\fi}