spacemacs org 使用

  • Plain list

  • Table
    在这里插入图片描述

  • TODO items

*** TODO write letter

* organize party [33%]
** TODO call people [0/2]
*** TODO Peter
*** TODO sarah
** TODO Buy food
** DONE talk to neighbor
   CLOSED: [2019-03-12 二 14:28]
# check box
* TODO organize party [0/4]
- [-] call people[1/2]
  - [ ] Peter
  - [X] sarah
- [ ] 
- [ ] order food 

设置TODO list 检索的文件
(setq org-agenda-files (list "~/org/work.org"
                             "~/org/school.org" 
                             "~/org/home.org"))
设置启动打开org文件

设置TODO item CLOSED NOTE:
(setq org-log-done 'note)


#+STARTUP: overview
#+STARTUP: content
#+STARTUP: showall
#+STARTUP: showeverything

快捷键

ctrl-c ctrl-t   改变TODO item 状态
shift-alt enter   插入一个新的TODO item
ctrl-c a t   展示全局的TODO list
C-c ,  设置优先级  
S-up/down   升优先级/降优先级
C-c C-c  激活任务计算[%]  [/]
C-c C-s to run org-schedule.
C-c a a   A display of this week's scheduled items are displayed
press "l" (lowercase L) to turn on log display.
  • 常用快捷键
Shift-TAB   收起/展开所有内容

  • IMAGE
#insert image and link a image in line
see [[fig:1][figure1]]
#+CAPTION: pi layer time cost and output data size
#+NAME:  fig:1 
[[./img.png]] 

`M + /`:  file  name/ address  auto complete         
` C + c C + x C + v`   display the image
`C+c C+l` modify link in minibuffer                     
 org export to html css set
 			
#+OPTIONS: tex:t
#+STARTUP: latexpreview
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="http://gongzhitaao.org/orgcss/org.css"/>

  • Insert template with export options
`C-c C-e #`
#+TITLE: the title to be shown
#+AUTHOR:  the author (default taken from user-full-name)
#+DATE:  a date, fixed, or an Org timestamp
#+EMAIL:  his/her email address (default from user-mail-address)
#+LANGUAGE:  language, e.g. ‘en’ (org-export-default-language)
#+OPTIONS:  H:2 num:t toc:t \n:nil ::t |:t ^:t f:t tex:t ...
  • shortcut for inser block mark
`<s 然后按tab键,会自动展开为源代码块标签:`
#+BEGIN_SRC 

#+END_SRC

#Others 
s    #+begin_src ... #+end_src 
e    #+begin_example ... #+end_example  : 单行的例子以冒号开头
q    #+begin_quote ... #+end_quote      通常用于引用,与默认格式相比左右都会留出缩进
v    #+begin_verse ... #+end_verse      默认内容不换行,需要留出空行才能换行
c    #+begin_center ... #+end_center 
l    #+begin_latex ... #+end_latex 
L    #+latex: 
h    #+begin_html ... #+end_html 
H    #+html: 
a    #+begin_ascii ... #+end_ascii 
A    #+ascii: 
i    #+index: line 
I    #+include: line
  • 中文pdf输出支持
#先转tex文件,再转pdf
#其中需要在tex文件中添加xeCJK包
/usepackage{xeCJK}
#使用编译引擎xelatex
  • 写Latex 公式
 $a^2=b$ or \( b=2 \)
 $$ a=+\sqrt{2} $$ 
 \[ a=-\sqrt{2} \]
  • Latex preview
`#+STARTUP: latexpreview`

`C+c C+x C+l`  预览latex公式
#设置预览字体大小
` M-x customize-group <RET> org-latex <RET>` in order to customize these variables, or use the menus for it.  
set variable preview-scale-function


  • Journal
`C+c c`  打开日记模板
`C+c C+c` 回到之前的buff,保存日记
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值