25 Febbraio 2012 alle 9:36
#70301
::
francesco.biccari” post=69542Mi piace molto questa idea delle parentesi quadre e graffe!
Hai già scritto del codice?
`\makeatletter
\mathcode`_=\string”8000
\catcode`_=\active
\def_{\@ifnextchar[\ItOrUp@mathrm\sb}
\def\ItOrUp@mathrm[#1]{\sb\mathrm{#1}}
\@makeother\_
\makeatother
…
$a_{x}a_[ciao]$`
Ciao
Enrico