【发布时间】:2022-11-19 21:58:59
【问题描述】:
我在乳胶中有这段代码(准确地说是在背面),它显示了下图。我使用 \footnotesize 来减小尺寸,以便它适合页面的宽度,但是,它并没有减小到足够。如何进一步减小矩阵的大小?谢谢!
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{multicol}
\usepackage{amsmath}
\usepackage[a4paper, total={6in, 8in}]{geometry}
\title{example stackoverflow}
\author{cristian cotovanu}
\date{November 2022}
\begin{document}
\maketitle
\section{Introduction}
\subsubsection*{3)}
$\frac{1}{h_x^2} = 0.16$, $\frac{2}{h_x^2} = 0.32$, $\frac{1}{h_y^2} = 0.64$, $\frac{2}{h_y^2} = 1.28$. These values will be substitute in the matrix for more clarity.
\begin{equation}
\footnotesize
\begin{bmatrix}
0.32 + 1.28 & -0.16 & 0 & -0.64 & 0 & 0 & 0 & 0 & 0\\
-0.16 & 0.32 + 1.28 & -0.16 & 0 & -0.64 & 0 & 0 & 0 & 0\\
0 & -0.16 & 0.32 + 1.28 & 0 & 0 & -0.64 & 0 & 0 & 0\\
-0.64 & 0 & 0 & 0.32 + 1.28 & -0.16 & 0 & -0.64 & 0 & 0\\
0 & -0.64 & 0 & -0.16 & 0.32 + 1.28 & -0.16 & 0 & -0.64 & 0\\
0 & 0 & -0.64 & 0 & -0.16 & 0.32 + 1.28 & -0.16 & 0 & -0.64\\
0 & 0 & 0 & -0.64 & 0 & 0 & 0.32 + 1.28 & -0.16 & 0\\
0 & 0 & 0 & 0 & -0.64 & 0 & -0.16 & 0.32 + 1.28 & -0.16\\
0 & 0 & 0 & 0 & 0 & -0.64 & 0 & -0.16 & 0.32 + 1.28\\
\end{bmatrix}
\\
\begin{bmatrix}
u_{1, 1}\\
u_{2, 1}\\
u_{3, 1}\\
u_{1, 2}\\
u_{2, 2}\\
u_{3, 2}\\
u_{1, 3}\\
u_{2, 3}\\
u_{3, 3}\\
\end{bmatrix}
=
\begin{bmatrix}
f_{1, 1}\\
f_{2, 1}\\
f_{3, 1}\\
f_{1, 2}\\
f_{2, 2}\\
f_{3, 2}\\
f_{1, 3}\\
f_{2, 3}\\
f_{3, 3}\\
\end{bmatrix}
\end{equation}
\end{document}
【问题讨论】:
-
您能否制作一个可编译的minimal reproducible example,以便我们可以使用正确的页面几何形状重现您的问题?
-
我正确地编辑了代码。
标签: matrix latex size overleaf