如何将 `tabbing` 与 `itemize`/`enumerate` 一起使用?

如何将 `tabbing` 与 `itemize`/`enumerate` 一起使用?

我想使用tabbing/ itemizeenumerate它的正确语法是什么?

我希望结果看起来像这样:

1. Bullet text -> More text    ->  Some more text
  * Sub bullet -> Aligned text ->  More text
  * Sub Tab    -> Aligned text ->  More text
2. More bullet -> Aligned      ->  Aligned
  * Sub bullet -> Aligned text ->  More text
  * Sub Tab    -> Aligned text ->  More text
3. More bullet -> Aligned      ->  Aligned

这可能吗?

答案1

也许像这样?一个enumerate环境,然后是tabularx一个合适宽度的环境:

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[showframe]{geometry}
\usepackage{enumitem}
\usepackage{tabularx}
\begin{document}

\begin{enumerate}[wide=0pt, leftmargin=*]
  \item \begin{tabularx}{\dimexpr\linewidth-\leftmargini}[t]{@{}*{3}\{>{arraybackslash{X}}@{}}
          Bullet text & More text & Some more text \\
          \textbullet \hspace{\labelsep} Sub bullet & Aligned text & More text \\
          \textbullet \hspace{\labelsep} Sub Tab & Aligned text & More text
        \end{tabularx}

  \item begin{tabularx}{\dimexpr\linewidth-\leftmargini}[t]{@{}*{3}\{>{arraybackslash{X}}@{}}
          Bullet text. Some more text. Some more text & More text & Some more text \\
          \textbullet \hspace{\labelsep} Sub bullet & Aligned text & More text \\
          \textbullet \hspace{\labelsep} Sub Tab & Aligned text & More text
        \end{tabularx}

  \item \begin{tabularx}{\dimexpr\linewidth-\leftmargini}[t]{@{}*{3}\{>{arraybackslash{X}}@{}}
          More bullet & Aligned & Aligned
        \end{tabularx}
\end{enumerate}

\end{document} 

在此处输入图片描述

相关内容