如何插入“|”在组织模式表中 [英] how to insert "|" in org-mode table

查看:87
本文介绍了如何插入“|”在组织模式表中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在使用组织模式时遇到麻烦。我想在组织模式中创建一个表,如下所示:

I have some trouble in using org-mode. I want create a table in org-mode like this:

| operator | use         |
|----------+-------------|
|   |      | expr | expr |

但是当我按TAB时,表格更改如下:

but when I press TAB, the table changed like this:

| operator | use |      |      |
|----------+-----+------+------|
|          |     | expr | expr |.

如何避免?

推荐答案


要在表格字段中插入垂直条,请使用\vert或字abc\vert {} def。

To insert a vertical bar into a table field, use \vert or, inside a word abc\vert{}def.

资料来源:组织模式手册:内置表编辑器

如果 \vert 不会自动转换为 | ,调用 org-toggle-pretty-entities ,per:

If \vert is not automatically converted to |, call org-toggle-pretty-entities, per:


Cc Cx \

将实体显示为UTF-8字符。这不会改变保持纯ASCII的缓冲区内容,但它仅覆盖UTF-8字符,仅用于显示。

Toggle display of entities as UTF-8 characters. This does not change the buffer content which remains plain ASCII, but it overlays the UTF-8 character for display purposes only.

资料来源:组织模式手册:特殊符号

函数 org-toggle-pretty-entities 已在版本7.01 中引入。调用 org-version ,如有必要,升级组织模式。

The function org-toggle-pretty-entities was introduced in version 7.01. Call org-version and upgrade Org-mode if necessary.

这篇关于如何插入“|”在组织模式表中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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