With \usepackage[sups]{XCharter}
, when I have two references separated by a comma after the same word, I can't typeset the comma in the same style as the reference marks: \textsuperscrip{,}
places it too high, while \textsu{}
only works for numbers. I've tried to dig XCharter.sty
to find a definition of \textsu
and change it but I haven't found anything (at least not anything that seemed to give some sort of vertical spacing instruction. I'm not good at code digging, though...)
MWE:
\documentclass{article}
\usepackage[sups]{XCharter}
\begin{document}
\noindent
Some text\footnote{First}\textsuperscript{,}\footnote{Second}\\
Some text\footnote{Third}\textsu{,}\footnote{Fourth}
\end{document}
Spits out
[EDIT]
I've decided to raise the numbers typeset by \textsu
instead of lowering those set by \textsuperscript
, but keeping the nice superscript figures provided by XCharter
. I need this to work with
1) \textsu
itself; I've settled for
\usepackage{letltxmacro}
\LetLtxMacro\vecchiotextsu\textsu% see tex.stackexchange.com/questions/88001/when-to-use-letltxmacro
\renewcommand{\textsu}[1]
{\vecchiotextsu{\raisebox{0.28ex}{#1}}}
2) endnote
\renewcommand{\makeenmark}{\textsu{\theenmark}}
3) \footnote
\makeatletter
\renewcommand{\@makefnmark}
{\raisebox{0.28ex}{\sufigures \@thefnmark}}
\makeatother
So this basically answers my question.
\textsu
command chooses a variant of the Charter font, where the digits are superscripted, but no other character is.\raisebox
is the way...\newcommand*{\textsup}[1]{\raisebox{-1pt}{\textsuperscript{#1}}}
seems to do the job.