Changes between Version 2 and Version 3 of LatexFormulaMacro
- Timestamp:
- Jul 27, 2005, 11:17:54 AM (19 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
LatexFormulaMacro
v2 v3 13 13 1. run convert on .eps file to produce .jpg file 14 14 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.cgi18 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 21 15 == Bugs/Feature Requests == 22 23 There is one known bug, see the description above.24 16 25 17 Existing bugs and feature requests for LatexFormulaMacro are … … 39 31 == Example == 40 32 41 ![[formula(100| \mat{R'\\G'\\B'} = \mathbf{A} \mat{R\\G\\B} + \mathbf{x})]] 33 By 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 37 For 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 42 53 43 54 == Author/Contributors ==