Displaying 1 result from an estimated 1 matches for "knitrout".
Did you mean:
knitro
2012 May 25
1
knitr customization
...fontsize=\footnotesize, fontshape=sl}
\DefineVerbatimEnvironment{Soutput}{Verbatim}{xleftmargin=2em,
fontsize=\footnotesize}
In order to get a similar result (with a tiny size instead of a footnote
size, but that is not the point) with knitr I included in the .Rnw file
the lines
\ifdefined\knitrout
\renewenvironment{knitrout}{\begin{tiny}\slshape}{\end{tiny}}
\else
\fi
What I get is something like this:
http://definetti.uark.edu/~gpetris/knitr-output.pdf
The problem is that the prompt sign '>' did not change either size or
shape. So I am probably not using the correct appr...