Changes between Version 17 and Version 18 of LatexFormulaMacro


Ignore:
Timestamp:
Jan 31, 2016, 10:56:22 AM (8 years ago)
Author:
figaro
Comment:

Further cosmetic changes

Legend:

Unmodified
Added
Removed
Modified
  • LatexFormulaMacro

    v17 v18  
    99The images are named based on a sha1 hash of the formula and parameters, so that images don't have to be regenerated every time they are viewed.
    1010
    11 In order to create the image from the formula text, the following is performed:
     11To create the image from the formula text, the following is performed:
    1212  1. Create .tex file in temporary directory.
    1313  1. Run latex on .tex file to produce .dvi file.
     
    4343 * ghostscript
    4444
    45 Install as any other Trac plugin.
     45General instructions on installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin TracPlugins] page.
    4646
    4747== Example
     
    5252[[formula(\mat{R'\\G'\\B'} = \mathbf{A} \mat{R\\G\\B} + \mathbf{x})]]
    5353}}}
     54
     55which will produce the following formula:
     56
     57[[Image(matrixequation.png)]]
    5458
    5559For more complicated usage, use the !{{{ ... }}} format and the "nomode" command to disable the display-math mode:
     
    6973}}}
    7074
     75and no formula will be displayed.
     76
    7177== Recent Changes
    7278