[NTG-context] Using fonts from multiple families

Tom Tom at tuxedo-press.com
Sun Feb 13 15:39:30 CET 2011


This should be my last question on this topic. I want to center the
dedication but align=middle (or center) and alternative=middle added to
\definestartstop[dedication] seem to have no effect. I can't seem to find a
simple way to center an odd line of paragraph of text. Using a frame seems
like using a sledgehammer to pound a tack.

Tom Benjey
717-258-9733 voice
717-243-0074 fax
blog: www.TomBenjey.com




-----Original Message-----
From: ntg-context-bounces at ntg.nl [mailto:ntg-context-bounces at ntg.nl] On
Behalf Of Wolfgang Schuster
Sent: Sunday, February 13, 2011 8:36 AM
To: mailing list for ConTeXt users
Subject: Re: [NTG-context] Using fonts from multiple families


Am 13.02.2011 um 14:23 schrieb Tom:

> Thank you very much, Wolfgang. The time zone difference is helpful
> sometimes. I went to bed last night very frustrated and woke up this
morning
> to find your solution in my inbox. It is also good to see that your
> assistance to me has also helped someone else. I do have a couple of
> questions:
> 
> 1. Why aren't the \usetypescriptfile commands necessary?

ConTeXt already load there files to let you use the palatino etc. fonts

> 2. It never occurred to me to consider the dedication as a separate
chapter.
> Logically, it is but is the inverse of other chapters, sort of, in that
the
> chapter title isn't normally displayed and the body of the chapter is
> printed in a different font than are the other chapters.

Add this to my example:

\definestartstop[dedication][style={\switchtobodyfont[dedication]}]

You can now write in your document

\dedication{...}

and

\startdedeication
...
\stopdedication

Wolfgang

____________________________________________________________________________
_______
If your question is of interest to others as well, please add an entry to
the Wiki!

maillist : ntg-context at 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
____________________________________________________________________________
_______



More information about the ntg-context mailing list