-
-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Attempt to fix verticle alignment of some boxes in latex backend #265
base: master
Are you sure you want to change the base?
Conversation
Adding a new package is always worrying, but I'd be happy to have a solution here. Would using @rfindler Do you think we should give this a try and check the document rendering and a few papers? |
I tried the documentation PDF build and it caused no problems there. I also built a recent paper and it didn't cause any problems there either. I'm not savvy enough to understand how this fixes the problem but it sounds like you both are so I'm in favor! |
@rfindler, what was happening was the call to |
When I try I also notice a small difference, although I haven't observed it yet: |
The vertical alignment in tables does not behave as expected. It seems to be only coincidence that my example worked. I'll continue debugging and post in #260, but this patch doesn't really work. |
Thanks for investigating more. My vague memory of table-cell alignment was that the CSS and Latex models were deeply different, and I found some approximation that worked for some common cases and gave up on the rest. |
Yeah thats what im discovering totally understand why you gave up.
…--
Sent from my phoneamajig
On Aug 20, 2020, at 17:26, Matthew Flatt ***@***.***> wrote:
Thanks for investigating more. My vague memory of table-cell alignment was that the CSS and Latex models were deeply different, and I found some approximation that worked for some common cases and gave up on the rest.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
This addresses #260 by providing a default box-adjuster. This requires an extra LaTeX package.
I'm not really sure this is a good solution, but I thought I'd offer a patch for experts to review. It might have unintended consequences if existing code was relying on ignoring the vertical alignment style property. The tests seem to pass, but it seems like a hard thing to write a test for.