将组织模式表中的垂直线导出到 LaTeX [英] exporting vertical lines in org mode table to LaTeX

查看:15
本文介绍了将组织模式表中的垂直线导出到 LaTeX的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 emacs 作为我的编辑器,并且我正在使用看起来非常有用的 org-mode.

I'm using emacs as my editor and I am toying with org-mode which looks rather useful.

我正在组织模式下生成一个表格(电子表格),除了垂直线之外,它被正确导出到 LaTeX.有没有办法导出它们?我想有一种方法可以将一些垂直线定义为可见.

I'm generating a table (spreadsheet) in org mode and it is exported correctly to LaTeX apart from the vertical lines. Is there a way to export them? I want to have a way to define some of the vertical lines as visible.

推荐答案

您可以使用 #+attr_latex: 为 LaTeX 提供表格的格式,例如:

You can give the format to the table for LaTeX with #+attr_latex:, say:

#+attr_latex: align=|c|c|c|
|------+-----+-----|
|    A |   B |   C |
|------+-----+-----|
| 2.34 | 2.7 | 8.9 |
| 3.67 | 4.5 | 8.9 |
|------+-----+-----|

这篇关于将组织模式表中的垂直线导出到 LaTeX的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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