18
0

remove deprecated option to xcolor (usenames)

This commit is contained in:
2026-03-23 12:47:39 +09:00
parent 5af07a555f
commit da76fb674e

View File

@@ -13,7 +13,7 @@
<<init, echo=FALSE>>= <<init, echo=FALSE>>=
knit_hooks$set(document = function(x) { knit_hooks$set(document = function(x) {
x <- sub('\\usepackage[]{xcolor}', x <- sub('\\usepackage[]{xcolor}',
'\\usepackage[usenames,dvipsnames]{xcolor}', x, fixed = TRUE) '\\usepackage[dvipsnames]{xcolor}', x, fixed = TRUE)
x x
}) })
opts_chunk$set(fig.path="figures/knitr-") opts_chunk$set(fig.path="figures/knitr-")