Current location - Health Preservation Learning Network - Healthy weight loss - How to reduce the matrix between rows
How to reduce the matrix between rows
LaTeX, as a powerful international typesetting software, is especially suitable for typesetting scientific papers and books on mathematical science. LaTeX is especially suitable for the typesetting of various symbolic formulas, and its formula typesetting effect is incomparable to the commonly used mathtype at present. Here I will share latex's typesetting skills with you in a series of experiences, hoping to help you. This section shares with you how to reduce the matrix between rows.

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}.