Linked by Andy Roberts on Mon 6th Jun 2005 18:19 UTC
Features, Office Anyone who has used Microsoft Word for a reasonable amount of time will recognise my very own Andy's Laws on Word:
Permalink for comment
To read all comments associated with this story, please click here.
@Jack
by Lakedaemon on Tue 7th Jun 2005 06:20 UTC

another (working ?) simple TeX-solution to your problem:

define a macro called /SPolynomial (or /whatever ;) ) like

/def/SPolynomial{/noindent/hbox{$S$-poly}/-/hbox{nomial}}

With backslashes instead of slashes
(backslashes get removed in Eugenia's shout box)

and query-replace all your $S$-polynomial with either Spolynomial{} ot 'Spolynomial '.


the {} is there because 1 space is ignored after a TeX command.
the /noindent is here to make TeX go into horizontal mode...
if you didn't do that, at the begining of a paragraph, you would get

$S$-poly
nomial

instead of

$S$-polynomial