setToBeDefinedPkgs(pkgs = c("distr","distrEx"),
keywordstyles = paste("\\bfseries\\color{",c("blue","red"),"}",
sep="", collapse=""))
### not to be used:
print(SweaveListingUtils:::.tobeDefinedPkgs)
Run the code above in your browser using DataLab