Bug Report: tbl_stack()
header alignment when exported to pdf via as_kable_extra()
with \n
in modify_header()
#1326
Milestone
In individual
tbl_summary()
outputs utilizingmodify_header()
with\n
line breaks, column headers render to pdf as expected (centered).However, when combining tables via
tbl_stack()
, outputs utilizingmodify_header()
with\n
line breaks, column headers render to pdf as trt 1 left justified and trt 2 centered.Here is the output:
Here is the source .Rmd:
Table 1
Table 2
Stack Table 1 & Table 2, then modify header
Modify header in Table 1, then stack
The text was updated successfully, but these errors were encountered: