在Latex中将列表分成多列 [英] Breaking a list into multiple columns in Latex

查看:733
本文介绍了在Latex中将列表分成多列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

Hopefully this is simple: I have a relatively long list where each list item contains very little text. For example:


* a
* b
* c
* d
* e
* f

我希望这样格式化:


* a     * d
* b     * e
* c     * f

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

I would rather not create a table with 2 lists as I want to be able to easily change the list without worrying about updating all the columns.

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

What is the best way to do this in latex?

推荐答案

使用 multicol 程序包然后将您的列表嵌入multicols环境中即可完成您想要的操作:

Using the multicol package and embedding your list in a multicols environment does what you want:

\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中将列表分成多列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