summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/stex/example/background/functions.xml
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/stex/example/background/functions.xml')
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/background/functions.xml165
1 files changed, 165 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/stex/example/background/functions.xml b/Master/texmf-dist/doc/latex/stex/example/background/functions.xml
new file mode 100644
index 00000000000..631a76a0318
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/background/functions.xml
@@ -0,0 +1,165 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?latexml searchpaths=".,../../sty,../../rnc,../../rnc/omdoc,../../sty/modules,../../sty/statements,../../sty/sproof,../../sty/omtext,../../sty/omdoc,../../sty/sref,../../sty/presentation,../../sty/dcm,../../sty/reqdoc,../../sty/omd,../../sty/mikoslides,../../sty/problem,../../sty/assignment,../../sty/etc,/Users/kohlhase/stc/stex/example/background"?>
+<?latexml RelaxNGSchema="omdoc+ltxml"?>
+<omdoc xmlns="http://omdoc.org/ns" xmlns:stex="http://kwarc.info/ns/sTeX" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:om="http://www.openmath.org/OpenMath" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:omdoc="http://omdoc.org/ns" stex:srcref="Anonymous String#textrange(from=1;1,to=1;17)" xml:id="functions.omdoc">
+ <omgroup layout="sectioning" xml:id="sec.functions" about="#sec.functions" stex:srcref="functions.tex#textrange(from=1;0,to=11;13)">
+ <metadata xml:id="sec.functions.p1" about="#sec.functions.p1" stex:srcref="functions.tex#textrange(from=1;0,to=10;12)">
+ <dc:title stex:srcref="functions.tex#textrange(from=1;0,to=11;13)" xml:id="sec.functions.p1.p1" about="#sec.functions.p1.p1">
+ <p xml:id="sec.functions.p1.p1.p1" about="#sec.functions.p1.p1.p1" stex:srcref="functions.tex#textrange(from=1;0,to=11;13)">Functions</p>
+ </dc:title>
+ </metadata>
+ <theory xml:id="functions" about="#functions" stex:srcref="functions.tex#textrange(from=2;0,to=10;12)">
+ <symbol name="cart" xml:id="cart.sym" about="#cart.sym" stex:srcref="functions.tex#textrange(from=3;0,to=3;55)"/>
+ <notation cd="functions" name="cart">
+ <prototype>
+ <om:OMA>
+ <om:OMS cd="functions" cr="fun" name="cart"/>
+ <exprlist name="args">
+ <expr name="arg"/>
+ </exprlist>
+ </om:OMA>
+ </prototype>
+ <rendering precedence="500">
+ <m:mrow>
+ <m:mo egroup="fence" fence="true">(</m:mo>
+ <iterate name="args">
+ <separator>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\crossrefOp[fun]{\times}" xml:id="functions.m2" text="CROSSREFOP@(*)">
+ <om:OMOBJ>
+ <om:OMA>
+ <om:OMV name=""/>
+ <om:OMS cd="arith1" name="times"/>
+ </om:OMA>
+ </om:OMOBJ>
+ <m:math display="inline">
+ <m:mo cr="fun">×</m:mo>
+ </m:math>
+ </Math>
+ </separator>
+ <render name="arg"/>
+ </iterate>
+ <m:mo egroup="fence" fence="true">)</m:mo>
+ </m:mrow>
+ </rendering>
+ </notation>
+ <symbol name="fun" xml:id="fun.sym" about="#fun.sym" stex:srcref="functions.tex#textrange(from=4;1,to=4;72)"/>
+ <notation cd="functions" name="fun">
+ <prototype>
+ <om:OMA>
+ <om:OMS cd="functions" cr="fun" name="fun"/>
+ <expr name="arg1"/>
+ <expr name="arg2"/>
+ <expr name="arg3"/>
+ </om:OMA>
+ </prototype>
+ <rendering argprec=" " precedence="200">
+ <m:mrow>
+ <m:mo egroup="fence" fence="true">(</m:mo>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="arg:1" xml:id="functions.m5" text="arg:1">
+ <om:OMOBJ>
+ <om:OMV name="arg:1"/>
+ </om:OMOBJ>
+ <m:math display="inline">
+ <m:mi>arg:1</m:mi>
+ </m:math>
+ </Math>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\crossrefOp[fun]{\colon}" xml:id="functions.m6" text="CROSSREFOP@(colon)">
+ <om:OMOBJ>
+ <om:OMA>
+ <om:OMV name=""/>
+ <om:OMV name=":"/>
+ </om:OMA>
+ </om:OMOBJ>
+ <m:math display="inline">
+ <m:mo cr="fun">:</m:mo>
+ </m:math>
+ </Math>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="arg:2" xml:id="functions.m7" text="arg:2">
+ <om:OMOBJ>
+ <om:OMV name="arg:2"/>
+ </om:OMOBJ>
+ <m:math display="inline">
+ <m:mi>arg:2</m:mi>
+ </m:math>
+ </Math>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\crossrefOp[fun]{\rightarrow}" xml:id="functions.m8" text="CROSSREFOP@(rightarrow)">
+ <om:OMOBJ>
+ <om:OMA>
+ <om:OMV name=""/>
+ <om:OMV name="rightarrow"/>
+ </om:OMA>
+ </om:OMOBJ>
+ <m:math display="inline">
+ <m:mo cr="fun">→</m:mo>
+ </m:math>
+ </Math>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="arg:3" xml:id="functions.m9" text="arg:3">
+ <om:OMOBJ>
+ <om:OMV name="arg:3"/>
+ </om:OMOBJ>
+ <m:math display="inline">
+ <m:mi>arg:3</m:mi>
+ </m:math>
+ </Math>
+ <m:mo egroup="fence" fence="true">)</m:mo>
+ </m:mrow>
+ </rendering>
+ </notation>
+ <symbol name="inset" xml:id="inset.sym" about="#inset.sym" stex:srcref="functions.tex#textrange(from=5;1,to=5;46)"/>
+ <notation cd="functions" name="inset">
+ <prototype>
+ <om:OMA>
+ <om:OMS cd="functions" cr="fun" name="inset"/>
+ <expr name="arg1"/>
+ <expr name="arg2"/>
+ </om:OMA>
+ </prototype>
+ <rendering argprec=" " precedence="650">
+ <m:mrow>
+ <m:mo egroup="fence" fence="true">(</m:mo>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="arg:1" xml:id="functions.m12" text="arg:1">
+ <om:OMOBJ>
+ <om:OMV name="arg:1"/>
+ </om:OMOBJ>
+ <m:math display="inline">
+ <m:mi>arg:1</m:mi>
+ </m:math>
+ </Math>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\crossrefOp[fun]{\in}" xml:id="functions.m13" text="CROSSREFOP@(element-of)">
+ <om:OMOBJ>
+ <om:OMA>
+ <om:OMV name=""/>
+ <om:OMS cd="latexml" name="element-of"/>
+ </om:OMA>
+ </om:OMOBJ>
+ <m:math display="inline">
+ <m:mo cr="fun">∈</m:mo>
+ </m:math>
+ </Math>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="arg:2" xml:id="functions.m14" text="arg:2">
+ <om:OMOBJ>
+ <om:OMV name="arg:2"/>
+ </om:OMOBJ>
+ <m:math display="inline">
+ <m:mi>arg:2</m:mi>
+ </m:math>
+ </Math>
+ <m:mo egroup="fence" fence="true">)</m:mo>
+ </m:mrow>
+ </rendering>
+ </notation>
+ <symbol name="function" xml:id="function.def.sym" about="#function.def.sym" stex:srcref="functions.tex#textrange(from=7;0,to=9;16)"/>
+ <definition for="function" xml:id="functions.def" about="#functions.def" stex:srcref="functions.tex#textrange(from=7;0,to=9;16)">
+ <CMP xml:id="functions.def.p1" about="#functions.def.p1" stex:srcref="functions.tex#textrange(from=7;0,to=9;16)">
+ <p xml:id="functions.def.p1.p1" about="#functions.def.p1.p1" stex:srcref="functions.tex#textrange(from=7;0,to=9;16)">
+A <idx xml:id="functions.def.p1.p1.p1" about="#functions.def.p1.p1.p1" stex:srcref="functions.tex#textrange(from=7;68,to=8;21)"><idt><term cd="functions" name="function" role="definiendum" xml:id="functions.def.p1.p1.p1.p1" about="#functions.def.p1.p1.p1.p1" stex:srcref="functions.tex#textrange(from=7;68,to=8;21)">function</term></idt><ide index="default"><idp><text xmlns="http://dlmf.nist.gov/LaTeXML">function</text></idp></ide></idx> <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\fun{f}{A}{B}" xml:id="functions.def.p1.p1.m1" text="fun@(f, A, B)"><om:OMOBJ><om:OMA><om:OMS cd="functions" name="fun"/><om:OMV name="f"/><om:OMV name="A"/><om:OMV name="B"/></om:OMA></om:OMOBJ><m:math display="inline"><m:mrow><m:mi mathcolor="red">fun</m:mi><m:mo>⁡</m:mo><m:mrow><m:mi>f</m:mi><m:mo>, </m:mo><m:mi>A</m:mi><m:mo>, </m:mo><m:mi>B</m:mi></m:mrow></m:mrow></m:math></Math> is a left-total, right-unique relation in <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\cart{A,B}" xml:id="functions.def.p1.p1.m2" text="cart@(list@(A, B))"><om:OMOBJ><om:OMA><om:OMS cd="functions" name="cart"/><om:OMA><om:OMS cd="latexml" name="list"/><om:OMV name="A"/><om:OMV name="B"/></om:OMA></om:OMA></om:OMOBJ><m:math display="inline"><m:mrow><m:mi mathcolor="red">cart</m:mi><m:mo>⁡</m:mo><m:mrow><m:mi>A</m:mi><m:mo>,</m:mo><m:mi>B</m:mi></m:mrow></m:mrow></m:math></Math>
+</p>
+ </CMP>
+ </definition>
+ </theory>
+ </omgroup>
+ <!-- %%% Local Variables:
+ %%% mode: LaTeX
+ %%% TeX-master: "all"
+ %%% End:-->
+</omdoc>