summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/fonts/cantarell/cantarell-samples.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/fonts/cantarell/cantarell-samples.tex')
-rw-r--r--Master/texmf-dist/doc/fonts/cantarell/cantarell-samples.tex16
1 files changed, 13 insertions, 3 deletions
diff --git a/Master/texmf-dist/doc/fonts/cantarell/cantarell-samples.tex b/Master/texmf-dist/doc/fonts/cantarell/cantarell-samples.tex
index 09df5112a7c..c245267eb95 100644
--- a/Master/texmf-dist/doc/fonts/cantarell/cantarell-samples.tex
+++ b/Master/texmf-dist/doc/fonts/cantarell/cantarell-samples.tex
@@ -1,5 +1,5 @@
%% cantarell-samples.tex
-%% Copyright 2011 Mohamed El Morabity
+%% Copyright 2011, 2012 Mohamed El Morabity
%
% This work may be distributed and/or modified under the conditions of the LaTeX
% Project Public License, either version 1.3 of this license or (at your option)
@@ -15,9 +15,9 @@
\documentclass{article}
-\usepackage[francais,american]{babel}
+\usepackage[russian,francais,american]{babel}
\usepackage{cantarell}
-\usepackage[T1,OT1]{fontenc}
+\usepackage[T2A,T1,OT1]{fontenc}
\usepackage[utf8x]{inputenc}
\usepackage{microtype}
\usepackage{textcomp}
@@ -30,6 +30,14 @@
}%
}
+\newcommand{\cyrillicSample}{%
+ \foreignlanguage{russian}{%
+ Все люди рождаются свободными и равными в своем достоинстве и правах. Они
+ наделены разумом и совестью и должны поступать в отношении друг друга в духе
+ братства.%
+ }%
+}
+
\newcommand{\miscSample}{%
0123456789 ff fi fl ffi ffl \textperthousand{} \textcopyright{}
\textregistered{} \texttrademark{} \texteuro{} \textsterling{} \textyen%
@@ -38,6 +46,8 @@
\newcommand{\fontSample}[2]{%
{\usefont{T1}{fca}{#1}{#2} \latinSample}
+ {\usefont{T2A}{fca}{#1}{#2}\cyrillicSample}
+
{\fontfamily{fca}\fontseries{#1}\fontshape{#2}\selectfont\miscSample}\\%
}