7

When i type " é " directly with the appointed key, or use a key combination of "´ + e" (where I press the ´ first, the character doesn't show up, and then I pres e and the accent appears) it doesn't show in my pdf when i print for feedback.

i'm using TexMaker and have a AZERTY-keyboard (belgian). I've tried to look at a lot of answers already involving UTC8 and \inputenc but with UTC8 the document lay-out just looks horrible... and with inputenc I only get a lot of weird symbols instead of the accented character.

Any way i can fix this without using \´e?

1 Answers1

7

You can try to use this preamble:

% !TeX spellcheck = it
\documentclass[a4paper,11pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[italian]{babel}

Of course, you have to change [italian] and it if you use another language.

EDIT

As suggest by Bernard, if you do not use \usepackage[T1]{fontenc}:

  • Words containing accented characters can not be automatically hyphenated.
  • You can not properly copy/paste such words from the output (DVI/PS/PDF).
  • Characters like the pipe sign, less than and greater sign give unexpected results in text.

And the \usepackage{lmodern} implement the "Latin Modern" font. Try it and see the difference.