help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Then how to replace all my $$ ... $$ to \[ \] through search and rep


From: Reiner Steib
Subject: Re: Then how to replace all my $$ ... $$ to \[ \] through search and replace?
Date: Fri, 15 Aug 2008 19:24:33 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.1 (gnu/linux)

On Fri, Aug 15 2008, Ralf Angeli wrote:

> * Phil Carmody (2008-08-15) writes:
>> $$ What about this $1,000,000 example? $$
> C-M-% \$\$ <RET> \,(if (zerop (mod \# 2)) "\\[" "\\]") <RET>

(replace-string "$$" '("\\\[" "\\\]"))

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]