summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/stex/example/background/functions.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/stex/example/background/functions.tex')
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/background/functions.tex15
1 files changed, 15 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/stex/example/background/functions.tex b/Master/texmf-dist/doc/latex/stex/example/background/functions.tex
new file mode 100644
index 00000000000..d71ee13a25b
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/background/functions.tex
@@ -0,0 +1,15 @@
+\begin{omgroup}[id=sec.functions,creators=miko]{Functions}
+\begin{module}[id=functions]
+\symdef[assocarg=1]{cart}[1]{\assoc[p=500]{\times}{#1}}
+\symdef{fun}[3]{\mixfixiii[p=200]{}{#1}{\colon}{#2}{\rightarrow}{#3}{}}
+\symdef{inset}[2]{\infix[p=650]{\in}{#1}{#2}}
+
+\begin{definition}[id=functions.def]
+ A {\defin{function}} $\fun{f}AB$ is a left-total, right-unique relation in $\cart{A,B}$
+\end{definition}
+\end{module}
+\end{omgroup}
+%%% Local Variables:
+%%% mode: LaTeX
+%%% TeX-master: "all"
+%%% End: