summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/tlc3-examples/example-sources/13-4-3.ltx
blob: 4a6ccaf6222e62af8b5042428d0d23b0cf966259 (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
%%
%% The LaTeX Companion, 3ed
%%
%% Example 13-4-3 on page II-331 in "The Greek alphabet".
%%
%% Copyright (C) 2022 Frank Mittelbach
%%
%% It may be distributed and/or modified under the conditions
%% of the LaTeX Project Public License, either version 1.3c
%% of this license or (at your option) any later version.
%%
%% See https://www.latex-project.org/lppl.txt for details.
%%

\documentclass{tlc3exa}
\pagestyle{empty}
\setcounter{page}{6}
\setlength\textwidth{351.0pt}
%StartShownPreambleCommands
%
  \usepackage[greek,english]{babel}
  \languageattribute{greek}{polutoniko}
  \usepackage{array,booktabs}
  \newcommand\GR{\selectlanguage{greek}}
  \setlength\parindent{0pt}
  \renewcommand\familydefault{cmr}

%StopShownPreambleCommands

\begin{document}
    \begin{tabular}{rlrl@{\kern-10pt}}
        \toprule
    \multicolumn1{c}{\itshape Input} &  \multicolumn1{c}{\itshape  Result}  &
    \multicolumn1{c}{\itshape Input} &  \multicolumn1{c}{\itshape  Result}  \\%[3pt]
    \midrule
    \verb='"i `"i '"u `"u= & \GR{'"i `"i '"u `"u} & & \\
    \verb=>`a >`e >`h >`i >`o >`u >`w= & \GR{>`a\,>`e\,>`h\,>`i\,>`o\,>`u\,>`w} &
      \verb=>`A >`E >`H >`I >`O >`U >`W= & \GR{>`A\,>`E\,>`H\,>`I\,>`O\,>`U\,>`W}\\
    \verb=>'a >'e >'h >'i >'o >'u >'w= & \GR{>'a\,>'e\,>'h\,>'i\,>'o\,>'u\,>'w} &
      \verb=>'A >'E >'H >'I >'O >'U >'W= & \GR{>'A\,>'E\,>'H\,>'I\,>'O\,>'U\,>'W}\\
    \verb=<`a <`e <`h <`i <`o <`u <`w= & \GR{<`a\,<`e\,<`h\,<`i\,<`o\,<`u\,<`w} &
      \verb=<`A <`E <`H <`I <`O <`U <`W= & \GR{<`A\,<`E\,<`H\,<`I\,<`O\,<`U\,<`W}\\
    \verb=<'a <'e <'h <'i <'o <'u <'w= & \GR{<'a\,<'e\,<'h\,<'i\,<'o\,<'u\,<'w} &
      \verb=<'A <'E <'H <'I <'O <'U <'W= & \GR{<'A\,<'E\,<'H\,<'I\,<'O\,<'U\,<'W}\\
    \verb=>~a >~h >~i >~u >~w= & \GR{>~a\,>~h\,>~i\,>~u\,>~w} &
      \verb=>~A >~H >~I >~U >~W= & \GR{>~A\,>~H\,>~I\,>~U\,>~W}\\
    \verb=<~a <~h <~i <~u <~w= & \GR{<~a\,<~h\,<~i\,<~u\,<~w} &
      \verb=<~A <~H <~I <~U <~W= & \GR{<~A\,<~H\,<~I\,<~U\,<~W}\\
    \bottomrule
    \end{tabular}
\end{document}