%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % This is the TikZ-shields package % A package to draw badges in the style of shields.io with tikz % Maintained by thomas-saigre % % Project repository and bug tracker: % https://github.com/thomas-saigre/tikz-shields % % Released under the GNU GENERAL PUBLIC LICENSE v3 % See https://github.com/thomas-saigre/tikz-shields/blob/main/LICENSE % % Adapted from https://github.com/samcarter/tikzbricks/blob/main/tikzbricks-doc-settings.sty % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \usepackage[english]{babel} \usepackage[paper=a4paper, margin=2.5cm]{geometry} \usepackage{scrlayer-scrpage} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \let\hrulefillx\hrulefill \let\hrulefill\hrulefillx \usepackage[hang, flushmargin, bottom]{footmisc} \usepackage{footnotehyper} \makesavenoteenv{tcolorbox} \usepackage[all]{nowidow} \usepackage[hyphens]{url} \usepackage[colorlinks=true, breaklinks=true, hyperfootnotes=false]{hyperref} \usepackage{xspace} \usepackage{inconsolata} \usepackage{lastpage} \usepackage{tabularray} \usepackage[most]{tcolorbox} \tcbuselibrary{minted} \tcbset{% fonttitle=\bfseries, % sidebyside, center lower, listing engine=minted, minted language=latex, sharp corners, boxrule=0pt, before title={\strut}, minted options={breaklines, breakanywhere, fontsize=\small}, % lower separated=false } %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % Custom macros % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \providecommand*{\CTAN}{CTAN\xspace} \providecommand*{\TikZ}{Ti\emph{k}Z\xspace} \providecommand{\tex}{T\kern-.1667em\lower.5ex\hbox{E}\kern-.125emX\xspace} \newcommand{\showColor}[1]{\texttt{#1} {\textcolor{#1}{\rule{1em}{1em}}}} \def\checkmark{\tikz\fill[scale=0.4](0,.35) -- (.25,0) -- (1,.7) -- (.25,.15) -- cycle;} \def\ctan{\includegraphics[height=1em]{doc/img/ctan-white.pdf}} \newsavebox\textbox \newcommand\showbaseline[1]{% \leavevmode \sbox\textbox{#1}% \rlap{\rule{\wd\textbox}{.1pt}}% \usebox\textbox } %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % Doc blurb % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \newcommand{\packagename}[1]{\def\@packagename{#1}}