Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/blahtexml/HTML+MathML.xml
blob: 9d330389be74e8ecac0ee91734571a4487ae3874 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN" "http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:b="http://gva.noekeon.org/blahtexml" xml:lang="en">
<head>
        <meta http-equiv="Content-Type" content="text/xml; charset=UTF-8"></meta>
        <title>Example of Blahtex's processing</title>
</head>
<style type="text/css">
.ieq, .eq {
    color: blue;
}
</style>
<body>
<h1>Using <code>blahtexml --xmlin</code></h1>

<p>In general, the distance of a point with coordinates <span class="ieq"><math xmlns="http://www.w3.org/1998/Math/MathML"><mo lspace="0" rspace="0" stretchy="false">(</mo><mi>x</mi><mo lspace="0" rspace="0.167em">,</mo><mi>y</mi><mo lspace="0" rspace="0" stretchy="false">)</mo></math></span> to the origin <span class="ieq"><math xmlns="http://www.w3.org/1998/Math/MathML"><mo lspace="0" rspace="0" stretchy="false">(</mo><mn>0</mn><mo lspace="0" rspace="0.167em">,</mo><mn>0</mn><mo lspace="0" rspace="0" stretchy="false">)</mo></math></span> is <span class="ieq"><math xmlns="http://www.w3.org/1998/Math/MathML"><msqrt><msup><mi>x</mi><mn>2</mn></msup><mo lspace="0.222em" rspace="0.222em">+</mo><msup><mi>y</mi><mn>2</mn></msup></msqrt></math></span>. A circle of radius <span class="ieq"><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>r</mi></math></span> is the set of points that are at a distance <span class="ieq"><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>r</mi></math></span> of its center. So, the equation of a circle of radius <span class="ieq"><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>r</mi></math></span> centered at the origin is <span class="eq"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><msup><mi>x</mi><mn>2</mn></msup><mo lspace="0.222em" rspace="0.222em">+</mo><msup><mi>y</mi><mn>2</mn></msup><mo lspace="0.278em" rspace="0.278em">=</mo><msup><mi>r</mi><mn>2</mn></msup><mtext>.</mtext></math></span></p>

</body>

</html>