summaryrefslogtreecommitdiff
path: root/fonts/lm/doc/fonts/lm/tstlmt1.tex
blob: b6a8e4f327b107592e017a203fc4e823c64db23e (plain)
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
% This file belongs to the Latin Modern package. The work is released under
% the GUST Font License. See the MANIFEST-Latin-Modern.txt and
% README-Latin-Modern.txt files for the details. For the most recent version of
% this license see http://www.gust.org.pl/fonts/licenses/GUST-FONT-LICENSE.txt
% or http://tug.org/fonts/licenses/GUST-FONT-LICENSE.txt

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[latin2]{inputenc}
\usepackage{lmodern}

\newcommand*{\tekst}{Za¿ó³æ gê¶l± ja¼ñ.}
\makeatletter
\newcommand*{\test}[3]{{%
  #1\fontseries{#2}\fontshape{#3}\selectfont
  \edef\opis{\f@encoding/\f@family/\f@series/\f@shape/\f@size:}%
  \noindent\hbox to3.5cm{\small\usefont{OT1}{lmtt}{m}{n}\opis\hfil}%
  \tekst\par
}}

\newcommand*{\testsize}{%
  \test{\rmfamily}{m}{n}
  \test{\rmfamily}{m}{sl}
  \test{\rmfamily}{m}{it}
  \test{\rmfamily}{m}{sc}
  \test{\rmfamily}{m}{scsl}
  \test{\rmfamily}{b}{n}
  \test{\rmfamily}{b}{sl}
  \test{\rmfamily}{bx}{n}
  \test{\rmfamily}{bx}{it}
  \test{\rmfamily}{bx}{sl}
  \test{\sffamily}{m}{n}
%  \test{\sffamily}{m}{it}
  \test{\sffamily}{m}{sl}
%  \test{\sffamily}{m}{sc}
  \test{\sffamily}{sbc}{n}
%  \test{\sffamily}{sbc}{it}
  \test{\sffamily}{sbc}{sl}
  \test{\sffamily}{bx}{n}
%  \test{\sffamily}{bx}{it}
  \test{\sffamily}{bx}{sl}
  \test{\ttfamily}{m}{n}
  \test{\ttfamily}{m}{it}
  \test{\ttfamily}{m}{sl}
  \test{\ttfamily}{m}{sc}
  \test{\ttfamily}{lc}{n}
  \test{\ttfamily}{lc}{sl}
  \test{\ttfamily}{l}{n}
  \test{\ttfamily}{l}{sl}
  \test{\ttfamily}{b}{n}
  \test{\ttfamily}{b}{sl}
% \test{\ttfamily}{bx}{n}
% \test{\ttfamily}{bx}{it}
% \test{\ttfamily}{bx}{sl}
% \test{\ttfamily}{bx}{sc}
  \test{\fontfamily{lmvtt}}{m}{n}
  \test{\fontfamily{lmvtt}}{m}{sl}
  \test{\fontfamily{lmvtt}}{l}{n}
  \test{\fontfamily{lmvtt}}{l}{sl}
  \test{\fontfamily{lmvtt}}{b}{n}
  \test{\fontfamily{lmvtt}}{b}{sl}
  \test{\fontfamily{lmssq}}{m}{n}
  \test{\fontfamily{lmssq}}{m}{sl}
  \test{\fontfamily{lmssq}}{bx}{n}
  \test{\fontfamily{lmssq}}{bx}{sl}
  \medskip
}


\begin{document}

\tiny\testsize
\scriptsize\testsize
\footnotesize\testsize
\small\testsize
\normalsize\testsize
\large\testsize
\Large\testsize
\LARGE\testsize
\huge\testsize
\Huge\testsize

\end{document}

%%% Local Variables: 
%%% mode: latex
%%% TeX-master: t
%%% End: