Junicode-font icon indicating copy to clipboard operation
Junicode-font copied to clipboard

Superscripts and subscripts contact each other when stacked

Open amarakon opened this issue 1 year ago • 9 comments

By using the subs and sups OpenType features for subscripts and superscripts respectively, I can stack superscripts on top of subscripts. In LaTeX this can be done with the \textsubsuperscript or \textsupersubscript command from the realscripts package. Because the superscript is too low and big and because the subscript is too high and big, they end up contacting each other. I think this problem can be solved by adjusting the vertical position of subscripts and superscripts or their size or both.

\documentclass{standalone}

\usepackage{fontspec, realscripts}
\setmainfont[Scale = 10]{Junicode Two Beta VF}

\begin{document}

\textsubsuperscript{1}{1}

\end{document}

another-1

amarakon avatar Mar 18 '23 05:03 amarakon