What do you guys use for ditaa diagrams? Just copy/paste? Seems like it'd be a bit tedious to draw those boxes. --Nate On Sat, Apr 17, 2010 at 5:12 AM, Eric S Fraga wrote: > On Fri, 16 Apr 2010 21:23:35 -0500, Erik Iverson > 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! > > +1 > > 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--- > >