Main Page | Report this Page
Computers Forum Index  »  Computer - Editors  »  empty lines...
Page 1 of 1    

empty lines...

Author Message
julia...
Posted: Wed Sep 02, 2009 1:25 am
Guest
How do I insert a blank line after the pattern \end{tabular} ?


\end{tabular}


Thanks.
 
Andreas Waldenburger...
Posted: Wed Sep 02, 2009 10:23 am
Guest
On Tue, 1 Sep 2009 18:25:08 -0700 (PDT) julia <julia_2683 at (no spam) hotmail.com>
wrote:

Quote:
How do I insert a blank line after the pattern \end{tabular} ?

[snip]

Press the Return key?

I think you need to be more specific. What editor are you using, for
starters. I'm assuming you want to know about some automatic method
that inserts a blank line for you, but you need to disclose a bit more
about your specific requirements.

regards
/W

--
INVALID? DE!
 
julia...
Posted: Wed Sep 02, 2009 12:38 pm
Guest
How do I insert a blank line after the pattern \end{tabular} ?


Hello
Sorry, I use vim but RE dosen't work.
:%s/\v/\\end{tabular}/&\r\r



Quote:
[snip]

Press the Return key?

I think you need to be more specific. What editor are you using, for
starters. I'm assuming you want to know about some automatic method
that inserts a blank line for you, but you need to disclose a bit more
about your specific requirements.

regards
/W

--
INVALID? DE!
 
Gary Johnson...
Posted: Wed Sep 02, 2009 8:48 pm
Guest
julia <julia_2683 at (no spam) hotmail.com> wrote:
Quote:
How do I insert a blank line after the pattern \end{tabular} ?


Hello
Sorry, I use vim but RE dosen't work.
:%s/\v/\\end{tabular}/&\r\r

\v means "very magic", which I don't think you want in this case. See

:help /\v

But even if you intended to use "very nonmagic", which is indicated by
\V, that second slash, the one following the \v, still terminates the
pattern which again is not what you want. Try this command instead.

:%s/\\end{tabular}/&\r/

--
Gary Johnson
 
 
Page 1 of 1    
All times are GMT
The time now is Tue Dec 01, 2009 9:28 am