[Top][All Lists]

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

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

From: Sébastien Vauban
Subject: [Orgmode] Re: [Babel] Macro for begin_src?
Date: Tue, 20 Apr 2010 11:19:10 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

Hi Eric,

Eric S Fraga wrote:
> it might be nice to have a worg page on snippets for org-mode?

Sure. Or having them somewhere in the git directories...

> I'm happy to contribute a few.
> figure:
> #name : figure
> # --
> #+attr_latex: width=$1\textwidth
> [[file:$2.pdf]]
> $0

Better use \linewidth instead of \textwidth. You will avoid bad surprises.

They are generally equivalent, but \linewidth is more often the real width to
consider: it is correctly adapted in column environments, itemized lists and
quotes, to cite a few.


Sébastien Vauban

reply via email to

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