You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Dear all:
There is some command XXX that in a macro does different stuff dependent
of the current size. E.g:
Definition:
\newcommand{\MyCommand}{
\XXX%
{this text is printed in a normal-size context}%
{this text is printed in a script-size context}%
{this text is printed in a script-script-size context}%
...
}
Usage:
\scriptsize\MyCommand
results in
this text is printed in a script-size context.
Question: What's the right name of XXX?
Thanks a lot in advance
Jaakov.
Ronnie Marksch
unread,
May 18, 2015, 1:24:37 PM5/18/15
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Am 18.05.2015 um 19:34 schrieb Ulrike Fischer:
> Am Mon, 18 May 2015 12:52:42 +0200 schrieb jaakov:
>
>> Dear all:
>>
>> There is some command XXX that in a macro does different stuff dependent
>> of the current size. E.g:
>
>> Question: What's the right name of XXX?
>
> \mathchoice
>
Thanks, Ulrike; \mathchoice is exactly what I was looking for!
Best,
Jaakov
Axel Romihsita
unread,
May 24, 2015, 9:07:58 PM5/24/15
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
By the way, is there a similar command for the text mode (not for the
math mode)? In my case, I have to ensure correct line breaking of the
text being the argument of the macro.