13 Nov
2009
13 Nov
'09
11:45 a.m.
Dear all, The LaTeX {case} macro doesn't seem to work in Xwiki 2.0 with the default LaTeX renderer. Try these two examples to reproduce it and compare with http://en.wikipedia.org/wiki/Math_markup#Examples_2: [XWIKI CODE STARTS HERE] === Continuation and cases=== This example from wikipedia doesn't seem to work: {{formula fontSize="normal"}}f(x) = \begin{cases}1 & \mbox{-1 \le x < 0\par} \\ \frac{1}{2} \;\;\;& \mbox{x = 0\par} \\ 1 - x^2 & \mbox{otherwise\par}\end{cases}{{/formula}} ===Case definitions=== {{formula fontSize="normal"}}f(n) = \begin{cases} n/2, & \mbox{if } n\mbox{ is even} \\ 3n+1, & \mbox{if } n\mbox{ is odd} \end{cases}{{/formula}} [XWIKI CODE ENDS HERE] Any suggestions? Greetings, Steven Calkins