-
Notifications
You must be signed in to change notification settings - Fork 15
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
Easy halign formatting with borders for LaTeX? #76
Comments
I honestly couldn't tell you what my reasoning here was. Well, I can, actually. It wasn't working...and then I did something...and then it was working. I haven't touched it since :) But there's certainly room for improvement. |
I think the main focus was the parbox. Those seem to be the biggest thing that holds. However, I rescind this request, because I found a work around using the functions you have.
This originally wouldn't work for me, and it turns out Also, you should consider changing the defaults for the borders. |
If I ever learn of a way to inject the LaTeX dependencies from |
This fixes the issue with |
Is there any way you can simplify using
halign
for LaTeX printing? Working from your example code, I was able to center the whole column with one line of code:sprinkle(cols = 2, halign="center") %>%
However, when I looked at the LaTeX code, I noticed this centered the column twice.
\\multicolumn{1}{c}{\\parbox[]{49.5pt}{\\centering -0.39}} &
Now this doesn't effect me running the code at all, but seems redundant. I assume it has to do with the
valign
height
andwidth
options. However, to the request: I was hopinghalign
could be expanded to use normal latex formatting like|c|
to control borders. You already have control to change it to c, and the parboxs and centerings do not hinder this.The text was updated successfully, but these errors were encountered: