styles/ngslides.isy
2026-06-15 02:32:38 +02:00

492 lines
11 KiB
Text

<ipestyle name="ngslides">
<preamble>
\usepackage[ngerman]{babel}
\usepackage[sansdefault]{fontsetup}
\usepackage{ngutils}
\newcommand{\labelfont}{\normalfont\bfseries\color{title}}
\setlength{\leftmargini}{1.6em}
\setlength{\leftmarginii}{1.3em}
\setlength{\leftmarginiii}{0.97em}
\setlength{\leftmarginiv}{0.8em}
\renewcommand{\labelenumi}{\labelfont\arabic{enumi}.}
\renewcommand{\labelenumii}{\labelfont\alph{enumii})}
\renewcommand{\labelenumiii}{\labelfont\roman{enumiii}.}
\renewcommand{\labelenumiv}{\labelfont\Alph{enumiv}.}
\renewcommand{\labelitemi}{\labelfont \large \textbullet}
\renewcommand{\labelitemii}{\labelfont \large \textopenbullet}
\renewcommand{\labelitemiii}{\labelfont \textbullet}
\renewcommand{\labelitemiv}{\labelfont \textopenbullet}
\setlength{\fboxsep}{1pt}
\newlength{\theoremskip}
\setlength{\theoremskip}{1em}
\newcommand{\theoremfont}{\normalfont\bfseries\color{dark blue}}
\newcommand{\definitionfont}{\normalfont\bfseries\color{dark gray}}
\newcommand{\problemfont}{\normalfont\bfseries\color{dark green}}
\newenvironment{theoremic}[3][]{
\newdimen\header
\setbox0=\hbox{#2}
\header=\wd0
{#3 #2 #1}
\hfill
\begin{minipage}[t]{\the\dimexpr\linewidth-\header-\theoremskip\relax}
}{
\end{minipage}
}
\newenvironment{theorem}[1][]{
\begin{theoremic}[#1]{Satz}{\theoremfont}
}{
\end{theoremic}
}
\newenvironment{lemma}[1][]{
\begin{theoremic}[#1]{Lemma}{\theoremfont}
}{
\end{theoremic}
}
\newenvironment{corollary}[1][]{
\begin{theoremic}[#1]{Korollar}{\theoremfont}
}{
\end{theoremic}
}
\newenvironment{proof}[1][]{
\begin{theoremic}[#1]{Beweis}{\theoremfont}
}{
\end{theoremic}
}
\newenvironment{definition}[1][]{
\begin{theoremic}[#1]{Definition}{\definitionfont}
}{
\end{theoremic}
}
\newenvironment{example}[1][]{
\begin{theoremic}[#1]{Beispiel}{\definitionfont}
}{
\end{theoremic}
}
\newenvironment{remark}[1][]{
\begin{theoremic}[#1]{Bemerkung}{\definitionfont}
}{
\end{theoremic}
}
\newenvironment{property}[1][]{
\begin{theoremic}[#1]{Eigenschaft}{\definitionfont}
}{
\end{theoremic}
}
\newenvironment{problem}[1][]{
\begin{theoremic}[#1]{Problem}{\problemfont}
}{
\end{theoremic}
}
</preamble>
<textstyle name="enumerate" begin="\begin{enumerate}" end="\end{enumerate}"/>
<textstyle name="algorithmic" begin="\begin{algorithmic}" end="\end{algorithmic}"/>
<textstyle name="theorem" begin="\begin{theorem}" end="\end{theorem}"/>
<textstyle name="lemma" begin="\begin{lemma}" end="\end{lemma}"/>
<textstyle name="corollary" begin="\begin{corollary}" end="\end{corollary}"/>
<textstyle name="proof" begin="\begin{proof}" end="\end{proof}"/>
<textstyle name="definition" begin="\begin{definition}" end="\end{definition}"/>
<textstyle name="example" begin="\begin{example}" end="\end{example}"/>
<textstyle name="remark" begin="\begin{remark}" end="\end{remark}"/>
<textstyle name="property" begin="\begin{property}" end="\end{property}"/>
<textstyle name="problem" begin="\begin{problem}" end="\end{problem}"/>
<!-- Arrows that are recessed a bit so that they don't overlap with the marks -->
<symbol name="arrow/ng-fnormal(spx)">
<path matrix="1 0 0 1 -0.9 0" stroke="sym-stroke" fill="white" pen="sym-pen">
0 0 m
-1 0.333 l
-1 -0.333 l
h
</path>
</symbol>
<symbol name="arrow/ng-normal(spx)">
<path matrix="1 0 0 1 -0.9 0" stroke="sym-stroke" fill="sym-stroke" pen="sym-pen">
0 0 m
-1 0.333 l
-1 -0.333 l
h
</path>
</symbol>
<symbol name="arrow/ng-pointed(spx)">
<path matrix="1 0 0 1 -0.9 0" stroke="sym-stroke" fill="sym-stroke" pen="sym-pen">
0 0 m
-1 0.333 l
-0.8 0 l
-1 -0.333 l
h
</path>
</symbol>
<symbol name="arrow/ng-fpointed(spx)">
<path matrix="1 0 0 1 -0.9 0" stroke="sym-stroke" fill="white" pen="sym-pen">
0 0 m
-1 0.333 l
-0.8 0 l
-1 -0.333 l
h
</path>
</symbol>
<symbol name="arrow/ng-linear(spx)">
<path matrix="1 0 0 1 -0.9 0" stroke="sym-stroke" pen="sym-pen">
-1 0.333 m
0 0 l
-1 -0.333 l
</path>
</symbol>
<symbol name="arrow/ng-fdouble(spx)">
<path matrix="1 0 0 1 -0.9 0" stroke="sym-stroke" fill="white" pen="sym-pen">
0 0 m
-1 0.333 l
-1 -0.333 l
h
1 0 m
-2 0.333 l
-2 -0.333 l
h
</path>
</symbol>
<symbol name="arrow/ng-double(spx)">
<path matrix="1 0 0 1 -0.9 0" stroke="sym-stroke" fill="sym-stroke" pen="sym-pen">
0 0 m
-1 0.333 l
-1 -0.333 l
h
-1 0 m
-2 0.333 l
-2 -0.333 l
h
</path>
</symbol>
<!-- Decorations for groups -->
<symbol name="decoration/remark">
<path stroke="dark gray" fill="light yellow">
100 204 m
4 0 0 4 100 200 96 200 a
96 100 l
4 0 0 4 100 100 100 96 a
300 96 l
4 0 0 4 300 100 304 100 a
304 200 l
4 0 0 4 300 200 300 204 a
h
</path>
</symbol>
<symbol name="decoration/theorem">
<path stroke="dark blue" fill="light blue">
100 204 m
4 0 0 4 100 200 96 200 a
96 100 l
4 0 0 4 100 100 100 96 a
300 96 l
4 0 0 4 300 100 304 100 a
304 200 l
4 0 0 4 300 200 300 204 a
h
</path>
</symbol>
<symbol name="decoration/problem">
<path stroke="dark green" fill="light green">
100 204 m
4 0 0 4 100 200 96 200 a
96 100 l
4 0 0 4 100 100 100 96 a
300 96 l
4 0 0 4 300 100 304 100 a
304 200 l
4 0 0 4 300 200 300 204 a
h
</path>
</symbol>
<symbol name="decoration/exercise">
<path stroke="dark orange" fill="light orange">
100 204 m
4 0 0 4 100 200 96 200 a
96 100 l
4 0 0 4 100 100 100 96 a
300 96 l
4 0 0 4 300 100 304 100 a
304 200 l
4 0 0 4 300 200 300 204 a
h
</path>
</symbol>
<symbol name="decoration/definition">
<path stroke="dark gray" fill="light yellow">
96 96 m
304 96 l
304 204 l
96 204 l
h
</path>
</symbol>
<symbol name="decoration/algorithm">
<path stroke="dark gray" dash="dashed">
96 96 m
304 96 l
304 204 l
96 204 l
h
</path>
</symbol>
<symbol name="decoration/graph">
<path stroke="dark gray">
90 90 m
310 90 l
310 210 l
90 210 l
h
</path>
</symbol>
<symbol name="decoration/comic-bl">
<path stroke="dark gray" fill="light yellow">
100 96 m
110 96 s
110 92
106 88 s
116 92
118 96 s
300 96 l
4 0 0 4 300 100 304 100 a
304 200 l
4 0 0 4 300 200 300 204 a
100 204 l
4 0 0 4 100 200 96 200 a
96 100 l
4 0 0 4 100 100 100 96 a
h
</path>
</symbol>
<symbol name="decoration/comic-bm">
<path stroke="dark gray" fill="light yellow">
100 96 m
186 96 s
186 92
182 88 s
192 92
194 96 s
300 96 l
4 0 0 4 300 100 304 100 a
304 200 l
4 0 0 4 300 200 300 204 a
100 204 l
4 0 0 4 100 200 96 200 a
96 100 l
4 0 0 4 100 100 100 96 a
h
</path>
</symbol>
<symbol name="decoration/comic-br">
<path matrix="-1 0 0 1 400 0" stroke="dark gray" fill="light yellow">
100 96 m
110 96 s
110 92
106 88 s
116 92
118 96 s
300 96 l
4 0 0 4 300 100 304 100 a
304 200 l
4 0 0 4 300 200 300 204 a
100 204 l
4 0 0 4 100 200 96 200 a
96 100 l
4 0 0 4 100 100 100 96 a
h
</path>
</symbol>
<symbol name="decoration/comic-tl">
<path matrix="1 0 0 -1 0 300" stroke="dark gray" fill="light yellow">
100 96 m
110 96 s
110 92
106 88 s
116 92
118 96 s
300 96 l
4 0 0 4 300 100 304 100 a
304 200 l
4 0 0 4 300 200 300 204 a
100 204 l
4 0 0 4 100 200 96 200 a
96 100 l
4 0 0 4 100 100 100 96 a
h
</path>
</symbol>
<symbol name="decoration/comic-tm">
<path matrix="1 0 0 -1 0 300" stroke="dark gray" fill="light yellow">
100 96 m
186 96 s
186 92
182 88 s
192 92
194 96 s
300 96 l
4 0 0 4 300 100 304 100 a
304 200 l
4 0 0 4 300 200 300 204 a
100 204 l
4 0 0 4 100 200 96 200 a
96 100 l
4 0 0 4 100 100 100 96 a
h
</path>
</symbol>
<symbol name="decoration/comic-tr">
<path matrix="-1 0 0 -1 400 300" stroke="dark gray" fill="light yellow">
100 96 m
110 96 s
110 92
106 88 s
116 92
118 96 s
300 96 l
4 0 0 4 300 100 304 100 a
304 200 l
4 0 0 4 300 200 300 204 a
100 204 l
4 0 0 4 100 200 96 200 a
96 100 l
4 0 0 4 100 100 100 96 a
h
</path>
</symbol>
<symbol name="mark/ng-state(spx)" snap="0 0 2 0 1.73 1 1 1.73 0 2 -1 1.73 -1.73 1 -2 0 -1.73 -1 -1 -1.73 0 -2 1 -1.73 1.73 -1">
<path stroke="sym-stroke" pen="sym-pen">
2 0 0 2 0 0 e
</path>
</symbol>
<symbol name="mark/ng-start(spx)" snap="0 0 2 0 1.73 1 1 1.73 0 2 -1 1.73 -1.73 1 -2 0 -1.73 -1 -1 -1.73 0 -2 1 -1.73 1.73 -1">
<group>
<path stroke="sym-stroke" pen="sym-pen">
2 0 0 2 0 0 e
</path>
<path stroke="sym-stroke" pen="sym-pen" arrow="pointed/pointed">
-4 0 m
-2 0 l
</path>
</group>
</symbol>
<symbol name="mark/ng-accept(spx)" snap="0 0 2 0 1.73 1 1 1.73 0 2 -1 1.73 -1.73 1 -2 0 -1.73 -1 -1 -1.73 0 -2 1 -1.73 1.73 -1">
<group>
<path stroke="sym-stroke" pen="sym-pen">
2 0 0 2 0 0 e
</path>
<path stroke="sym-stroke" pen="sym-pen">
1.5 0.5 -0.5 1.5 0 0 e
</path>
</group>
</symbol>
<symbol name="mark/ng-startaccept(spx)" snap="0 0 2 0 1.73 1 1 1.73 0 2 -1 1.73 -1.73 1 -2 0 -1.73 -1 -1 -1.73 0 -2 1 -1.73 1.73 -1">
<group>
<path stroke="sym-stroke" pen="sym-pen">
2 0 0 2 0 0 e
</path>
<path stroke="sym-stroke" pen="sym-pen">
1.5 0.5 -0.5 1.5 0 0 e
</path>
<path stroke="sym-stroke" pen="sym-pen" arrow="pointed/pointed">
-4 0 m
-2 0 l
</path>
</group>
</symbol>
<color name="dark blue" value="0.121 0.47 0.705"/>
<color name="dark brown" value="0.651 0.337 0.157"/>
<color name="dark cyan" value="0.106 0.62 0.467"/>
<color name="dark gray" value="0.5"/>
<color name="dark green" value="0.2 0.627 0.172"/>
<color name="dark orange" value="1 0.498 0"/>
<color name="dark pink" value="0.969 0.506 0.749"/>
<color name="dark purple" value="0.415 0.239 0.603"/>
<color name="dark red" value="0.89 0.102 0.109"/>
<color name="dark yellow" value="1 1 0.2"/>
<color name="light blue" value="0.651 0.807 0.89"/>
<color name="light brown" value="0.898 0.847 0.741"/>
<color name="light cyan" value="0.553 0.827 0.78"/>
<color name="light gray" value="0.8"/>
<color name="light green" value="0.698 0.874 0.541"/>
<color name="light orange" value="0.992 0.749 0.435"/>
<color name="light pink" value="0.992 0.855 0.925"/>
<color name="light purple" value="0.792 0.698 0.839"/>
<color name="light red" value="0.984 0.603 0.6"/>
<color name="light yellow" value="1 1 0.8"/>
<color name="title" value="0.247 0.282 0.392"/>
<color name="pagenumber" value="0.5 0.5 0.5"/>
<pen name="ultrafat" value="6"/>
<pen name="fat" value="4.5"/>
<pen name="heavier" value="3"/>
<pen name="normal" value="1.5"/>
<symbolsize name="large" value="12"/>
<symbolsize name="normal" value="11"/>
<symbolsize name="small" value="10"/>
<symbolsize name="tiny" value="6"/>
<arrowsize name="large" value="7.6"/>
<arrowsize name="normal" value="7"/>
<arrowsize name="small" value="6.4"/>
<arrowsize name="tiny" value="3.8"/>
<textstretch name="Huge" value="2.8"/>
<textstretch name="LARGE" value="2.8"/>
<textstretch name="Large" value="2.8"/>
<textstretch name="footnote" value="2.8"/>
<textstretch name="huge" value="2.8"/>
<textstretch name="large" value="2.8"/>
<textstretch name="normal" value="2.8"/>
<textstretch name="script" value="2.8"/>
<textstretch name="small" value="2.8"/>
<textstretch name="tiny" value="2.8"/>
<!-- <layout paper="1024 576" origin="16 16" frame="992 496" skip="16" crop="no"/> -->
<layout paper="1024 768" origin="16 16" frame="992 688" skip="16" crop="no"/>
<!-- <pagenumberstyle pos="1000 552" color="pagenumber" size="tiny" valign="top" halign="right"></pagenumberstyle> -->
<pagenumberstyle pos="1000 744" color="pagenumber" size="tiny" valign="top" halign="right"></pagenumberstyle>
<!-- <titlestyle pos="0 544" size="Large" color="title" valign="top"/> -->
<titlestyle pos="0 736" size="Large" color="title" valign="top"/>
</ipestyle>