Org Latex

中文支持

问题:中文直接导出到 latex 和 pdf, 中文不显示

解决方法一

参考:Export Org file To pdf with Chinese Fonts - 知乎

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
(with-eval-after-load 'ox-latex
  (add-to-list 'org-latex-classes
               '("ctexart" "\\documentclass[11pt]{ctexart}"
                 ("\\section{%s}" . "\\section*{%s}")
                 ("\\subsection{%s}" . "\\subsection*{%s}")
                 ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
                 ("\\paragraph{%s}" . "\\paragraph*{%s}")
                 ("\\subparagraph{%s}" . "\\subparagraph*{%s}")))
  (setq org-latex-default-class "ctexart")
  (setq org-latex-compiler "xelatex"))

解决方法二

1
(setq org-latex-compiler "xelatex")
#+LATEX_COMPILER: xelatex
#+LATEX_HEADER: \usepackage{xeCJK}

Org Tree Slide

简介

使用一个 org-mode 文件,做幻灯片演示

  • 在 emacs org-mode 内部演示
  • 不用导出文件
  • 支持 org-mode 原有功能
  • 支持演示过程中

    • 编辑
    • 执行 source code block 代码块

DONE 启动

M-x org-tree-slide-mode

TODO 导航

  • 下一个

    • C->
  • 上一个

Org Brain

按键

节点 Entry

注意:

  • 小写:添加节点
  • 大写:删除节点

节点类型:

  • 子节点

    • 新加子节点

      • h/*: headline
    • 添加已经存在的 entry 作为子节点

      • c
      • 类型:

        • file
        • entry
      • C: 删除
  • 父节点 parent entry

    • p
    • P

      • 删除
  • 朋友节点 friend entry