From 147023919743f18b66358b9d3c3f50cbd7deff10 Mon Sep 17 00:00:00 2001 From: Jiri Kalvoda Date: Mon, 18 Mar 2024 21:15:01 +0100 Subject: [PATCH] =?UTF-8?q?UCWTeX:=20{sub,super}script=20pomoc=C3=AD=20mat?= =?UTF-8?q?ematiky?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/formatitko/tex/formatitko.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/formatitko/tex/formatitko.tex b/src/formatitko/tex/formatitko.tex index e86c3e4..f6b6a6a 100644 --- a/src/formatitko/tex/formatitko.tex +++ b/src/formatitko/tex/formatitko.tex @@ -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}}