ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Changing the font in quotation
@ 2012-11-16 13:07 "H. Özoguz"
  2012-11-16 13:46 ` Marco Patzer
  0 siblings, 1 reply; 2+ messages in thread
From: "H. Özoguz" @ 2012-11-16 13:07 UTC (permalink / raw)
  To: ntg-context

I use \startquotation \stopquotation for longer quotations.

I want to globally change the font in this quotations (f.e. to garamond 
or helvetica - my default is times new roman). How to make this?

Thanks
Huseyin
___________________________________________________________________________________
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] 2+ messages in thread

* Re: Changing the font in quotation
  2012-11-16 13:07 Changing the font in quotation "H. Özoguz"
@ 2012-11-16 13:46 ` Marco Patzer
  0 siblings, 0 replies; 2+ messages in thread
From: Marco Patzer @ 2012-11-16 13:46 UTC (permalink / raw)
  To: ntg-context

2012-11-16 H. Özoguz:

> I use \startquotation \stopquotation for longer quotations.
> 
> I want to globally change the font in this quotations (f.e. to garamond 
> or helvetica - my default is times new roman). How to make this?

Quotations are defined as delimited text, see

  http://wiki.contextgarden.net/Command/setupdelimitedtext

That means, you can use the style key as follows:

\setupdelimitedtext
  [quotation]
  [style=sans]

If you defined sans to be Helvetica, that's all you need, but this
depends on you document setup. You can also use \switchtobodyfont.

\setupdelimitedtext
  [quotation]
  [style={\switchtobodyfont[helvetica]}]


Marco

___________________________________________________________________________________
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] 2+ messages in thread

end of thread, other threads:[~2012-11-16 13:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-16 13:07 Changing the font in quotation "H. Özoguz"
2012-11-16 13:46 ` Marco Patzer

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