Debian Codegraph @

texmf-dist/doc/latex/tikzfill/tikzfill.doc.sty

raw
1 % !TeX encoding=UTF-8
2 %% The LaTeX package tikzfill - version 1.2.0 (2026/04/23)
3 %% tikzfill-doc.sty: style file for the documentation
4 %%
5 %% -------------------------------------------------------------------------------------------
6 %% Copyright (c) 2022-2026 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de>
7 %% -------------------------------------------------------------------------------------------
8 %%
9 %% This work may be distributed and/or modified under the
10 %% conditions of the LaTeX Project Public License, either version 1.3
11 %% of this license or (at your option) any later version.
12 %% The latest version of this license is in
13 %% http://www.latex-project.org/lppl.txt
14 %% and version 1.3 or later is part of all distributions of LaTeX
15 %% version 2005/12/01 or later.
16 %%
17 %% This work has the LPPL maintenance status `author-maintained'.
18 %%
19 %% This work consists of all files listed in README.md
20 %%
21 \def\version{1.2.0}%
22 \def\datum{2026/04/23}%
23
24 \IfFileExists{tikzfill.doc.cfg}{\input{tikzfill.doc.cfg}}{}
25
26 \RequirePackage[T1]{fontenc}
27 \RequirePackage[utf8]{inputenc}
28 \RequirePackage[english]{babel}
29 \RequirePackage{lmodern,parskip,array,makeidx}
30 \RequirePackage{amsmath,amssymb}
31 \RequirePackage[svgnames,table]{xcolor}
32 \RequirePackage{tikz,siunitx,xfp,tabularray,opencolor,fontawesome7}
33 \usetikzlibrary{patterns,shadings,fadings}
34 \ifdefined\tikzfillpkgprefix
35 \RequirePackage{\tikzfillpkgprefix tikzfill}
36 \else
37 \RequirePackage{tikzfill}
38 \fi
39 \RequirePackage{varioref}
40 \RequirePackage[pdftex,bookmarks,raiselinks,pageanchor,hyperindex,colorlinks]{hyperref}
41 \urlstyle{sf}
42 \RequirePackage{cleveref}
43
44 \RequirePackage[a4paper,left=2.5cm,right=2.5cm,top=1.5cm,bottom=1.5cm,
45 marginparsep=3mm,marginparwidth=18mm,
46 headheight=0mm,headsep=0cm,
47 footskip=1.5cm,includeheadfoot]{geometry}
48 \RequirePackage{fancyhdr}
49 \fancyhf{}
50 \fancyfoot[C]{\thepage}%
51 \renewcommand{\headrulewidth}{0pt}
52 \renewcommand{\footrulewidth}{0pt}
53 \pagestyle{fancy}
54 \tolerance=2000%
55 \setlength{\emergencystretch}{20pt}%
56
57 \RequirePackage{longtable,booktabs,ifthen,etoolbox}
58
59 \RequirePackage{shortvrb}
60 \AtBeginDocument{\MakeShortVerb{\|}}
61
62 \RequirePackage{tcolorbox}
63 %\RequirePackage{minted2}
64 \tcbuselibrary{skins,minted,breakable,documentation,raster,hooks}
65
66 \RequirePackage{csquotes}
67
68 \definecolor{Green_Dark}{rgb}{0.078431,0.407843,0.176471}
69 \definecolor{Blue_Dark}{rgb}{0.090196,0.211765,0.364706}
70 \definecolor{Blue_Bright}{rgb}{0.858824,0.898039,0.945098}
71
72 \tcbset{skin=enhanced,
73 sbs/.style={sidebyside,before lower app={\tcbset{sidebyside=false}}},
74 minted options={fontsize=\footnotesize},
75 doc raster={raster before skip=4mm plus 2mm minus 1mm},
76 doc head={colback=yellow!10!white,interior style=fill},
77 doc head key={colback=magenta!5!white,interior style=fill},
78 color key=DarkViolet,
79 color value=Teal,
80 color color=Teal,
81 color counter=Orange!85!black,
82 color length=Orange!85!black,
83 index colorize,
84 index annotate,
85 beforeafter example/.style={
86 before skip balanced=4pt plus 2pt minus 1pt,
87 after skip balanced=6pt plus 2pt minus 1pt
88 },
89 docexample/.style={bicolor,
90 beforeafter example,
91 arc is angular,fonttitle=\bfseries,
92 fontlower=\footnotesize,
93 colframe=green!25!yellow!50!black,
94 colback=green!25!yellow!7,
95 colbacklower=white,
96 drop fuzzy shadow=green!25!yellow!50!black,
97 listing engine=minted,
98 documentation minted style=colorful,
99 documentation minted options={fontsize=\footnotesize},
100 },
101 }
102
103 \renewcommand*{\tcbdocnew}[1]{\textcolor{green!50!black}{\sffamily\bfseries N} #1}
104 \renewcommand*{\tcbdocupdated}[1]{\textcolor{blue!75!black}{\sffamily\bfseries U} #1}
105
106 \NewDocumentCommand{\csvsorter}{}{\textsf{\bfseries\color{red!20!black}CSV-Sorter}}
107
108 \newtcbinputlisting{\csvlisting}[1]{docexample,minted options={fontsize=\footnotesize},minted language=latex,
109 fonttitle=\bfseries,listing only,title={CSV file \flqq\texttt{\detokenize{#1.csv}}\frqq},listing file=#1.csv}
110
111 \newtcbinputlisting{\xmllisting}[1]{docexample,minted options={fontsize=\footnotesize},minted language=xml,
112 fonttitle=\bfseries,listing only,title={Configuration file \flqq\texttt{\detokenize{#1.xml}}\frqq},listing file=#1.xml}
113
114 \NewTotalTCBox{\verbbox}{m}{enhanced,on line,size=fbox,frame empty,colback=red!5!white,
115 colupper=red!85!black,fontupper=\bfseries\ttfamily}{\detokenize{"}#1\detokenize{"}}
116
117 \NewDocumentCommand{\ctanpkg}{m}
118 {%
119 \href{https://ctan.org/pkg/#1}{\texttt{#1}}%
120 }
121
122 \def\tikzname{Ti\emph{k}Z}
123
124 \tcbmakedocSubKey{docTikzKey}{tikz}
125 \tcbmakedocSubKeys{docTikzKeys}{tikz}
126 \tcbmakedocSubKey{docPatternKey}{pgf/pattern keys}
127 \tcbmakedocSubKeys{docPatternKeys}{pgf/pattern keys}
128 \tcbmakedocSubKey{docGeaKey}{tikz/geomarray}
129 \tcbmakedocSubKeys{docGeaKeys}{tikz/geomarray}
130
131
132 %\DeclareDocumentEnvironment{myvoid}{+b}{}{}
133 \DeclareDocumentEnvironment{myvoid}{}{}{}
134
135
136 \makeindex
137
138 \pdfsuppresswarningpagegroup=1