[Top][All Lists]

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

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

From: Eric S Fraga
Subject: Re: [OT] [Orgmode] Re: [Babel] Macro for begin_src?
Date: Tue, 20 Apr 2010 11:27:55 +0100
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.7 Emacs/23.1 (i486-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

On Tue, 20 Apr 2010 11:19:10 +0200, Sébastien Vauban <address@hidden> wrote:


> > 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.
> Seb

Interesting.  I've always used textwidth and have never run into
problems: it does adapt to column environments and I've never really
used this within lists or quotes I guess.  Good to know and I'll try
to re-train my fingers to type linewidth instead!  (and I've already
updated my snippet...)


reply via email to

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