How to Post a Matrix in Precalculus Mathematics

  • Thread starter Thread starter Mano Jow
  • Start date Start date
AI Thread Summary
To post a matrix in LaTeX on the Precalculus Mathematics subforum, users should use the code A = \begin{pmatrix}m&3\\2&1/2\end{pmatrix} for better formatting and automatic parentheses. Issues with previewing LaTeX can arise due to cached images, which can be resolved by refreshing the page or clearing the browser cache. The original code provided by the user was not displaying correctly in preview mode, but it would work when posted. It's important to note that the preview feature may not accurately reflect the final output. Following these guidelines ensures proper matrix display in posts.
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 A = \left(\begin{array}{cc}m&3\\2&1/2\end{array}\right)

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
19
Views
2K
Replies
3
Views
3K
Replies
5
Views
2K
Replies
10
Views
194
Replies
5
Views
3K
Replies
9
Views
2K
Back
Top