# [texhax] \ref for diagrams

Justin C. Walker justin at mac.com
Mon Mar 6 16:05:57 CET 2006

On Mar 6, 2006, at 01:57 , Lars Madsen wrote:

>> Well, that was simple.  Thanks!  Just what I needed.
>>
>>> \vcenter{\xymatrix{...}}
>>> might look better
>>
>> This does look better; the alternatives I tried all gave me way
>> too much empty space above and below the diagram.
>>
>> I notice the equation number shows up on the first line of the
>> diagram.  Is there a way of getting it vertically centered?
>>
>
> didn't \vcenter{\xymatrix{...}} fix that?

No.  I have a 2-line diagram, and, with \vcenter, I get good spacing,
but the "(number)" is on the first of the two lines.

Regards,

Justin

--
Justin C. Walker, Curmudgeon at Large
Institute for the Absorption of Federal Funds
-----------
My wife 'n kids 'n dogs are gone,
I can't get Jesus on the phone,
But Ol' Milwaukee's Best is my best friend.
-----------