-
Notifications
You must be signed in to change notification settings - Fork 383
Closed
Labels
bugSomething isn't workingSomething isn't workingcrossreflatexLaTeX engines related libraries and technologiesLaTeX engines related libraries and technologiestablesIssues with Tables including the gt integrationIssues with Tables including the gt integration
Milestone
Description
Bug description
When using full_width = TRUE
from kableExtra, then table caption breaks
Steps to reproduce
---
format: pdf
---
```{r}
#| label: tbl-results1
#| tbl-cap: "This caption doesn't show up"
mtcars[,1:3] |>
knitr::kable() |>
kableExtra::kable_styling(full_width = TRUE)
```
Gives this

Expected behavior
Table caption should show up as normal...
here's with full_width = FALSE

Actual behavior
It doesn't...
Your environment
- RStudio 2023.06.1+524
- OS: MacOS 13.4.1
Quarto check output
[✓] Checking versions of quarto binary dependencies...
Pandoc version 3.1.1: OK
Dart Sass version 1.55.0: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
Version: 1.3.433
Path: /Applications/quarto/bin
[✓] Checking basic markdown render....OK
[✓] Checking Python 3 installation....OK
Version: 3.10.8
Path: /usr/local/opt/python@3.10/bin/python3.10
Jupyter: (None)
Jupyter is not available in this Python installation.
Install with python3 -m pip install jupyter
[✓] Checking R installation...........OK
Version: 4.3.1
Path: /Library/Frameworks/R.framework/Resources
LibPaths:
- /Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/library
knitr: 1.43
rmarkdown: 2.23
[✓] Checking Knitr engine render......OK
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingcrossreflatexLaTeX engines related libraries and technologiesLaTeX engines related libraries and technologiestablesIssues with Tables including the gt integrationIssues with Tables including the gt integration