About the presentation of matrix

  • Thread starter Thread starter applechu
  • Start date Start date
AI Thread Summary
The user is experiencing issues displaying a matrix using LaTeX commands, specifically with the syntax for the bmatrix environment. The solution provided indicates that spaces should not be included before and after the bmatrix command. Additionally, there are problems with using the Daum Equation Editor, as surrounding the pasted code with dollar signs does not compile correctly. The discussion emphasizes the importance of proper syntax in LaTeX for successful rendering of mathematical expressions. Proper formatting is crucial for achieving the desired output in LaTeX.
applechu
Messages
10
Reaction score
0
Hi:
I have a problem about the matrix,
i try the following tex commands:
##A=\begin{ bmatrix } 1 & 2 \\ 3 & 6 \end{ bmatrix }##

and it can not show the matrix, I don't know what is the problem, since the
code style seems right. And another problem is I try to use Daum Equation Editor
to edit the math equation, but the problem is if I add $ and $ surround the code
paste from Daum Equation Editor, it can not show the result I want.
it will show the original codes without any compile. Is any possible solution for that,
thanks a lot.
 
Physics news on Phys.org
applechu said:
Hi:
I have a problem about the matrix,
i try the following tex commands:
##A=\begin{ bmatrix } 1 & 2 \\ 3 & 6 \end{ bmatrix }##

and it can not show the matrix, I don't know what is the problem, since the
code style seems right. And another problem is I try to use Daum Equation Editor
to edit the math equation, but the problem is if I add $ and $ surround the code
paste from Daum Equation Editor, it can not show the result I want.
it will show the original codes without any compile. Is any possible solution for that,
thanks a lot.

Here is a LaTeX guide: https://www.physicsforums.com/showthread.php?t=546968

In your case, you should not type spaces before and after bmatrix. It should be

Code:
##A=\begin{bmatrix} 1 & 2 \\ 3 & 6 \end{bmatrix}##

which gives

##A=\begin{bmatrix} 1 & 2 \\ 3 & 6 \end{bmatrix}##
 
Thanks
 
Back
Top