From: Martin Mares Date: Tue, 5 Jun 2018 18:24:48 +0000 (+0200) Subject: ucw-ofs defines \ttfam X-Git-Tag: v1.99~1^2~32 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=8d8877083a2a86c393fd325a62ca366204e3e79e;p=ucwmac.git ucw-ofs defines \ttfam --- diff --git a/test.tex b/test.tex index a697b38..2e1b230 100644 --- 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. diff --git a/ucw-ofs.tex b/ucw-ofs.tex index 46c8165..c6bfa16 100644 --- a/ucw-ofs.tex +++ b/ucw-ofs.tex @@ -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}