ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Cc: ConTeXt mailing list <ntg-context@ntg.nl>
Subject: Re: hanging punctuation, but not in captions
Date: Tue, 11 Sep 2001 18:31:19 +0200	[thread overview]
Message-ID: <5.1.0.14.1.20010911182709.023b1758@server-1> (raw)
In-Reply-To: <5.1.0.14.0.20010911151144.00a981e0@pop.t-online.de>

At 03:50 PM 9/11/2001 +0200, Eckhart Guthöhrlein wrote:

>Finally, I found
>
>\newtoks\HANGTOKS
>\HANGTOKS={\setupalign[hanging]}
>\setupcaptions[headstyle=\tfx\it,style=\the\HANGTOKS\tfx]

i wonder why \setupcaptions[align=hanging] does not work.

instead of toks:

   \unexpanded\def\HANGTOKS{...}

is also an options since \unexpanded commands are ignores in comparisons / 
checks

>This works fine now. Some other problems resulted from a long forgotton 
>\setupbodyfont[11pt] following the first setup command. Now I have 
>\setupbodyfont[11pt,ams,modern] - I noticed this because switching font 
>size turned off haning, which is fixed by the new order in \setupbodyfont.

this has to do with the fact that fonts get associated lrprtotcodes which 
happens at definition time

\   And shouldn't the next formula be {\tfxx at least $10^x$ times}
>     smaller? Well, it isn't!

\tfxx is a rather hard coded text switch, use \small instead which is a 
body font switch that switches them all [these things are a matter of speed 
trade offs]

Hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------


  reply	other threads:[~2001-09-11 16:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-10  9:33 Eckhart Guthöhrlein
2001-09-10 21:21 ` Hans Hagen
2001-09-11 13:50   ` Eckhart Guthöhrlein
2001-09-11 16:31     ` Hans Hagen [this message]
2001-09-11 19:02       ` Eckhart Guthöhrlein

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5.1.0.14.1.20010911182709.023b1758@server-1 \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).