Skip to content

Commit 6640698

Browse files
committed
code highlighting tweaks for beamerarticle
1 parent b16c379 commit 6640698

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

beamerarticle.latex

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,10 @@ $if(lhs)$
127127
$endif$
128128
$if(highlighting-macros)$
129129
$highlighting-macros$
130+
% tweak code highlighting environment
131+
\RecustomVerbatimEnvironment{Highlighting}{Verbatim}{commandchars=\\\{\},fontsize=\small}
132+
% new environment to be used with R markdown (a knitr hook must also be set)
133+
\DefineVerbatimEnvironment{ROutput}{Verbatim}{frame=single,fontsize=\footnotesize}
130134
$endif$
131135
$if(verbatim-in-note)$
132136
\usepackage{fancyvrb}

0 commit comments

Comments
 (0)