Under construction (no kidding huh?)

1. You need to install the cookbook for jsmath for pmwiki. See here.
2. You will get a icon for jsmath on your shortcuts bar:     About the icon.

The icon is position number 1000 so it usually appears at the end.

The instruction for it is in the jsMath.php cookbook and not in config.php like other added icons.
The image filename is math.gif and it is in pub/guiedit like all the other icons.


Samples and how to get them ...   

Sample Code
\mathop = \limits^? \mathop = \limits^?
Basic math: f(x)=\sqrt{x}+\frac{x}{3}
Code: {$ f(x)=\sqrt{x}+\frac{x}{3} $}
  • {$ is the code that shows that jsMath code is starting.
  • f(x)=\sqrt{x}+\frac{x}{3} is the jsMath code itself.
    • A backslash is the symbol that a jsMath (LaTeX) command will start.  \LaTeX_Command  
      • Here there are two commands: \sqrt{}  - the square root sign, and \frac{}{} - the fraction maker.
    • Parameters of the command are surrounded by braces {}.
      • The command \sqrt{} has one parameter, i.e. the text inside the square root.
      • The command \frac{}{} has two parameters, i.e. the numerator and the denominator.
    • Spacing in the jsMath code is ignored. To add spaces you must use: \,
  • $} is the code that shows that jsMath code has ended.
The formula is:   \bbox[border:2px green dotted,2pt]{x_{1,2} = {{ - b \,\pm\, \sqrt {b^2 \,-\, 4 \cdot a \cdot c} } \over {2 \cdot a}}}
Code: {$ \bbox[border:2px green dotted,2pt]{x_{1,2} = {{ - b \,\pm\, \sqrt {b^2 \,-\, 4 \cdot a \cdot c} } \over {2 \cdot a}}} $}

(You can increase the size of the font in pmwiki so that the whole thing is bigger.)

Linear system: \left\{ \begin{array}{c} \,\,x + 2y = 3 \\ 3x - 2y = 1 \\ \end{array} \right.
Code: {$ \left\{ \begin{array}{c} \,\,x + 2y = 3 \\ 3x - 2y = 1 \\ \end{array} \right. $}
Notice the "period" after \right - You must have the \right command, but the "period" makes it empty!

Colors: \color{purple}{x\mathop = \limits^?1} and \color{teal}{y\mathop = \limits^?2}

Code: {$ \color{purple}{x \mathop = \limits^? 1} $} and {$ \color{teal}{y \mathop = \limits^? 2}
Visible colors: red, green, purple, blue, teal, darkgreen, darkgrey, darkorange, yellowgreen

Related Topics


 

 Up one level


Page last modified on February 05, 2009, at 11:54 PM