Hi, in this example the question mark nicely becomes part of the command name: \def\OverFull?{\overfullrule30\points} \OverFull? here it does not work at all: \define\OverFull?{\overfullrule30\points} \OverFull? (... but gives "??" instead) As "\define" seems to be more canonical: Does this result mean it is not recommended to use question marks in command names? Steffen
On Thu, 21 Jul 2011, Steffen Wolfrum wrote:
Hi,
in this example the question mark nicely becomes part of the command name:
\def\OverFull?{\overfullrule30\points} \OverFull?
here it does not work at all:
\define\OverFull?{\overfullrule30\points} \OverFull?
(... but gives "??" instead)
As "\define" seems to be more canonical: Does this result mean it is not recommended to use question marks in command names?
\setvalue{OverFull?}{...} Perhaps we can have an equivalent \definevalue that also checks for previous definitions. Aditya
On 21-7-2011 3:15, Steffen Wolfrum wrote:
Hi,
in this example the question mark nicely becomes part of the command name:
\def\OverFull?{\overfullrule30\points} \OverFull?
here the ? is not part of the command but a delimiter \OverFull ? \def\OverFull#1?{\overfullrule30\points} \OverFull crap ? Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (3)
-
Aditya Mahajan
-
Hans Hagen
-
Steffen Wolfrum