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

NEW: TikZ book now 40% off at Amazon.com for a short time.

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