emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Re: [Babel] Macro for begin_src?


From: Nathan Neff
Subject: Re: [Orgmode] Re: [Babel] Macro for begin_src?
Date: Sat, 17 Apr 2010 08:38:01 -0500

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 <address@hidden> wrote:
On 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!

+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---



reply via email to

[Prev in Thread] Current Thread [Next in Thread]