On Tue, 20 Apr 2010 11:19:10 +0200, Sébastien Vauban 
<wxhgmqzgw...@spammotel.com> 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...)

Thanks,
eric


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to