UCWTeX: {sub,super}script pomocí matematiky

This commit is contained in:
Jiří Kalvoda 2024-03-18 21:15:01 +01:00
parent 2fd0efe3a7
commit ac2c3475e4

View file

@ -71,8 +71,8 @@
}}
\def\superscript#1{\leavevmode\raise3pt\hbox{\fiverm#1}}
\def\subscript#1{\leavevmode\lower1pt\hbox{\fiverm#1}}
\def\superscript#1{$^{\hbox{#1}}$}
\def\subscript#1{$_{\hbox{#1}}$}
\newcount\fncount
\fncount=1
\def\fnmark{\superscript{\the\fncount}}