小编Ken*_*dal的帖子

kableExtra:更改表格脚注的字体大小

我希望脚注中的字体大小小于表格中的文本,但无法弄清楚。是否有类似于 kable_styling 的东西,我可以在其中编辑表中可用于脚注的行的文本和颜色?我正在使用 RMarkdown 生成 HTML 而不是 LateX。

在此处输入图片说明

---
title: "Untitled"
output: html_document
---

```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = FALSE )

library( kableExtra )
library( knitr ) 

```

```{r mtcars}

 tab_mtcars <- knitr::kable( mtcars[ 1:5 , c( 1:4 )] , format = "html", col.names = c( "MPG", "CYL", "DISP" , "HP" ) ,  align = "lccc" , escape = F ) %>% kable_styling( full_width = T , bootstrap_options = c( "hover", "condensed" , "bordered"), position = "left") %>% add_header_above( c( …
Run Code Online (Sandbox Code Playgroud)

footnotes r-markdown kableextra kable

3
推荐指数
1
解决办法
1992
查看次数

标签 统计

footnotes ×1

kable ×1

kableextra ×1

r-markdown ×1