File: example2.tex

package info (click to toggle)
scalable-cyrfonts 4.10-0.1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 5,804 kB
  • ctags: 65
  • sloc: awk: 639; sh: 401; makefile: 276; perl: 239; sed: 138; ansic: 35
file content (25 lines) | stat: -rw-r--r-- 1,025 bytes parent folder | download | duplicates (35)
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