|
From: | Nathan Neff |
Subject: | Re: [Orgmode] Re: [Babel] Macro for begin_src? |
Date: | Sat, 17 Apr 2010 08:38:01 -0500 |
+1On Fri, 16 Apr 2010 21:23:35 -0500, Erik Iverson <address@hidden> wrote:
> > http://doc.norang.ca/org-mode.html#Yasnippets
> >
> > If anyone else has a different macro set up, I'm still interested in
> > hearing your solutions.
> >
>
> Nope, yasnippet is the way to go I think!
it might be nice to have a worg page on snippets for org-mode? I'm
happy to contribute a few. The ones I use the most are these two:
block:
--8<---------------cut here---------------start------------->8---
#name : #+begin_...#+end_
# --
#+begin_$1 $2
$0
#+end_$1
--8<---------------cut here---------------end--------------->8---
and
figure:
--8<---------------cut here---------------start------------->8---
#name : figure
# --
#+attr_latex: width=$1\textwidth
[[file:$2.pdf]]
$0
--8<---------------cut here---------------end--------------->8---
[Prev in Thread] | Current Thread | [Next in Thread] |