From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: positioning inline image Date: Wed, 20 May 2009 06:33:30 -0700 Message-ID: References: <312D561F-47E0-41D7-9825-435610198DA6@ece.rochester.edu> <200D2EB3-262E-4E11-8D10-A22FDA7B60E6@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M6lvW-0001ae-3t for emacs-orgmode@gnu.org; Wed, 20 May 2009 09:33:47 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M6lvO-0001Vm-R3 for emacs-orgmode@gnu.org; Wed, 20 May 2009 09:33:42 -0400 Received: from [199.232.76.173] (port=53161 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M6lvM-0001VB-UY for emacs-orgmode@gnu.org; Wed, 20 May 2009 09:33:37 -0400 Received: from rv-out-0708.google.com ([209.85.198.242]:13602) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M6lvM-0002gv-By for emacs-orgmode@gnu.org; Wed, 20 May 2009 09:33:36 -0400 Received: by rv-out-0708.google.com with SMTP id f25so207070rvb.6 for ; Wed, 20 May 2009 06:33:34 -0700 (PDT) In-Reply-To: <200D2EB3-262E-4E11-8D10-A22FDA7B60E6@gmail.com> (Carsten Dominik's message of "Wed, 20 May 2009 07:00:11 +0200") 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: Carsten Dominik Cc: emacs-orgmode@gnu.org, Marvin Doyley Carsten Dominik writes: > On May 20, 2009, at 12:56 AM, Marvin Doyley wrote: > >> Hi everyone, >> >> Does anyone knows how to vary the position of inline images. The >> default position appear to be is center, but it would be nice to >> vary the location especially when exporting as html > > I am not sure. > > http://orgmode.org/manual/Images-in-HTML-export.html#Images-in-HTML-export > > shows how to add attributes to the img tag, but that may not be enough. > I've actually been wondering this myself, and the attributes line did the trick for me. The position (left, center, right) of the image can be controlled with the float style directive. #+ATTR_HTML: style="float:left" [[file:out.png]] This actually works for images exported using org-exp-blocks as well, which was a nice surprise. Thanks -- Eric > > I don't know much about HTML. Can you describe what kind of HTML code > you'd like to generate to vary the position of an image? > > - Carsten > > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode