blob: b8b0984a72c9e43d6c0fca3cc7c88dc78b9dd637 (
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
|
% Copyright (c) 2022-2023 Thomas Kelkel kelkel@emaileon.de
% This file 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. The latest version of this license is in
% http://www.latex-project.org/lppl.txt
% and version 1.3c or later is part of all distributions of
% LaTeX version 2009/09/24 or later.
\ProvidesPackage{spacekern}[2023/07/08 v0.3 Kerning between words and against space]
\RequirePackage{ifluatex,luatexbase}
\ifluatex
\directlua{require ( "spacekern.lua" )}
\def\redef{true}
\DeclareOption{noiwkern}{\directlua{spacekern_no_iw_kern()}}
\DeclareOption{noredef}{\def\redef{false}}
\ProcessOptions
\def\semicolon{\nobreak\hspace{0em};}
\def\tmp{true}
\ifx\tmp\redef
\def\,{;;;}
\fi
\else
\errhelp{Compile with LuaLaTeX to be able to use the "spacekern" package.}
\errmessage{Package "spacekern" error: This package requires LuaLaTeX!}
\fi
|