LaTeX to XML Math Delimiters
Vim is amazing when used to edit MediaWiki text, but typing "" can be tiresome and frustrating if formulas are used often. LaTeX delimiters are so concise and even come in two flavors: "\( . . . \)" for inline math and "\[ . . . \]" for centered formulas. The goal is to perform the following conversions:
"\( . . . \)" becomes ""
"\[ . . . \]" becomes "
"
LaTeX to XML Math Delimiters
Vim is amazing when used to edit MediaWiki text, but typing "" can be tiresome and frustrating if formulas are used often. LaTeX delimiters are so concise and even come in two flavors: "\( . . . \)" for inline math and "\[ . . . \]" for centered formulas. The goal is to perform the following conversions:
"\( . . . \)" becomes ""
"\[ . . . \]" becomes "
"
Output
Given two vectors and in ,
their '''dot product''' or '''inner product''' is defined as the following:
----
Integration by parts is another way of writing the product rule of differentiation.
For two functions and , the following are equivalent:
----
Matrix multiplication is not commutative
''Quod erat demonstrandum''.