How to Post a Matrix in Precalculus Mathematics

  • Thread starter Thread starter Mano Jow
  • Start date Start date
Mano Jow
Messages
18
Reaction score
0
Hello,

I've been trying to use LaTeX to post a matrix but didn't succeed. Here's the code I have:
A = \left(\begin{array}{cc}m&3\\2&1/2\end{array}\right)

But when I put it between [ tex ][ /tex ] (without spaces) I get a '=>'. But here it's working, see [tex]A = \left(\begin{array}{cc}m&3\\2&1/2\end{array}\right)[/tex]

I'm trying to post it on Precalculus Mathematics sub forum.

What's happening? I've tried this code here and it worked...

Thanks!
 
Physics news on Phys.org
There's a well-known "feature" that when you preview LaTeX you are likely to see cached copies of generated LaTeX images which you used in previous posts. Refreshing the page in the browser or clearing the browser cache usually fixes such problems (but make a copy of the text first in case the process loses what you've already typed in).
 
I see.
But if I post it'll be ok, right?

Thanks!
 
Right. This particular problem only occurs when you're previewing a post.

By the way, it's recommended to do matrices like so:
Code:
A = \begin{pmatrix}m&3\\2&1/2\end{pmatrix}
The pmatrix environment puts in the parentheses for you automatically and also fixes some issues with the alignment of the cells.
 
Thanks a lot, really helped!
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 19 ·
Replies
19
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K
Replies
7
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 11 ·
Replies
11
Views
1K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K