I am using jsMath to render my Latex math code. I implemented a small snippet of code which looks like this
<div CLASS="math">
\left(
\begin{matrix}
-0.5774 & 0 & -0.4082 & 0\\
-0.5774 & 0 & 0.8165 & 0\\
-0.5774 & 0 & -0.4082 & 0\\
0 & 0 & 0 & -0.7071\\
0 & -1 & 0 & 0\\
0 & 0 & 0 & -0.7071\\
\end{matrix}
\left|
\begin{matrix}
-0.7071 & 0\\
0 & 0\\
0.7071 & 0\\
0 & -0.7071\\
0 & 0\\
0 & 0.7071\\
\end{matrix}
\right)\right.
</div>
and reders a matrix that got a vertical line which works pretty well. Next step would be to transpose() this matrix, so that the vertical line would turn into a horizontal. Unfortunately I couldn't get \hlineworking in my jsMathenvironment. Is there an alternative solution or should I try to tackle it with kind of a workaround?
jsMathare generally off-topic here as it is not actually TeX, but a mimicry of some of TeX's features. So it's unlikely that someone who knew about TeX would be able to answer your question and you are therefore better off finding ajsMathforum to ask this on. – Andrew Stacey Jun 26 '12 at 11:23