Page 1 of 1

How do I add a user defined class for the R programming lang

Posted: Sun Mar 04, 2012 10:34 pm
by ship69
Hi

Is there any way for adding a "user defined class" for marking up R programming language code (e.g. comments in different colours etc)

With thanks

J

Posted: Mon Mar 05, 2012 8:54 pm
by ak47wong
Yes, you can read up in the help file how to add a document class under How To > Use Document Classes.

You will need a syntax definition file. As it happens, someone has aready created one for R: http://www.textpad.com/add-ons/synn2t.html