使用类似于this answer的代码.更新针织_1.43
至针织_1.44
字幕后,字幕不再编号并向右浮动.他们更改了什么,是错误还是功能?
请注意,标题中有HTML标记,这在旧版本中工作得很好.
降级到针织_1.43
可以作为一种解决办法.如何使用针织_1.44
获得合适的编号?
---
title: "My Title"
subtitle: "Subtitle"
author: "Me"
date: "1/1/2016"
output:
bookdown::html_document2:
toc: true
toc_float: true
toc_depth: 4
toc_collapsed: true
number_sections: true
keep_md: yes
theme: flatly
citation_package: biblatex
header-includes:
- \usepackage{amsmath}
- \usepackage{extarrows}
---
<style type="text/css">
body{
font-size: 11pt;
}
.tblCaptionBlue > caption{
color: blue;
}
.tblCaptionRed > caption{
color: red;
}
</style>
```{r cars, fig.cap = "<b>An amazing plot</b>"}
plot(cars)
```
针织_1.43
针织_1.44
注意事项
- R版本4.3.1(2023-06-16),平台:x86_64-redhat-linux-gnu(64位),运行在AlmaLinux 9.2(绿松石)下
- RStudio 2023.06.1+524《山地绣球》版本(547dcf861cac0253a8abb52c135e44e02ba407a1,2023-07-07) Mozilla/5.0(X11;Linux x86_64)AppleWebKit/537.36(khtml,像壁虎一样)Chrome/117.0.0.0 Safari/537.36
sessionInfo()
个
## R version 4.3.1 (2023-06-16)
## Platform: x86_64-pc-linux-gnu (64-bit)
## Running under: Ubuntu 22.04.3 LTS
##
## Matrix products: default
## BLAS: /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.10.0
## LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.10.0
##
## locale:
## [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
## [3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
## [5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
## [7] LC_PAPER=en_US.UTF-8 LC_NAME=C
## [9] LC_ADDRESS=C LC_TELEPHONE=C
## [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
##
## time zone: Europe/Zurich
## tzcode source: system (glibc)
##
## attached base packages:
## [1] stats graphics grDevices utils datasets methods base
##
## loaded via a namespace (and not attached):
## [1] digest_0.6.33 R6_2.5.1 bookdown_0.34 fastmap_1.1.1
## [5] xfun_0.40 cachem_1.0.8 针织_1.44 htmltools_0.5.6
## [9] rmarkdown_2.24 cli_3.6.1 sass_0.4.7 jquerylib_0.1.4
## [13] compiler_4.3.1 rstudioapi_0.15.0 tools_4.3.1 evaluate_0.21
## [17] bslib_0.5.1 yaml_2.3.7 jsonlite_1.8.7 rlang_1.1.1