
Wenn ich die Schriftart Roboto verwende, ist die Nummerierung der Bibliographie nicht gleich groß: anhand dieses Minimalbeispiels
\documentclass{article}
\usepackage[backend=bibtex,style=ieee, sorting=none]{biblatex}
\usepackage[sfdefault]{roboto}
\begin{filecontents*}{./example.bib}
@article{nice,
author={B. C. Dull},
title={All functions are {$C^{\infty}$}},
journal={J. False Results},
year={2033},
}
@article{nice2,
author={B. C. Dull},
title={All functions are {$C^{\infty}$}},
journal={J. False Results},
year={2033},
}
\end{filecontents*}
\addbibresource{example.bib}
\begin{document}
Test~\cite{nice,nice2}.
\printbibliography
\end{document}
Die Ausgabe sieht ungefähr so aus:
Wie kann ich sie gleich groß machen?
Antwort1
Sie können überall tabellarische Zahlen verwenden. Dies ist möglich, indem Sie das roboto
Paket mit der tabular
folgenden Option laden:
\usepackage[sfdefault,tabular]{roboto}
Oder Sie können die Art der Nummern nur für die Beschriftungen in der Bibliographie ändern, indem Sie nach dem Laden Folgendes hinzufügen biblatex
:
Fürpdflatex
\DeclareFieldFormat{labelnumber}{%
\ifbibliography
{\fontfamily{Roboto-TLF}\selectfont}
{}#1}
Für xelatex
oderlualatex
\DeclareFieldFormat{labelnumber}{%
\ifbibliography
{\addfontfeatures{Numbers=Monospaced}}
{}#1}