![我怎样才能将“参考文献”变成无衬线字体](https://linux22.com/image/474019/%E6%88%91%E6%80%8E%E6%A0%B7%E6%89%8D%E8%83%BD%E5%B0%86%E2%80%9C%E5%8F%82%E8%80%83%E6%96%87%E7%8C%AE%E2%80%9D%E5%8F%98%E6%88%90%E6%97%A0%E8%A1%AC%E7%BA%BF%E5%AD%97%E4%BD%93.png)
这是我当前的代码:
\documentclass[11pt]{article}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amsthm}
\usepackage{amssymb}
\usepackage{bm}
\usepackage{color}
\usepackage[colorlinks]{hyperref}
\usepackage{geometry}
\usepackage{graphicx}
\usepackage{ulem}
\usepackage{siunitx}
\usepackage{xcolor}
\title{\textbf{\textsf{Title}}}
\author{\textbf{\textsf{Jiahao Wang}}}
\date{\textbf{\textsf{January 2024}}}
\geometry{a4paper,hmargin=1.25in,vmargin=1in,headheight=13.6pt}
\graphicspath{{Figures/}}
\setlength{\fboxrule}{1.6pt}
\pdfstringdefDisableCommands{\let \bm=\relax}
\begin{document}
\maketitle
\sffamily
%----------------------------------------------
%----------------------------------------------
\section*{\textsf{Section}}
Content \cite[Example 1.28]{GTM167}.
%----------------------------------------------
%----------------------------------------------
\newpage
\begin{thebibliography}{99}
\bibitem{GTM167} Morandi, P. (1996). \textit{Field and Galois theory} (\textit{Graduate Texts in Mathematics No. 167}). Springer-Verlag New York, Inc. \url{https://doi.org/10.1007/978-1-4612-4040-2}.
\end{thebibliography}
\end{document}
请注意,所有内容都使用无衬线字体书写。但是,“参考”部分使用罗马字体书写。我想更改它以保持一致性,可以这样做吗?
答案1
您只需
\renewcommand\familydefault{\sfdefault}
您可以从文件中删除\textsf
和。\sffamily
.tex