Re: numbering paragraphs (lyx newbie)
On Mon, Apr 16, 2012 at 10:22 PM, Yamandu Ploskonka yamap...@gmail.com 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 Ploskonkayamap...@gmail.com 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 AM University Fax: +1 (979) 845-6421 College Station, Texas, USA stef...@tamu.edu http://stefano.cleinias.org
Re: numbering paragraphs (lyx newbie)
On Mon, Apr 16, 2012 at 10:22 PM, Yamandu Ploskonka yamap...@gmail.com 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 Ploskonkayamap...@gmail.com 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 AM University Fax: +1 (979) 845-6421 College Station, Texas, USA stef...@tamu.edu http://stefano.cleinias.org
Re: numbering paragraphs (lyx newbie)
On Mon, Apr 16, 2012 at 10:22 PM, Yamandu Ploskonkawrote: > 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 University Fax: +1 (979) 845-6421 College Station, Texas, USA stef...@tamu.edu http://stefano.cleinias.org
Re: numbering paragraphs (lyx newbie)
On Mon, Apr 16, 2012 at 8:33 AM, Yamandu Ploskonka yamap...@gmail.com 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 AM University Fax: +1 (979) 845-6421 College Station, Texas, USA stef...@tamu.edu http://stefano.cleinias.org
Re: numbering paragraphs (lyx newbie)
On 04/16/2012 09:41 AM, stefano franchi wrote: On Mon, Apr 16, 2012 at 8:33 AM, Yamandu Ploskonkayamap...@gmail.com 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)
On Mon, Apr 16, 2012 at 9:52 AM, Yamandu Ploskonka yamap...@gmail.com wrote: On 04/16/2012 09:41 AM, stefano franchi wrote: On Mon, Apr 16, 2012 at 8:33 AM, Yamandu Ploskonkayamap...@gmail.com 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 AM University Fax: +1 (979) 845-6421 College Station, Texas, USA stef...@tamu.edu http://stefano.cleinias.org
Re: numbering paragraphs (lyx newbie)
On Mon, Apr 16, 2012 at 10:50 AM, stefano franchi stefano.fran...@gmail.com wrote: On Mon, Apr 16, 2012 at 9:52 AM, Yamandu Ploskonka yamap...@gmail.com 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 AM 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 AM 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)
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 stefano.fran...@gmail.com wrote: On Mon, Apr 16, 2012 at 9:52 AM, Yamandu Ploskonkayamap...@gmail.com 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 AM University Fax: +1 (979) 845-6421 College Station, Texas, USA stef...@tamu.edu http://stefano.cleinias.org
Re: numbering paragraphs (lyx newbie)
On Mon, Apr 16, 2012 at 9:34 PM, Yamandu Ploskonka yamap...@gmail.com 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 AM 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)
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 Ploskonkayamap...@gmail.com 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)
On Mon, Apr 16, 2012 at 8:33 AM, Yamandu Ploskonka yamap...@gmail.com 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 AM University Fax: +1 (979) 845-6421 College Station, Texas, USA stef...@tamu.edu http://stefano.cleinias.org
Re: numbering paragraphs (lyx newbie)
On 04/16/2012 09:41 AM, stefano franchi wrote: On Mon, Apr 16, 2012 at 8:33 AM, Yamandu Ploskonkayamap...@gmail.com 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)
On Mon, Apr 16, 2012 at 9:52 AM, Yamandu Ploskonka yamap...@gmail.com wrote: On 04/16/2012 09:41 AM, stefano franchi wrote: On Mon, Apr 16, 2012 at 8:33 AM, Yamandu Ploskonkayamap...@gmail.com 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 AM University Fax: +1 (979) 845-6421 College Station, Texas, USA stef...@tamu.edu http://stefano.cleinias.org
Re: numbering paragraphs (lyx newbie)
On Mon, Apr 16, 2012 at 10:50 AM, stefano franchi stefano.fran...@gmail.com wrote: On Mon, Apr 16, 2012 at 9:52 AM, Yamandu Ploskonka yamap...@gmail.com 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 AM 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 AM 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)
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 stefano.fran...@gmail.com wrote: On Mon, Apr 16, 2012 at 9:52 AM, Yamandu Ploskonkayamap...@gmail.com 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 AM University Fax: +1 (979) 845-6421 College Station, Texas, USA stef...@tamu.edu http://stefano.cleinias.org
Re: numbering paragraphs (lyx newbie)
On Mon, Apr 16, 2012 at 9:34 PM, Yamandu Ploskonka yamap...@gmail.com 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 AM 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)
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 Ploskonkayamap...@gmail.com 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)
On Mon, Apr 16, 2012 at 8:33 AM, Yamandu Ploskonkawrote: > 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 University Fax: +1 (979) 845-6421 College Station, Texas, USA stef...@tamu.edu http://stefano.cleinias.org
Re: numbering paragraphs (lyx newbie)
On 04/16/2012 09:41 AM, stefano franchi wrote: On Mon, Apr 16, 2012 at 8:33 AM, Yamandu Ploskonkawrote: 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)
On Mon, Apr 16, 2012 at 9:52 AM, Yamandu Ploskonkawrote: > > 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 University Fax: +1 (979) 845-6421 College Station, Texas, USA stef...@tamu.edu http://stefano.cleinias.org
Re: numbering paragraphs (lyx newbie)
On Mon, Apr 16, 2012 at 10:50 AM, stefano franchiwrote: > 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 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 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)
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 franchiwrote: 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 University Fax: +1 (979) 845-6421 College Station, Texas, USA stef...@tamu.edu http://stefano.cleinias.org
Re: numbering paragraphs (lyx newbie)
On Mon, Apr 16, 2012 at 9:34 PM, Yamandu Ploskonkawrote: > 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 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)
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 Ploskonkawrote: 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