TeX - LaTeX Asked on November 1, 2021
I have a font that offers real superiors and I want to make use of them for the footnote marks in beamer. So I thought I could just set the respective command for the beamer font of footnote mark
, but as you can see with this MWE:
documentclass{beamer}
usepackage{mintspirit}
begin{document}
begin{frame}
Testfootnote{my footnote}
setbeamerfont{footnote mark}{series=sufigures}
Testfootnote{my footnote}
Testsufigures 2
end{frame}
end{document}
It actually leads to a superior-superior number, because now the superior 2 is shrinked and moved upwards through the footnote command, see
and
respectively. What would be the way to tell beamer to use the superior figures for the footnote marks?
documentclass{beamer}
usepackage{mintspirit}
setbeamerfont{footnote mark}{series=sufigures}
makeatletter
% remove @textsuperscript from @makefnmark,
% which is redefined by beamer in beamerbaseframecomponents.sty
def@makefnmark{%
hbox{{usebeamercolor[fg]{footnote mark}usebeamerfont*{footnote mark}@thefnmark}}}
makeatother
begin{document}
begin{frame}
Test text superscript textsuperscript{0123456789} par
Test superiors number {sufigures 0123456789}
Test footnotefootnote{a}footnote{b}footnote{c}footnote{d}
end{frame}
end{document}
Answered by muzimuzhi Z on November 1, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP