summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/stex/example/background/functions.sms
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/stex/example/background/functions.sms')
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/background/functions.sms5
1 files changed, 5 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/stex/example/background/functions.sms b/Master/texmf-dist/doc/latex/stex/example/background/functions.sms
new file mode 100644
index 00000000000..9c7f4c79211
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/background/functions.sms
@@ -0,0 +1,5 @@
+\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}}%
+\end{module}%