I'm using tbl_summary
to produce tables for LaTeX. The combination with HuxTables workes fine so far. Unfortunately the LaTex export does not small caps. The png-version does. I would like to have them included for the LaTeX-Printout. Do you have an idea how to solve the issue?
Here a are the results.
LaTex: enter image description here
The code:
t_QuestionPhase_tex <- as_hux_table(t_QuestionPhase) %>%
set_width(1.0) %>% set_font_size(8) %>%
set_caption("Übersicht") %>%
set_caption_pos("bottom") %>%
set_label("tbl:questions_answered_count_and_time") %>%
set_all_padding(0) %>%
set_latex_float("H") %>%
set_number_format("%s") %>%
huxtable::to_latex()
write_utf8(t_QuestionPhase_tex, file = file.path("./R/graphs", paste("/", "t_QuestionPhase", ".tex", sep = "")))
Png: enter image description here
The code:
gt::gtsave(as_gt(t_QuestionPhase), file = file.path("./R/graphs", "/t_QuestionPhase.png"))