Numbering paragraphs

2008-04-11 Thread Micha
I am trying to write a research proposal for my uni and the instructions say
that the paragraphs should be numbered where the first number is the section
number.

Any way to do it in lyx/latex?

thanks


Re: Numbering paragraphs

2008-04-11 Thread Bob Lounsbury
On Fri, Apr 11, 2008 at 2:33 PM, Micha <[EMAIL PROTECTED]> wrote:
> I am trying to write a research proposal for my uni and the instructions say
>  that the paragraphs should be numbered where the first number is the section
>  number.
>
>  Any way to do it in lyx/latex?
>
>  thanks
>

I'm confused?

Bob


Re: Numbering paragraphs

2008-04-11 Thread Typhoon
On Fri, 11 Apr 2008 23:33:56 +0300
Micha <[EMAIL PROTECTED]> wrote:

> I am trying to write a research proposal for my uni and the
> instructions say that the paragraphs should be numbered where the
> first number is the section number.
> 
> Any way to do it in lyx/latex?
> 

My legal publisher requires paragraph numbers of the form:
[chapter-parano]. I use the following which you can modify
appropriately:

\newcounter{parno}[chapter]%% numbered paragraph 
\renewcommand{\theparno}{\thechapter-\arabic{parno}}
\newcommand{\p}{\stepcounter{parno}\noindent[\theparno]\ }

Start a new numbered paragraph with \p

HTH,
Alan
> thanks
> 


Re: Numbering paragraphs

2008-04-11 Thread Micha
On Fri, 11 Apr 2008 15:10:08 -0600
"Bob Lounsbury" <[EMAIL PROTECTED]> wrote:

> On Fri, Apr 11, 2008 at 2:33 PM, Micha <[EMAIL PROTECTED]> wrote:
> > I am trying to write a research proposal for my uni and the instructions say
> >  that the paragraphs should be numbered where the first number is the
> > section number.
> >
> >  Any way to do it in lyx/latex?
> >
> >  thanks
> >
> 
> I'm confused?
> 
> Bob
> 

Me too, but to do a rough translation, the instructions say that the paragraphs
will be numbered in a continuous manner in any numbering method where the first
number indicates the section number.

A possible way to do this would be to use an enumeration if it allows a
numbering scheme where the first number is the enumeration number and the
second is the enumeration number.

i don't have any actual example to go by so any interpretation if this is
welcome.

On the other hand, this comes from the engineering department since I couldn't
find any instruction at all for the math department, either for the proposal or
the phd dissertation itself, which is rather strange since I seem to recall
finding something for my msc thesis.


Re: Numbering paragraphs

2008-04-11 Thread Micha
On Sat, 12 Apr 2008 07:54:52 +1000
Typhoon <[EMAIL PROTECTED]> wrote:

> On Fri, 11 Apr 2008 23:33:56 +0300
> Micha <[EMAIL PROTECTED]> wrote:
> 
> > I am trying to write a research proposal for my uni and the
> > instructions say that the paragraphs should be numbered where the
> > first number is the section number.
> > 
> > Any way to do it in lyx/latex?
> > 
> 
> My legal publisher requires paragraph numbers of the form:
> [chapter-parano]. I use the following which you can modify
> appropriately:
> 
> \newcounter{parno}[chapter]%% numbered paragraph 
> \renewcommand{\theparno}{\thechapter-\arabic{parno}}
> \newcommand{\p}{\stepcounter{parno}\noindent[\theparno]\ }
> 
> Start a new numbered paragraph with \p
>

Thanks, it worked. It did teach a bit though and I ended up taking the idea
and abusing it a bit to use enumerations. More work if it was  pure latex, but
in lyx a lot easier

I defined in the header

\renewcommand{\labelenumi}{[\thesection-\arabic{enumi}]}

