When I create a table using the knitr::kable function within a RNW file, the text color of the table items in the PDF appears to be grey.
I would like to change this to black. How can I do this?
When I create a table using the knitr::kable function within a RNW file, the text color of the table items in the PDF appears to be grey.
I would like to change this to black. How can I do this?
By default, the output of
kablewill be wrapped in aknitroutenvironment where the text color (fgcolor) is set to grey (rgb: 0.345, 0.345, 0.345). This is what happens in the first chunk.With
results="asis", the output is not wrapped in any enclosing environment, leaving the text color unchanged (black).