Skip to content

Commit

Permalink
Hidden option to access the size parameter to highlight, GH-28
Browse files Browse the repository at this point in the history
  • Loading branch information
cameronbracken committed May 4, 2011
1 parent 0cdf578 commit 29a4b9a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion R/pgfSweaveDriver.R
Expand Up @@ -384,7 +384,9 @@ pgfSweaveRuncode <- function(object, chunk, options) {

highlight(parser.output=parser(text=dce),
renderer=renderer_latex(document=FALSE),
output = chunkout, showPrompts=TRUE)
output = chunkout, showPrompts=TRUE,
size=ifelse(is.null(getOption('highlight.size')),
"normalsize", getOption('highlight.size')))

}
beginSinput <- FALSE
Expand Down

0 comments on commit 29a4b9a

Please sign in to comment.