如何在 LaTeX 中以两列布局显示内容? [英] How to display a content in two-column layout in LaTeX?

查看:44
本文介绍了如何在 LaTeX 中以两列布局显示内容?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在用 LaTeX 写一篇文章,我想在两列布局中显示一些内容.左列是矩阵,右列是项目列表.我尝试过使用表格环境,但它不能按我的意愿工作.

I am writing an article in LaTeX and I would like to display some content in two column layout. In the left column a matrix and in the right column a list of items. I have tried with tabular environment but it does not work as I want.

我的问题是如何在 LeTeX 文档(或类似的东西)中创建一个两列区域并能够将某些内容放在左列和右列?我不想为整个文档创建两列布局,只为其中的一部分.

My question is how to create a two column area in a LeTeX document (or something similar) and be able to put certain content to left and right column? I do not want to create a two-column layout for whole document, only for part of it.

推荐答案

加载 multicol 包,就像这个 usepackage{multicol}.然后使用:

Load the multicol package, like this usepackage{multicol}. Then use:

egin{multicols}{2}
Column 1
columnbreak
Column 2
end{multicols}

如果省略columnbreak,列将自动平衡.

If you omit the columnbreak, the columns will balance automatically.

这篇关于如何在 LaTeX 中以两列布局显示内容?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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