File: example2.tex

package info (click to toggle)
texlive-lang 2016.20170123-5
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 1,093,148 kB
  • ctags: 15,901
  • sloc: perl: 46,074; xml: 29,603; makefile: 5,248; sh: 3,179; python: 2,949; ansic: 2,846; ruby: 945; lisp: 726; awk: 636; java: 159; sed: 142; cpp: 12
file content (25 lines) | stat: -rw-r--r-- 1,025 bytes parent folder | download | duplicates (33)
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