-
Notifications
You must be signed in to change notification settings - Fork 2
/
nodetree.sty
54 lines (54 loc) · 1.69 KB
/
nodetree.sty
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
%%
%% This is file `nodetree.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% nodetree.dtx (with options: `package')
%%
%% This is a generated file.
%%
%% Copyright (C) 2016-2024 by Josef Friedrich <[email protected]>
%% ----------------------------------------------------------------------
%% This work 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 2008/05/05 or later.
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{nodetree}
[2024/09/17 v2.4.0 Visualize node lists in a tree view]
\input{nodetree}
\RequirePackage{kvoptions}
\SetupKeyvalOptions{
family=NT,
prefix=NTK@
}
\DeclareStringOption[term]{channel}
\define@key{NT}{channel}[]{\NodetreeSetOption[channel]{#1}}
\DeclareStringOption[postlinebreak]{callback}
\define@key{NT}{callback}[]{\NodetreeSetOption[callback]{#1}}
\DeclareStringOption[0]{verbosity}
\define@key{NT}{verbosity}[]{\NodetreeSetOption[verbosity]{#1}}
\DeclareStringOption[colored]{color}
\define@key{NT}{color}[]{\NodetreeSetOption[color]{#1}}
\DeclareStringOption[1]{unit}
\define@key{NT}{unit}[]{\NodetreeSetOption[unit]{#1}}
\DeclareStringOption[1]{decimalplaces}
\define@key{NT}{decimalplaces}[]{\NodetreeSetOption[decimalplaces]{#1}}
\ProcessKeyvalOptions{NT}
\directlua{
nodetree.register_callbacks()
}
\newcommand{\NodetreeSet}[1]{%
\setkeys{NT}{#1}%
}
\let\nodetreeset\NodetreeSet
\endinput
%%
%% End of file `nodetree.sty'.