Debian Codegraph @

texmf-dist/doc/latex/sanitize-umlaut/sanitize-umlaut.doc.sty

raw
1 % !TeX root = sanitize-umlaut.tex
2 % include file (style) of sanitize-umlaut.tex (manual of the LaTeX package sanitize-umlaut)
3 \renewcommand*\l@subsection{\@dottedtocline{2}{1.5em}{2.7em}}
4 \renewcommand*\l@subsubsection{\@dottedtocline{3}{4.2em}{3.2em}}
5
6 \RequirePackage[T1]{fontenc}
7 \RequirePackage[utf8]{inputenc}
8 \RequirePackage[english]{babel}
9 \RequirePackage{lmodern,parskip,array}
10 \RequirePackage[svgnames,table]{xcolor}
11 \RequirePackage{tikz}
12 \RequirePackage{varioref}
13 \RequirePackage[pdftex,bookmarks,raiselinks,pageanchor,hyperindex=false,colorlinks]{hyperref}
14 \RequirePackage{varwidth,cleveref,incgraph}
15
16 \RequirePackage[a4paper,left=2.5cm,right=2.5cm,top=1.5cm,bottom=1.5cm,
17 marginparsep=3mm,marginparwidth=18mm,
18 headheight=0mm,headsep=0cm,
19 footskip=1.5cm,includeheadfoot%,showframe
20 ]{geometry}
21 \RequirePackage{fancyhdr}
22 \fancyhf{}
23 \fancyfoot[C]{\thepage}%
24 \renewcommand{\headrulewidth}{0pt}
25 \renewcommand{\footrulewidth}{0pt}
26 \pagestyle{fancy}
27 \tolerance=2000%
28 \setlength{\emergencystretch}{20pt}%
29
30 \RequirePackage{array,tabularx,booktabs}
31 \RequirePackage{lipsum}
32 \RequirePackage[extendedchars,encoding,filenameencoding=utf-8]{grffile}
33
34 \RequirePackage{minted2}% minted currently broken with Python 3.14
35 \RequirePackage{tcolorbox}
36
37 \tcbuselibrary{skins,xparse,minted,breakable,documentation,raster}
38
39 \definecolor{Green_Dark}{rgb}{0.078431,0.407843,0.176471}
40 \definecolor{Blue_Dark}{rgb}{0.090196,0.211765,0.364706}
41 \definecolor{Blue_Bright}{rgb}{0.858824,0.898039,0.945098}
42
43
44 \tcbset{skin=enhanced,
45 doc head={colback=yellow!10!white,interior style=fill},
46 doc head key={colback=magenta!5!white,interior style=fill},
47 color key=DarkViolet,
48 color value=Teal,
49 color color=Teal,
50 color counter=Orange!85!black,
51 color length=Orange!85!black,
52 index colorize,
53 index annotate,
54 beforeafter example/.style={
55 before skip=4pt plus 2pt minus 1pt,
56 after skip=8pt plus 4pt minus 2pt
57 },
58 docexample/.style={bicolor,
59 beforeafter example,
60 arc is angular,fonttitle=\bfseries,
61 fontlower=\footnotesize,
62 colframe=Blue_Dark,
63 colback=Blue_Bright!25,
64 colbacklower=white,
65 drop fuzzy shadow,
66 listing engine=minted,
67 documentation minted style=colorful,
68 },
69 }
70 \urlstyle{sf}
71
72 \newtcblisting{fullexample}[1]{docexample,minted style=colorful,
73 listing and comment,pdf comment,freeze pdf,compilable listing,#1}
74
75 \DeclareTotalTCBox{\myverb}{ O{} v }{tile,fontupper=\ttfamily,nobeforeafter,
76 tcbox raise base,boxsep=0.5mm,top=0pt,bottom=0pt,left=0pt,right=0pt,boxrule=0.3mm,
77 colback=yellow!10,
78 borderline horizontal={0.3mm}{0pt}{red!50},
79 #1}{#2}
80
81
82 % patch for tcolorbox older than 3.92
83 \tcbset{
84 compilable listing/.style={listing file={\jobname-listing-\thetcblistingcount.tex}},
85 }