Tools/raw materials
computer
Latex typesetting software
Methods/steps
LATEX processing formula is very beautiful, but when we encounter a matrix between rows, we often expand the line spacing to meet the display space of the matrix, which is not very beautiful as a whole, and there will be many problems of overflow or paragraph adjustment. The inter-row matrix here is handled like this, and the smallmatrix environment provided by amsmath package needs to be used.
Please look at the following effect:
The above method is also applicable to the inter-row formula, that is, when our matrix is too large and leads to row overflow, we can use this environment to slim down. take for example
In order to show the influence of the matrix on the surrounding environment
The lines in a paragraph, we put it here:
\begin{equation}
\begin{pmatrix}
\begin{smallmatrix}
1。 0 \\
0 & amp- 1
\end{smallmatrix}
\end{pmatrix}
\end{equation}
And then add enough text to ensure that
There is at least one whole row below the matrix.
The results are as follows
three
Note that the smallmatrix environment here is included in the macro package amsmath, so the macro package amsmath should be included when calling the smallmatrix environment, that is, \include{amsmath}.