Debian Codegraph @

texmf-dist/tex/latex/smartdiagram/smartdiagram.sty

raw
1 %%
2 %% This is file `smartdiagram.sty',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% smartdiagram.dtx (with options: `package')
8 %% * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
9 %% smartdiagram --- Automatic creation of smart diagrams from lists of items.
10 %%
11 %% E-mail: claudio <dot> fiandrino <at> gmail <dot> com
12 %%
13 %% Released under the LaTeX Project Public License v1.3c or later
14 %% See http://www.latex-project.org/lppl.txt
15 %% * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
16 %%
17 \NeedsTeXFormat{LaTeX2e}
18 \ProvidesPackage{smartdiagram}[2016/12/23 v0.3b Automatic creation of smart diagrams from lists of items.]
19
20 \RequirePackage{tikz}
21
22 \RequirePackage{etoolbox}
23 \RequirePackage{xparse}
24 \RequirePackage{xstring}
25
26 \usetikzlibrary{backgrounds,
27 calc,
28 fadings,
29 shadows,
30 shapes.arrows,
31 shapes.symbols
32 }
33 \pgfdeclarelayer{smart diagram arrow back}
34 \pgfsetlayers{background,smart diagram arrow back,main}
35
36 \def\usesmartdiagramlibrary{\pgfutil@ifnextchar[{\use@smartdiagramlibrary}{\use@@smartdiagramlibrary}}%}
37 \def\use@smartdiagramlibrary[#1]{\use@@smartdiagramlibrary{#1}}
38 \def\use@@smartdiagramlibrary#1{%
39 \edef\pgf@list{#1}%
40 \pgfutil@for\pgf@temp:=\pgf@list\do{%
41 \expandafter\pgfkeys@spdef\expandafter\pgf@temp\expandafter{\pgf@temp}%
42 \ifx\pgf@temp\pgfutil@empty
43 \else
44 \expandafter\ifx\csname smartdiagram@library@\pgf@temp @loaded\endcsname\relax%
45 \expandafter\global\expandafter\let\csname smartdiagram@library@\pgf@temp @loaded\endcsname=\pgfutil@empty%
46 \expandafter\edef\csname smartdiagram@library@#1@atcode\endcsname{\the\catcode`\@}
47 \expandafter\edef\csname smartdiagram@library@#1@barcode\endcsname{\the\catcode`\|}
48 \catcode`\@=11
49 \catcode`\|=12
50 \pgfutil@InputIfFileExists{smartdiagramlibrary\[email protected]}{}{
51 \PackageError{smartdiagram}{I did not find the smartdiagram library '\pgf@temp'.}{}
52 }%
53 \catcode`\@=\csname smartdiagram@library@#1@atcode\endcsname
54 \catcode`\|=\csname smartdiagram@library@#1@barcode\endcsname
55 \fi%
56 \fi
57 }%
58 }
59
60 \usesmartdiagramlibrary{core.definitions}
61 \usesmartdiagramlibrary{core.styles}
62 \usesmartdiagramlibrary{core.commands}
63
64 %%
65 %% Copyright (C) 2012-2013 by Claudio Fiandrino
66 %% E-mail: <claudio <dot> fiandrino <at> gmail <dot> com>
67 %%
68 %% This work may be distributed and/or modified under the
69 %% conditions of the LaTeX Project Public License (LPPL), either
70 %% version 1.3c of this license or (at your option) any later
71 %% version. The latest version of this license is in the file:
72 %%
73 %% http://www.latex-project.org/lppl.txt
74 %%
75 %% This work is "maintained" (as per LPPL maintenance status) by
76 %% Claudio Fiandrino.
77 %%
78 %% This work consists of the file smartdiagram.dtx
79 %% and the derived files smartdiagram.ins,
80 %% smartdiagram.pdf,
81 %% smartdiagramlibrarycore.definitions.code.tex,
82 %% smartdiagramlibrarycore.styles.code.tex,
83 %% smartdiagramlibrarycore.commands.code.tex
84 %% smartdiagramlibraryadditions.code.tex and
85 %% smartdiagram.sty.
86 %%
87 %%
88 %% End of file `smartdiagram.sty'.