ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Grouping with \dosingleempty
@ 2006-06-05 23:04 Aditya Mahajan
  2006-06-06  7:54 ` Taco Hoekwater
  0 siblings, 1 reply; 3+ messages in thread
From: Aditya Mahajan @ 2006-06-05 23:04 UTC (permalink / raw)


Hi,
  I am confused why the following definition does not work as expected.

\def\PM{\dosingleempty\doPM}
\def\doPM[#1]{\iffirstargument P_{M_{#1}}
   \else P_{M_t}\fi}

\starttext
Why is $\widetilde \PM[T]$ not the same as $\widetilde P_{M_T}$
\stoptext

Can I change the definition so that

$\widetilede \PM$ is same as $\widetilde P_{M_t}$
and
$\widetilede \PM[T]$ is same as $\widetilde P_{M_T}$

Thanks,
Aditya

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

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

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-05 23:04 Grouping with \dosingleempty Aditya Mahajan
2006-06-06  7:54 ` Taco Hoekwater
2006-06-06 13:49   ` Aditya Mahajan

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