> >> Hi Wolfgang,
> >>
> >> I'm looking for documentation for your handy module.
> >>
> >> Particularly i'd like to know all the options i can use for the
> >> commands \setmainfont and \setupsimplefonts.
> >>
> >> My goal is to use a font in my document in different sizes (say 12,
> >> 17 and 35pt) with adequate line spacing.
> >
> > Do you want a whole family in this size or only a single style of a font?
> 
> I need Linux Libertine as Serif, Aller as SansSerif and Aller in 35pt for 
> large
> titles with proper line spacing.
> 
> My success so far:
> 
> \definefontfeature[cond][default][extend=.8]
> \usemodule[simplefonts]
> \setmainfont[linuxlibertineo]
> \setsansfont[aller][features=cond]
> \mainlanguage[de]
> \starttext
> Dudelsackpfeifenmachergeselle
> 
> {\it
> Dudelsackpfeifenmachergeselle }
> 
> {\bf
> Dudelsackpfeifenmachergeselle }
> 
> {\bi
> Dudelsackpfeifenmachergeselle }
> 
> \ss
> Dudelsackpfeifenmachergeselle
> 
> {\it
> Dudelsackpfeifenmachergeselle }
> 
> {\bf
> Dudelsackpfeifenmachergeselle }
> 
> {\bi
> Dudelsackpfeifenmachergeselle }
> \stoptext
> 
> 
> Now some questions remain:
> How can i set the size of the fonts?
> \setsansfont[aller][features=cond,size=14pt]
> seems not to work.
> How can i define the 35pt .8 condensed Aller?
> 
> Greetings Lutz

Here is how I would do it:

\definefontfeature[cond][default][extend=.8]
\usemodule[simplefonts]
\setmainfont[Linux Libertine O]
\setsansfont[aller][scale=0.9] % downscale Aller a bit, since it has a bigger 
x-height than Libertine
\definesimplefonttypeface[titlefont][aller][features=cond] % this way, only 
titles are condensed
\setuphead[chapter][style={\switchtobodyfont[titlefont,35pt]}]
\mainlanguage[de]

\starttext
\chapter{Dudelsackpfeifenmachergesellen sind lustige Leute}

Dudelsackpfeifenmachergeselle {\ss Dudelsackpfeifenmachergeselle}

{\it Dudelsackpfeifenmachergeselle} {\ss \it Dudelsackpfeifenmachergeselle}

{\bf Dudelsackpfeifenmachergeselle } {\ss \bf Dudelsackpfeifenmachergeselle}

{\bi Dudelsackpfeifenmachergeselle } {\ss \bi Dudelsackpfeifenmachergeselle}
\stoptext

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to