Re: Vertical centering of display number in @CentredNumberedDisplay when using a @Tbl
Valery Ushakov <[email protected]> Sun, 17 Dec 2017 18:55:23 +0300
| Newsgroups | gmane.comp.type-setting.lout |
|---|---|
| Message-ID | <[email protected]> |
On Sun, Dec 17, 2017 at 13:27:36 +0800, Jason Hoogland wrote:
> number on the right seems to be vertically aligned to the top of the
> display. How can I centre its vertical alignment?
> @CentredNumberedDisplay
> @Tag { eqnCombinatorics }
> @Tbl
Make that
0.5w @VShift @Tbl ...
@CND aligns the horizontal marks of the displayed object and the
nuber, so tell lout to move the horizontal mark of the table.
Alternatively you can use @MarkRowa, though that will put the mark
before the specified row.
As a debugging aid you can ask lout to visualize the marks for you:
http://www.stderr.spb.ru/~uwe/lout/essays/2849.showmarks.txt
-uwe