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

查看:16
本文介绍了在 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

I wish to format it like so:

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

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?

解决方案

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

documentclass{article}
usepackage{multicol}

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

这篇关于在 Latex 中将列表分成多列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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