我想使用tabbing
/ itemize
。enumerate
它的正确语法是什么?
我希望结果看起来像这样:
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}