Changes

Jump to navigation Jump to search
725 bytes removed ,  15:06, 20 November 2005
updated and simplified this page
<texcode>
\usetypescript [adobekb][ec]\defaultencodingloadmapfile[8r-base.map]% or context-base.map, if you have it
</texcode>
or whatever encoding you want to use. After that you can setup your font with
<texcode>
</texcode>
and similar commands.  Added on July 5th, 2005 (by Otared K.):After some of us had difficulties using Postscript fonts, it seems that as of ConTeXt version 2005.06.27 (and pdfeTeX, Version 3.141592-1.20a-2.2 (Web2C 7.5.3)) the following declarations are the appropriate way of using Postscript fonts (in this instance we say &ldquo;times,&rdquo; but you can say &ldquo;palatino&rdquo;):like
<texcode>
\usetypescript [adobekbtimes] [ec]\loadmapfile [context-base]\usetypescript[times][\defaultencoding]
\setupbodyfont[times,12pt]
</texcode>
Note that in the case of &ldquo;helvetica&rdquo; the last two these lines should be replaced with:
<texcode>
\usetypescript[helvetica][\defaultencodingec]
\setupbodyfont[helvetica,ss,12pt]
</texcode>
<texcode>
\usetypescript [adobekb] [ec] %% or \defaultencoding\loadmapfile [context8r-base.map]\usetypescript[times][\defaultencodingec]
\setupbodyfont[times,12pt]
\stoptext
</texcode>
 
== How do I get ... ? ==
 
E.g. load the typescript ''palatino'' like this
<texcode>
\usetypescript[palatino][\defaultencoding]
</texcode>
and switch to palatino with <cmd>setupbodyfont</cmd>
<texcode>
\setupbodyfont[palatino,12pt]
</texcode>
[[Category:Fonts]]
[[Category:From LaTeX]]

Navigation menu