From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: [OT] Re: [Babel] Macro for begin_src? Date: Tue, 20 Apr 2010 11:27:55 +0100 Message-ID: <87k4s2quz8.wl%ucecesf@ucl.ac.uk> References: <4BC91BA7.6050904@ccbr.umn.edu> <87ljcm75gv.wl%ucecesf@ucl.ac.uk> <87wrw2a3ch.fsf@mundaneum.com> Reply-To: Eric S Fraga Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O4Agk-0004fm-Uo for emacs-orgmode@gnu.org; Tue, 20 Apr 2010 06:28:19 -0400 Received: from [140.186.70.92] (port=50698 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O4Agh-0004es-Gt for emacs-orgmode@gnu.org; Tue, 20 Apr 2010 06:28:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O4AgV-0006y1-CL for emacs-orgmode@gnu.org; Tue, 20 Apr 2010 06:28:06 -0400 Received: from vscane-b.ucl.ac.uk ([144.82.108.141]:57350) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O4AgV-0006xj-7l for emacs-orgmode@gnu.org; Tue, 20 Apr 2010 06:28:03 -0400 In-Reply-To: <87wrw2a3ch.fsf@mundaneum.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: =?UTF-8?B?U8OpYmFzdGllbg==?= Vauban Cc: emacs-orgmode@gnu.org On Tue, 20 Apr 2010 11:19:10 +0200, S=C3=A9bastien Vauban wrote: [...] > > I'm happy to contribute a few. > > > > figure: > > #name : figure > > # -- > > #+attr_latex: width=3D$1\textwidth > > [[file:$2.pdf]] > > $0 >=20 > Better use \linewidth instead of \textwidth. You will avoid bad surprises. >=20 > They are generally equivalent, but \linewidth is more often the real widt= h to > consider: it is correctly adapted in column environments, itemized lists = and > quotes, to cite a few. >=20 > 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