[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Capitalize letter after brace
From: |
Niels Giesen |
Subject: |
Re: Capitalize letter after brace |
Date: |
Wed, 15 Oct 2008 07:29:03 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) |
ross@rosslaird.info (Ross A. Laird) writes:
> This is the type of thing that would take me a day to figure out on my
> own (though, probably, I could eventually figure it out), but most
> readers of this group can probably throw me a line in a few seconds:
>
> I have some index entries in my tex file that are capitalized
> \index{Capitalized} and others that are not \index{not}. I want to make
> all entries consistently capitalized. This means a search for the first
> character after the opening index brace and a change of its case. What's
> the magic formula (please...).
>
C-M-% \({.\) RET \,(upcase \1) RET