Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comma missing from superiors #534

Open
juhaszp95 opened this issue Apr 22, 2023 · 4 comments
Open

Comma missing from superiors #534

juhaszp95 opened this issue Apr 22, 2023 · 4 comments

Comments

@juhaszp95
Copy link

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
Copy link
Collaborator

hvoss49 commented Apr 23, 2023

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
Copy link
Author

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
Copy link
Collaborator

hvoss49 commented Apr 24, 2023

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
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants