Example Table with Select Cells Shaded
Authors: Ben Staton
Affiliations:
Abstract: This example produces a publication-quality table that includes selected cells shaded.
Full Description: This example showcases these features within the knitr::kable() %>% kableExtra::funs() framework:
- LaTeX math environments
- Shading of select cells
- Grouped columns
- Multi-line cells
The content in this example is part of a supplement to a manuscript currently in preparation.
Here is a preview of the output:

Table Type: static-print
Submission Type: Single Table Example
Table: pdf-tables/colors-table/colors-table.pdf at main · bstaton1/pdf-tables · GitHub
Repo: pdf-tables/colors-table at main · bstaton1/pdf-tables · GitHub
RStudio Cloud:
DT package used:
gt package used:
reactable package used:
flextable package used:
huxtable package used:
kableExtra package used: true
Other packages: