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 – using accents directly

We will modify the previous example daring to enter accented letters directly in the editor.

  1. Create a new document:
    \documentclass{article}
    \usepackage[utf8]{inputenc}
    \begin{document}
    Não compreendo. Há aqui alguém que fale inglês?
    
    Comment çava? Où se trouve l'aéroport?
    \end{document}
  2. Typeset and compare to the previous output:
    Time for action – using accents directly

What just happened?

We loaded the inputenc package. The option utf8 tells the package to use Unicode input encoding, which provides many more symbols than just the ASCII code. Now we just need to find the symbol on the keyboard and to type it.

TeXworks supports Unicode/UTF-8. Depending ...

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