[Distr-commits] r645 - branches/distr-2.3/pkg/SweaveListingUtils/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Mon Apr 19 12:00:53 CEST 2010


Author: ruckdeschel
Date: 2010-04-19 12:00:52 +0200 (Mon, 19 Apr 2010)
New Revision: 645

Modified:
   branches/distr-2.3/pkg/SweaveListingUtils/R/SweaveListingOptions.R
Log:
quotes are now \texttt in listings by default (as required in jss)

Modified: branches/distr-2.3/pkg/SweaveListingUtils/R/SweaveListingOptions.R
===================================================================
--- branches/distr-2.3/pkg/SweaveListingUtils/R/SweaveListingOptions.R	2010-04-09 14:23:54 UTC (rev 644)
+++ branches/distr-2.3/pkg/SweaveListingUtils/R/SweaveListingOptions.R	2010-04-19 10:00:52 UTC (rev 645)
@@ -11,7 +11,8 @@
         "language" = "R", "basicstyle" = "{\\color{Rcolor}\\small}",
         "keywordstyle" = "{\\bf\\color{Rcolor}}",
         "commentstyle" = "{\\color{Rcommentcolor}\\ttfamily\\itshape}",
-        "literate" = paste("{<-}{{$\\leftarrow$}}2",
+        "literate" = paste("{\"}{\\texttt{\"}}1",
+                           "{<-}{{$\\leftarrow$}}2",
                            "{<<-}{{$\\twoheadleftarrow$}}2",#"%\n",
                            "{~}{{$\\sim$}}1", "{<=}{{$\\leq$}}2",#"%\n",
                            "{>=}{{$\\geq$}}2", "{^}{{$\\scriptstyle\\wedge$}}1", sep=""),



More information about the Distr-commits mailing list