minad / olelo

Wiki with git backend
MIT License
241 stars 44 forks source link

Latex matrices #20

Closed Shados closed 14 years ago

Shados commented 14 years ago

In short, the below renders fine (aside from the rows arguably being too close together):

\begin{matrix} a_{11}x_1 & + & a_{12}x_2 & + & \cdots & + & a_{1n}x_n & = & c_1\ a_{21}x_1 & + & a_{22}x_2 & + & \cdots & + & a_{2n}x_n & = & c_2\ \vdots & & \vdots & & \ddots & \end{matrix} \\ While this apparently doesn't render at all: \begin{matrix} a_{11}x_1 & + & a_{12}x_2 & + & \cdots & + & a_{1n}x_n & = & c_1\ a_{21}x_1 & + & a_{22}x_2 & + & \cdots & + & a_{2n}x_n & = & c_2\ \vdots & & \vdots & & \ddots & & \vdots \end{matrix} \\
minad commented 14 years ago

This depends on the renderer you are using. The following renderers are possible: itex, ritex, blahteximage, blahtexml, google, image, mathml

The renderer is specified in the page metadata (math: blahtex) or as a mode attribute

   <math mode="google">
    </math>

The default renderer is the google renderer which uses the google charts api, because it doesn't depend on external binaries like blahtex or itex. In your case the length of the formula is too long.

minad commented 14 years ago

see comment before