当我在文本中使用矢量时,矢量显得太大 - 我怎样才能使它变小?
例子:
\documentclass[12pt]{scrartcl}
\usepackage{amsmath}
\usepackage{amssymb}
\begin{document}
One standard basis vectors of $\mathbb{R}^2$ is \begin{pmatrix}1\\0\end{pmatrix}$.
Unfortunately, the vector is about twice as tall as the rest of the line.
How can I reduce its size to about $1.5$-times the size of the line?
\end{document}
答案1
只需使用psmallmatrix
from mathtools
。
\documentclass[12pt]{scrartcl}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{mathtools}
\begin{document}
One standard basis vectors of $\mathbb{R}^2$ is $\begin{psmallmatrix}1\\0\end{psmallmatrix}$.
Unfortunately, the vector is about twice as tall as the rest of the line.
How can I reduce its size to about $1.5$-times the size of the line?
\end{document}
答案2
您可以使用psmallmatrix
来自的环境mathtools
,或\medmath
来自的命令nccmath
(约 80% \displaystyle
),或者在 footnotesize 中创建一个组。只需选择:
\documentclass[12pt]{scrartcl}
\usepackage{mathtools, nccmath}
\usepackage{amssymb}
\begin{document}
One standard basis vectors of $\mathbb{R}^2$ is $\begin{pmatrix}1\\0\end{pmatrix}$.
Unfortunately, the vector is about twice as tall as the rest of the line.
How can I reduce its size to about $1.5$-times the size of the line?
One standard basis vectors of $\mathbb{R}^2$ is $\begin{psmallmatrix}1\\0\end{psmallmatrix}$.
Unfortunately, the vector is about twice as tall as the rest of the line.
How can I reduce its size to about $1.5$-times the size of the line?
One standard basis vectors of $\mathbb{R}^2$ is $\medmath{\begin{pmatrix}1\\0\end{pmatrix}}$.
Unfortunately, the vector is about twice as tall as the rest of the line.
How can I reduce its size to about $1.5$-times the size of the line?
?
One standard basis vectors of $\mathbb{R}^2$ is {\scriptsize$\begin{pmatrix}1\\0\end{pmatrix}$}.
Unfortunately, the vector is about twice as tall as the rest of the line.
How can I reduce its size to about $1.5$-times the size of the line?
\end{document}
答案3
尝试smallmatrix
:
\documentclass[12pt]{scrartcl}
\usepackage{amsmath}
\usepackage{amssymb}
\begin{document}
One standard basis vectors of $\mathbb{R}^2$ is $\left(\begin{smallmatrix}1\\0\end{smallmatrix}\right)$.
Unfortunately, the vector is about twice as tall as the rest of the line.
How can I reduce its size to about $1.5$-times the size of the line?
\end{document}
答案4
我只需使用命令\tbinom{1}{0}
即可第18页本指南:
我认为这可能是一个不错的折衷方案,它是一个简单的基本命令,而且不是太大。见下图:
\documentclass[12pt]{scrartcl}
\usepackage{amsmath}
\usepackage{amssymb}
\begin{document}
One standard basis vectors of $\mathbb{R}^2$ is $\tbinom{1}{0}$.
Unfortunately, the vector is about twice as tall as the rest of the line.
How can I reduce its size to about $1.5$-times the size of the line?
\end{document}