From: "Eric Schulte" <schulte.eric@gmail.com>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: emacs-orgmode@gnu.org, Marvin Doyley <doyley@ece.rochester.edu>
Subject: Re: positioning inline image
Date: Wed, 20 May 2009 06:33:30 -0700 [thread overview]
Message-ID: <m28wkrrj9x.fsf@gmail.com> (raw)
In-Reply-To: <200D2EB3-262E-4E11-8D10-A22FDA7B60E6@gmail.com> (Carsten Dominik's message of "Wed, 20 May 2009 07:00:11 +0200")
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
next prev parent reply other threads:[~2009-05-20 13:33 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 [this message]
2009-05-20 14:54 ` Marvin Doyley
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=m28wkrrj9x.fsf@gmail.com \
--to=schulte.eric@gmail.com \
--cc=carsten.dominik@gmail.com \
--cc=doyley@ece.rochester.edu \
--cc=emacs-orgmode@gnu.org \
/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).