如何让参考书目中的字体统一,并修复一些bug?

如何让参考书目中的字体统一,并修复一些bug?

这是我第一次使用 latex 写论文,首先,我要感谢社区的大力帮助!我学到了一项很棒的技能!我拿回了我的论文,他们非常喜欢这种风格。然而,有一条评论说书目没有统一的字体(即 ISSN、DOI 和 URL)。我想知道是否有一种快速的方法可以强制书目使用统一的字体/大小。谢谢!

\documentclass[12pt, oneside]{book}
\usepackage{graphicx}
\usepackage[a4paper,margin=1in]{geometry}
\usepackage{pdflscape}
\usepackage{caption}
\usepackage{csquotes}
\captionsetup[figure]{labelfont=bf}
\graphicspath{{./Chapters/Figures/}}
\usepackage{wrapfig}

\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}

%Load math package
\usepackage{amsmath}

%Set up the headers
\usepackage{fancyhdr}
\pagestyle{fancy}
\setlength\headheight{14.5pt}
%Allows first indent and loads setspace package to be used in different documents.
\usepackage{indentfirst}
\usepackage{setspace}
\usepackage{url}

%Make cell space and scientific notation
\usepackage{longtable, cellspace, booktabs}
\setlength\cellspacetoplimit{4pt}
\setlength\cellspacebottomlimit{4pt}
\usepackage[table]{xcolor}
\usepackage{siunitx}
\sisetup{scientific-notation = true}


%Enables paragraph spacing. Saves the old indent value and restores it after loading the parskip package. Otherwise, you lose the indents. 
\edef\restoreparindent{\parindent=\the\parindent\relax}
\usepackage{parskip}
\restoreparindent

\usepackage[backend=biber,style=numeric,sorting=none]{biblatex}
\addbibresource{Chapters/references.bib}

\usepackage{cleveref}

\begin{document}


\frontmatter
\input{Chapters/titlePage.tex}
\setcounter{page}{2}

\chapter{Abstract}
\input{Chapters/Abstract.tex}

\chapter{Résumé}
\input{Chapters/Resume.tex}

\chapter{Acknowledgements}
\input{Chapters/Acknowledgment.tex}

\listoffigures
\listoftables

\tableofcontents

\mainmatter
\chapter{Introduction}
\input{Chapters/Introduction.tex}

\chapter{Methodology}
\input{Chapters/Methodology.tex}

\chapter{Results}
\input{Chapters/Results.tex}

\chapter{Discussion}
\input{Chapters/Discussion.tex}

\chapter{Conclusion}
\input{Chapters/Conclusion.tex}

\appendix
\chapter{Tables}
\input{Chapters/Tables.tex}

\singlespacing
\printbibliography[heading=bibintoc]

\end{document}

答案1

只需将其添加到您的序言中:

\def\UrlFont{\normalfont}

或任何你想要的字体(我可以建议古德语吗?)

相关内容