![如何编写垂直堆叠的序列定义?](https://linux22.com/image/401295/%E5%A6%82%E4%BD%95%E7%BC%96%E5%86%99%E5%9E%82%E7%9B%B4%E5%A0%86%E5%8F%A0%E7%9A%84%E5%BA%8F%E5%88%97%E5%AE%9A%E4%B9%89%EF%BC%9F.png)
答案1
例如:
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{stackengine}
% these are from https://www.tug.org/TUGboat/tb22-4/tb72perlS.pdf
\def\clap#1{\hbox to 0pt{\hss#1\hss}}
\begin{document}
$(0,\dots,0,\ensurestackMath{\stackunder{1}{\clap{$(i)$}}},0,\dots,0)$
\end{document}
(\clap
有点苛刻;请参阅链接文章以了解更好的方法)
答案2
我提出了两种变体,即mathtools
和old-arrows
:
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{mathtools}
\usepackage{old-arrows} %
\begin{document}
$e_j = (0,\dots,0,\underset{\mathclap{(j)}\strut}{1},0,\dots,0)$
$e_j = (0,\dots,0,\underset{\substack{\uparrow\\ j}\strut}{1},0,\dots,0)$
\end{document}
答案3
答案4
\documentclass[12pt]{article}
\usepackage{mathtools,blkarray}
\begin{document}
\[
\begin{blockarray}{ccccccccc}
\begin{block}{c(ccccccc)c}
e_{j} \coloneqq \mkern-5mu& 0, & \ldots, & 0, & 1, & 0, & \ldots, & 0 & \mkern-5mu \in K^{m}\\
\end{block}
& & & & (j)
\end{blockarray}
\]
\end{document}