Texmaker and TeXstudioProblem with ~ and ´

Information and discussion about Texmaker, an integrated LaTeX environment for several platforms, and the related TeXstudio
Post Reply
jcmt_pico
Posts: 19
Joined: Fri Jun 18, 2010 12:39 am

Problem with ~ and ´

Post by jcmt_pico »

Hello there,
Every time I try to write a word containing a special character it fail.
For example if I try to write discussão it appear in this way discuss~ao (in the editor). I found a way of solving this, by write the word some where else and the paste to the editor...
Does anybody know how can I solve this.
Last edited by jcmt_pico on Thu Jul 22, 2010 1:02 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

meho_r
Posts: 823
Joined: Tue Aug 07, 2007 5:28 pm

Problem with ~ and ´

Post by meho_r »

In the Preamble:

Code: Select all

\usepackage[utf8]{inputenc}
And in future, please provide a minimal working example along with your question (read Board Rules).
User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Problem with ~ and ´

Post by gmedina »

Hi,

try this:

Code: Select all

\documentclass{article}

\begin{document}

discuss\~ao

\end{document}
Edit: or, as meho_r suggested:

Code: Select all

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}

\begin{document}

ã

\end{document}
If your editor doesn't support unicode, change utf8 to latin1.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
jcmt_pico
Posts: 19
Joined: Fri Jun 18, 2010 12:39 am

Re: Problem with ~ and ´

Post by jcmt_pico »

It's not about the packages...
I notice that when it happen if I simply go to the options/configure texmaker/editor and change the font encoding to the same that is selected iso-8859-15 it starts to work fine again

its wired but it works
Thank u all
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Problem with ~ and ´

Post by localghost »

Now that the problem is solved, please mark the topic accordingly as described in Section 3 of the Board Rules.


Best regards and welcome to the board
Thorsten
Post Reply