From 41a071a327a8583bc1e5946bc718cdcae10ef655 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Ke=C3=9Fler?= Date: Sun, 30 Jan 2022 19:39:25 +0100 Subject: [PATCH] add incfig documentation --- doc/wrappers/incfig/.latexmkrc | 4 ++++ doc/wrappers/incfig/Makefile | 8 ++++++++ doc/wrappers/incfig/incfig.tex | 31 +++++++++++++++++++++++++++++++ 3 files changed, 43 insertions(+) create mode 100644 doc/wrappers/incfig/.latexmkrc create mode 100644 doc/wrappers/incfig/Makefile create mode 100644 doc/wrappers/incfig/incfig.tex diff --git a/doc/wrappers/incfig/.latexmkrc b/doc/wrappers/incfig/.latexmkrc new file mode 100644 index 0000000..4c81cd6 --- /dev/null +++ b/doc/wrappers/incfig/.latexmkrc @@ -0,0 +1,4 @@ +$makeindex = "makeindex -s gind.ist %O -o %D %S"; +$clean_ext .= ' glo'; +$clean_ext .= ' hd'; +$clean_ext .= ' ins'; diff --git a/doc/wrappers/incfig/Makefile b/doc/wrappers/incfig/Makefile new file mode 100644 index 0000000..e174370 --- /dev/null +++ b/doc/wrappers/incfig/Makefile @@ -0,0 +1,8 @@ +doc: + latexmk + +full: + latexmk -gg + +clean: + latexmk -C diff --git a/doc/wrappers/incfig/incfig.tex b/doc/wrappers/incfig/incfig.tex new file mode 100644 index 0000000..9a4691e --- /dev/null +++ b/doc/wrappers/incfig/incfig.tex @@ -0,0 +1,31 @@ +\documentclass[full]{l3doc} + +\title{The \pkg{mkessler-incfig} package} +\author{Maximilian Ke\ss ler} + +\begin{document} + +\maketitle + +\begin{documentation} + +\begin{abstract} + This is some small wrapper around incfigures, + based on + \href{https://castel.dev/post/lecture-notes-2/} + {https://castel.dev/\allowbreak post/\allowbreak lecture-notes-2/} +\end{abstract} + +\begin{function}{\incfig} + \begin{syntax} + \cs{incfig}{filename} + \end{syntax} + + Inserts an incfigure. + The figures is assumed to be in the \texttt{figures/} folder. + The extension \texttt{pdf_tex} has \emph{not} to be given. +\end{function} + +\end{documentation} + +\end{document}