To add the indent to citations I added the following to my style.
% (from apalike.sty)
% Set length of hanging indentation for bibliography entries.
%
\newlength{\bibhang}
\setlength{\bibhang}{2em}
% Indent second and subsequent lines of bibliographic entries. Stolen
% from openbib.sty: \newblock is set to {}.
\newdimen\bibindent
\bibindent=1.5em
[EMAIL PROTECTED]
[EMAIL PROTECTED]
{\newcommand{\refname}{References}}%
{\newcommand{\refname}{Bibliography}}%
}%
{}%
[EMAIL PROTECTED]
[EMAIL PROTECTED]
{\uppercase{\refname}}{\uppercase{\refname}}}\list
{[\arabic{enumi}]}{\settowidth\labelwidth{[#1]}
\leftmargin\labelwidth
\advance\leftmargin\labelsep
\advance\leftmargin\bibindent
\itemindent -\bibindent
\listparindent \itemindent
\parsep \z@
\usecounter{enumi}}
\def\newblock{}
\sloppy
\sfcode`\.=1000\relax}}
[EMAIL PROTECTED]
{\uppercase{\refname}}{\uppercase{\refname}}}\list
{[\arabic{enumi}]}{\settowidth\labelwidth{[#1]}
\leftmargin\labelwidth
\advance\leftmargin\labelsep
\advance\leftmargin\bibindent
\itemindent -\bibindent
\listparindent \itemindent
\parsep \z@
\usecounter{enumi}}
\def\newblock{}
\sloppy
\sfcode`\.=1000\relax}}
On Jan 8, 2008 10:49 AM, Éamonn Linehan <[EMAIL PROTECTED]> wrote:
> Thanks for your help. [rgheck - send me your name if you like a credit
> added to the bst files modification histroy. I will be sharing this style
> once it is complete] That did exactly what I wanted. I haven't managed to
> figure out the Tex syntax yet. I also have the problem that the APA style
> requires the second line of the reference to be indented (see link below for
> example) but the 'apa-good' APA style for natbib that I am using does not do
> that. Could that be easily added? The styles 'apalike' and 'apacite' achieve
> this but don't work properly with natbib. The bst file I am using can be
> downloaded from
> http://www.dsg.cs.tcd.ie/~linehane/lyx/<http://www.dsg.cs.tcd.ie/%7Elinehane/lyx/>Any
> help would be greatly appreciated.
>
> http://owl.english.purdue.edu/owl/resource/560/06/
>
> - Éamonn
>
>
> On Jan 7, 2008 4:48 AM, rgheck <[EMAIL PROTECTED]> wrote:
>
> > Try what's below:
> > > FUNCTION {book}
> > > { output.bibitem
> > > author empty$
> > > { format.editors "author and editor" output.check
> > > editor format.key output
> > > add.blank
> > > }
> > > { format.authors output.nonnull
> > > crossref missing$
> > > { "author and editor" editor either.or.check }
> > > 'skip$
> > > if$
> > > }
> > > if$
> > > format.date "year" output.check
> > > date.block
> > > format.btitle "title" output.check
> > > edition missing$
> > > 'skip$
> > > { " (" format.edition * ")" * output }
> > > if$
> > > new.block
> > > crossref missing$
> > > { format.bvolume output
> > > new.block
> > > format.number.series output
> > > new.sentence
> > > format.publisher.address output
> > > }
> > > {
> > > format.book.crossref output.nonnull
> > > }
> > > if$
> > > new.block
> > > format.note output
> > > fin.entry
> > > write.url
> > > }
> > >
> > >
> > I'm not sure exactly what you'd want to do with the volume, series, etc,
> > info, but this should get you what you wanted. If not, let me know, and
> > I'll have to debug it.
> >
> > rh
> >
> >
> >
>
>
> --
> _______________________________
> Éamonn Linehan,
> Distributed Systems Group,
> F.35 Computer Science Dept.,
> Trinity College,
> Dublin 2.
> Phone: 00353 1 8961543
> Email: [EMAIL PROTECTED]
> Web: https://www.cs.tcd.ie/Eamonn.Linehan
>
--
_______________________________
Éamonn Linehan,
Distributed Systems Group,
F.35 Computer Science Dept.,
Trinity College,
Dublin 2.
Phone: 00353 1 8961543
Email: [EMAIL PROTECTED]
Web: https://www.cs.tcd.ie/Eamonn.Linehan