-
Notifications
You must be signed in to change notification settings - Fork 6
/
selnolig-german-test.tex
61 lines (51 loc) · 1.61 KB
/
selnolig-german-test.tex
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: 2019/08/01
% 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\\ (Package version: \selnoligpackageversion; \selnoligpackagedate)}
\author{\null}
\date{}
\begin{document}
%\gpp
\maketitle
\begin{tabular}{@{} *{9}{l} }
Erscheinungsbild der f-Ligaturen
&ff &fi &fl &ffi &ffl &ft & \uselig{fj} &\uselig{fk}\\
Beispiele
&Affe &finden &flink &offiziell &soufflieren & Luft & Sognefjord &Kafka\\
\end{tabular}
\bigskip
\begin{multicols}{2}
\input selnolig-german-wordlist
\end{multicols}
\end{document}