emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Marvin Doyley <doyley@ece.rochester.edu>
To: Eric Schulte <schulte.eric@gmail.com>
Cc: emacs-orgmode@gnu.org, Carsten Dominik <carsten.dominik@gmail.com>
Subject: Re: positioning inline image
Date: Wed, 20 May 2009 10:54:02 -0400	[thread overview]
Message-ID: <6566A7E5-9BB6-4019-8C25-926742223E91@ece.rochester.edu> (raw)
In-Reply-To: <m28wkrrj9x.fsf@gmail.com>

Thanks

cheers
MMD
On May 20, 2009, at 9:33 AM, Eric Schulte wrote:

> Carsten Dominik <carsten.dominik@gmail.com> 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
>

      reply	other threads:[~2009-05-20 14:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-19 22:56 positioning inline image Marvin Doyley
2009-05-20  5:00 ` Carsten Dominik
2009-05-20 13:33   ` Eric Schulte
2009-05-20 14:54     ` Marvin Doyley [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6566A7E5-9BB6-4019-8C25-926742223E91@ece.rochester.edu \
    --to=doyley@ece.rochester.edu \
    --cc=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=schulte.eric@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).