Emacs
Friday, August 17, 2012
Draw "Eight ball" using Inscape
I draw an "Eight ball" after seeing this video.
Tuesday, August 7, 2012
Previewing Latex fragments in org mode
The org mode manual says:
If you have dvipng installed, LaTeX fragments can be processed to produce preview images of the typeset expressions:
C-c C-x C-l
Produce a preview image of the LaTeX fragment at point and overlay it over the source code. If there is no fragment at point, process all fragments in the current entry (between two headlines). When called with a prefix argument, process the entire subtree. When called with two prefix arguments, or when the cursor is before the first headline, process the entire buffer.
Here "prefix argument" means either "M-#" or "C-u #" or "C-#",etc.# represents a number.I tried it.It really works.
Monday, August 6, 2012
Emacs org mode notes (2)
I learned this introduction to Emacs org mode:Get Organized with Emacs Org-mode .Now I make a summary.
1.In the fourth paragraph, "You can track changes in your document using a version control system, such as CVS or Subversion".This interest me.I'll try it in the future.
2.Expand the headline to show its branches and body:Place the cursor on a headline,then TAB.
3.Promote a heading by one level,:place the cursor on the heading, M-left (meta and left arrow keys together).
4.Demote a heading by one level: M-right.
5.Promote an entire subtree: M-Shift-left .Demote :M-Shift-right.
6.Add an unordered plain list:start the line with + or -.
Add an ordered list:start the line with 1.
Let Emacs add subsequent item automatically:M-Enter.
7.Check box. This is my check box file. CheckBox.org .
Toggle the check box:C-c C-c.
8.Table.This is my table file.table.org
Move to the next cell:TAB Move to the previous cell:Shift+TAB
9.tag
How to add tags to a head line? C-c C-c
To see other tags in use:C-c C-c ,then use up and down arrow keys.
10.Mark a headline as a to-do item: Placing the cursor on the headline,then C-c C-t. C-c C-t again turn TODO into Done.C-c C-t again remove Done from the headline.
2.Expand the headline to show its branches and body:Place the cursor on a headline,then TAB.
3.Promote a heading by one level,:place the cursor on the heading, M-left (meta and left arrow keys together).
4.Demote a heading by one level: M-right.
5.Promote an entire subtree: M-Shift-left .Demote :M-Shift-right.
6.Add an unordered plain list:start the line with + or -.
Add an ordered list:start the line with 1.
Let Emacs add subsequent item automatically:M-Enter.
7.Check box. This is my check box file. CheckBox.org .
Toggle the check box:C-c C-c.
8.Table.This is my table file.table.org
Move to the next cell:TAB Move to the previous cell:Shift+TAB
9.tag
How to add tags to a head line? C-c C-c
To see other tags in use:C-c C-c ,then use up and down arrow keys.
10.Mark a headline as a to-do item: Placing the cursor on the headline,then C-c C-t. C-c C-t again turn TODO into Done.C-c C-t again remove Done from the headline.
Sunday, August 5, 2012
Emacs org mode notes(1)
I am a newbie to Emacs org mode.I think David O'Toole Org tutorial is a nice material to give you a feel for org mode.
I followed the instructions of this tutorial step by step ,everything went well. You can download OrgTutorial.org .This file is my result after learning this tutorial.
The following is a summary of this tutorial to remind myself things easy to forgotten.
1.How to mark a TO DO item as Done: move your cursor onto that line and hitting C-c C-t.
2.How to add more TO DO items:Position the cursor on the next line and hit M-Shift-enter.(In fact you don't have to position your cursor on the next line.Position the cursor at the end of the previous line is also OK).
3.Insertion of a link is easy.If you want to open a link,position your cursor over the link and hit C-c C-o.
I followed the instructions of this tutorial step by step ,everything went well. You can download OrgTutorial.org .This file is my result after learning this tutorial.
The following is a summary of this tutorial to remind myself things easy to forgotten.
1.How to mark a TO DO item as Done: move your cursor onto that line and hitting C-c C-t.
2.How to add more TO DO items:Position the cursor on the next line and hit M-Shift-enter.(In fact you don't have to position your cursor on the next line.Position the cursor at the end of the previous line is also OK).
3.Insertion of a link is easy.If you want to open a link,position your cursor over the link and hit C-c C-o.
4.How to link to local files:open that local file in Emacs and hit C-c l.Then back to org mode buffer and hit C-c C-l.
5.How to get an overview of the document:Shift-Tab. If Shift-Tab again and again ,you will expand the document gradually.
Subscribe to:
Posts (Atom)