Referring to this thread: OldStyle Numbers in Body Text Only—Lining Numbers Otherwisem how can I instruct LuaLatex to use lining numbers for \textsuperscript and footnote markers if my font use by default old style numbers and hasn't super- sub-script figures built-in? Thank you
Addendum
This is a very basic MWE
\documentclass[a4paper,12pt]{book}
\usepackage{fontspec}
\usepackage[english]{babel}
\babelfont[english]{rm}[Ligatures=TeX,Numbers={Proportional,OldStyle}]{EBGaramond}
\usepackage[perpage,bottom,hang,stable,norule]{footmisc}
\renewcommand{\footnotemargin}{0.01em}
\renewcommand{\hangfootparskip}{0pt}
\renewcommand{\footnotelayout}{\hspace{1em}}
\begin{document}
text\textsuperscript{abdx 136}
text\footnote{footnote text}
\end{document}
The fact is that my font (which is a test version, not EBGaramond used for my MWE) has not superior and inferior numbers, so I can't use realscript
package
fontspec
package, and with which options and arguments you execute\setmainfont
.garamondx
had an option for real superiors and inferiors. They might work also with your font and with EB Garamond.