如何在乳胶中编写内联矩阵

问题描述 投票:0回答:1
\begin{pmatrix} 2  \\ 4  \\ -2  \end{pmatrix}

这是3 * 1矢量矩阵,我想在那个矩阵旁边写另一个矩阵或xy。有什么方法可以写矩阵inline吗?

latex mathjax
1个回答
0
投票

您是否在数学中使用内联定界符?例如,>

$\begin{pmatrix} 2  \\ 4  \\ -2  \end{pmatrix}$

如果在这些定界符中放置另一个矩阵,它们将被插入行内。例如,请参见以下实时示例:

<script>
MathJax = {
  tex: {inlineMath: [['$','$']]}
}
</script>
<script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js" id="MathJax-script"></script>

This math is in line, $
\begin{pmatrix}
  a & b & c \\
  d & e & f \\
  g & h & i
\end{pmatrix}
\begin{pmatrix} 2\\ 4\\ -2 \end{pmatrix}
$, with text following it.
© www.soinside.com 2019 - 2024. All rights reserved.