方程中的虚线

方程中的虚线

我想要的是:

在此处输入图片描述

我拥有的:

在此处输入图片描述

使用以下代码:

\documentclass[11pt, titlepage]{report}
\begin{document}

\begin{equation} \label{eq:quark1}
   \left( \begin{array}{c}
u \\ 
c  \\
t \end{array} \right),  \left( \begin{array}{c}
d \\
s  \\
b \end{array} \right) \hphantom{iiiii} \begin{array}{c}
\textnormal{1\textsuperscript{st}} \\
\textnormal{2\textsuperscript{nd}}  \\
\textnormal{3\textsuperscript{rd}} \end{array} 
\end{equation}

\end{document}

我正在尝试使用\hdashline[2pt/2pt]我在这个帖子,但它不起作用(未定义的控制序列......)

答案1

这里我是三条虚线的sa\stackon系统(带有移位)。array\Centerstack-3pt

\documentclass[11pt, titlepage]{report}
\usepackage{stackengine}
\stackMath
% DASHED LINE OF SPECIFIED LENGTH
% From morsburg at http://tex.stackexchange.com/questions/12537/
% how-can-i-make-a-horizontal-dashed-line/12553#12553
\def\dashfill{\cleaders\hbox to .5em{\rule{.4ex}{.4pt}}\hfill}
\newcommand\dashline[1]{\hbox to #1{\dashfill\hfil}}

\begin{document}
\begin{equation} \label{eq:quark1}
\renewcommand\stacktype{L}
\stackon[-3pt]{%
   \left( \begin{array}{c}
u \\ 
c  \\
t \end{array} \right),  \left( \begin{array}{c}
d \\
s  \\
b \end{array} \right) \hphantom{iiiii} \begin{array}{c}
\textnormal{1\textsuperscript{st}} \\
\textnormal{2\textsuperscript{nd}}  \\
\textnormal{3\textsuperscript{rd}} \end{array}
}{
\Centerstack{\dashline{1.7in} \dashline{1.7in} \dashline{1.7in}}
}
\end{equation}

\end{document}

在此处输入图片描述

相关内容