首页 > 解决方案 > LaTeX 参考书目文件中的变音符号

问题描述

我使用 Mendeley 来管理我的论文参考书目。我在那里添加所有论文,然后我让它创建一个文件 bibtex,然后在论文的写作中使用。我需要的引文之一是 Röthlisberger et al., 2000a,因为我知道如果我敢在 BibTeX 文件中简单地写 ö,LaTeX 会吓坏的,所以我编辑(在 Windows 上使用 .tex 编辑器)将条目设为

@article{Roth2000,
author = {Regine R{\"{o}}thlisberger and Manuel A. Hutterli and Stefan Sommer and Eric W. Wolff and Robert Mulvaney},
   doi = {10.1029/2000JD900264},
   issn = {01480227},
   issue = {D16},
   journal = {Journal of Geophysical Research: Atmospheres},
   month = {8},
   title = {Factors controlling nitrate in ice cores: Evidence from the Dome C deep ice core},
   volume = {105},
   year = {2000},
}

由于我使用的是 natbib (\usepackage[round]{natbib}),因此引用的过程应该非常简单,并且在文本中我使用 \citep{Roth2000} 在我需要的地方调用引用并且......它没有不工作。完全没有。我尝试了所有组合以在该名称中写下 ö,有多个括号,没有括号,仅在 o 上,所有这些。结果总是错误的

!Missing $ inserted. 
<inserted text>
$
l.19 R.~R<?>

<?>thlisberger, U...
?

这对我来说毫无意义。我试着环顾四周,我发现的每一个指南似乎都暗示......这就是你应该写它的方式。我错过了什么吗?

编辑:

我正在尝试制作的文件如下

\documentclass[b5paper,11pt,titlepage]{book}


\usepackage[english]{babel}
\usepackage[round]{natbib}                                  
\bibliographystyle{abbrvnat}
\usepackage[T1]{fontenc}                                        
\usepackage[applemac]{inputenc}                             


\title{Title}
\author{Raffaello Nardin}
\date {October 2021}



\begin{document}


\frontmatter

\tableofcontents

\mainmatter

\chapter{Introduction}
\thispagestyle{empty}
Lorem ipsum dolor sit amet \citep{Roth2000}

\bibliography{Ref}


\end{document}

Ref 是 BibTeX 文件的名称

标签: latexbibtex

解决方案


推荐阅读