summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/incgraph/incgraph-doc.sty
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-10-21 03:01:19 +0000
committerNorbert Preining <norbert@preining.info>2021-10-21 03:01:19 +0000
commita94181338fbbc4c93ae38719f727b05d3e5be421 (patch)
treeaf6f6809e189b9ac1c11f1b6c9d54f7b0e54cd84 /macros/latex/contrib/incgraph/incgraph-doc.sty
parent97a50891a87d07d3cc327188a2b00b5c11e3c309 (diff)
CTAN sync 202110210301
Diffstat (limited to 'macros/latex/contrib/incgraph/incgraph-doc.sty')
-rw-r--r--macros/latex/contrib/incgraph/incgraph-doc.sty140
1 files changed, 140 insertions, 0 deletions
diff --git a/macros/latex/contrib/incgraph/incgraph-doc.sty b/macros/latex/contrib/incgraph/incgraph-doc.sty
new file mode 100644
index 0000000000..efa2c71447
--- /dev/null
+++ b/macros/latex/contrib/incgraph/incgraph-doc.sty
@@ -0,0 +1,140 @@
+% \LaTeX-Main\
+% !TeX encoding=UTF-8
+%% The LaTeX package incgraph - version 1.2.0 (2021/10/20)
+%% incgraph.tex: Manual
+%%
+%% -------------------------------------------------------------------------------------------
+%% Copyright (c) 2012-2021 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de>
+%% -------------------------------------------------------------------------------------------
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `author-maintained'.
+%%
+%% This work consists of all files listed in README
+%%
+\def\version{1.2.0}%
+\def\datum{2021/10/20}%
+
+\IfFileExists{incgraph-doc.cfg}{\input{incgraph-doc.cfg}}{}\providecommand\igrpkgprefix{}
+
+\RequirePackage[T1]{fontenc}
+\RequirePackage[english]{babel}
+\RequirePackage{lmodern,parskip,array,makeidx}
+\RequirePackage{amsmath,amssymb}
+\RequirePackage[svgnames,table,hyperref]{xcolor}
+\RequirePackage{tikz}
+
+\RequirePackage[bookmarks,raiselinks,pageanchor,hyperindex,colorlinks]{hyperref}
+\urlstyle{sf}
+\RequirePackage{cleveref}
+
+\RequirePackage[a4paper,left=2.5cm,right=2.5cm,top=1.5cm,bottom=1.5cm,
+ marginparsep=3mm,marginparwidth=18mm,
+ headheight=0mm,headsep=0cm,
+ footskip=1.5cm,includeheadfoot]{geometry}
+\RequirePackage{fancyhdr}
+\fancyhf{}
+\fancyfoot[C]{\thepage}%
+\renewcommand{\headrulewidth}{0pt}
+\renewcommand{\footrulewidth}{0pt}
+\pagestyle{fancy}
+\tolerance=2000%
+\setlength{\emergencystretch}{20pt}%
+
+\RequirePackage[many,minted,documentation]{tcolorbox}
+\RequirePackage{csquotes}
+\RequirePackage[style=numeric-comp,sorting=nyt,
+ maxnames=8,minnames=8,abbreviate=false,backend=biber]{biblatex}
+\DeclareFieldFormat{url}{\newline\url{#1}}%
+\DeclareListFormat{language}{}%
+\setlength{\bibitemsep}{\smallskipamount}
+\addbibresource{\jobname.bib}
+
+\tcbset{skin=enhanced,
+ doc head={colback=yellow!10!white,interior style=fill},
+ doc head key={colback=magenta!5!white,interior style=fill},
+ color key=DarkViolet,
+ color value=Teal,
+ color color=Teal,
+ color counter=Orange!85!black,
+ color length=Orange!85!black,
+ index colorize,
+ index annotate,
+ beforeafter example/.style={
+ before skip=4pt plus 2pt minus 1pt,
+ after skip=8pt plus 4pt minus 2pt
+ },
+}
+\renewcommand*{\tcbdocnew}[1]{\textcolor{green!50!black}{\sffamily\bfseries N} #1}
+\renewcommand*{\tcbdocupdated}[1]{\textcolor{blue!75!black}{\sffamily\bfseries U} #1}
+
+\RequirePackage{\igrpkgprefix incgraph}
+
+\hypersetup{
+ pdftitle={Manual for the incgraph package},
+ pdfauthor={Thomas F. Sturm},
+ pdfsubject={graphics inclusion},
+ pdfkeywords={graphics inclusion page}
+}
+
+\RequirePackage{tikz,multicol}
+
+\tcbset{
+ docexample/.style={bicolor,
+ beforeafter example,
+ fonttitle=\bfseries,
+ fontlower=\footnotesize,
+ colframe=Navy!50!ExampleFrame,
+ colback=Navy!5!ExampleBack!50!white,
+ colbacklower=ExampleBack!5!white,
+ drop fuzzy shadow,
+ listing engine=minted,
+ documentation minted style=colorful,
+ documentation minted options={fontsize=\footnotesize},
+ },
+ example/.style={
+ docexample,
+ listing only,
+ before title={\hypersetup{linkcolor=white}},
+ },
+}
+
+\tcbmakedocSubKey{docIgrKey}{igr}
+\tcbmakedocSubKeys{docIgrKeys}{igr}
+
+\newcounter{texexp}
+
+\newtcblisting[use counter=texexp]{texexptitled}[3][]{%
+ example,
+ title={Example~\thetcbcounter: #2},
+ listing file={\jobname.\thetcbcounter.listing},
+ label={#3},#1
+}
+
+\newtcbinputlisting[use counter from=texexptitled]{\inputexamplelisting}[3][]{
+ example,
+ title={Example~\thetcbcounter: \texttt{#2}},
+ listing file={#2},
+ label={#3},#1
+}
+
+\newcommand{\inputlisting}[1]{\input{\jobname.#1.listing}}
+\newcommand{\inputlastlisting}{\inputlisting{\thetexexp}}
+
+\def\tikzname{Ti\emph{k}Z}
+
+\makeindex
+
+\ExplSyntaxOn
+\sys_if_engine_pdftex:T
+ {
+ \pdfsuppresswarningpagegroup=1
+ }
+\ExplSyntaxOff