ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \switchtobodyfont
@ 2010-11-09 19:49 Herbert Voss
  2010-11-09 20:48 ` \switchtobodyfont Hans Hagen
  2010-11-09 20:52 ` \switchtobodyfont Hans Hagen
  0 siblings, 2 replies; 3+ messages in thread
From: Herbert Voss @ 2010-11-09 19:49 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Is this the default behaviour, that \switchtobodyfont works
like a \hfill??  | page |

\starttext
Latin Modern
\switchtobodyfont[pagella]Pagella--Palatino
\stoptext

|     Latin Modern                        Pag-|
|     ella                                    |

Latest minimal mkiv

Herbert
___________________________________________________________________________________
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: \switchtobodyfont
  2010-11-09 19:49 \switchtobodyfont Herbert Voss
@ 2010-11-09 20:48 ` Hans Hagen
  2010-11-09 20:52 ` \switchtobodyfont Hans Hagen
  1 sibling, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2010-11-09 20:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 9-11-2010 8:49, Herbert Voss wrote:
> Is this the default behaviour, that \switchtobodyfont works
> like a \hfill??  | page |
>
> \starttext
> Latin Modern
> \switchtobodyfont[pagella]Pagella--Palatino
> \stoptext
>
> |     Latin Modern                        Pag-|
> |     ella                                    |
>
> Latest minimal mkiv

in this case font definitions are loaded for the first time and as 
typescript (or whatever) can have spaces and newlines and since you do 
it in horizontal mode, you get something

Latin Modern <space><space><space><space><space>...<space>Pagella

and space can stretch


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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: \switchtobodyfont
  2010-11-09 19:49 \switchtobodyfont Herbert Voss
  2010-11-09 20:48 ` \switchtobodyfont Hans Hagen
@ 2010-11-09 20:52 ` Hans Hagen
  1 sibling, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2010-11-09 20:52 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 9-11-2010 8:49, Herbert Voss wrote:
> Is this the default behaviour, that \switchtobodyfont works
> like a \hfill??  | page |
>
> \starttext
> Latin Modern
> \switchtobodyfont[pagella]Pagella--Palatino
> \stoptext
>
> |     Latin Modern                        Pag-|
> |     ella                                    |
>
> Latest minimal mkiv

btw, you can do:

Latin Modern \switchtobodyfont[pagella]\removeunwantedspaces\space 
Pagella--Palatino

but normally there will be a

\setupbodyfont[pagella]

at the top

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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-11-09 20:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-09 19:49 \switchtobodyfont Herbert Voss
2010-11-09 20:48 ` \switchtobodyfont Hans Hagen
2010-11-09 20:52 ` \switchtobodyfont Hans Hagen

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