gpt4 book ai didi

latex - 在 Latex 中将列表分成多列

转载 作者:行者123 更新时间:2023-12-01 22:58:49 25 4
gpt4 key购买 nike

希望这很简单:我有一个相对较长的列表,其中每个列表项都包含很少的文本。例如:

* 一个
* 乙
* c
* d
* e
* f

我希望像这样格式化它:

* 一个 * d
* b * e
* c * f

我宁愿不创建一个包含 2 个列表的表,因为我希望能够轻松更改列表而不必担心更新所有列。

在 latex 中做到这一点的最佳方法是什么?

最佳答案

使用 multicol打包并嵌入您的列表 multicols环境做你想要的:

\documentclass{article}
\usepackage{multicol}

\begin{document}
\begin{multicols}{2}
\begin{enumerate}
\item a
\item b
\item c
\item d
\item e
\item f
\end{enumerate}
\end{multicols}
\end{document}

关于latex - 在 Latex 中将列表分成多列,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1398127/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com