Now I can just write the whole document as an enumeration environment and I
don't need to retype the \p for each paragraph (like I said, for pure latex it
would have been a lot harder since it requires an \item for each paragraph
instead of just \p but the wonders of lyx help me here). I'm sure that this
can also be done by hacking a lyx document class file but I don't have the
time since I have a day and a bit to start and finish writing my research
proposal ...
 
> HTH,
> Alan
> > thanks
> > 
> 


Re: Numbering paragraphs

2008-04-11 Thread Typhoon
On Sat, 12 Apr 2008 01:19:42 +0300
Micha <[EMAIL PROTECTED]> wrote:

> On Sat, 12 Apr 2008 07:54:52 +1000
> Typhoon <[EMAIL PROTECTED]> wrote:
> 
> > On Fri, 11 Apr 2008 23:33:56 +0300
> > Micha <[EMAIL PROTECTED]> wrote:
> > 
> > > I am trying to write a research proposal for my uni and the
> > > instructions say that the paragraphs should be numbered where the
> > > first number is the section number.
> > > 
> > > Any way to do it in lyx/latex?
> > > 
> > 
> > My legal publisher requires paragraph numbers of the form:
> > [chapter-parano]. I use the following which you can modify
> > appropriately:
> > 
> > \newcounter{parno}[chapter]%% numbered paragraph 
> > \renewcommand{\theparno}{\thechapter-\arabic{parno}}
> > \newcommand{\p}{\stepcounter{parno}\noindent[\theparno]\ }
> > 
> > Start a new numbered paragraph with \p
> >
> 
> Thanks, it worked. It did teach a bit though and I ended up taking
> the idea and abusing it a bit to use enumerations. More work if it
> was  pure latex, but in lyx a lot easier
> 
> I defined in the header
> 
> \renewcommand{\labelenumi}{[\thesection-\arabic{enumi}]}
> 
> Now I can just write the whole document as an enumeration environment
> and I don't need to retype the \p for each paragraph (like I said,
> for pure latex it would have been a lot harder since it requires an
> \item for each paragraph instead of just \p but the wonders of lyx
> help me here). I'm sure that this can also be done by hacking a lyx
> document class file but I don't have the time since I have a day and
> a bit to start and finish writing my research proposal ...

That's very clever!


>  
> > HTH,
> > Alan
> > > thanks
> > > 
> > 
> 


Re: Numbering paragraphs

2008-04-14 Thread Eran Kaplinsky

Clever, indeed. You should add it to the WIKI.

I adapted it to my needs:

   \renewcommand{\labelenumi}{\textbf{\thesection.\arabic{enumi}}}

Now I need two further changes:
First, to correct the indentation, so that the paragraph number is flush
with the left number and the rest of the text is not hanging, but also
flush.
Second, to create a second (and possibly third level):
1.1
1.2
1.2.1
1.2.2
1.3

Can you help?

Thanks,
Eran





Re: Numbering paragraphs

2008-04-14 Thread Micha
On Mon, 14 Apr 2008 07:47:42 -0600
Eran Kaplinsky <[EMAIL PROTECTED]> wrote:

> Clever, indeed. You should add it to the WIKI.
> 
> I adapted it to my needs:
> 
> \renewcommand{\labelenumi}{\textbf{\thesection.\arabic{enumi}}}
> 
> Now I need two further changes:
> First, to correct the indentation, so that the paragraph number is flush
> with the left number and the rest of the text is not hanging, but also
> flush.

There is probably a better way to do this, but I haven't managed to find the
right lengths to modify so someone else will need to answer that, and this
piece of code also doesn't handle more nesting but it will do what you want for
the first level

\renewenvironment{enumerate}{
\setcounter{enumi}{0}
\renewcommand{\item}{
\smallskip

\noindent\smallskip\stepcounter{enumi}\textbf{\thesection.\arabic{enumi}}
}}
{}

You can remove the smallskip if you don't want special space between the
paragraphs 

> Second, to create a second (and possibly third level):
> 1.1
> 1.2
> 1.2.1
> 1.2.2
> 1.3
> 
> Can you help?
> 
> Thanks,
> Eran
> 
> 
> 


