Hello, this is an excerpt of the preambel and beginning of the text: ------------------------ \setupbodyfont[sansserif, 10pt] \setuphead[subject][textstyle=cap] %, \setupheadertexts[\^Aventiuren] \starttext \noheaderandfooterlines \tfe{}\^Aventiuren\blank\blank ... \subject{Chrono} ---------------------------- I wish for \tfe a fontsize greater than \tfd and also greater caps for \subject Is 'sansserif' a shortcut ? Is there a more analytical definition. -- René Bastian
R. Bastian wrote:
Hello,
this is an excerpt of the preambel and beginning of the text: ------------------------ \setupbodyfont[sansserif, 10pt] \setuphead[subject][textstyle=cap] %, \setupheadertexts[\^Aventiuren]
\starttext \noheaderandfooterlines
\tfe{}\^Aventiuren\blank\blank
...
\subject{Chrono} ----------------------------
I wish for \tfe a fontsize greater than \tfd
http://wiki.contextgarden.net/Reference/en/definebodyfontenvironment has an example that does this.
and
also greater caps for \subject
\setuphead[subject][style={\switchtobodyfont[17pt]},textstyle=cap] Combined, you get something like this: \definefontsize[e] \definebodyfontenvironment [default] [e=3] % current bodyfont size * 3 \setupbodyfont[sansserif, 10pt] \setuphead[subject][style={\switchtobodyfont[22pt]},textstyle=cap] %, ....
Is 'sansserif' a shortcut ? Is there a more analytical definition.
sansserif is a typeface identifier, but it is basically an alias for \ss. This page should help: http://wiki.contextgarden.net/Font_Switching Best wishes, Taco
On Thu, 22 Apr 2010 21:27:16 +0200
Taco Hoekwater
R. Bastian wrote:
Hello,
this is an excerpt of the preambel and beginning of the text: ------------------------ \setupbodyfont[sansserif, 10pt] \setuphead[subject][textstyle=cap] %, \setupheadertexts[\^Aventiuren]
\starttext \noheaderandfooterlines
\tfe{}\^Aventiuren\blank\blank
...
\subject{Chrono} ----------------------------
I wish for \tfe a fontsize greater than \tfd
http://wiki.contextgarden.net/Reference/en/definebodyfontenvironment
has an example that does this.
and
also greater caps for \subject
\setuphead[subject][style={\switchtobodyfont[17pt]},textstyle=cap]
i will take 12pt
Combined, you get something like this:
\definefontsize[e] \definebodyfontenvironment [default] [e=3] % current bodyfont size * 3
\setupbodyfont[sansserif, 10pt] \setuphead[subject][style={\switchtobodyfont[22pt]},textstyle=cap] %, ....
Is 'sansserif' a shortcut ? Is there a more analytical definition.
sansserif is a typeface identifier, but it is basically an alias for \ss. This page should help:
yes, it helps
Best wishes, Taco
Thanks Taco, its a very good solution.
-- René Bastian www.pythoneon.org www.musiques-rb.org http://www.soundsurvey.org.uk/
participants (2)
-
R. Bastian
-
Taco Hoekwater