File: example2.tex

package info (click to toggle)
tetex-src 3.0.dfsg.2-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 122,292 kB
  • ctags: 2,709
  • sloc: makefile: 2,323; perl: 1,820; sh: 1,378; lisp: 448; python: 335; xml: 175; sed: 138; ansic: 138; yacc: 52
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