alerque / libertinus

The Libertinus font family
Other
927 stars 57 forks source link

Comma missing from superiors #534

Open juhaszp95 opened 1 year ago

juhaszp95 commented 1 year ago

The bug The comma (' , ') is missing from the set of superiors. It would be nice to have a comma there besides the letters and numbers, as this is sometimes used to note the affilications of authors in publications, like Foo1,2.

Steps to reproduce MWE (in LuaLaTeX):

\documentclass[12pt]{article}
\usepackage{libertinus-otf}

\begin{document}
    Foo\textsup{1,2}
\end{document}

Expected vs actual behavior I'd like to see a superior comma between the superior 1 and 2. Instead, I get a normal (lower) comma.

Screenshot Output of the MWE: image

hvoss49 commented 1 year ago

You can use simple footnotes or package biblatex, if you want to use \footcite

\documentclass[12pt]{article}
\usepackage[multiple]{footmisc}

\begin{document}
    Foo\footnote{foo}\footnote{bar}
\end{document}
juhaszp95 commented 1 year ago

Well, in this case the corresponding text is just set in normal size, just below the authors. This is standard practice in physics journals, see e.g. https://arxiv.org/pdf/2011.10536.pdf. So I would really need a superior comma.

hvoss49 commented 1 year ago

For example:

\documentclass{article}

\usepackage[a4paper]{geometry}
\usepackage{libertinus-otf}

\title{foo${}^{1,2}$ and bar${}^2$ \\[\bigskipamount]
    {\Large\mdseries\parbox{\linewidth}{\hangindent=1em 
     ${}^1$\,Clarendon Laboratory, University of Oxford, Parks Road, Oxford OX1 3PU, 
        United Kingdom

     \hangindent=1em   
     ${}^2$\,Cavendish Laboratory, University of Cambridge, J. J. Thomson Avenue, 
        Cambridge CB3 0HE, United Kingdom \par}}}
\date{}
\begin{document}
    \maketitle
\end{document}
Bildschirmfoto 2023-04-24 um 08 30 25
juhaszp95 commented 1 year ago

Thanks for this proposal - although at that point I can simply use \textsuperscript{1,2} which gives almost the identical result - neither of which are from the sups series. So there are ways around this for sure, I just wanted to flag that perhaps the comma could be implemented in sups proper.