From: "R. Bastian" <rbastian@free.fr>
To: ntg-context@ntg.nl
Subject: Re: font, sansserif
Date: Thu, 22 Apr 2010 22:57:46 +0200 [thread overview]
Message-ID: <20100422225746.17df1f97@KUBUNTU64> (raw)
In-Reply-To: <4BD0A314.2010107@elvenkind.com>
On Thu, 22 Apr 2010 21:27:16 +0200
Taco Hoekwater <taco@elvenkind.com> scribit:
> 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:
>
> http://wiki.contextgarden.net/Font_Switching
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/
___________________________________________________________________________________
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
___________________________________________________________________________________
prev parent reply other threads:[~2010-04-22 20:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-22 12:15 R. Bastian
2010-04-22 19:27 ` Taco Hoekwater
2010-04-22 20:57 ` R. Bastian [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100422225746.17df1f97@KUBUNTU64 \
--to=rbastian@free.fr \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).