我有一个方程式需要减小其大小,但方程式编号似乎也变小了。我怎样才能减小其大小,同时保持其标签的正常大小?
我的源代码:
\documentclass[11pt, a4paper]{book}
\usepackage{amsmath}
\usepackage{amssymb, amsfonts}
\usepackage{tabularx}
\usepackage{booktabs}
\newcommand {\arraystretchdefaultl} {1.3}
\newcommand{\arraystretchdefault}{ \renewcommand {\arraystretch} {\arraystretchdefaultl} }
\arraystretchdefault
\usepackage{makecell}
\begin{document}
\begin{equation}
\scriptsize
\left[
\begin{array}{c}
V_{i} \\ \midrule[0.25mm]
0
\end{array}
\right]
%
=
%
\renewcommand{\arraystretch}{1.6}
\left[
\begin{array}{c c !{\vrule width 0.25mm}c c}
& Z_{orig} & & col. \medspace k - col. \medspace p \\ \Xcline{1-4}{0.25mm}
& row. \medspace k - row. \medspace p & & Z_{th,kp}+Z_{b}\\
\end{array}
\right]
%
\arraystretchdefault
\left[
\begin{array}{c}
I_{i} \\ \midrule[0.25mm]
I_{q}
\end{array}
\right]
\end{equation}
\begin{equation}
\left[
\begin{array}{c}
V_{i} \\ \midrule[0.25mm]
0
\end{array}
\right]
%
=
%
\renewcommand{\arraystretch}{1.6}
\left[
\begin{array}{c c !{\vrule width 0.25mm}c c}
& Z_{orig} & & col. \medspace k - col. \medspace p \\ \Xcline{1-4}{0.25mm}
& row. \medspace k - row. \medspace p & & Z_{th,kp}+Z_{b}\\
\end{array}
\right]
%
\arraystretchdefault
\left[
\begin{array}{c}
I_{i} \\ \midrule[0.25mm]
I_{q}
\end{array}
\right]
\end{equation}
\end{document}
答案1
由于您的问题对我来说不清楚,我只怀疑您正在寻找类似这样的内容:
对于上述方程,我删除了array
s 中所有不必要的列,减少\arraycolsep
并简化了的使用\renewcommand{\arraystretch}{...}
。我还equation
用gather
数学环境替换了:
\documentclass[11pt, a4paper]{book}
\usepackage{amsmath, amssymb}
\usepackage{array, makecell}
\setlength\arraycolsep{3pt}
\renewcommand{\arraystretch}{1.3}
\begin{document}
\begin{gather}
\renewcommand{\arraystretch}{1.6}
\left[\begin{array}{c}
V_{i} \\
\Xcline{1-1}{0.25mm}
0
\end{array}\right]
=
\left[\begin{array}{c !{\vrule width 0.25mm} c }
Z_{orig} & \text{col. } k - \text{col. } p \\
\Xcline{1-2}{0.25mm}
\text{row. } k - \text{row. } p & Z_{th,kp}+Z_{b}
\end{array}\right]
%
\left[\begin{array}{c}
I_{i} \\
\Xcline{1-1}{0.25mm}
I_{q}
\end{array}\right]
\\
\renewcommand{\arraystretch}{1.6}
\left[\begin{array}{c}
V_{i} \\
\Xcline{1-1}{0.25mm}
0
\end{array}\right]
=
\left[\begin{array}{c !{\vrule width 0.25mm} c}
Z_{orig} & \text{col. } k - \text{col. } p \\
\Xcline{1-2}{0.25mm}
\text{row. } k - \text{row. } p & Z_{th,kp}+Z_{b}
\end{array}\right]
%
\left[\begin{array}{c}
I_{i} \\
\Xcline{1-1}{0.25mm}
I_{q}
\end{array}\right]
\end{gather}
\end{document}
注意:amssymb
包(现在)包含amsfonts
,因此不需要再次加载它。