namedtensor / notation

108 stars 5 forks source link

Preserve vertical real-estate #63

Open srush opened 3 years ago

srush commented 3 years ago

From Noah Smith on Twitter

"Would be nice if you could render binary operators with labels below using the same vertical real estate an operator usually uses."

davidweichiang commented 3 years ago

We used to set the axis name closer to the operator, but added struts to make the axis names align when they're next to each other.

A related issue is that \left( A \ndot{ax} B \right) makes the parens really large. Using \smash on the axis name would fix it, I think, but could lead to collisions.

srush commented 3 years ago

I really like that they align... Maybe this is just how it has to be.