TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to create a command to automatically generate accented letters like è or é.

I tried:



but the result was "Undefined sequence".

Anyone know how to solve this problem?

share|improve this question
Welcome to LaTeX! You don't need to add thanks to your posts. Upvote answers you like, which is the TeX.SE way of saying thank you. – percusse Jul 26 '12 at 21:31

I think you may have a non-ascii character, ´, in the first \newcommand; hence, TeX doesn't recognize the control sequence and generates an error message. Just use an ordinary apostrophe instead: \'.

The following modified form of your code should do the job for you:


enter image description here

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.