2

I read the posts about adding accents in Biber this way:

\{'a}

but this is not working with the letter i. What can I do?

8
  • Just input it directly should help.
    – Johannes_B
    Commented Feb 25, 2016 at 18:25
  • I get this : Package inputenc Error: Unicode char ́ (U+301)
    – Abellan
    Commented Feb 25, 2016 at 18:26
  • Can you make a small compilable example for us? I am not sure if biber is causing this or your input is strange. Starting point: Placing an accent on an i will never give you an í.
    – Johannes_B
    Commented Feb 25, 2016 at 18:29
  • Are you sure the input is saved as utf8?
    – daleif
    Commented Feb 25, 2016 at 18:35
  • 2
    It should be {\'a}, not \{'a} and similarly for i: {\'i}
    – egreg
    Commented Feb 25, 2016 at 18:36

1 Answer 1

3

The correct syntax is {\'a} and {\'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}

enter image description here

On the other hand, direct input is possible by using 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}
1
  • Is the {\'i} syntax specific to bibliographies? I was familiar with \'\i, but it appears that the dotless i \i doesn't work here, even when wrapped in curly brackets.
    – PatrickT
    Commented Jul 3, 2018 at 17:08

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .