summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/substitutefont/test-cyrillic.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/substitutefont/test-cyrillic.tex')
-rw-r--r--Master/texmf-dist/doc/latex/substitutefont/test-cyrillic.tex53
1 files changed, 53 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/substitutefont/test-cyrillic.tex b/Master/texmf-dist/doc/latex/substitutefont/test-cyrillic.tex
new file mode 100644
index 00000000000..81cfcafa681
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/substitutefont/test-cyrillic.tex
@@ -0,0 +1,53 @@
+\documentclass[a4paper,russian]{scrartcl}
+% generated by Docutils <http://docutils.sourceforge.net/>
+\usepackage{fixltx2e} % LaTeX patches, \textsubscript
+\usepackage{cmap} % fix search and cut-and-paste in Acrobat
+\usepackage{substitutefont}
+\usepackage[T1,T2A]{fontenc}
+\usepackage[utf8]{inputenc}
+\usepackage[english,russian]{babel}
+
+% PDF Standard Fonts
+\usepackage{tgtermes}
+\usepackage[scale=.90]{tgheros}
+\usepackage[matchuppercase]{tgcursor}
+
+% Cyrillic with "Freefonts"
+\substitutefont{T2A}{qtm}{ftm}
+\substitutefont{T2A}{qhv}{fhv}
+\substitutefont{T2A}{qcr}{fcr}
+
+% hyperlinks:
+\usepackage[colorlinks=true,linkcolor=blue,urlcolor=blue]{hyperref}
+
+\begin{document}
+
+TeX-compatible Cyrillic extensions to the URW standard Postscript fonts by
+Valek Filippov were part of TeXGyre but removed due to license
+incompatibility. On Debian, they are still available in the package
+\emph{scalable-cyrfonts-tex}.
+
+% Attention: there is a font name clash with the \emph{fouriernc} package, as
+% both use \texttt{fnc} for \emph{Free/Fourier New Century Schoolbook}.
+
+\section*{Заголовок%
+ \phantomsection%
+ \addcontentsline{toc}{section}{Заголовок}%
+ \label{id1}%
+}
+
+первый пример: \glqq{}Здравствуй, мир!\grqq{}
+
+\texttt{"Здравствуй, мир!"}
+
+\section*{Title%
+ \phantomsection%
+ \addcontentsline{toc}{section}{Title}%
+ \label{title}%
+}
+
+\otherlanguage{english}{first example: \glqq{}Hello world!\grqq{}.
+
+\texttt{"Hello world!\glqq}
+
+\end{document}