Changes between Version 12 and Version 13 of LatexMacro


Ignore:
Timestamp:
Sep 21, 2016, 8:27:11 PM (8 years ago)
Author:
figaro
Comment:

Moved example to functional description

Legend:

Unmodified
Added
Removed
Modified
  • LatexMacro

    v12 v13  
    66
    77This macro renders Latex code in Trac wiki pages as PNG images.
     8
     9Consider the following wiki entry:
     10{{{
     11{{{
     12#!Latex
     13\Gamma\left(z\right)\Gamma\left(1-z\right)=\frac{\pi}{sin\left(\pi z\right)}
     14}}}
     15}}}
     16
     17This code will produce a PNG image, inserted directly in the body of the wiki page:
     18
     19[[Image(reflectionformula.png)]]
    820
    921LatexMacro is a port of [https://labs.truelite.it/packages/wiki/TrueliteTracUtils latex-math] for Trac 0.11 with some inspiration from the Trac2LatexPlugin.
     
    3547 * [http://sourceforge.net/projects/dvipng/ dvipng]: makes PNG and/or GIF graphics from [wikipedia:Device_independent_file_format DVI] files
    3648
    37 == Example
    38 
    39 Consider the following wiki entry:
    40 {{{
    41 {{{
    42 #!Latex
    43 \Gamma \left ( z \right )\Gamma \left ( 1-z \right )=\frac{\pi }{sin\left ( \pi z \right )}
    44 }}}
    45 }}}
    46 
    47 This code will produce a PNG image, inserted directly in the body of the wiki page:
    48 
    49 [[Image(reflectionformula.png)]]
    50 
    5149== Recent Changes
    5250