ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Is this font changing allowed/correct?
@ 2009-06-13  1:43 Maurí­cio
  2009-06-13  7:46 ` Hans Hagen
  2009-06-13  7:55 ` Wolfgang Schuster
  0 siblings, 2 replies; 6+ messages in thread
From: Maurí­cio @ 2009-06-13  1:43 UTC (permalink / raw)
  To: ntg-context

Can I switch fonts like this? I know something is wrong
because it doesn't work ('concrete' typeface is not used),
but I would like to know if I'm in the right direction.

Thanks,
Maurício

%%%

\usetypescriptfile[type-gentium]
\usetypescriptfile[type-otf]
\usetypescript[gentium]
\usetypescript[concrete]
\setupbodyfont[gentium,20pt]

\starttext

Some text.

{
   \switchtobodyfont[concrete]
   More text.
}

\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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2009-06-14 15:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-13  1:43 Is this font changing allowed/correct? Maurí­cio
2009-06-13  7:46 ` Hans Hagen
2009-06-13 14:12   ` Maurí­cio
2009-06-14  8:06     ` Wolfgang Schuster
2009-06-14 15:11       ` Maurí­cio
2009-06-13  7:55 ` Wolfgang Schuster

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