Aligning Autonumbers

Alan Litchfield alan at alphabyte.co.nz
Mon Feb 23 13:48:28 PST 2009


Good stuff, thanks Richard :)



Combs, Richard wrote:
> Almost right. But the first tab has to come _before_ the number or it
> won't have any effect on the number. Something like this:
>
> A:\t<n>.<n>.<n>.<n+>\t

That was what I meant ;)


>
> For the pgf formats, figure out how much space the biggest number you'll
> ever need requires, and define the right tab a bit further right than
> that. Then define a left tab (and the left indent of your pgf) maybe 0.2
> or 0.25 to the right of the right tab.
>
> If you have a side head area, you can set up the numbered pgfs to span
> the side head. Then set your tabs and indents to align the number to the
> right edge of the side head and the text to the left edge of the text
> column. Looks pretty good, if you ask me.
>
> For the TOC pgfs, you need a similar right-tab-followed-by-left-tab
> setup. Then in the reference page TOC spec, set up the relevant entries
> something like this:
>
> \t<$paranum>\t<$paratext>\t<$pagenum>

Of course, good point. I wonder, had the designer included the ToC?

Cheers
Alan
-- 
Alan Litchfield MBus (Hons), MNZCS
AlphaByte
PO Box 1941, Auckland
http://www.alphabyte.co.nz




More information about the framers mailing list