Changes between Version 19 and Version 20 of TracMathJaxPlugin


Ignore:
Timestamp:
Oct 2, 2016, 8:22:55 AM (7 years ago)
Author:
figaro
Comment:

Moved example to functional description

Legend:

Unmodified
Added
Removed
Modified
  • TracMathJaxPlugin

    v19 v20  
    88
    99It exists in two implementations, each with a different syntax.
     10
     11To display math inline, enter LaTeX equation in between a pair of `\(` and `\)` brackets:
     12
     13{{{
     14Here is an inline equation: \( y = x^2 \)
     15}}}
     16
     17To display a block of math, either enter it between a pair of `$$` characters:
     18
     19{{{
     20Here is a block equation: $$ y = x^2 $$
     21}}}
     22
     23or use the `latex` preprocessor:
     24
     25{{{
     26{{{
     27#!latex
     28y = x^2
     29}}}
     30}}}
     31
     32Each of these examples will be displayed as follows:
     33
     34[[Image(mathjaxexample.gif)]]
    1035
    1136See also: TracMathPlugin, LatexFormulaMacro, Trac2LatexPlugin, LatexMacro
     
    2146[[TicketQuery(component=TracMathJaxPlugin&group=type,format=progress)]]
    2247
    23 == Download and Source
     48== Download
    2449
    2550Download the latest release in [https://bitbucket.org/kisielk/tracmathjaxplugin/get/0.4.zip zip], [https://bitbucket.org/kisielk/tracmathjaxplugin/get/0.4.tar.gz gz], or [https://bitbucket.org/kisielk/tracmathjaxplugin/get/0.4.tar.bz2 bz2] format.
     51
     52== Source
    2653
    2754For the latest changes, check out the source [https://bitbucket.org/kisielk/tracmathjaxplugin using Hg], or [https://bitbucket.org/kisielk/tracmathjaxplugin/src browse it on Bitbucket].
     
    4774
    4875For additional customization of the display output, see the [http://www.mathjax.org/resources/docs/ MathJax documentation].
    49 
    50 == Example
    51 
    52 To display math inline, enter LaTeX equation in between a pair of `\(` and `\)` brackets:
    53 
    54 {{{
    55 Here is an inline equation: \( y = x^2 \)
    56 }}}
    57 
    58 To display a block of math, either enter it between a pair of `$$` characters:
    59 
    60 {{{
    61 Here is a block equation: $$ y = x^2 $$
    62 }}}
    63 
    64 or use the `latex` processor:
    65 
    66 {{{
    67 {{{
    68 #!latex
    69 y = x ^ 2
    70 }}}
    71 }}}
    7276
    7377== Release Notes