Generalize revised tick marks for denoting R code