latex - 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 文件的名称
解决方案
推荐阅读
- docker - Docker 构建未检测到 React 生产构建文件中的更改
- facebook - 无法使用 Graph API 查询 Instagram 用户
- php - 如何在数组中找到下一个较大的数字和下一个较小的数字
- javascript - 有人可以告诉我为什么我的变量在函数之外而不是在函数内部工作
- reactjs - React-router 将错误的组件与类似的匹配匹配
- python - 在具有 dna 序列的字典中查找重复次数最多的子字符串
- r - 使用 RSiena 测试从边缘列表创建网络对象失败
- json - 尝试在反应原生项目中使用 fetch 和钩子。Error => Invariant Violation:对象作为 React Child 无效
- python - 如何从 Elastic Search 中获取唯一分数搜索结果
- python - 取小样本之前或之后的 One-hot 编码?