[texhax] XeLaTeX: Extra vertical space in tabbing environment with \kill?

Peter Davis pfd at pfdstudio.com
Mon Apr 11 02:17:52 CEST 2011


Thanks for all the help so far on this.  I really appreciate it.  I'm still
looking for improvements on this, though.

I like the \makebox approach that Martin suggested for achieving tab stops,
but it requires that I know in advance that the text to the left of the tab
is going to be in a column, in effect.  In other words, if my XML is
something like:

<fo:block xyz:tabstop="47">
This is some text that's on the left, but if I insert a tab character
&#x0A;, it should just jump to the position 47bp in whatever line I'm on.
</fo:block>

So the tab may occur on the first line, or the second, or the third,
depending on how the preceding text wraps.  Also, if the current line up to
this point is wider than the tab, than the tab should effectively just act
as a word separator.

So what I'd really love is a way to say, in effect, "from where ever we are
on the current line, jump to 47bp (if it's to the right) and continue
setting text.

Another way to think of this would be: "get the current position on the
line, subtract that from 47bp, and make a box that's as wide as that
difference."

Is there any way to accomplish either of those?  That's really the effect
I'm after.  But I don't know any way to get the current point or current
length of the line.

Thanks!

-pd


-- 
----
The Tech Curmudgeon
http://www.techcurmudgeon.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texhax/attachments/20110410/082ca246/attachment.html>


More information about the texhax mailing list