paragraphs

How does one change the \paragraph formatting in LaTeX

This stems out of How can one number paragraphs in LaTeX?, which I asked earlier today: Running with Brent.Longborough's suggestion for how to number paragraphs in a document: \setcounter{secnumdepth}{5} ... \paragraph{If we want to} \paragraph{do something} This results in LaTeX producing something likeso: 0.0.0.1 If we want to 0....

Word macro to extract lists

Hello, I've been following this forum for a while. Some of the answers were great. First time I am posting a question here. I am trying to extract lists (bulleted, numbered) from word document. I looked around, I got upto getting the paragraphs from Word using a macro. How do I get to the lists? Also, I want to extract them out as t...

Return first x paragraphs from a string

How can I return the first x paragraphs from a string using PHP? They're seperated by \r\n but can be put into <p></p> tags if needed. ...

How can I count paragraphs in text file using Perl?

I need to create Perl code which allows counting paragraphs in text files. I tried this and doesn't work: open(READFILE, "<$filename") or die "could not open file \"$filename\":$!"; $paragraphs = 0; my($c); while($c = getc(READFILE)) { if($C ne"\n") { $paragraphs++; } } close(READFILE); print("Paragraphs: $paragraphs\n"); ...

RichEdit, winapi - paragraph aligment

Hi, I would like to have a line aligned in such way, that some first words are aligned left and some last words are aligned right, but all are in the same line: | text 1 text2 | | Lorem ipsum dolor sit amet | Is that possibile? How can I do that? ...

Paragraphs in javascript

Hi all, Do you know if there is an easy way of counting paragraphs in a textarea using nothing but javascript? Thanks, ...

.NET Regular Expression: Get paragraphs

I'm trying to get paragraphs from a string in C# with Regular Expressions. By paragraphs; I mean string blocks ending with double or more \r\n. (NOT HTML paragraphs <p>)... Here is a sample text: For example this is a paragraph with a carriage return here and a new line here. At this point, second paragraph starts. A paragraph en...