ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* font, sansserif
@ 2010-04-22 12:15 R. Bastian
  2010-04-22 19:27 ` Taco Hoekwater
  0 siblings, 1 reply; 3+ messages in thread
From: R. Bastian @ 2010-04-22 12:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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


___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: font, sansserif
  2010-04-22 12:15 font, sansserif R. Bastian
@ 2010-04-22 19:27 ` Taco Hoekwater
  2010-04-22 20:57   ` R. Bastian
  0 siblings, 1 reply; 3+ messages in thread
From: Taco Hoekwater @ 2010-04-22 19:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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




___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: font, sansserif
  2010-04-22 19:27 ` Taco Hoekwater
@ 2010-04-22 20:57   ` R. Bastian
  0 siblings, 0 replies; 3+ messages in thread
From: R. Bastian @ 2010-04-22 20:57 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-04-22 20:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-22 12:15 font, sansserif R. Bastian
2010-04-22 19:27 ` Taco Hoekwater
2010-04-22 20:57   ` R. Bastian

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).