Changes

Jump to navigation Jump to search
946 bytes added ,  01:00, 28 October 2009
no edit summary
</context>
== Double Stroke font by keeping Mathrelations ==
 
This definition is nearly as the above one but will keep math relations such as \subset, \subsetneq, \supsetneqq and so on defined in mb.
 
<context source="yes">
 
\usemodule[amsl]
\usemodule[newmat]
 
\loadmapfile[dstroke.map]
 
\starttypescript[math][modern,computer-modern,latin-modern,ams][size]
\definebodyfont[17.3pt,14.4pt,12pt][mm][mc=dsrom12 sa 1]
\definebodyfont[11pt,10pt,9pt][mm][mc=dsrom10 sa 1]
\definebodyfont[8pt,7pt,6pt,5pt,4pt][mm][mc=dsrom8 sa 1]
\stoptypescript
 
\definetypeface[modern][mm][math][modern][ams][endocing=\defaultencoding]
 
\setupbodyfont[reset,modern,10pt]
 
 
\definefamilysynonym[default][doublestroke][mc]
 
\def\dstroke {\fam\purefamily {doublestroke}}
 
\def\doublestroke#1{{\dstroke#1}}
 
\starttext
 
${\dstroke RN}$
 
$\subsetneqq\subsetneq\supsetneqq\supsetneq$
 
\stoptext
 
</context>
 
Don't know why it wouldn't compile here, but it works that way round...
[[Category:Math]]
[[Category:Fonts]]
Anonymous user

Navigation menu