[xep-support] Different text alignment in one block
G. Ken Holman
gkholman at CraneSoftwrights.com
Wed Sep 1 12:57:42 PDT 2010
At 2010-09-01 15:39 -0400, I wrote:
>So, in all, your solution would look like:
>
> <block text-align="justify" text-align-last="justify">
> blah blah blah blah blah blah blah blah blah blah blah blah
> blah blah blah blah blah blah blah blah blah blah blah blah
> blah blah blah blah blah blah blah blah blah blah blah blah
> blah blah blah blah blah blah blah blah blah blah blah blah
> blah<leader leader-length.minimum="0pt"
> keep-with-previous="always"/><leader leader-length.minimum="0pt"
> keep-with-next="always"/><inline
> keep-together.within-line="always">Author</inline>
> </block>
Thinking about this a bit more, I would change it to the following:
<block text-align="justify" text-align-last="justify">
blah blah blah blah blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah blah blah blah blah blah
blah<leader leader-length.minimum=".5em"
keep-with-previous="always"/><leader leader-length.minimum=".5em"
keep-with-next="always"/><inline
keep-together.within-line="always">Author</inline>
</block>
... where I've changed the minimum leader lengths to half of a
nominal character width.
This is better because as long as there is a full character width or
greater, the Author stays on the same line. If there is less than a
full character width between the end and the author, the author is
pushed to the next line.
My original suggestion would have allowed the two to abut, which
would not be appropriate.
I hope this helps.
. . . . . . . . . . Ken
--
XSLT/XQuery training: after http://XMLPrague.cz 2011-03-28/04-01
Vote for your XML training: http://www.CraneSoftwrights.com/f/i/
Crane Softwrights Ltd. http://www.CraneSoftwrights.com/f/
G. Ken Holman mailto:gkholman at CraneSoftwrights.com
Male Cancer Awareness Nov'07 http://www.CraneSoftwrights.com/f/bc
Legal business disclaimers: http://www.CraneSoftwrights.com/legal
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html
More information about the Xep-support
mailing list