Writing mathematical expressions: Difference between revisions

From PC5214 wiki
Jump to navigation Jump to search
Created page with "Here is an example of how to write a mathematical expression: <math>\sqrt{a^2+b^2}</math>"
 
No edit summary
 
Line 1: Line 1:
Here is an example of how to write a mathematical expression:
Here is an example of how to write a mathematical expression. Basically, you sandwich a LaTeX version of your expression between a <nowiki><math></math></nowiki> pair.


<math>\sqrt{a^2+b^2}</math>
The source code
<nowiki><math>\sqrt{a^2+b^2}</math> </nowiki>
renders as  <math>\sqrt{a^2+b^2}</math>

Latest revision as of 02:27, 12 January 2022

Here is an example of how to write a mathematical expression. Basically, you sandwich a LaTeX version of your expression between a <math></math> pair.

The source code

<math>\sqrt{a^2+b^2}</math> 

renders as