<?xml version="1.0" encoding="UTF-8"?>

<Syntax>
    <name AutoBrackets="false">MoodleTex</name>
    
    <Initial>
        <output1>$$</output1>
        <output2>$$</output2>
    </Initial>
    <Text>
        <output1></output1>
        <output2></output2>
    </Text>
    <Variable>
        <output1></output1>
        <output2></output2>
    </Variable>
    <RealNumber>
        <output1></output1>
        <output2></output2>
    </RealNumber>
    
    
    
    <!--  Nary Operators   -->
    <Add>
        <output>+</output>
    </Add>
    <Multiply>
        <output> \cdot </output>
    </Multiply>
    <Multiply2>
        <output> \times </output>
    </Multiply2>
    <Equals>
        <output>=</output>
    </Equals>
    <Union>
        <output> \cup </output>
    </Union>
    <Intersection>
        <output> \cap </output>
    </Intersection>
    <Comma>
        <output>,</output>
    </Comma>
    <Equiv>
        <output> \equiv </output>
    </Equiv>
    
    
    
    <!--  Functions   -->
    <UMinus>
        <output1>-</output1>
        <output2></output2>
    </UMinus>
    <Factorial brackets="false">
        <output1>{</output1>
        <output2>}!</output2>
    </Factorial>
    <NaturalLogarithm>
        <output1> \ln </output1>
        <output2></output2>
    </NaturalLogarithm>
    <Logarithm>
        <output1> \log </output1>
        <output2></output2>
    </Logarithm>
    <Sine>
        <output1> \sin </output1>
        <output2></output2>
    </Sine>
    <Cosine>
        <output1> \cos </output1>
        <output2></output2>
    </Cosine>
    <Tangent>
        <output1> \tan </output1>
        <output2></output2>
    </Tangent>
    <ArcSine>
        <output1> \sin^{-1} </output1>
        <output2></output2>
    </ArcSine>
    <ArcCosine>
        <output1> \cos^{-1} </output1>
        <output2></output2>
    </ArcCosine>
    <ArcTangent>
        <output1> \tan^{-1} </output1>
        <output2></output2>
    </ArcTangent>
    <SineH>
        <output1> \sinh </output1>
        <output2></output2>
    </SineH>
    <CosineH>
        <output1> \cosh </output1>
        <output2></output2>
    </CosineH>
    <TanH>
        <output1> \tanh </output1>
        <output2></output2>
    </TanH>
    <ArcSineH>
        <output1> \sinh^{-1} </output1>
        <output2></output2>
    </ArcSineH>
    <ArcCosineH>
        <output1> \cosh^{-1} </output1>
        <output2></output2>
    </ArcCosineH>
    <ArcTanH>
        <output1> \tanh^{-1} </output1>
        <output2></output2>
    </ArcTanH>
    <SquareRoot brackets="false">
        <output1> \sqrt{</output1>
        <output2>} </output2>
    </SquareRoot>
    <Exp brackets="false">
        <output1> e^{</output1>
        <output2>} </output2>
    </Exp>
    <Max>
        <output1>\max</output1>
        <output2></output2>
    </Max>
    <Min>
        <output1>\min</output1>
        <output2></output2>
    </Min>
    <Determinant>
        <output1>\det</output1>
        <output2></output2>
    </Determinant>
    <Trace>
        <output1>Tr</output1>
        <output2></output2>
    </Trace>
    
    
    
    <!--  Binary Operators  -->
    <NotEqual>
        <output1></output1>
        <output2> \neq </output2>
        <output3></output3>
    </NotEqual>
    <PlusMinus>
        <output1></output1>
        <output2> \pm </output2>
        <output3></output3>
    </PlusMinus> 
    <Assignment>
        <output1></output1>
        <output2>:=</output2>
        <output3></output3>
    </Assignment>
    <Subtract>
        <output1></output1>
        <output2>-</output2>
        <output3></output3>
    </Subtract>
    <Divide brackets="false">
        <output1> \frac{</output1>
        <output2>}{</output2>
        <output3>} </output3>
    </Divide>
    <Divide2>       
        <output1></output1>
        <output2> \div </output2>
        <output3></output3>
    </Divide2>
    <LessThan>
        <output1></output1>
        <output2><![CDATA[<]]></output2>
        <output3></output3>
    </LessThan>    
    <GreaterThan>
        <output1></output1>
        <output2>></output2>
        <output3></output3>
    </GreaterThan>    
    <LTEQ>
        <output1></output1>
        <output2> \le </output2>
        <output3></output3>
    </LTEQ>    
    <GTEQ>
        <output1></output1>
        <output2> \ge </output2>
        <output3></output3>
    </GTEQ>    
    <Subset>
        <output1></output1>
        <output2> \subset </output2>
        <output3></output3>
    </Subset>    
    <SubsetEq>
        <output1></output1>
        <output2> \subseteq </output2>
        <output3></output3>
    </SubsetEq>    
    <NSubset>
        <output1></output1>
        <output2> \not\subset </output2>
        <output3></output3>
    </NSubset> 
    <NSubsetEq>
        <output1></output1>
        <output2> \not\subseteq </output2>
        <output3></output3>
    </NSubsetEq>  
    <Power>
        <output1></output1>
        <output2>^{</output2>
        <output3>}</output3>
    </Power>
    <Subscript>
        <output1></output1>
        <output2>_{</output2>
        <output3>}</output3>
    </Subscript>  
    <NthRoot reverse="true" brackets="false">
        <output1> \sqrt[</output1>
        <output2>]{</output2>
        <output3>} </output3>
    </NthRoot> 
    <Function>
        <output1></output1>
        <output2>\left(</output2>
        <output3>\right)</output3>
    </Function>
    <LeftArrow>
        <output1></output1>
        <output2> \leftarrow </output2>
        <output3></output3>
    </LeftArrow> 
    <RightArrow>
        <output1></output1>
        <output2> \rightarrow </output2>
        <output3></output3>
    </RightArrow> 
    <UpArrow>
        <output1></output1>
        <output2> \uparrow </output2>
        <output3></output3>
    </UpArrow> 
    <DownArrow>
        <output1></output1>
        <output2> \downarrow </output2>
        <output3></output3>
    </DownArrow> 
    <LeftDblArrow>
        <output1></output1>
        <output2> \Leftarrow </output2>
        <output3></output3>
    </LeftDblArrow> 
    <RightDblArrow>
        <output1></output1>
        <output2> \Rightarrow </output2>
        <output3></output3>
    </RightDblArrow> 
    <LeftRightArrow>
        <output1></output1>
        <output2> \leftrightarrow </output2>
        <output3></output3>
    </LeftRightArrow> 
    <LeftRightDblArrow>
        <output1></output1>
        <output2> \Leftrightarrow </output2>
        <output3></output3>
    </LeftRightDblArrow>   
    <NorthEastArrow>
        <output1></output1>
        <output2> \nearrow </output2>
        <output3></output3>
    </NorthEastArrow>		
    <SouthEastArrow>
        <output1></output1>
        <output2> \searrow </output2>
        <output3></output3>
    </SouthEastArrow>	  
    <NorthWestArrow>        
        <output1></output1>
        <output2> \nwarrow </output2>
        <output3></output3>
    </NorthWestArrow>	   
    <SouthWestArrow>
        <output1></output1>
        <output2> \swarrow </output2>
        <output3></output3>
    </SouthWestArrow>     
    
    <Exists>
        <output1></output1>
        <output2> \exists </output2>
        <output3></output3>
    </Exists>
    <ForAll>
        <output1></output1>
        <output2> \forall </output2>
        <output3></output3>
    </ForAll>
    <IsIn>        
        <output1></output1>
        <output2> \epsilon </output2>
        <output3></output3>
    </IsIn>
    <NotExists>
        <output1></output1>
        <output2> \not\exists </output2>
        <output3></output3>
    </NotExists>
    <NotIn>
        <output1></output1>
        <output2> \not\epsilon </output2>
        <output3></output3>
    </NotIn>
    <SimEq>
        <output1></output1>
        <output2> \simeq </output2>
        <output3></output3>
    </SimEq>
    <Or>       
        <output1></output1>
        <output2> \vee </output2>
        <output3></output3>
    </Or>
    <And>
        <output1></output1>
        <output2> \wedge </output2>
        <output3></output3>
    </And>
    <Not>
        <output1></output1>
        <output2> \neg </output2>
        <output3></output3>
    </Not>
    
    
    <!--  Nary Functions   -->
    <Integral>
        <output1> \int </output1>
        <output2>\,d</output2>
        <output3></output3>
    </Integral>
    <Differential order="1,0">
        <output1> \frac{d}{d</output1>
        <output2>}</output2>
        <output3></output3>
    </Differential>
    <PartialDifferential order="1,0">
        <output1> \frac{\partial}{\partial </output1>
        <output2>}</output2>
        <output3></output3>
    </PartialDifferential>
    <Sum order="1,2,3,0">
        <output1> \sum_{{</output1>
        <output2>}={</output2>
        <output3>}}^{</output3>
        <output4>}</output4>
        <output5></output5>
    </Sum>
    <Product order="1,2,3,0">
        <output1> \prod_{{</output1>
        <output2>}={</output2>
        <output3>}}^{</output3>
        <output4>}</output4>
        <output5></output5>
    </Product>
    <Limit order="1,2,0">
        <output1> \lim_{</output1>
        <output2>\to</output2>
        <output3>}</output3>
        <output4></output4>
    </Limit>
    <Evaluate>
        <output1></output1>
        <output2>\left|_{{</output2>
        <output3>}={</output3>
        <output4>}}</output4>
    </Evaluate>
    <DefiniteIntegral order="2,3,0,1">
        <output1> \int_{</output1>
        <output2>}^{</output2>
        <output3>}</output3>
        <output4>\,d</output4>
        <output5></output5>
    </DefiniteIntegral>
    
    
    
    <!--  Matrix   -->
    <Matrix>
        <matrixStart> \left( \begin{array}{ccc} </matrixStart>
        <rowStart></rowStart>
        <elementStart></elementStart>
        <elementEnd></elementEnd>
        <elementSeparator><![CDATA[ & ]]></elementSeparator>
        <rowEnd>\\</rowEnd>
        <rowSeparator></rowSeparator>
        <matrixEnd> \end{array} \right) </matrixEnd>
    </Matrix>
    
    
    
    <!--  Grouping  -->
    <BracketsRnd>
        <output1>\left(</output1>
        <output2>\right)</output2>
    </BracketsRnd>
    <BracketsCurl>
        <output1>\{</output1>
        <output2>\}</output2>
    </BracketsCurl>
    <BracketsSq>
        <output1>\left[</output1>
        <output2>\right]</output2>
    </BracketsSq>
    <Abs>
        <output1>\left|</output1>
        <output2>\right|</output2>
    </Abs>
    
    
    
    <!--  Symbols   -->
    <Infinity>
        <output>\infty</output>
    </Infinity>
    
    
    <Γ>
        <output> \Gamma </output>
    </Γ>
    <Δ>
        <output> \Delta </output>
    </Δ>
    <Θ>
        <output> \Theta </output>
    </Θ>
    <Λ>
        <output> \Lamda </output>
    </Λ>
    <Ξ>
        <output> \Xi </output>
    </Ξ>
    <Π>
        <output> \Pi </output>
    </Π>
    <Σ>
        <output> \Sigma </output>
    </Σ>
    <Υ>
        <output> \Upsilon </output>
    </Υ>
    <Φ>
        <output> \Phi </output>
    </Φ>
    <Ψ>
        <output> \Psi </output>
    </Ψ>
    <Ω>
        <output> \Omega </output>
    </Ω>
    
    
    <α>
        <output> \alpha </output>
    </α>
    <β>
        <output> \beta </output>
    </β>
    <γ>
        <output> \gamma </output>
    </γ>
    <δ>
        <output> \delta </output>
    </δ>
    <ε>
        <output> \epsilon </output>
    </ε>
    <ζ>
        <output> \zeta </output>
    </ζ>
    <η>
        <output> \eta </output>
    </η>
    <θ>
        <output> \theta </output>
    </θ>
    <ι>
        <output> \iota </output>
    </ι>
    <κ>
        <output> \kappa </output>
    </κ>
    <λ>
        <output> \lambda </output>
    </λ>
    <μ>
        <output> \mu </output>
    </μ>
    <ν>
        <output> \nu </output>
    </ν>
    <ξ>
        <output> \xi </output>
    </ξ>
    <π>
        <output> \pi </output>
    </π>
    <ρ>
        <output> \rho </output>
    </ρ>
    <σ>
        <output> \sigma </output>
    </σ>
    <τ>
        <output> \tau </output>
    </τ>
    <υ>
        <output> \upsilon </output>
    </υ>
    <φ>
        <output> \phi </output>
    </φ>
    <χ>
        <output> \chi </output>
    </χ>
    <ψ>
        <output> \psi </output>
    </ψ> 
    <ω>
        <output> \omega </output>
    </ω>
    
</Syntax>
