]> mj.ucw.cz Git - ucwmac.git/blobdiff - ucw-ofs.tex
Released as v2.0.1
[ucwmac.git] / ucw-ofs.tex
index 2f4487f2d4eea144d5f13a81d540050dd1c17cee..5fae70d599b971cb4f8498099c45c61a55f46e9b 100644 (file)
@@ -2,9 +2,12 @@
 % Written by Martin Mares <mj@ucw.cz> in 2010 and placed into public domain
 % -------------------------------------------------------------------------
 
 % Written by Martin Mares <mj@ucw.cz> in 2010 and placed into public domain
 % -------------------------------------------------------------------------
 
+\ucwdefmodule{ofs}
+
 \ifx\OFSversion\undefined
 \input ofs.tex
 % \detailfontmessages
 \ifx\OFSversion\undefined
 \input ofs.tex
 % \detailfontmessages
+\nofontmessages
 \fi
 
 % We extend OFS's default CM family by several fonts: cmb, cmcsc
 \fi
 
 % We extend OFS's default CM family by several fonts: cmb, cmcsc
@@ -96,4 +99,5 @@
 \def\twelvepoint{\settextsize{12}}
 
 % Re-define \tt, so that it works in both text and math mode
 \def\twelvepoint{\settextsize{12}}
 
 % Re-define \tt, so that it works in both text and math mode
+\loadmathfam\ttfam[/cmtt\fotenc]
 \def\tt{\ifmmode\fam\ttfam\else\setfonts[CMTypewriter/]\fi}
 \def\tt{\ifmmode\fam\ttfam\else\setfonts[CMTypewriter/]\fi}