ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Using not predefined font sizes
@ 2008-09-22 12:31 Marcin Borkowski
  0 siblings, 0 replies; only message in thread
From: Marcin Borkowski @ 2008-09-22 12:31 UTC (permalink / raw)
  To: Mailing list for ConTeXt users

Hi,

the manual says that if I use \switchtobodyfont[48pt] (with the size
48pt not previously defined, then the interline space and other
parameters are taken from the nearest smaller body font environment is
that is already defined (co-typography.pdf, p. 13).  Then, why

\starttext
\switchtobodyfont[48pt]
Hello world!  Hello world!  Hello world!  Hello world!  Hello world!
Hello world!  Hello world!  Hello world!  Hello world!  Hello world!
Hello world!  Hello world!  Hello world!  Hello world!  Hello world!
Hello world!  Hello world!  Hello world!  Hello world!  Hello world!
Hello world!  Hello world!  Hello world!  Hello world!
\stoptext

works the same as

\starttext
\definebodyfontenvironment[48pt]
\switchtobodyfont[48pt]
Hello world!  Hello world!  Hello world!  Hello world!  Hello world!
Hello world!  Hello world!  Hello world!  Hello world!  Hello world!
Hello world!  Hello world!  Hello world!  Hello world!  Hello world!
Hello world!  Hello world!  Hello world!  Hello world!  Hello world!
Hello world!  Hello world!  Hello world!  Hello world!
\stoptext

i.e., correctly?  I expected too small interline space in the former
case, but it seems correct.  (That's fine for me, obviously, but I'd
like to understand that!)

Cheers

-- 
Marcin Borkowski (http://mbork.faculty.fmcs.amu.edu.pl)
___________________________________________________________________________________
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] only message in thread

only message in thread, other threads:[~2008-09-22 12:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-22 12:31 Using not predefined font sizes Marcin Borkowski

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