[Tex/LaTex] Directly input accents in TexStudio


Is it possible to input directly accents in TeXstudio, instead of the hard-to-read form \'a for á? What do I have to do to get this working?

In TexWorks, I can input the accented character directly in the editor and it will render correctly in the compiled pdf.

Best Answer

Yes, you can insert accents directly by keyboard in TeXstudio.

Note that, since TeXstudio is an editor which support a lot of font encoding you can type normally. No problem will appear until you compile your tex file.

During the compilation process those accented characters should be interpreted by the compiler. This could be done in general loading some specific packages.

If your tex file is UTF, load the package


If your tex file is ISO load


You can discover if it is UTF or ISO in the TeXstudio status bar.

Also, load


and probably you will have no problems.

\'a \'e \'i \'o \'u 

á é í ó ú

enter image description here

enter image description here