Biber 中的重音符号“í”有问题

Biber 中的重音符号“í”有问题

我通过这种方式阅读了有关在 Biber 中添加重音符号的帖子:

\{'a}

但这不适用于字母 i。我该怎么办?

答案1

正确的语法{\'a}{\'i}

\begin{filecontents*}{\jobname.bib}
@article{gh,
  author = {Gonzalo Higua{\'i}n},
  title = {How to score goals},
  journal = {Naples Journal of Soccer},
  year = 2016,
}
@article{mc,
  author = {M{\'a}rtin C{\'a}ceres},
  title = {How not to be scored goals},
  journal = {Hurr{\`a} Juventus},
  year = 2016,
}
\end{filecontents*}

\documentclass{article}

\usepackage{biblatex}

\addbibresource{\jobname.bib}

\begin{document}

\cite{gh} and \cite{mc}

\printbibliography

\end{document}

在此处输入图片描述

另一方面,可以使用 UTF-8 直接输入:

\begin{filecontents*}{\jobname.bib}
@article{gh,
  author = {Gonzalo Higuaín},
  title = {How to score goals},
  journal = {Naples Journal of Soccer},
  year = 2016,
}
@article{mc,
  author = {Mártin Cáceres},
  title = {How not to be scored goals},
  journal = {Hurrà Juventus},
  year = 2016,
}
\end{filecontents*}

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{biblatex}

\addbibresource{\jobname.bib}

\begin{document}

\cite{gh} and \cite{mc}

\printbibliography

\end{document}

相关内容