Hello Bruce,
here included, some ways to do it
with plain asciidoc and/or slidy2 backend
-- Jean-Michel Inglebert
Le 12/07/2013 21:35, Bruce Eckel a écrit :
The "align" directive doesn't seem to work. Here's what I'm using:
image:LightBulb.png["Light Bulb",align="right"]
The image appears in the result, but it's always left-aligned.
I'm basically just trying to put bullet points on the left and a
single image on the right, like this:
- Bullet 1 ============
- Bullet 2 = Image =
- Bullet 3 = =
- Bullet 4 =============
Is there a simple way to do this?
Thanks.
-- Bruce Eckel
www.AtomicScala.com <http://www.AtomicScala.com>
www.Reinventing-Business.com <http://www.Reinventing-Business.com>
www.MindviewInc.com <http://www.MindviewInc.com>
--
You received this message because you are subscribed to the Google
Groups "asciidoc" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/asciidoc.
For more options, visit https://groups.google.com/groups/opt_out.
--
Cordialement
Jean-Michel Inglebert
--
You received this message because you are subscribed to the Google Groups
"asciidoc" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/asciidoc.
For more options, visit https://groups.google.com/groups/opt_out.
= Single image on the right
:myimage: LightBulb.png
.Requirement
----
- Bullet 1 ============
- Bullet 2 = Image =
- Bullet 3 = =
- Bullet 4 ============
----
== block image macro, float="right"
image::{myimage}["Light Bulb",float="right"]
- Bullet 1
- Bullet 2
- Bullet 3
- Bullet 4
== image on the right in a table
[width="100%",cols="3a,^8",frame="none",grid="none"]
|=============================================
^|- Bullet 1 1.4+^.^| image:{myimage}["AsciiDoc"]
^|- Bullet 2
^|- Bullet 3
^|- Bullet 4
|=============================================
ifdef::backend-slidy2[]
[imageright,opacity: 0.9; position: absolute; left: 45%; top: 15%; align: right]
&&&&
image:{myimage}["AsciiDoc"]
&&&&
:slidebackground: imageright
== slidy2 background image on the right
- Bullet 1
- Bullet 2
- Bullet 3
- Bullet 4
[imagerightintable,opacity: 0.9; position: absolute; left: 45%; top: 15%;]
&&&&
[width="100%",cols="6,^3",frame="none",grid="none"]
|=============================================
| | *Some content*
| | image:{myimage}["AsciiDoc"]
|=============================================
&&&&
:slidebackground: imagerightintable
=== slidy2 background table on the right
- Bullet 1
- Bullet 2
- Bullet 3
- Bullet 4
endif::backend-slidy2[]
ifdef::backend-slidy2[:slidebackground!:]
== Image on the left with admonition block
[icon="{myimage}"]
[NOTE]
.Image on the left
====
- Bullet 1
- Bullet 2
- Bullet 3
- Bullet 4
====