latex常用總結

一行居中輸入多個矩陣

\centering {\begin{matrix}
X=\begin{bmatrix}
0 & 1 \\ 
1 & 0 
\end{bmatrix} &   H = \frac{1}{\sqrt{2}}\begin{bmatrix}
1 & 1 \\ 
1 & -1
\end{bmatrix}
\end{matrix}}

\centering {\begin{matrix}
X=\begin{bmatrix}
0 & 1 \\ 
1 & 0 
\end{bmatrix} &   H = \frac{1}{\sqrt{2}}\begin{bmatrix}
1 & 1 \\ 
1 & -1
\end{bmatrix}
\end{matrix}}

 

插入一個大括號:

\begin{equation}  
\left\{  
             \begin{array}{**lr**}  
             x=\dfrac{3\pi}{2}(1+2t)\cos(\dfrac{3\pi}{2}(1+2t)), &  \\  
             y=s, & 0\leq s\leq L,|t|\leq1.\\  
             z=\dfrac{3\pi}{2}(1+2t)\sin(\dfrac{3\pi}{2}(1+2t)), &    
             \end{array}  
\right.  
\end{equation} 

\begin{equation}  
\left\{  
             \begin{array}{**lr**}  
             x=\dfrac{3\pi}{2}(1+2t)\cos(\dfrac{3\pi}{2}(1+2t)), &  \\  
             y=s, & 0\leq s\leq L,|t|\leq1.\\  
             z=\dfrac{3\pi}{2}(1+2t)\sin(\dfrac{3\pi}{2}(1+2t)), &    
             \end{array}  
\right.  
\end{equation} 

 

多行下標輸入

\begin{document} 
\noindent\ldots hhh \ldots 
$$ 
A=\min_{\mbox{\tiny$\begin{array}{c} 
0\le i \le m\\ 
0\le j \le n\\ 
0\le k \le q\end{array}$}}a_{ijk} 
$$ 
\ldots hjj \ldots 
\end{document}

\begin{document} 
\noindent\ldots hhh \ldots 
$$ 
A=\min_{\mbox{\tiny$\begin{array}{c} 
0\le i \le m\\ 
0\le j \le n\\ 
0\le k \le q\end{array}$}}a_{ijk} 
$$ 
\ldots hjj \ldots 
\end{document}
 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章