Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
yihui committed Apr 14, 2012
1 parent 960e573 commit b4934de
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/header.R
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ set_header = function(...) {

.default.sty = file.path(.inst.dir, 'themes', 'default.css')
# header for Latex Syntax Highlighting
.header.hi.tex = paste(theme_to_header_latex(.default.sty)$highlight,
.header.hi.tex = paste(c('\\IfFileExists{upquote.sty}{\\usepackage{upquote}}{}',
theme_to_header_latex(.default.sty)$highlight),
collapse = '\n')
.header.framed = paste(readLines(file.path(.inst.dir, 'misc', 'knitr.sty')),
collapse = "\n")
Expand Down

0 comments on commit b4934de

Please sign in to comment.