Debian Codegraph @

texmf-dist/tex/lualatex/showkerning/showkerning.sty

raw
1 % Copyright (c) 2022-2023 Thomas Kelkel [email protected]
2
3 % This file may be distributed and/or modified under the
4 % conditions of the LaTeX Project Public License, either
5 % version 1.3c of this license or (at your option) any later
6 % version. The latest version of this license is in
7
8 % http://www.latex-project.org/lppl.txt
9
10 % and version 1.3c or later is part of all distributions of
11 % LaTeX version 2009/09/24 or later.
12
13 \ProvidesPackage{showkerning}[2023/07/08 v0.3 Showing kerns in a document]
14 \RequirePackage{ifluatex,luatexbase}
15
16 \ifluatex
17 \directlua{require ( "showkerning.lua" )}
18
19 \DeclareOption{ontop}{\directlua{showkerning_on_top()}}
20 \ProcessOptions
21 \else
22 \errhelp{Compile with LuaLaTeX to be able to use the "showkerning" package.}
23 \errmessage{Package "showkerning" error: This package requires LuaLaTeX!}
24 \fi