Simon Speer | 29 Jan 13:50
Picon
Picon

Q: Search and destroy - get rid of blanks

hallo

I'd like to insert a lot of \subsections into an unstructured part of my  
document.
At the moment, it looks like this:

some text
subtopic 1
some text
subtopic 2
some text

I'd like to become it like this:

some text
\subsection{subtopic 1}
some text
\subsection{subtopic 2}
some text

I think, I can archive this by/through* the following procedure:

1) subtopic 1
2) SS subtopic 1
3) search <SS\(*\), replace \\subsection\{\0\}

unfortunately, the result is not
\subsection{subtopic 1} but
\subsection{ subtopic 1}

Since my Latex doesn't ignore this blank, how do I get rid of it?

regards
simon

* what's the correct wording?
--

-- 
Erstellt mit Operas revolutionärem E-Mail-Modul: http://www.opera.com/mail/


Gmane