Text FormattingAccents

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
sgourmelen
Posts: 3
Joined: Thu Aug 18, 2016 2:17 pm

Accents

Post by sgourmelen »

Hello,

I have the following problem :

1) The following script works :

\begin{document}
\'e
\end{document}

2) This one doesn't :

\begin{document}
\begin{enumerate}
\item
\'e
\end{enumerate}
\end{document}

! Argument of \T1\' has an extra }.
<inserted text>
\par
l.20 \'
e

3) This one works :

\begin{document}
\begin{enumerate}
\item
{\'e}
\end{enumerate}
\end{document}

Could you explain me why the 2nd script doesn't work ?

Thanks,
Stéphane

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
Ijon Tichy
Posts: 640
Joined: Mon Dec 24, 2018 10:12 am

Accents

Post by Ijon Tichy »

No problem here:

Code: Select all

\documentclass{article}
\begin{document}
\begin{enumerate}
\item
\'e
\end{enumerate}
\end{document}
So you should show us a Infominimal working example that shows the problem and mark the code correctly, so that we we (and you) can test (and edit) the example in the online editor.
Sorry, but I can no longer participate here as the administrator is trampling on my wishes on one of his other platforms. :cry:
Post Reply