ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: e_w_g@t-online.de (Eckhart Guthöhrlein)
Cc: ConTeXt mailing list <ntg-context@ntg.nl>
Subject: Re: hanging punctuation, but not in captions
Date: Tue, 11 Sep 2001 21:02:45 +0200	[thread overview]
Message-ID: <5.1.0.14.0.20010911202836.00a8f020@pop.t-online.de> (raw)
In-Reply-To: <5.1.0.14.1.20010911182709.023b1758@server-1>

At 18:31 11.09.2001 +0200, Hans Hagen wrote:
>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.

Well, I tried this too, it didn't work, but if even you wonder...

>instead of toks:
>
>   \unexpanded\def\HANGTOKS{...}

This is nice. Hope to have more time to look at context internals soon...

 > [...]
>\  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]

But then have a look at this:

\starttext
    Here comes {\tfx small text with $B\cdot I\cdot G$ math}.\crlf
    And this is {\small small text with $B\cdot I\cdot G$ math, too}.\crlf
    But this math {\switchtobodyfont[small]can not be called $B\cdot I\cdot 
G$ any more}!
\stoptext

So, I can't see any difference between \tfx and \small in this example. But 
\switchtobodyfont[small] will do it for me - so thank you for your help.

Greetings,

Eckhart


      reply	other threads:[~2001-09-11 19:02 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
2001-09-11 19:02       ` Eckhart Guthöhrlein [this message]

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.0.20010911202836.00a8f020@pop.t-online.de \
    --to=e_w_g@t-online.de \
    --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).