r - How to set the fontsize of a table footnote
问题描述
How can I set the font size to a 8pt and decrease the line spacing for all table footnotes in my RMarkdown document? Currently my line spacing is set to double and my font size is 12pt. I'm making a pdf document.
This is my code chunk at the moment:
kable(m,
longtable = FALSE,
format = "latex",
booktabs = TRUE,
align = c("l", "c", "c", "c", "c", "c", "c", "c", "c"),
col.names = c("Prior Rating", "Aaa", "Aa", "A", "Baa", "Ba", "B", "Caa", "Obs."),
linesep = "\\addlinespace",
caption = "Small Cooperative Transition Probability Matrix, 1996-2014"
) %>%
add_header_above(c(" ", "Terminal Rating" = 7)) %>%
kable_styling(latex_options = c("HOLD_position", "scale_down")) %>%
kableExtra::footnote(general_title = "Note.",
general = "The standard errors are in parentheses; * indicates the probability is significantly different from its corresponding probability in the unconditional matrix at the 5% level.",
threeparttable = TRUE,
footnote_as_chunk = TRUE,
fixed_small_size = TRUE
)
解决方案
推荐阅读
- python - 在 django 中完成一个函数后如何说 python 调度程序运行一个线程?
- sql - 如何在 SQL Server 中使用动态键存储 JSON 数据
- scala - 验证输入火花数据帧中的时间戳以生成正确的输出火花数据帧
- firebird - 如何从 firebird nbackup 获取总未使用的页面
- r - 将平铺的 WFS 集成到 R Leaflet Map
- python - 似乎 multiprocessing.pool 两次采用相同的参数
- android - Android-Studio 支持多种屏幕尺寸
- python - 尝试连接 IP 摄像机但未发现错误且无流
- java - 无法将 IntelliJ Idea 配置为使用 @Immutables 注释
- api - 来自 Flutter 中 PHP 的 API 流(不是 Firebase)