| 1 |
% !TeX root = mercatormap.tex |
| 2 |
% include file (style) of mercatormap.tex (manual of the LaTeX package mercatormap) |
| 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[english]{babel} |
| 8 |
\RequirePackage{lmodern,parskip,array} |
| 9 |
\RequirePackage{microtype} |
| 10 |
\microtypesetup{nopatch=footnote} |
| 11 |
\RequirePackage[svgnames,table]{xcolor} |
| 12 |
\RequirePackage{tikz} |
| 13 |
\RequirePackage{varioref} |
| 14 |
\RequirePackage[makeindex]{imakeidx} |
| 15 |
\RequirePackage[bookmarks,raiselinks,pageanchor,hyperindex,colorlinks]{hyperref} |
| 16 |
\RequirePackage{varwidth,cleveref,incgraph} |
| 17 |
|
| 18 |
\RequirePackage[a4paper,left=2.5cm,right=2.5cm,top=1.5cm,bottom=1.5cm, |
| 19 |
marginparsep=3mm,marginparwidth=18mm, |
| 20 |
headheight=0mm,headsep=0cm, |
| 21 |
footskip=1.5cm,includeheadfoot%,showframe |
| 22 |
]{geometry} |
| 23 |
\RequirePackage{fancyhdr} |
| 24 |
\fancyhf{} |
| 25 |
\fancyfoot[C]{\thepage}% |
| 26 |
\renewcommand{\headrulewidth}{0pt} |
| 27 |
\renewcommand{\footrulewidth}{0pt} |
| 28 |
\pagestyle{fancy} |
| 29 |
\tolerance=2000% |
| 30 |
\setlength{\emergencystretch}{20pt}% |
| 31 |
|
| 32 |
\RequirePackage{array,tabularx,booktabs} |
| 33 |
\RequirePackage{lipsum} |
| 34 |
\RequirePackage[extendedchars,encoding,filenameencoding=utf-8]{grffile} |
| 35 |
\RequirePackage{xfp} |
| 36 |
|
| 37 |
\RequirePackage{minted2}% minted currently broken with Python 3.14 |
| 38 |
\RequirePackage{tcolorbox} |
| 39 |
\tcbuselibrary{skins,minted,breakable,documentation,raster} |
| 40 |
|
| 41 |
\providecommand\mrcpkgprefix{} |
| 42 |
\RequirePackage{\mrcpkgprefix mercatormap} |
| 43 |
\IfFileExists{../private/privatekeys.tex}{\input{../private/privatekeys.tex}}{} |
| 44 |
|
| 45 |
\RequirePackage{fontawesome7} |
| 46 |
|
| 47 |
\RequirePackage{csquotes} |
| 48 |
\RequirePackage[%style=authoryear, |
| 49 |
style=numeric-comp, |
| 50 |
sorting=nyt,urldate=long, |
| 51 |
maxnames=8,minnames=8,abbreviate=false,backend=biber]{biblatex} |
| 52 |
\DeclareFieldFormat{url}{\newline\url{#1}}% |
| 53 |
\DeclareListFormat{language}{}% |
| 54 |
\setlength{\bibitemsep}{\smallskipamount} |
| 55 |
|
| 56 |
|
| 57 |
\definecolor{Green_Dark}{rgb}{0.078431,0.407843,0.176471} |
| 58 |
\definecolor{Blue_Dark}{rgb}{0.090196,0.211765,0.364706} |
| 59 |
\definecolor{Blue_Bright}{rgb}{0.858824,0.898039,0.945098} |
| 60 |
|
| 61 |
\colorlet{Blue_Gray}{blue!50!gray} |
| 62 |
|
| 63 |
\tcbset{skin=enhanced, |
| 64 |
doc head={colback=yellow!10!white,interior style=fill}, |
| 65 |
doc head key={colback=magenta!5!white,interior style=fill}, |
| 66 |
color key=DarkViolet, |
| 67 |
color value=Teal, |
| 68 |
color color=Teal, |
| 69 |
color counter=Orange!85!black, |
| 70 |
color length=Orange!85!black, |
| 71 |
index colorize, |
| 72 |
index annotate, |
| 73 |
beforeafter example/.style={ |
| 74 |
before skip=4pt plus 2pt minus 1pt, |
| 75 |
after skip=8pt plus 4pt minus 2pt |
| 76 |
}, |
| 77 |
docexample/.style={bicolor, |
| 78 |
beforeafter example, |
| 79 |
arc=0.66mm, |
| 80 |
boxrule=0.33mm, |
| 81 |
fonttitle=\bfseries, |
| 82 |
fontlower=\footnotesize, |
| 83 |
colframe=Blue_Gray, |
| 84 |
colback=Blue_Gray!5!white, |
| 85 |
colbacklower=white, |
| 86 |
drop small lifted shadow, |
| 87 |
listing engine=minted, |
| 88 |
documentation minted options={tabsize=2,fontsize=\small,breaklines,autogobble}, |
| 89 |
documentation minted style=colorful, |
| 90 |
}, |
| 91 |
} |
| 92 |
\urlstyle{sf} |
| 93 |
|
| 94 |
\newtcblisting{fullexample}[1]{docexample,minted style=colorful, |
| 95 |
listing and comment,pdf comment,freeze pdf,compilable listing,#1} |
| 96 |
|
| 97 |
\DeclareTotalTCBox{\myverb}{ O{} v }{tile,fontupper=\ttfamily,nobeforeafter, |
| 98 |
tcbox raise base,boxsep=0.5mm,top=0pt,bottom=0pt,left=0pt,right=0pt,boxrule=0.3mm, |
| 99 |
colback=yellow!10, |
| 100 |
borderline horizontal={0.3mm}{0pt}{red!50}, |
| 101 |
#1}{#2} |
| 102 |
|
| 103 |
\tcbmakedocSubKey[doc key prefix=]{docMrcKey}{mermap} |
| 104 |
\tcbmakedocSubKeys[doc key prefix=]{docMrcKeys}{mermap} |
| 105 |
\tcbmakedocSubKey{docTikzKey}{tikz} |
| 106 |
|
| 107 |
\def\tikzname{\textup{Ti\textit{k}Z}} |
| 108 |
|
| 109 |
\let\docNode\docValue |
| 110 |
|
| 111 |
\renewcommand*{\tcbdocnew}[1]{\textcolor{green!50!black}{\sffamily\bfseries N} #1} |
| 112 |
\renewcommand*{\tcbdocupdated}[1]{\textcolor{blue!75!black}{\sffamily\bfseries U} #1} |
| 113 |
|
| 114 |
\NewTotalTCBox{\issuetracker}{m}{enhanced,nobeforeafter,tcbox raise base,boxrule=0.4pt,top=0mm,bottom=0mm, |
| 115 |
right=0mm,left=0mm,arc=1pt,boxsep=2pt,%before upper={\vphantom{dlg}}, |
| 116 |
fontupper=\bfseries, |
| 117 |
colframe=green!50!gray, |
| 118 |
coltext=green!20!black, |
| 119 |
colback=green!75!gray!20, |
| 120 |
hyperurl=https://github.com/T-F-S/genealogytree/issues/#1 |
| 121 |
}{\##1} |
| 122 |
|
| 123 |
\robustify{\issuetracker} |
| 124 |
|
| 125 |
|