我试过了解决方案,但描述文字无法左对齐:
任何建议都值得赞赏!
顺便说一句,根据 CarLaTeX 的建议,我在这里发布了我的乳胶代码,以方便所有后续读者:
\documentclass[10pt]{article}
\usepackage[usenames]{color} %used for font color
\usepackage{amssymb} %maths
\usepackage{amsmath} %maths
\usepackage{blkarray} %block array
\usepackage[utf8]{inputenc} %useful to type directly diacritic characters
\begin{document}
\begin{align*}x = \begin{blockarray}{cc}
\begin{block}{(c)c}
\dots & \dots \\
0 & \text{android.hardware.wifi} \\
1 & \text{android.hardware.telephony} \\
\dots & \dots \\
1 & \text{SEND\_SMS} \\
0 & \text{DELETE\_PACKAGES} \\
\dots & \dots \\
\end{block}
\end{blockarray}\end{align*}
\end{document}
答案1
这blkarray
是可能的。只需指定l
文本列即可。
\documentclass[12pt]{report}
\usepackage{blkarray}
\usepackage{multirow, bigdelim}
\begin{document}
\[
\phi(x) \mapsto
\begin{blockarray}{(c) l l}
\cdots & \cdots & \rdelim\}{3}*[$S_1$] \\
0 & \mathtt{android.hardware.wifi} & \\
1 & \mathtt{android.hardware.telephony} & \\
\cdots & \cdots & \rdelim\}{3}*[$S_2$] \\
0 & \mathtt{SEND\_SMS} & \\
1 & \mathtt{DELETE\_PACKAGES} & \\
\cdots & & \cdots \\
\end{blockarray}
\]
\end{document}