add incfig documentation
This commit is contained in:
parent
f3dda43639
commit
41a071a327
3 changed files with 43 additions and 0 deletions
4
doc/wrappers/incfig/.latexmkrc
Normal file
4
doc/wrappers/incfig/.latexmkrc
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
$makeindex = "makeindex -s gind.ist %O -o %D %S";
|
||||||
|
$clean_ext .= ' glo';
|
||||||
|
$clean_ext .= ' hd';
|
||||||
|
$clean_ext .= ' ins';
|
8
doc/wrappers/incfig/Makefile
Normal file
8
doc/wrappers/incfig/Makefile
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
doc:
|
||||||
|
latexmk
|
||||||
|
|
||||||
|
full:
|
||||||
|
latexmk -gg
|
||||||
|
|
||||||
|
clean:
|
||||||
|
latexmk -C
|
31
doc/wrappers/incfig/incfig.tex
Normal file
31
doc/wrappers/incfig/incfig.tex
Normal file
|
@ -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}
|
Loading…
Reference in a new issue