See the following screenshot.
The code looks like this:
Inline math looks like $\sum_{k=0}^n \frac{1}{x}$, and that should work. The display-style inline math, however, looks like $!\sum_{k=0}^n \frac{1}{x}$.
This is an equation:<equation dpi="300" id="euler" name="Eulers Identity">
e^{\pi \cdot i} + 1 = 0
</equation> followed by a series of equations: <equations>
\int \ln(x) \dx
&= \int 1 \cdot \ln(x) \dx \\
&= x \cdot \ln(x) - \int x \cdot \frac{1}{x} \dx \\
&= x \cdot \ln(x) - x
</equations>
Finally, <tex dpi=90>Summer of Code rocks!</tex>.I am using the test cases from the technical spec.
| Comment | File | Size | Author |
|---|---|---|---|
| test cases-1.jpg | 59.62 KB | njivy |
Comments
Comment #1
dfg commented1. I see, the environment (only with arguments?) is broken. I will fix that and also add support for the naming/numbering scheme.
2. The environment shoudn't be wrapped in a div/paragraph (easy to fix).
3. You are using \dx :) This isn't a predfined LaTeX command. I define that somewhere in my private LaTeX "stylesheet" collection as \newcommand{\dx}{\;dx}
So replace \dx by \;dx or add the \newcommand{\dx}{\;dx} to the LaTeX preamble in the template file (if you know what the preamble is). But if you change the template file, the images have to be deleted and the drupal cache cleared. This is another minor issue.
Comment #2
dfg commentedComment #3
njivy commentedI don't know what
\dxdoes, actually. I just copied that section from the technical spec, which was copied from your web site. :-)Comment #4
(not verified) commented