[texworks] Regex for DTX mode

Joseph Wright joseph.wright at morningstar2.co.uk
Fri Sep 26 14:56:58 CEST 2008


Joseph Wright wrote:

> 
> I'd like to improve on the macrocode one: how do I specifiy exactly four
> spaces?  The colours at present are not ideal: as I say, I'd like to
> alter bold (for the macrocode start/stop) and background (for the guards
> and also for every line starting % so the code parts stand out).

Of course, something like:

# Non-code
grey			Y	%.*

as the very last line makes the code stand out rather more, but I loose
macro highlighting in the text parts.
-- 
Joseph Wright


More information about the texworks mailing list