Re: Numbering paragraphs

2008-04-14 Thread G. Milde
On 14.04.08, Eran Kaplinsky wrote:
> Clever, indeed. You should add it to the WIKI.

> I adapted it to my needs:

>\renewcommand{\labelenumi}{\textbf{\thesection.\arabic{enumi}}}

> Now I need two further changes:
> First, to correct the indentation, so that the paragraph number is flush
> with the left number and the rest of the text is not hanging, but also
> flush.
> Second, to create a second (and possibly third level):

Use the article (KOMA-script) (or report or book (KOMA-script) document class.

Use the "paragraph" Style for paragraph and "subparagraph" for 2nd level.

Set the numbering depth in Document>Settings so that the "paragraph" and
"subparagraph" are numbered.

Read scrguien.pdf for the preamble commands needed for formatting the
numbers according to your need.

If you need 3 levels of paragraphs, you might use subsubsection,
paragraph, and subparagraph with some more format-redefinitions.

(Untested, but from what I read in scrguide.pdf it should be possible.)

Guenter





numbering paragraphs (lyx newbie)

2012-04-16 Thread Yamandu Ploskonka

Hi!

I've been into Lyx for several weeks.

Nowadays trying to comply with these specs:

"It is desirable to include an indentation at the beginning of each new 
paragraph, and for paragraphs to be numbered (i.e., [0001], [0002], 
[0003], etc.)."


Despite already 2 days searching everywhere, the best I came up with was 
an ugly kludge. There /must/ be a better way


   \renewcommand\thesubsubsection{{[000}\arabic{subsubsection}{]}}


this, used with a local article.layout where I make


DefaultStyle Subsubsection

   Style Subsubsection

   Margin Dynamic
   LatexType Command
   LatexName subsubsection
   Font

   Family Roman
   Series Medium
   Size Normal

   EndFont
   TocLevel 1

   End


then eventually ERT with 
\renewcommand\theparagraph{{[010}\arabic{paragraph}{]}



It works, *except* for the PDF output of my "subsubsections" being in bold

I have absolutely not been able to fix that, except manually, and then 
the numbering stays in bold...


can you help, please?

Thank you!

Yama


Re: numbering paragraphs (lyx newbie)

2012-04-16 Thread stefano franchi
On Mon, Apr 16, 2012 at 8:33 AM, Yamandu Ploskonka  wrote:
> Hi!
>
> I've been into Lyx for several weeks.
>
> Nowadays trying to comply with these specs:
>
> "It is desirable to include an indentation at the beginning of each new
> paragraph, and for paragraphs to be numbered (i.e., [0001], [0002], [0003],
> etc.)."
>
> Despite already 2 days searching everywhere, the best I came up with was an
> ugly kludge. There /must/ be a better way
>
> \renewcommand\thesubsubsection{{[000}\arabic{subsubsection}{]}}
>
>
> this, used with a local article.layout where I make
>
>
> DefaultStyle Subsubsection
>
> Style Subsubsection
>
> Margin Dynamic
> LatexType Command
> LatexName subsubsection
> Font
>
> Family Roman
> Series Medium
> Size Normal
>
> EndFont
> TocLevel 1
>
> End
>
>
> then eventually ERT with
> \renewcommand\theparagraph{{[010}\arabic{paragraph}{]}
>
>
> It works, *except* for the PDF output of my "subsubsections" being in bold
>
> I have absolutely not been able to fix that, except manually, and then the
> numbering stays in bold...
>
> can you help, please?
>
> Thank you!
>
> Yama


Yama,

what is the numbering pattern you're trying to achieve?

1. Continuous numbering throughout the document, regardless of other
divisions (sections, subsections, etc.]

2. Restarting  from each division?

3. A composite subsection/paragraph numbering?

S.

-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies            Ph:   +1 (979) 845-2125
Texas A&M University                          Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: numbering paragraphs (lyx newbie)

2012-04-16 Thread Yamandu Ploskonka


On 04/16/2012 09:41 AM, stefano franchi wrote:

On Mon, Apr 16, 2012 at 8:33 AM, Yamandu Ploskonka  wrote:

Hi!

I've been into Lyx for several weeks.

Nowadays trying to comply with these specs:

"It is desirable to include an indentation at the beginning of each new
paragraph, and for paragraphs to be numbered (i.e., [0001], [0002], [0003],
etc.)."

Despite already 2 days searching everywhere, the best I came up with was an
ugly kludge. There /must/ be a better way

\renewcommand\thesubsubsection{{[000}\arabic{subsubsection}{]}}


this, used with a local article.layout where I make


DefaultStyle Subsubsection

Style Subsubsection

Margin Dynamic
LatexType Command
LatexName subsubsection
Font

Family Roman
Series Medium
Size Normal

EndFont
TocLevel 1

End


then eventually ERT with
\renewcommand\theparagraph{{[010}\arabic{paragraph}{]}


It works, *except* for the PDF output of my "subsubsections" being in bold

I have absolutely not been able to fix that, except manually, and then the
numbering stays in bold...

can you help, please?

Thank you!

Yama


Yama,

what is the numbering pattern you're trying to achieve?

1. Continuous numbering throughout the document, regardless of other
divisions (sections, subsections, etc.]

2. Restarting  from each division?

3. A composite subsection/paragraph numbering?

S.


Thank you, Stephano, good question

The required format has no sections - the only organizing level is the 
paragraph, thus the numbering should go from [0001] to [0n] as the last 
paragraph in the document. It might be nice to be able to have a few 
non-numbered paragraphs, but that hack would be very easy, if the 
numbering elsewhere were achieved.




Re: numbering paragraphs (lyx newbie)

2012-04-16 Thread stefano franchi
On Mon, Apr 16, 2012 at 9:52 AM, Yamandu Ploskonka  wrote:
>
> On 04/16/2012 09:41 AM, stefano franchi wrote:
>>
>> On Mon, Apr 16, 2012 at 8:33 AM, Yamandu Ploskonka
>>  wrote:
>>>
>>> Hi!
>>>
>>> I've been into Lyx for several weeks.
>>>
>>> Nowadays trying to comply with these specs:
>>>
>>> "It is desirable to include an indentation at the beginning of each new
>>> paragraph, and for paragraphs to be numbered (i.e., [0001], [0002],
>>> [0003],
>>> etc.)."
>>>
>>> Despite already 2 days searching everywhere, the best I came up with was
>>> an
>>> ugly kludge. There /must/ be a better way
>>>
>>> \renewcommand\thesubsubsection{{[000}\arabic{subsubsection}{]}}
>>>
>>>
>>> this, used with a local article.layout where I make
>>>
>>>
>>> DefaultStyle Subsubsection
>>>
>>> Style Subsubsection
>>>
>>> Margin Dynamic
>>> LatexType Command
>>> LatexName subsubsection
>>> Font
>>>
>>> Family Roman
>>> Series Medium
>>> Size Normal
>>>
>>> EndFont
>>> TocLevel 1
>>>
>>> End
>>>
>>>
>>> then eventually ERT with
>>> \renewcommand\theparagraph{{[010}\arabic{paragraph}{]}
>>>
>>>
>>> It works, *except* for the PDF output of my "subsubsections" being in
>>> bold
>>>
>>> I have absolutely not been able to fix that, except manually, and then
>>> the
>>> numbering stays in bold...
>>>
>>> can you help, please?
>>>
>>> Thank you!
>>>
>>> Yama
>>
>>
>> Yama,
>>
>> what is the numbering pattern you're trying to achieve?
>>
>> 1. Continuous numbering throughout the document, regardless of other
>> divisions (sections, subsections, etc.]
>>
>> 2. Restarting  from each division?
>>
>> 3. A composite subsection/paragraph numbering?
>>
>> S.
>>
> Thank you, Stephano, good question
>
> The required format has no sections - the only organizing level is the
> paragraph, thus the numbering should go from [0001] to [0n] as the last
> paragraph in the document. It might be nice to be able to have a few
> non-numbered paragraphs, but that hack would be very easy, if the numbering
> elsewhere were achieved.
>

Well, I would suggest using the paragraph sectioning command, with a
few tweaks to get the font and spacing identical to the following
text. That would also  allow you to insert non numbered paragraphs
anywhere you want. But before a solution can be provided: what is
format of the numbering? Do you need numbers padded with up to three
zeros? That is less trivial, even though there are packages that do
that.

Cheers,

Stefano


-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies            Ph:   +1 (979) 845-2125
Texas A&M University                          Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: numbering paragraphs (lyx newbie)

2012-04-16 Thread stefano franchi
On Mon, Apr 16, 2012 at 10:50 AM, stefano franchi
 wrote:
> On Mon, Apr 16, 2012 at 9:52 AM, Yamandu Ploskonka  wrote:
>>
>> On 04/16/2012 09:41 AM, stefano franchi wrote:

> Well, I would suggest using the paragraph sectioning command, with a
> few tweaks to get the font and spacing identical to the following
> text. That would also  allow you to insert non numbered paragraphs
> anywhere you want. But before a solution can be provided: what is
> format of the numbering? Do you need numbers padded with up to three
> zeros? That is less trivial, even though there are packages that do
> that.
>

Also, it depends on which document class you're using. Here is a stab
using memoir and the fmtcount package to get the padding zeros:
Put this in your preamble:

\setcounter{secnumdepth}{5}
\setafterparaskip{0em}
\setbeforeparaskip{0em}
\setparaheadstyle{\normalfont}
\usepackage{fmtcount}
\renewcommand\theparagraph{{[}\padzeroes[4]{\decimal{paragraph}}{]}}

Then, use the first few words of each real paragraphs as the content
of the paragraph environment, as per in the enclosed example. You may
want to write a simple module that tweak the layout of the paragraph
environment in lyx, perhaps, to match more closely the final output,
and put the preamble code in the same module.

Cheers,

Stefano



>
> --
> __
> Stefano Franchi
> Associate Research Professor
> Department of Hispanic Studies            Ph:   +1 (979) 845-2125
> Texas A&M University                          Fax:  +1 (979) 845-6421
> College Station, Texas, USA
>
> stef...@tamu.edu
> http://stefano.cleinias.org



-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies            Ph:   +1 (979) 845-2125
Texas A&M University                          Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


numberedPara-example.lyx
Description: Binary data


Re: numbering paragraphs (lyx newbie)

2012-04-16 Thread Yamandu Ploskonka

The parnum format is square bracket, four digits, square bracket

As to the text formatting, it's supposed to be plain - no bolds, 
different sizes, anything - section titles are supposed to be like the 
rest, merely in upper case [1] . Interestingly, the one sample provided 
/does/ show horizontal lines above and below the section titles... (been 
looking for the last 20 minutes and cannot find that one, sorry...)


Thus no problem as to Class, pretty much anything plain page would do.

Maybe Memoir will be the "fix". I've tried  Koma, all sorts of plain and 
some other assorted (my code was hacked out of hollywood...), but never 
Memoir.  I'll get into it right now.


BTW, I see you're Aggie, Stefano, I am located in Austin myself.

Thank you so much!

Yama

1.-
"the pages of the specification (but not the transmittal letter sheets 
or other forms), including claims and abstract, must be numbered 
consecutively, starting with 1, the numbers being centrally located 
above or preferably below, the text. The lines of the specification must 
be 1.5 or double spaced (lines of text not comprising the specification 
need not be 1.5 or double spaced). It is desirable to include an 
indentation at the beginning of each new paragraph, and for paragraphs 
to be numbered (i.e., [0001], [0002], [0003], etc.).


It is preferable to use all of the section headings described below to 
represent the parts of the specification. Section headings should use 
upper case text without underlining or bold type. If the section 
contains no text, the phrase "Not Applicable" should follow the section 
heading."





On 04/16/2012 11:17 AM, stefano franchi wrote:

On Mon, Apr 16, 2012 at 10:50 AM, stefano franchi
  wrote:
On Mon, Apr 16, 2012 at 9:52 AM, Yamandu 
Ploskonka  wrote:

On 04/16/2012 09:41 AM, stefano franchi wrote:

Well, I would suggest using the paragraph sectioning command, with a
few tweaks to get the font and spacing identical to the following
text. That would also  allow you to insert non numbered paragraphs
anywhere you want. But before a solution can be provided: what is
format of the numbering? Do you need numbers padded with up to three
zeros? That is less trivial, even though there are packages that do
that.


Also, it depends on which document class you're using. Here is a stab
using memoir and the fmtcount package to get the padding zeros:
Put this in your preamble:

\setcounter{secnumdepth}{5}
\setafterparaskip{0em}
\setbeforeparaskip{0em}
\setparaheadstyle{\normalfont}
\usepackage{fmtcount}
\renewcommand\theparagraph{{[}\padzeroes[4]{\decimal{paragraph}}{]}}

Then, use the first few words of each real paragraphs as the content
of the paragraph environment, as per in the enclosed example. You may
want to write a simple module that tweak the layout of the paragraph
environment in lyx, perhaps, to match more closely the final output,
and put the preamble code in the same module.

Cheers,

Stefano




--
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas A&M University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org





Re: numbering paragraphs (lyx newbie)

2012-04-16 Thread stefano franchi
On Mon, Apr 16, 2012 at 9:34 PM, Yamandu Ploskonka  wrote:
> The parnum format is square bracket, four digits, square bracket
>
> As to the text formatting, it's supposed to be plain - no bolds, different
> sizes, anything - section titles are supposed to be like the rest, merely in
> upper case [1] . Interestingly, the one sample provided /does/ show
> horizontal lines above and below the section titles... (been looking for the
> last 20 minutes and cannot find that one, sorry...)
>
> Thus no problem as to Class, pretty much anything plain page would do.
>
> Maybe Memoir will be the "fix". I've tried  Koma, all sorts of plain and
> some other assorted (my code was hacked out of hollywood...), but never
> Memoir.  I'll get into it right now.

You can also do it with standard classes and the titlesec package
(which is not really compatible with memoir). See attached example. If
you have section headings, however, paragraphs numbers will not be
reset for every section. Is that what you need?  Resetting counters
can  be managed, I think, but off the top of my head I don't remember
how to do it automatically.
BTW, in the attached example, the spacing between the para label and
the main text (which is set in the preamble), should probably be
tweaked to get a natural looking feel. See titlesec's manual for
details.
Your specs are also not very clear about the parindent. Is the number
indented as well or just the paragraph text? At any rate, either
behavior is easy to do with memoir or the titlesec package.

>
> BTW, I see you're Aggie, Stefano, I am located in Austin myself.

Then we're neighbor. I live in Austin too.

Cheers,

Stefano


-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies            Ph:   +1 (979) 845-2125
Texas A&M University                          Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


numberedPara-example-article.lyx
Description: Binary data


Re: numbering paragraphs (lyx newbie)

2012-04-16 Thread Yamandu Ploskonka
parnum is flush with left margin, indent is just enough to allow for 
parnum and a little bit. Some examples I have seen do have some space 
between paragraphs, but it is not explicitly requested.


the numbering is running, from 0001 to , last parnum of the 
document. Only section headings would not be numbered, and that is easy 
to hack in many ways.  I'll try the attach,


Thank you!

On 04/16/2012 10:07 PM, stefano franchi wrote:

On Mon, Apr 16, 2012 at 9:34 PM, Yamandu Ploskonka  wrote:

The parnum format is square bracket, four digits, square bracket

As to the text formatting, it's supposed to be plain - no bolds, different
sizes, anything - section titles are supposed to be like the rest, merely in
upper case [1] . Interestingly, the one sample provided /does/ show
horizontal lines above and below the section titles... (been looking for the
last 20 minutes and cannot find that one, sorry...)

Thus no problem as to Class, pretty much anything plain page would do.

Maybe Memoir will be the "fix". I've tried  Koma, all sorts of plain and
some other assorted (my code was hacked out of hollywood...), but never
Memoir.  I'll get into it right now.

You can also do it with standard classes and the titlesec package
(which is not really compatible with memoir). See attached example. If
you have section headings, however, paragraphs numbers will not be
reset for every section. Is that what you need?  Resetting counters
can  be managed, I think, but off the top of my head I don't remember
how to do it automatically.
BTW, in the attached example, the spacing between the para label and
the main text (which is set in the preamble), should probably be
tweaked to get a natural looking feel. See titlesec's manual for
details.
Your specs are also not very clear about the parindent. Is the number
indented as well or just the paragraph text? At any rate, either
behavior is easy to do with memoir or the titlesec package.


BTW, I see you're Aggie, Stefano, I am located in Austin myself.

Then we're neighbor. I live in Austin too.

Cheers,

Stefano




Re: numbering paragraphs (lyx newbie)

2012-04-17 Thread stefano franchi
On Mon, Apr 16, 2012 at 10:22 PM, Yamandu Ploskonka  wrote:
> parnum is flush with left margin, indent is just enough to allow for parnum
> and a little bit. Some examples I have seen do have some space between
> paragraphs, but it is not explicitly requested.
>
> the numbering is running, from 0001 to , last parnum of the document.
> Only section headings would not be numbered, and that is easy to hack in
> many ways.  I'll try the attach,
>
> Thank you!
You're welcome. Glad I could be of help. Both issues you mention above
(interpagraph spacing, no numbering of sections) could easily be
achieved by changing the parameters to the Titlesec commands.

Cheers,

Stefano


>
>
> On 04/16/2012 10:07 PM, stefano franchi wrote:
>>
>> On Mon, Apr 16, 2012 at 9:34 PM, Yamandu Ploskonka
>>  wrote:
>>>
>>> The parnum format is square bracket, four digits, square bracket
>>>
>>> As to the text formatting, it's supposed to be plain - no bolds,
>>> different
>>> sizes, anything - section titles are supposed to be like the rest, merely
>>> in
>>> upper case [1] . Interestingly, the one sample provided /does/ show
>>> horizontal lines above and below the section titles... (been looking for
>>> the
>>> last 20 minutes and cannot find that one, sorry...)
>>>
>>> Thus no problem as to Class, pretty much anything plain page would do.
>>>
>>> Maybe Memoir will be the "fix". I've tried  Koma, all sorts of plain and
>>> some other assorted (my code was hacked out of hollywood...), but never
>>> Memoir.  I'll get into it right now.
>>
>> You can also do it with standard classes and the titlesec package
>> (which is not really compatible with memoir). See attached example. If
>> you have section headings, however, paragraphs numbers will not be
>> reset for every section. Is that what you need?  Resetting counters
>> can  be managed, I think, but off the top of my head I don't remember
>> how to do it automatically.
>> BTW, in the attached example, the spacing between the para label and
>> the main text (which is set in the preamble), should probably be
>> tweaked to get a natural looking feel. See titlesec's manual for
>> details.
>> Your specs are also not very clear about the parindent. Is the number
>> indented as well or just the paragraph text? At any rate, either
>> behavior is easy to do with memoir or the titlesec package.
>>
>>> BTW, I see you're Aggie, Stefano, I am located in Austin myself.
>>
>> Then we're neighbor. I live in Austin too.
>>
>> Cheers,
>>
>> Stefano
>>
>>
>



-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies            Ph:   +1 (979) 845-2125
Texas A&M University                          Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org