Difference between revisions of "Understanding how fonts work in ConTeXt - Old Content"

From Wiki
Jump to navigation Jump to search
(page initialization)
 
(using palatino)
Line 1: Line 1:
This page is a draft which I hope will evolve into some kind of beginner's guide to understanding what's going on in ConTeXt as far as fonts are concerned.  Currently I can hardly understand anything about it, but I keep on asking on the mailing list;) and I'm going to post the answers here. [[User:Mbork|Mbork]] 00:19, 5 March 2008 (CET)
+
This page is a draft which I hope will evolve into some kind of beginner's guide to understanding what's going on in ConTeXt as far as fonts are concerned.  Currently I can hardly understand anything about it, but I keep on asking on the mailing list;) (http://archive.contextgarden.net/thread/20080304.225545.5990b35d.en.html) and I'm going to post the answers here.
 +
 
 +
Most of the following material comes from the answers I got on the mailing list.  Since crediting people for each and every answer would be cumbersome, I'd like to thank here all of you that helped me understand ConTeXt (especially Hans, of course). --[[User:Mbork|Mbork]] 00:37, 5 March 2008 (CET)
 +
 
 +
== How to typeset in Palatino ==
 +
 
 +
<context source="yes">
 +
\usetypescriptfile[type-gyr]
 +
\usetypescript[palatino][qx]
 +
\setupbodyfont[palatino,10pt]
 +
 
 +
\starttext
 +
Hello world, I'm Palatino!
 +
\stoptext
 +
</context>

Revision as of 23:39, 4 March 2008

This page is a draft which I hope will evolve into some kind of beginner's guide to understanding what's going on in ConTeXt as far as fonts are concerned. Currently I can hardly understand anything about it, but I keep on asking on the mailing list;) (http://archive.contextgarden.net/thread/20080304.225545.5990b35d.en.html) and I'm going to post the answers here.

Most of the following material comes from the answers I got on the mailing list. Since crediting people for each and every answer would be cumbersome, I'd like to thank here all of you that helped me understand ConTeXt (especially Hans, of course). --Mbork 00:37, 5 March 2008 (CET)

How to typeset in Palatino

\usetypescriptfile[type-gyr]
\usetypescript[palatino][qx]
\setupbodyfont[palatino,10pt]

\starttext
Hello world, I'm Palatino!
\stoptext