From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Re: LaTeX export of images Date: Tue, 20 Oct 2009 12:18:21 +0200 Message-ID: <8D607A0D-BCB7-44DB-8F6E-E9F40AF92492@gmail.com> References: <87pr9jf68i.fsf@missioncriticalit.com> <87d45hoizp.fsf@mundaneum.com> <878wg5mkq1.fsf@mundaneum.com> <0782250F-567A-4B4A-82D5-EE1EF8FE65A7@gmail.com> <4ac5fa81.47c2f10a.45ee.0746@mx.google.com> <31946.1254497000@gamaville.dokosmarshall.org> <878wffr4ps.fsf@missioncriticalit.com> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N0Bnh-0007e9-IB for emacs-orgmode@gnu.org; Tue, 20 Oct 2009 06:18:45 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N0Bna-0007aU-89 for emacs-orgmode@gnu.org; Tue, 20 Oct 2009 06:18:43 -0400 Received: from [199.232.76.173] (port=47756 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N0BnZ-0007a9-Cq for emacs-orgmode@gnu.org; Tue, 20 Oct 2009 06:18:37 -0400 Received: from mail-ew0-f223.google.com ([209.85.219.223]:56826) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N0BnY-0007CL-NY for emacs-orgmode@gnu.org; Tue, 20 Oct 2009 06:18:36 -0400 Received: by ewy23 with SMTP id 23so5166699ewy.2 for ; Tue, 20 Oct 2009 03:18:35 -0700 (PDT) In-Reply-To: <878wffr4ps.fsf@missioncriticalit.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: Francesco Pizzolante Cc: emacs-orgmode@gnu.org On Oct 13, 2009, at 12:03 PM, Francesco Pizzolante wrote: > Hi Carsten, > > Sorry for my late reply on this subject. > >> OK, I have now modified image placement in LaTeX. >> >> 1. Image in text >> >> [[./img/x.png]] >> >> 2. Floating image with caption and modified size and placement >> >> #+CAPTION: My caption >> #+ATTR_LATEX: placement=[H] width=0.6\textwidth >> [[./img/x.png]] >> >> 3. Wrapping text around the image >> >> #+ATTR_LaTeX: wrap >> #+ATTR_HTML: align="left" >> [[./img/x.png]] >> >> 4. Wrapping text around the image with modified size and wrapfigure >> placement >> >> #+ATTR_LaTeX: wrap width=0.38\textwidth placement={r}{0.4\textwidth >> #+ATTR_HTML: align="right" width="250" >> [[./img/x.png]] >> >> Even if there is a caption, wrap will work and force the >> image to be non-floating with text wrapped around. >> >> Comments? > > I did not test the wrap option yet, but the rest is perfect (images > in text, > placements, width, captions, labels). > > I still miss one single option: "float" in order to force the > centered figure > environment if if no caption/label is present. > > I would add something like > > #+ATTR_LATEX: float Have you actually tried? The following works for me. #+ATTR_LaTeX: float [[./blue_1.png]] This is text - Carsten > > or > > #+ATTR_LATEX: float=t > > Is this feasible? > > Thanks a lot! > > Francesco - Carsten