Skip to content
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

row_group_as_column = TRUE with LaTeX and 2 groups doesn't show borders correctly #1864

Open
olivroy opened this issue Aug 29, 2024 · 2 comments

Comments

@olivroy
Copy link
Collaborator

olivroy commented Aug 29, 2024

---
format: pdf
---

```{r}
# dev gt
library(gt)

exibble |>
  dplyr::group_by(group, row) |>
  gt(row_group_as_column = TRUE)
```

@kbrevoort I wonder if you knew how to fix this?

image

Also instead of having a little vertical border for each row in the stub, would it be possible to tweak it to have a continuous vertical line for the stub (after the first column)?

@kbrevoort
Copy link
Collaborator

@olivroy I've been working on adding border control in Latex and I'm close to being done. The code is written, but testing surfaced some issues I need to fix before submitting a PR. It addresses the gaps in the vertical lines you mention here and does a lot more. (You're going to like this one, @rich-iannone!)

Unfortunately, I have some day-job-related projects that I need to finish by the end of September that I need to do first. So, I may not get around to finishing the PR until early October.

@olivroy
Copy link
Collaborator Author

olivroy commented Aug 30, 2024

@kbrevoort this is excellent news! Looking forward to the PR! #1712

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants