Help/Simple Math: Difference between revisions

From CIRPwiki
Jump to navigation Jump to search
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Simple Math placed Inline==
==Simple Math Placed Inline or Anywhere==
Anywhere you want to use Greek symbols or a short math expression, you can type the equation in latex surrounded by $\$$..$\$$.  They don't absolutely need to be simple expressions.  
Anywhere you want to use Greek symbols or a short math expression, you can type the equation in latex surrounded by <nowiki><math>..</math></nowiki>.  They don't absolutely need to be simple expressions.  


{| class="wikitable" border="1"
{| class="wikitable" border="1"
! You type !! Shows up as
! You type !! Shows up as
|-
|-
| $\$$ {N} = {E}/\sigma  $\$$ || ${N}={E}/\sigma $
| <nowiki><math>{N} = {E}/\sigma  </math></nowiki> || <math>{N}={E}/\sigma </math>
|-
|-
| ...for low values of $\$$ {{\Re}_{*}}(\Re \lt 1) $\$$,...|| ...for low values of $ {{\Re}_{*}}(\Re \lt 1) $,...
| ...for low values of <nowiki><math> {{\Re}_{*}}(\Re \lt 1) </math></nowiki>,...|| ...for low values of  
<math>{{\Re}_{*}}(\Re < 1) </math>,...
|}
|}


Typically though, if your math expression is quite complicated or one that you will reference later, it is desired to use an equation number.  The wiki can do this quite easily for you and is explained on the next page.
Typically though, if your math expression is quite complicated or one that you will reference later, it is desired to use an equation number.  The wiki can do this quite easily for you and is explained on the next page.


==Subscripts and superscripts==
Using the <nowiki><math>...</math></nowiki> process you can add subscripts and superscripts with the use of '_' and '^', respectively.  See below for an example using both at one time.
{| class="wikitable" border="1"
! You type !! Shows up as
|-
| <nowiki><math>10.9H^2_0</math></nowiki> || <math>10.9H^2_0</math>
|}
-------
[[Help/Simple_Equations | Simple Equations]]
[[Help/Simple_Equations | Simple Equations]]

Latest revision as of 16:14, 21 December 2022

Simple Math Placed Inline or Anywhere

Anywhere you want to use Greek symbols or a short math expression, you can type the equation in latex surrounded by <math>..</math>. They don't absolutely need to be simple expressions.

You type Shows up as
<math>{N} = {E}/\sigma </math>
...for low values of <math> {{\Re}_{*}}(\Re \lt 1) </math>,... ...for low values of

,...

Typically though, if your math expression is quite complicated or one that you will reference later, it is desired to use an equation number. The wiki can do this quite easily for you and is explained on the next page.

Subscripts and superscripts

Using the <math>...</math> process you can add subscripts and superscripts with the use of '_' and '^', respectively. See below for an example using both at one time.

You type Shows up as
<math>10.9H^2_0</math>



Simple Equations