summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/schule/doc/schule-dokumentation.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/schule/doc/schule-dokumentation.sty')
-rw-r--r--Master/texmf-dist/doc/latex/schule/doc/schule-dokumentation.sty30
1 files changed, 0 insertions, 30 deletions
diff --git a/Master/texmf-dist/doc/latex/schule/doc/schule-dokumentation.sty b/Master/texmf-dist/doc/latex/schule/doc/schule-dokumentation.sty
deleted file mode 100644
index 8b5ceb38f2e..00000000000
--- a/Master/texmf-dist/doc/latex/schule/doc/schule-dokumentation.sty
+++ /dev/null
@@ -1,30 +0,0 @@
-\RequirePackage{tcolorbox}
-\tcbuselibrary{skins,breakable}
-\tcbset{enhanced,enhanced jigsaw}
-
-\newtcolorbox{cnltxcode}[1][]{
- boxrule = 1pt ,
- colback = cnltxbg ,
- colframe = cnltx ,
- arc = 5pt ,
- beforeafter skip = .5\baselineskip ,%
- #1%
-}
-
-\newcounter{examplefile}
-\NewDocumentCommand{\Beispieldatei}{m m}{
- \begin{cnltxcode}[
- step and label={examplefile}{example:#1} ,
- sidebyside align=top seam,sidebyside,
- righthand width=\linewidth/4,
- sidebyside gap=0pt,
- lower separated=false,
- title=Beispiel~\theexamplefile\ \enquote{\texttt{#2}}~%
- \href{Beispiele/#1.tex}{ \color{white} [\TeX]}~%
- \href{Beispiele/#1.pdf}{ \color{white} [PDF]}
- ]
- \lstinputlisting[style=cnltx,lastline=10]{Beispiele/#1.tex}
- \tcblower
- \fbox{\href{Beispiele/#1.pdf}{\includegraphics[width=.8\linewidth]{Beispiele/#1.pdf}}}%
- \end{cnltxcode}
-}