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