I am defining some new commands related to the color of my word but I want that each time I use it, the text font size get smaller than what it actually is. Could I redefine the font size inside this expression:
Code: Select all
\newcommand{\KeywordTok}[1]{\textcolor[rgb]{0.13,0.29,0.53}{\textbf{{#1}}}}
The easy way would be to use tiny or scalebox each time I use my new commands but then latex doesn't respect the line breaks
Code: Select all
\scalebox{.4}{
\KeywordTok{library}\NormalTok{( }\StringTok{"caret"} \NormalTok{) }
\KeywordTok{library}\NormalTok{( }\StringTok{"plyr"} \NormalTok{)}
\KeywordTok{set.seed}\NormalTok{( }\DecValTok{23} \NormalTok{)}
\CommentTok{# The data set is named as `df`}
}