[OS X TeX] Place holder in TeXShop's Find

Alain Schremmer schremmer.alain at gmail.com
Thu Jun 8 15:33:13 EDT 2017


I would like to replace all commands of the form \colorbox{Color} by the command \hlc[Color] with TeXShop's Find. 

I assume that I should use the option Regular Expressions with some place holder:

	Find: \colorbox{PlaceHolder}

	Replace: \hlc[PlaceHolder]

but I have no idea what PlaceHolder ought to be.

The reason is that \hlc, a modification of soul's \hl, is breakable so I would much appreciate help in the matter.
--schremmer


More information about the MacOSX-TeX mailing list