summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/t2/examples/example2.tex
blob: 2d3582bf88537489181f6e153136952f9d79134f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
% This is the file example2.tex of the T2 package.

\input plainenc        % Load support for inputenc mechanism

\fontencoding{T2A}     % Load the T2A encoding definition file (t2aenc.def)
                       % One can use also other font encodings, e.g. LCY.

\font\larm=larm1000    % Set the default font --- Cyrillic
\larm                  % T2A encoded Computer Modern font.
% Note, that if you use e.g. lh* fonts (which have both Latin and
% Cyrillic glyphs), it's better to load these fonts in plain.tex instead
% of standard Computer Modern fonts.  in this case you'll not need to
% specify font names in your documents explicitly.

\inputencoding{koi8-r} % Set current input encoding to koi8-r.
                       % See the file cyrlatex.ins for a complete
                       % list of available input encodings.

Here goes some text in a koi8-r input encoding.  .

\inputencoding{cp866}  % Set current input encoding to cp~866.

Here goes some text in a cp~866 input encoding. ஡ .

\bye