I would just do something like: [left]#Foo# [right]#Bar Baz#
..then work some CSS magic (or use a CSS framework like Bootstrap or Foundation that provide these types of layouts for you) Another approach is to use a table (I know, lame) Yet another approach is to use a table w/ a style that links to a custom backend that creates CSS-based layout instead of a table layout. Something like: [layout] |=== |Foo |Bar Baz |=== Then right a backend that will produce something like: <div class="row"> <div class="span-2">Foo</div> <div class="span-10">Bar Baz</div> </div> That's a bit more challenging to setup, but that's the absolute best way to get AsciiDoc prepared to do more advanced layouts. AsciiDoc can also add float to some elements, so you could explore that as well. -Dan On Fri, Apr 12, 2013 at 10:40 AM, Mark Volkmann <[email protected]>wrote: > Is there a way in AsciiDoc to have a single line of text where some of the > text is left-aligned, some is centered, and some is right-aligned? > For example, I have a line containing "Foo Bar Baz" and I want Foo to be > on the left side of the page, Bar to be centered and Baz to be on the right > side. > > -- > 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?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- Dan Allen Principal Software Engineer, Red Hat | Author of Seam in Action Registered Linux User #231597 http://google.com/profiles/dan.j.allen http://mojavelinux.com http://mojavelinux.com/seaminaction -- 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
