18
0

Compare commits

..

2 Commits

Author SHA1 Message Date
5af07a555f Merge branch 'master' into knitr
moving both versions from color to xcolor
2026-03-21 16:04:59 +09:00
5d115f3b36 move from color to xcolor 2026-03-21 16:03:32 +09:00

View File

@@ -12,8 +12,6 @@
<<init, echo=FALSE>>= <<init, echo=FALSE>>=
knit_hooks$set(document = function(x) { knit_hooks$set(document = function(x) {
x <- sub('\\usepackage[]{color}',
'\\usepackage[usenames,dvipsnames]{color}', x, fixed = TRUE)
x <- sub('\\usepackage[]{xcolor}', x <- sub('\\usepackage[]{xcolor}',
'\\usepackage[usenames,dvipsnames]{xcolor}', x, fixed = TRUE) '\\usepackage[usenames,dvipsnames]{xcolor}', x, fixed = TRUE)
x x
@@ -39,6 +37,7 @@ source("resources/preamble.R")
% \usepackage{endfloat} % \usepackage{endfloat}
% import and customize urls % import and customize urls
\usepackage[usenames,dvipsnames]{xcolor}
\usepackage[breaklinks]{hyperref} \usepackage[breaklinks]{hyperref}
\hypersetup{colorlinks=true, linkcolor=Black, citecolor=Black, filecolor=Blue, \hypersetup{colorlinks=true, linkcolor=Black, citecolor=Black, filecolor=Blue,
urlcolor=Blue, unicode=true} urlcolor=Blue, unicode=true}