GeneralRomanian characters

General information and discussion about TeXnicCenter
Post Reply
alexdw
Posts: 2
Joined: Tue Jun 08, 2010 3:05 pm

Romanian characters

Post by alexdw »

Hi, I am new to the whole LaTeX thing.

I installed MikTex under Windows, and I use TeXnicCenter as an editor.

My problem is, as I am from Romania, that i was unable to generate a pdf file with romanian characters (ă î â ş ţ). I modified the editor to accept utf8 input so i could right in the editor these characters but when i generate the output file i get no characters.

This is a simple example I would like to get working:

Code: Select all

\documentclass[a4paper,11pt]{article}
\begin{document}
Ă Î Â Ş Ţ 
ă î â ş ţ
\end{document}
I know that using only this i get a message in the log files that character ă not found in cmr12, so i changed the font encoding using in the preamble
\usepackage[utf8]{fontenc}
but this did not solve my problem.

What must I do to get the desired effect in the pdf file?

Thank You!

Recommended reading 2024:

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

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

User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Romanian characters

Post by gmedina »

Hi,

try

Code: Select all

\documentclass[a4paper,11pt]{article}
\usepackage[utf8]{inputenc}

\begin{document}
Ă Î Â Ş Ţ 
ă î â ş ţ
\end{document}
It works if your editor has unicode support.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
alexdw
Posts: 2
Joined: Tue Jun 08, 2010 3:05 pm

Re: Romanian characters

Post by alexdw »

Thank you for your reply!

But I have tried that before posting in the forum, without success. From what I understand, correct me if I am wrong, \usepackage[utf8]{inputenc} is the encoding of the characters used for the input of the .tex file, not for the output (the .pdf or .dvi files) for which i used \usepackage[utf8]{fontenc} but, again, without any success. I can write in my tex editor with Romanian characters, but I cannot see them in the final result.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: Romanian characters

Post by localghost »

TXC1 RC1 can't handle unicode. This feature has found its way only now into the current alpha version of TXC2.


Best regards and welcome to the board
Thorsten
Post Reply