ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* mathsize
@ 2006-06-13 17:15 Hans van der Meer
  2006-06-15 15:10 ` mathsize Taco Hoekwater
  0 siblings, 1 reply; 2+ messages in thread
From: Hans van der Meer @ 2006-06-13 17:15 UTC (permalink / raw)



[-- Attachment #1.1: Type: text/plain, Size: 1017 bytes --]

When doing inline math I see that the mathsize does adapt when \tfa,  
\tfb, etc are used, but not for \tfx and \tfxx. That seems strange to  
me, because in the manual in the font table \tfx \tfxx \tfa etc. are  
advertised as equivalent operations. It also accounts for a lot more  
typing (and mistakes).

Why is the behaviour different? And if it is not on purpose, can it  
be remedied then?

A minimal example:

\starttext
	
{\tfc tfc 123 and \$ tfc: $123$ \$}\crlf
{\tfb tfb 123 and \$ tfb: $123$ \$}\crlf
{\tfa tfa 123 and \$ tfa: $123$ \$}\crlf
{normal 123 en \$ normal: $123$ \$}\crlf
{\tfx tfx 123 and \$ not tfx: $123$ \$}\crlf         % math does not  
adapt size
{\tfx tfx 123 and \$ again tfx: $\tfx 123$ \$}\crlf
{\tfxx tfxx 123 and \$ not tfxx: $123$ \$}\crlf      % math does not  
adapt size
{\tfxx tfxx 123 and \$ again tfxx: $123$ \$}\crlf

% the next does work as expected:
\def\smallsize{\switchtobodyfont[9pt]}
{\smallsize smallsize 123 and \$ smallsize: $123$ \$}\crlf


Hans van der Meer




[-- Attachment #1.2: Type: text/html, Size: 3530 bytes --]

[-- Attachment #2: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

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

* Re: mathsize
  2006-06-13 17:15 mathsize Hans van der Meer
@ 2006-06-15 15:10 ` Taco Hoekwater
  0 siblings, 0 replies; 2+ messages in thread
From: Taco Hoekwater @ 2006-06-15 15:10 UTC (permalink / raw)




Hans van der Meer wrote:
> When doing inline math I see that the mathsize does adapt when \tfa, 
> \tfb, etc are used, but not for \tfx and \tfxx. That seems strange to 
> me, because in the manual in the font table \tfx \tfxx \tfa etc. are 
> advertised as equivalent operations. It also accounts for a lot more 
> typing (and mistakes).
> 
> Why is the behaviour different? And if it is not on purpose, can it be 
> remedied then?

   \starttext
   {\tfx\dosetcurrentfontsize{x} tfx 123 and \$ tfx: $123$ \$} }
   \stoptext

But I am not sure there is not more to it than that.

Taco

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

end of thread, other threads:[~2006-06-15 15:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-13 17:15 mathsize Hans van der Meer
2006-06-15 15:10 ` mathsize Taco Hoekwater

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