Changes between Version 2 and Version 3 of LatexFormulaMacro


Ignore:
Timestamp:
Jul 27, 2005, 11:17:54 AM (19 years ago)
Author:
anonymous
Comment:

no more known bug, add docs about new features

Legend:

Unmodified
Added
Removed
Modified
  • LatexFormulaMacro

    v2 v3  
    1313  1. run convert on .eps file to produce .jpg file
    1414
    15 If the image doesn't exist, I get an internal error after the first run.  But then the second time everything is good.  The only error in the logs is this:
    16 
    17 ... malformed header from script. Bad header=This is TeX, Version 3.14159 (: /home/httpd/vhosts/default/cgi-bin/trac.cgi
    18 
    19 I don't know what's causing the problem.  If you hit preview after entering a formula, you'll get an internal error page.  Hit back and hit preview again and then it works.
    20 
    2115== Bugs/Feature Requests ==
    22 
    23 There is one known bug, see the description above.
    2416
    2517Existing bugs and feature requests for LatexFormulaMacro are
     
    3931== Example ==
    4032
    41 ![[formula(100| \mat{R'\\G'\\B'} = \mathbf{A} \mat{R\\G\\B} + \mathbf{x})]]
     33By default, the latex code is rendered in math mode.  This allows for quick math expressions.  There is also a built-in macro called "mat" which is used for formatting matricies, like this:
     34
     35![[formula(\mat{R'\\G'\\B'} = \mathbf{A} \mat{R\\G\\B} + \mathbf{x})]]
     36
     37For more complicated usage, use the !{{{ ... }}} format and the "nomode" command to disable the display-math mode:
     38
     39{{{
     40  {{{
     41  #!formula
     42  #nomode
     43   A more complicated equation should be typeset in {\em displayed math\/} mode,
     44   like this:
     45   \[
     46   z \left( 1 \ +\ \sqrt{\omega_{i+1} + \zeta -\frac{x+1}{\Theta +1} y + 1}
     47   \ \right)
     48   \ \ \ =\ \ \ 1
     49   \]
     50  }}}
     51}}}
     52
    4253
    4354== Author/Contributors ==