summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/t2/examples/example3.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/t2/examples/example3.tex')
-rw-r--r--macros/latex/contrib/t2/examples/example3.tex26
1 files changed, 26 insertions, 0 deletions
diff --git a/macros/latex/contrib/t2/examples/example3.tex b/macros/latex/contrib/t2/examples/example3.tex
new file mode 100644
index 0000000000..0bb1851f24
--- /dev/null
+++ b/macros/latex/contrib/t2/examples/example3.tex
@@ -0,0 +1,26 @@
+% This is the file example3.tex of the T2 package.
+
+% If you need to process a Plain TeX file, you may use a LaTeX `plain'
+% package by David Carlisle. You can get it from
+% CTAN:macros/latex/contrib/carlisle/plain.sty
+% In this case, you do not need any hacks with plainenc.tex to typeset
+% Cyrillic, and all the LaTeX power (including NFSS) is available. In
+% particular, `babel' package works out of the box, as well as inputenc.
+
+\documentclass{article}
+
+\usepackage[koi8-r]{inputenc}
+\usepackage[russian]{babel}
+\usepackage{plain}
+
+\begin{document}
+
+\begin{plain}
+
+\input{file} % Input a Plain TeX file.
+ % You may also type Plain TeX commands here
+ % directly, without \input'ing any file.
+
+\end{plain}
+
+\end{document}