The beauty of org must be shared. Org的美必须分享。
Go through stylesheet
Org makes easy things trivial and complex things practical.
Org让简单的事情变得微不足道,让复杂的事情变得可行。
You don’t need to learn Org before using Org: read the quickstart page and you should be good to go. If you need more, Org will be here for you as well: dive into the manual and join the community!
在使用 Org 之前,你不需要先学习 Org:阅读快速入门页面,你就可以开始使用了。如果你需要更多资源,Org 也会为你提供支持:深入学习手册并加入社区吧!
from pathlib import Path
cssRatios = []
for css_min in Path("resources/style").glob("*.min.css"):
css = css_min.with_suffix('').with_suffix('.css')
cssRatios.append([css.name,
"{:.0f}% minified ({:4.1f} KiB)".format( 100 *
css_min.stat().st_size / css.stat().st_size,
css_min.stat().st_size / 1000)])
return cssRatiosEvaluated results
Org 主模式内置了一个表格编辑器,并且支持各种与元素引用以及公式的功能。 最简单的表格仅仅是由 | 分隔开的文本。
| 我 | 是 | 一个 | 表格 |
| 我 | 有 | 两行 | ! |
这是在一篇论文(Schulte et al. 2012)里的一个表格,对比了现有的文学编程与可重复研究工具。
| Tool | Literate programming? | Reproducible Research? | Languages |
| 工具 | 文学编程? | 可重复研究? | 语言 |
|---|---|---|---|
| Javadoc | partial(部分) | no(否) | Java |
| Haskell .lhs | partial(部分) | no(否) | Haskell |
| noweb | yes(是) | no(否) | any |
| Sweave | partial(部分) | yes(是) | R |
| Org-mode | yes(是) | yes(是) | any |
担心无法在文本表格中对齐?你只需按一个键 —— tab。