ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: beginnersvragen (anfaengersfrage)
@ 1998-08-03  8:04 Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 1998-08-03  8:04 UTC (permalink / raw)
  Cc: ntg-context

Frans Goddijn wrote:

>  "HD> - datzelfde blokje heb ik een kleinere letter gegeven met \tfx,
>  "HD> maar   het moet nog kleiner. Hoe?
> 
> Somthing like
> 
> \font\kleinerfont=tnrb at 5pt
> 
> {\kleinerfont dit is erg klein!}

The best way to switch to a smaller size is \tx and still smaller \txx

Those also adapt to \bf, \sl etc. 

> If the baselinsskip looks odd, try \par. I had a problem like that once,
> and Herman Haverkort explained to me how TeX handles that (see page 217 of
> MAPS20)

TeX takes the values valid at \par time. And the } end the group before
that. 

Anyway, the baselineskip will always be wrong. 

\setupbodyfont[12pt] \tx 

will produce consistent baselineskip with the main font size. 

You can of course say \tx \setupinterlinespace to get an adapted
baselines. 

The more appropriate way to switch (everything, math also) to a smaller
size is: 

\switchtobodyfont[small] 

Beware *NOT* to use \setupbodyfont there because that one changes the
overall document appearance, while \switchto.. acts local. 

Hans

-----------------------------------------------------------------
                                              Hans Hagen | PRAGMA
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
    tel: 038 477 53 69 | fax: 038 477 53 74 | mail: pragma@wxs.nl
-----------------------------------------------------------------


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

* beginnersvragen (anfaengersfrage)
@ 1998-08-02 16:52 Frans Goddijn
  0 siblings, 0 replies; 2+ messages in thread
From: Frans Goddijn @ 1998-08-02 16:52 UTC (permalink / raw)


said "W.H. Dekker"  to All:

 "HD> - Hoe krijg ik onder "Aantal pagina's" automatisch het juiste
 "HD> getal?   Is er zoiets als \LastPage?

Did you read this in earlier messages:

> how can I print the number of pages a document has?

\totaalaantalpaginas 

the internal quantity is: \lastpage and you can bet that there is also 
\firstpage, \prevpage, \lastpage, \nofsubpages \nextsubpage,
\prevsubpage etc. 

There are also \realpageno (counts all pages) \userpageno (only the ones
with a pagenumber) etc etc etc. 

So, in dutch \totaalaantalpaginas

(English: \totalnumberofpages )

 "HD> - datzelfde blokje heb ik een kleinere letter gegeven met \tfx,
 "HD> maar   het moet nog kleiner. Hoe?

Somthing like

\font\kleinerfont=tnrb at 5pt

{\kleinerfont dit is erg klein!}

If the baselinsskip looks odd, try \par. I had a problem like that once,
and Herman Haverkort explained to me how TeX handles that (see page 217 of
MAPS20) 

I hope this helps, as it would be the first message that I post to this
list with answers instead of questions! ;=}

Met hartelijke groet!

 Frans Goddijn   | bbs: +31 (0)26 3217041
 Postbus 30196   | email: fg@fgbbs.iaf.nl
 6803 AD Arnhem  | tel: +31 (0)26 3219342
 The Netherlands | http://www.iaf.nl/Users/Meridian 
--
You are what you is


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

end of thread, other threads:[~1998-08-03  8:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-08-03  8:04 beginnersvragen (anfaengersfrage) Hans Hagen
  -- strict thread matches above, loose matches on Subject: below --
1998-08-02 16:52 Frans Goddijn

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