我使用乳胶写出了以下矩阵方程。
\documentclass[a4paper, 12 pt]{report}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage[top=1in, bottom=1in, left=1.5in, right=1in]{geometry}
\begin{document}
\[
\begin{bmatrix}
\frac{-\beta_2}{\bx} & \frac{\beta_1}{\bx} \\
\addlinespace
-\frac{1}{\bx} & \frac{1}{\bx}
\end{bmatrix}
\begin{bmatrix}
1 & -\beta_1 \\
1 & -\beta_2
\end{bmatrix}
\begin{bmatrix}
\mathrm{q}_t \\ \mathrm{p}_t
\end{bmatrix}
+
\begin{bmatrix}
\frac{-\beta_2}{\bx} & \frac{\beta_1}{\bx} \\
\addlinespace
-\frac{1}{\bx} & \frac{1}{\bx}
\end{bmatrix}
\begin{bmatrix}
-\alpha_1 & -\gamma_1 & 0 \\
-\alpha_2 & 0 & -\gamma_2
\end{bmatrix}
\begin{bmatrix}
1 \\ \mathrm{i}_t \\ \mathrm{r}_t
\end{bmatrix}
=
\begin{bmatrix}
\frac{-\beta_2}{\bx} & \frac{\beta_1}{\bx} \\
\addlinespace
-\frac{1}{\bx} & \frac{1}{\bx}
\end{bmatrix}
\begin{bmatrix}
\varepsilon_{1t} \\ \varepsilon_{2t}
\end{bmatrix}
\]
\end{document}
输出如下所示。它不在一行中出现。我怎样才能使它变小,以便出现在一行中?
答案1
我建议您用更简单的项来替换分数项,例如\kappa_0
、\kappa_1
和\kappa_2
。
\documentclass{article}
\usepackage[margin=2.5cm]{geometry} % set textblock parameters suitably
\usepackage{amsmath} % for 'bmatrix' env.
\begin{document}
Put $\kappa_0=1/(\beta_1-\beta_2)$, $\kappa_1=\beta_1/(\beta_1-\beta_2)$,
and $\kappa_2=\beta_2/(\beta_1-\beta_2)$. Then
\[
\begin{bmatrix}
-\kappa_2 & \kappa_1 \\
-\kappa_0 & \kappa_0
\end{bmatrix}
\begin{bmatrix}
1 & -\beta_1 \\
1 & -\beta_2
\end{bmatrix}
\begin{bmatrix}
\mathrm{q}_t \\ \mathrm{p}_t
\end{bmatrix}
+
\begin{bmatrix}
-\kappa_2 & \kappa_1 \\
-\kappa_0 & \kappa_0
\end{bmatrix}
\begin{bmatrix}
-\alpha_1 & -\gamma_1 & 0 \\
-\alpha_2 & 0 & -\gamma_2
\end{bmatrix}
\begin{bmatrix}
1 \\ \mathrm{i}_t \\ \mathrm{r}_t
\end{bmatrix}
=
\begin{bmatrix}
-\kappa_2 & \kappa_1 \\
-\kappa_0 & \kappa_0
\end{bmatrix}
\begin{bmatrix}
\varepsilon_{1t} \\ \varepsilon_{2t}
\end{bmatrix}\,.
\]
\end{document}