Re: hanging indentation in bibiography (using lyx bibtex)
2012/4/26 Peter Coles coleszi...@gmail.com: Stefano, Richard thanks. After some toying, the following worked: 1) I added to the preamble the full block Richard described, replacing the at's with at symbols (this replacement was probably obvious to everyone except me.) I also changed the first line as you suggested. 2) I added \setlength\itemindent{-.5in} to the block, and changed \leftmargin\labelwidth to \setlength\leftmargin{.5in} The bibliography style I am using, aea.bst, seems to use empty labels rather than, for example, numbers to enumerate bibliography items. Hence, rather than playing with the labelwidth, which had no effect for me, I indented by a negative amount and then shoved the whole list back to the right the same amount. A pain, but it's done! Thanks, all. Actually, since you use natbib, a simple \setlength\bibhang{.5in} would have probably sufficed as well. Jürgen
Re: hanging indentation in bibiography (using lyx bibtex)
2012/4/26 Peter Coles coleszi...@gmail.com: Stefano, Richard thanks. After some toying, the following worked: 1) I added to the preamble the full block Richard described, replacing the at's with at symbols (this replacement was probably obvious to everyone except me.) I also changed the first line as you suggested. 2) I added \setlength\itemindent{-.5in} to the block, and changed \leftmargin\labelwidth to \setlength\leftmargin{.5in} The bibliography style I am using, aea.bst, seems to use empty labels rather than, for example, numbers to enumerate bibliography items. Hence, rather than playing with the labelwidth, which had no effect for me, I indented by a negative amount and then shoved the whole list back to the right the same amount. A pain, but it's done! Thanks, all. Actually, since you use natbib, a simple \setlength\bibhang{.5in} would have probably sufficed as well. Jürgen
Re: hanging indentation in bibiography (using lyx & bibtex)
2012/4/26 Peter Coles: > Stefano, Richard thanks. After some toying, the following worked: > > 1) I added to the preamble the full block Richard described, replacing the > 's with at symbols (this replacement was probably obvious to everyone > except > me.) I also changed the first line as you suggested. > > 2) I added \setlength\itemindent{-.5in} to the block, and changed > \leftmargin\labelwidth to \setlength\leftmargin{.5in} > > The bibliography style I am using, aea.bst, seems to use empty labels rather > than, for example, numbers to enumerate bibliography items. Hence, rather than > playing with the labelwidth, which had no effect for me, I indented by a > negative amount and then shoved the whole list back to the right the same > amount. > > A pain, but it's done! Thanks, all. Actually, since you use natbib, a simple \setlength\bibhang{.5in} would have probably sufficed as well. Jürgen
Re: hanging indentation in bibiography (using lyx bibtex)
stefano franchi stefano.franchi at gmail.com writes: On Tue, Apr 24, 2012 at 9:01 PM, Peter Coles coleszilla at gmail.com wrote: Richard Heck rgheck at comcast.net writes: Thank you. Could you shed some light on where I should be making these edits? Am I to insert \renewenvironment{thebibliography}[1]{} as ERT somewhere in the main .lyx document? Or is there some other file I need to edit? I'm using LyX for Windows. Peter, you should copy the whole block of code and paste it into your preamble (DocumentSettingsLatex Preamble) Then, change the first line to read \renewenvironment{thebibliography}[1] (renew instead of new) Now you are ready to play with the parameters as Richard suggested. Cheers, Stefano Stefano, Richard thanks. After some toying, the following worked: 1) I added to the preamble the full block Richard described, replacing the at's with at symbols (this replacement was probably obvious to everyone except me.) I also changed the first line as you suggested. 2) I added \setlength\itemindent{-.5in} to the block, and changed \leftmargin\labelwidth to \setlength\leftmargin{.5in} The bibliography style I am using, aea.bst, seems to use empty labels rather than, for example, numbers to enumerate bibliography items. Hence, rather than playing with the labelwidth, which had no effect for me, I indented by a negative amount and then shoved the whole list back to the right the same amount. A pain, but it's done! Thanks, all.
Re: hanging indentation in bibiography (using lyx bibtex)
stefano franchi stefano.franchi at gmail.com writes: On Tue, Apr 24, 2012 at 9:01 PM, Peter Coles coleszilla at gmail.com wrote: Richard Heck rgheck at comcast.net writes: Thank you. Could you shed some light on where I should be making these edits? Am I to insert \renewenvironment{thebibliography}[1]{} as ERT somewhere in the main .lyx document? Or is there some other file I need to edit? I'm using LyX for Windows. Peter, you should copy the whole block of code and paste it into your preamble (DocumentSettingsLatex Preamble) Then, change the first line to read \renewenvironment{thebibliography}[1] (renew instead of new) Now you are ready to play with the parameters as Richard suggested. Cheers, Stefano Stefano, Richard thanks. After some toying, the following worked: 1) I added to the preamble the full block Richard described, replacing the at's with at symbols (this replacement was probably obvious to everyone except me.) I also changed the first line as you suggested. 2) I added \setlength\itemindent{-.5in} to the block, and changed \leftmargin\labelwidth to \setlength\leftmargin{.5in} The bibliography style I am using, aea.bst, seems to use empty labels rather than, for example, numbers to enumerate bibliography items. Hence, rather than playing with the labelwidth, which had no effect for me, I indented by a negative amount and then shoved the whole list back to the right the same amount. A pain, but it's done! Thanks, all.
Re: hanging indentation in bibiography (using lyx & bibtex)
stefano franchi gmail.com> writes: > > On Tue, Apr 24, 2012 at 9:01 PM, Peter Coles gmail.com> wrote: > >> Richard Heck comcast.net> writes: > > Thank you. Could you shed some light on where I should be making these edits? > > Am I to insert \renewenvironment{thebibliography}[1]{} as ERT somewhere in > > the main .lyx document? Or is there some other file I need to edit? I'm using > > LyX for Windows. > > > > Peter, > > you should copy the whole block of code and paste it into your > preamble (Document>>Settings>>Latex Preamble) > > Then, change the first line to read > > \renewenvironment{thebibliography}[1] > > ("renew" instead of "new") > > Now you are ready to play with the parameters as Richard suggested. > > Cheers, > > Stefano Stefano, Richard thanks. After some toying, the following worked: 1) I added to the preamble the full block Richard described, replacing the 's with at symbols (this replacement was probably obvious to everyone except me.) I also changed the first line as you suggested. 2) I added \setlength\itemindent{-.5in} to the block, and changed \leftmargin\labelwidth to \setlength\leftmargin{.5in} The bibliography style I am using, aea.bst, seems to use empty labels rather than, for example, numbers to enumerate bibliography items. Hence, rather than playing with the labelwidth, which had no effect for me, I indented by a negative amount and then shoved the whole list back to the right the same amount. A pain, but it's done! Thanks, all.
hanging indentation in bibiography (using lyx bibtex)
Hi all -- A journal has requested that the hanging indent in my bibliography be exactly .5 inches. Is there an easy way to do this using lyx? I am using lyx 2.0, bibtex, article class, natbib, and aea.bst. Many thanks! Peter (I tried searching the forum on this topic, and could only find outdated or inapplicable responses.)
Re: hanging indentation in bibiography (using lyx bibtex)
On 04/24/12 at 04:19pm, Peter Coles wrote: Hi all -- A journal has requested that the hanging indent in my bibliography be exactly .5 inches. Is there an easy way to do this using lyx? I am using lyx 2.0, bibtex, article class, natbib, and aea.bst. Many thanks! Peter (I tried searching the forum on this topic, and could only find outdated or inapplicable responses.) Hi, Peter, Just out of curiosity: this journal asks you to typeset your paper yourself? Manolo
Re: hanging indentation in bibiography (using lyx bibtex)
On Tue, Apr 24, 2012 at 12:43 PM, Manolo Martínez man...@austrohungaro.comwrote: On 04/24/12 at 04:19pm, Peter Coles wrote: Hi all -- A journal has requested that the hanging indent in my bibliography be exactly .5 inches. Is there an easy way to do this using lyx? I am using lyx 2.0, bibtex, article class, natbib, and aea.bst. Many thanks! Peter (I tried searching the forum on this topic, and could only find outdated or inapplicable responses.) Hi, Peter, Just out of curiosity: this journal asks you to typeset your paper yourself? Manolo Yes -- the journal is the online-only BE Journal of Theoretical Economics, which was recently purchased by De Gruyter. They were initially a non-profit entity, and offered free access to their journals. Presumably self-typesetting was one way to keep costs low, and the online-only nature made perfect standardization of type less critical. Seems like they would be well-served to offer some lyx/latex templates, huh? They do have strict typesetting requirements, however -- hence my question!
Re: hanging indentation in bibiography (using lyx bibtex)
On 04/24/2012 02:49 PM, Peter Coles wrote: On Tue, Apr 24, 2012 at 12:43 PM, Manolo Martínez man...@austrohungaro.com mailto:man...@austrohungaro.com wrote: On 04/24/12 at 04:19pm, Peter Coles wrote: Hi all -- A journal has requested that the hanging indent in my bibliography be exactly .5 inches. Is there an easy way to do this using lyx? I am using lyx 2.0, bibtex, article class, natbib, and aea.bst. Many thanks! Peter (I tried searching the forum on this topic, and could only find outdated or inapplicable responses.) I don't have time to play around with this right now, but the answer is, yes, of course, one can do anything in LaTeX. In this case, article.cls sets the bibliography using: \newenvironment{thebibliography}[1] {\section*{\refname}% \@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}% \list{\@biblabel{\@arabic\c@enumiv}}% {\settowidth\labelwidth{\@biblabel{#1}}% \leftmargin\labelwidth \advance\leftmargin\labelsep \@openbib@code \usecounter{enumiv}% \let\p@enumiv\@empty \renewcommand\theenumiv{\@arabic\c@enumiv}}% \sloppy \clubpenalty4000 \@clubpenalty \clubpenalty \widowpenalty4000% \sfcode`\.\@m} {\def\@noitemerr {\@latex@warning{Empty `thebibliography' environment}}% \endlist} So the bibliography is itself set as a list, with the individual items set using \bibitem (which is defined in latex.ltx). The list parameters are defined in this block: {\settowidth\labelwidth{\@biblabel{#1}}% \leftmargin\labelwidth \advance\leftmargin\labelsep \@openbib@code \usecounter{enumiv}% \let\p@enumiv\@empty \renewcommand\theenumiv{\@arabic\c@enumiv}} It's just the first few that are relevant here. See e.g. http://www.troubleshooters.com/linux/lyx/ownlists.htm for a description of what you might try changing. Ultimately, you'd need to do: \renewenvironment{thebibliography}[1]{} Richard
Re: hanging indentation in bibiography (using lyx bibtex)
Richard Heck rgheck at comcast.net writes: ... See e.g. http://www.troubleshooters.com/linux/lyx/ownlists.htm for a description of what you might try changing. Ultimately, you'd need to do: \renewenvironment{thebibliography}[1]{} Richard Thank you. Could you shed some light on where I should be making these edits? Am I to insert \renewenvironment{thebibliography}[1]{} as ERT somewhere in the main .lyx document? Or is there some other file I need to edit? I'm using LyX for Windows.
Re: hanging indentation in bibiography (using lyx bibtex)
On Tue, Apr 24, 2012 at 9:01 PM, Peter Coles coleszi...@gmail.com wrote: Richard Heck rgheck at comcast.net writes: Thank you. Could you shed some light on where I should be making these edits? Am I to insert \renewenvironment{thebibliography}[1]{} as ERT somewhere in the main .lyx document? Or is there some other file I need to edit? I'm using LyX for Windows. Peter, you should copy the whole block of code and paste it into your preamble (DocumentSettingsLatex Preamble) Then, change the first line to read \renewenvironment{thebibliography}[1] (renew instead of new) Now you are ready to play with the parameters as Richard suggested. 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
hanging indentation in bibiography (using lyx bibtex)
Hi all -- A journal has requested that the hanging indent in my bibliography be exactly .5 inches. Is there an easy way to do this using lyx? I am using lyx 2.0, bibtex, article class, natbib, and aea.bst. Many thanks! Peter (I tried searching the forum on this topic, and could only find outdated or inapplicable responses.)
Re: hanging indentation in bibiography (using lyx bibtex)
On 04/24/12 at 04:19pm, Peter Coles wrote: Hi all -- A journal has requested that the hanging indent in my bibliography be exactly .5 inches. Is there an easy way to do this using lyx? I am using lyx 2.0, bibtex, article class, natbib, and aea.bst. Many thanks! Peter (I tried searching the forum on this topic, and could only find outdated or inapplicable responses.) Hi, Peter, Just out of curiosity: this journal asks you to typeset your paper yourself? Manolo
Re: hanging indentation in bibiography (using lyx bibtex)
On Tue, Apr 24, 2012 at 12:43 PM, Manolo Martínez man...@austrohungaro.comwrote: On 04/24/12 at 04:19pm, Peter Coles wrote: Hi all -- A journal has requested that the hanging indent in my bibliography be exactly .5 inches. Is there an easy way to do this using lyx? I am using lyx 2.0, bibtex, article class, natbib, and aea.bst. Many thanks! Peter (I tried searching the forum on this topic, and could only find outdated or inapplicable responses.) Hi, Peter, Just out of curiosity: this journal asks you to typeset your paper yourself? Manolo Yes -- the journal is the online-only BE Journal of Theoretical Economics, which was recently purchased by De Gruyter. They were initially a non-profit entity, and offered free access to their journals. Presumably self-typesetting was one way to keep costs low, and the online-only nature made perfect standardization of type less critical. Seems like they would be well-served to offer some lyx/latex templates, huh? They do have strict typesetting requirements, however -- hence my question!
Re: hanging indentation in bibiography (using lyx bibtex)
On 04/24/2012 02:49 PM, Peter Coles wrote: On Tue, Apr 24, 2012 at 12:43 PM, Manolo Martínez man...@austrohungaro.com mailto:man...@austrohungaro.com wrote: On 04/24/12 at 04:19pm, Peter Coles wrote: Hi all -- A journal has requested that the hanging indent in my bibliography be exactly .5 inches. Is there an easy way to do this using lyx? I am using lyx 2.0, bibtex, article class, natbib, and aea.bst. Many thanks! Peter (I tried searching the forum on this topic, and could only find outdated or inapplicable responses.) I don't have time to play around with this right now, but the answer is, yes, of course, one can do anything in LaTeX. In this case, article.cls sets the bibliography using: \newenvironment{thebibliography}[1] {\section*{\refname}% \@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}% \list{\@biblabel{\@arabic\c@enumiv}}% {\settowidth\labelwidth{\@biblabel{#1}}% \leftmargin\labelwidth \advance\leftmargin\labelsep \@openbib@code \usecounter{enumiv}% \let\p@enumiv\@empty \renewcommand\theenumiv{\@arabic\c@enumiv}}% \sloppy \clubpenalty4000 \@clubpenalty \clubpenalty \widowpenalty4000% \sfcode`\.\@m} {\def\@noitemerr {\@latex@warning{Empty `thebibliography' environment}}% \endlist} So the bibliography is itself set as a list, with the individual items set using \bibitem (which is defined in latex.ltx). The list parameters are defined in this block: {\settowidth\labelwidth{\@biblabel{#1}}% \leftmargin\labelwidth \advance\leftmargin\labelsep \@openbib@code \usecounter{enumiv}% \let\p@enumiv\@empty \renewcommand\theenumiv{\@arabic\c@enumiv}} It's just the first few that are relevant here. See e.g. http://www.troubleshooters.com/linux/lyx/ownlists.htm for a description of what you might try changing. Ultimately, you'd need to do: \renewenvironment{thebibliography}[1]{} Richard
Re: hanging indentation in bibiography (using lyx bibtex)
Richard Heck rgheck at comcast.net writes: ... See e.g. http://www.troubleshooters.com/linux/lyx/ownlists.htm for a description of what you might try changing. Ultimately, you'd need to do: \renewenvironment{thebibliography}[1]{} Richard Thank you. Could you shed some light on where I should be making these edits? Am I to insert \renewenvironment{thebibliography}[1]{} as ERT somewhere in the main .lyx document? Or is there some other file I need to edit? I'm using LyX for Windows.
Re: hanging indentation in bibiography (using lyx bibtex)
On Tue, Apr 24, 2012 at 9:01 PM, Peter Coles coleszi...@gmail.com wrote: Richard Heck rgheck at comcast.net writes: Thank you. Could you shed some light on where I should be making these edits? Am I to insert \renewenvironment{thebibliography}[1]{} as ERT somewhere in the main .lyx document? Or is there some other file I need to edit? I'm using LyX for Windows. Peter, you should copy the whole block of code and paste it into your preamble (DocumentSettingsLatex Preamble) Then, change the first line to read \renewenvironment{thebibliography}[1] (renew instead of new) Now you are ready to play with the parameters as Richard suggested. 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
hanging indentation in bibiography (using lyx & bibtex)
Hi all -- A journal has requested that the hanging indent in my bibliography be exactly .5 inches. Is there an easy way to do this using lyx? I am using lyx 2.0, bibtex, article class, natbib, and aea.bst. Many thanks! Peter (I tried searching the forum on this topic, and could only find outdated or inapplicable responses.)
Re: hanging indentation in bibiography (using lyx & bibtex)
On 04/24/12 at 04:19pm, Peter Coles wrote: > Hi all -- > > A journal has requested that the hanging indent in my bibliography be exactly > .5 > inches. Is there an easy way to do this using lyx? > > I am using lyx 2.0, bibtex, article class, natbib, and aea.bst. > > Many thanks! > Peter > > (I tried searching the forum on this topic, and could only find outdated or > inapplicable responses.) > Hi, Peter, Just out of curiosity: this journal asks you to typeset your paper yourself? Manolo
Re: hanging indentation in bibiography (using lyx & bibtex)
On Tue, Apr 24, 2012 at 12:43 PM, Manolo Martínezwrote: > On 04/24/12 at 04:19pm, Peter Coles wrote: > > Hi all -- > > > > A journal has requested that the hanging indent in my bibliography be > exactly .5 > > inches. Is there an easy way to do this using lyx? > > > > I am using lyx 2.0, bibtex, article class, natbib, and aea.bst. > > > > Many thanks! > > Peter > > > > (I tried searching the forum on this topic, and could only find outdated > or > > inapplicable responses.) > > > > Hi, Peter, > > Just out of curiosity: this journal asks you to typeset your paper > yourself? > > Manolo > Yes -- the journal is the online-only BE Journal of Theoretical Economics, which was recently purchased by De Gruyter. They were initially a non-profit entity, and offered free access to their journals. Presumably self-typesetting was one way to keep costs low, and the online-only nature made perfect standardization of type less critical. Seems like they would be well-served to offer some lyx/latex templates, huh? They do have strict typesetting requirements, however -- hence my question!
Re: hanging indentation in bibiography (using lyx & bibtex)
On 04/24/2012 02:49 PM, Peter Coles wrote: On Tue, Apr 24, 2012 at 12:43 PM, Manolo Martínez> wrote: On 04/24/12 at 04:19pm, Peter Coles wrote: > Hi all -- > > A journal has requested that the hanging indent in my bibliography be exactly .5 > inches. Is there an easy way to do this using lyx? > > I am using lyx 2.0, bibtex, article class, natbib, and aea.bst. > > Many thanks! > Peter > > (I tried searching the forum on this topic, and could only find outdated or > inapplicable responses.) > I don't have time to play around with this right now, but the answer is, yes, of course, one can do anything in LaTeX. In this case, article.cls sets the bibliography using: \newenvironment{thebibliography}[1] {\section*{\refname}% \@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}% \list{\@biblabel{\@arabic\c@enumiv}}% {\settowidth\labelwidth{\@biblabel{#1}}% \leftmargin\labelwidth \advance\leftmargin\labelsep \@openbib@code \usecounter{enumiv}% \let\p@enumiv\@empty \renewcommand\theenumiv{\@arabic\c@enumiv}}% \sloppy \clubpenalty4000 \@clubpenalty \clubpenalty \widowpenalty4000% \sfcode`\.\@m} {\def\@noitemerr {\@latex@warning{Empty `thebibliography' environment}}% \endlist} So the bibliography is itself set as a list, with the individual items set using \bibitem (which is defined in latex.ltx). The list parameters are defined in this block: {\settowidth\labelwidth{\@biblabel{#1}}% \leftmargin\labelwidth \advance\leftmargin\labelsep \@openbib@code \usecounter{enumiv}% \let\p@enumiv\@empty \renewcommand\theenumiv{\@arabic\c@enumiv}} It's just the first few that are relevant here. See e.g. http://www.troubleshooters.com/linux/lyx/ownlists.htm for a description of what you might try changing. Ultimately, you'd need to do: \renewenvironment{thebibliography}[1]{} Richard
Re: hanging indentation in bibiography (using lyx & bibtex)
> Richard Heck comcast.net> writes: > > ... > > >See e.g. > http://www.troubleshooters.com/linux/lyx/ownlists.htm > for a description of what you might try changing. Ultimately, you'd > need to do: > \renewenvironment{thebibliography}[1]{} > Richard > Thank you. Could you shed some light on where I should be making these edits? Am I to insert \renewenvironment{thebibliography}[1]{} as ERT somewhere in the main .lyx document? Or is there some other file I need to edit? I'm using LyX for Windows.
Re: hanging indentation in bibiography (using lyx & bibtex)
On Tue, Apr 24, 2012 at 9:01 PM, Peter Coleswrote: >> Richard Heck comcast.net> writes: > Thank you. Could you shed some light on where I should be making these edits? > Am I to insert \renewenvironment{thebibliography}[1]{} as ERT somewhere in > the main .lyx document? Or is there some other file I need to edit? I'm using > LyX for Windows. > Peter, you should copy the whole block of code and paste it into your preamble (Document>>Settings>>Latex Preamble) Then, change the first line to read \renewenvironment{thebibliography}[1] ("renew" instead of "new") Now you are ready to play with the parameters as Richard suggested. 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