summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/lualatex/selnolig/selnolig-german-test.tex
blob: da4027136ae464b9c69c9836fb09a17d2a72742e (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
% !TEX TS-program = lualatex
\documentclass[ngerman]{article}

% Test program: Apply the 'selnolig' package, with
% 'german' language option set, to a list of German words
% which contain one or more non-ligation points. The list 
% of test words is in 'selnolig-german-wordlist.tex'.
%
% Author: Mico Loretan (loretan dot mico at gmail dot com)
% Date: 2013/05/25

% Check first that we're running lua(la)tex.
\usepackage{ifluatex}
\ifluatex\else
  \typeout{==============================================}
  \typeout{  The file selnolig-german-test.tex must be   }
  \typeout{compiled using LuaLaTeX. Exiting immediately. }
  \typeout{==============================================}
  \endinput
\fi

\usepackage[vmargin=1in,hmargin=0.75in]{geometry}

\usepackage{fontspec}
\defaultfontfeatures{%
   Ligatures={TeX,Common},
   Numbers  = OldStyle}
\setmainfont{EB Garamond 12 Regular}
\newfontfamily\gpp{Garamond Premier Pro}
\newfontfamily\ebg{EB Garamond 12 Regular}

\usepackage[document]{ragged2e}
\setlength\parindent{0pt}
\parskip=0.3\baselineskip

\usepackage{babel}
\usepackage{selnolig}

\usepackage{showhyphens}
\usepackage{multicol}
  \setlength\columnseprule{.4pt}
\title{selnolig-german-test}
\author{\null}
\date{}
\begin{document}
\gpp
\maketitle

\begin{tabular}{@{} *{9}{l} }
Erscheinungsbild der f-Ligaturen
   &ff &fi &fl &ffi &ffl &ft & \mbox{fj} &\mbox{fk}\\
Beispiele
   &Affe &finden &flink &offiziell &soufflieren & Luft & Sognefjord &Kafka\\
\end{tabular}

\bigskip

\begin{multicols}{2}
\input selnolig-german-wordlist
\end{multicols}
\end{document}