[texhax] texhax Digest, Vol 2010, Issue 216

leoncio leonclarobr at yahoo.com.br
Tue Jun 1 13:22:06 CEST 2010


Dear Vladimir Lomov and Nadia
 
Thank you for the question and answeer that helped me too.
 
Regards
 
Leoncio

--- Em sex, 28/5/10, texhax-request at tug.org <texhax-request at tug.org> escreveu:


De: texhax-request at tug.org <texhax-request at tug.org>
Assunto: texhax Digest, Vol 2010, Issue 216
Para: texhax at tug.org
Data: Sexta-feira, 28 de Maio de 2010, 7:00


Send texhax mailing list submissions to
    texhax at tug.org

To subscribe or unsubscribe via the World Wide Web, visit
    http://tug.org/mailman/listinfo/texhax
or, via email, send a message with subject or body 'help' to
    texhax-request at tug.org

You can reach the person managing the list at
    texhax-owner at tug.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of texhax digest..."


Today's Topics:

   1. Re: cyrillic in latex (Vladimir Lomov)


----------------------------------------------------------------------

Message: 1
Date: Fri, 28 May 2010 14:49:42 +0900
From: Vladimir Lomov <lomov.vl at gmail.com>
To: General TeX discussion and questions <texhax at tug.org>
Subject: Re: [texhax] cyrillic in latex
Message-ID: <20100528054942.GE17026 at smoon2>
Content-Type: text/plain; charset=utf-8

** Oleg Parashchenko [2010-05-27 01:52:34 +0200]:

> Hello,

> On Wed, 26 May 2010 15:11:15 -0400
> Zbigniew Nitecki <zbigniew.nitecki at tufts.edu> wrote:

>> I am not new to latex as such, but I am new to the world of installing
>> fonts and so on. I want to insert a line or two of cyrillic (the
>> Russian title of a translation of a book of mine) in a vita being
>> prepared in curve.  Looking at the various articles on cyrillic in
>> latex, I came to the conclusion that what I needed to do was to insert
>> in my main file the lines

>>> \usepackage[koi8-r]{inputenc}
>>> \usepackage[russian, english]{babel}

> I don't know if my approach works with babel, but it works without any
> additional setup in my TeX Live installation:

> \documentclass{article}
> \usepackage[utf8]{inputenc}
> \usepackage[T2A,T1]{fontenc}
> \begin{document}
> Piece {\fontencoding{T2A}\selectfont ????} May.
> \end{document}

And this approach will work with sectioning commands (section, chapter
etc).

<example>

\documentclass{article}

\usepackage[T2A,T1]{fontenc}
\usepackage[utf8]{inptenc}           %%% Only if you will insert Russian letters
                                     %%% in UTF-8 encoding.
\newcommand{\Russian}[1]{%           %%% Please note that this command defined in
  {\fontencoding{T2A}\selectfont#1}  %%% babel already
}

\begin{document}

\section{This section shows how to use \Russian{??????? ?????}}

This is a \Russian{????}.
\end{document}

</example>

You need babel package only if you want some part of your book to be
typeset on Russian exclusively (russian words are hyphenated, sectioning
commands, table and figure environments have appropriate prefixes on
Russian).

-- 
Nadia Comaneci, simple perfection.
        -- '76 Olympics


------------------------------

_______________________________________________
texhax mailing list
texhax at tug.org
http://tug.org/mailman/listinfo/texhax

End of texhax Digest, Vol 2010, Issue 216
*****************************************



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texhax/attachments/20100601/b710f1cb/attachment.html>


More information about the texhax mailing list