O'Reilly logo

LaTeX Beginners Guide by Stefan Kottwitz

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action – experimenting with accents

We will write some words having letters with accents in Portuguese and in French.

  1. Create a new document:
    \documentclass{article}
    \begin{document}
    N\~{a}o compreendo. H\'{a} aqui algu\'{e}mque fale ingl\^{e}s?
    
    Comment \c{c}a va? O\`{u} se trouve l'a\'{e}roport?
    \end{document}
  2. Typeset to see the generated accents:
    Time for action – experimenting with accents

What just happened?

LaTeX provides some special commands to produce a variety of accents. They may be combined with any letter. Such a command consists of a backslash followed by one character. The accent will be put above or below the letter that has to follow in curly braces. The following table ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required