BibTeX, biblatex and biberAdd Linebreak to Bibliography after [Label]

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
dashcon1
Posts: 4
Joined: Tue Feb 01, 2011 8:35 pm

Add Linebreak to Bibliography after [Label]

Post by dashcon1 »

Hi everybody,

I am trying to get the following output:

Code: Select all

[Author 2000]
      Author: Title, etc... 2000
What I did is to use \bibliographystyle{apalike} as a basis for my own style. Everything works ... but I cant get the Line to break after the label.

Code: Select all

\documentclass{scrreprt}
\bibliography{Bibliography} 
\bibliographystyle{apalike}
Multiple Citations with number references not possible with APALIKE \cite[p.~11]{JOHA03} and \cite{THOM96,CARR04}
\end{document} 

Code: Select all

@article{JOHA03,
	Author = {Juliet E. Johansson and Chandru Krishnamurthy and Henry E. Schlissberg},
	Date-Added = {2011-01-30 13:29:47 +0100},
	Date-Modified = {2011-02-01 14:25:19 +0100},
	Journal = {The McKinsey Quarterly},
	Lastchecked = {Sonntag, 30. Januar 2011},
	Number = {3},
	Pages = {117-125},
	Title = {Solving the solutions problem},
	Url = {http://www.mckinseyquarterly.com/Solving_the_solutions_problem_1325},
	Year = {2003},
	Bdsk-Url-1 = {http://www.mckinseyquarterly.com/Solving_the_solutions_problem_1325}}

I'd very much appreciate any help... trying to get multiple citations with reference page numbers is a question for another time...

Thanks!
Last edited by dashcon1 on Tue Feb 01, 2011 10:42 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Add Linebreak to Bibliography after [Label]

Post by frabjous »

A few things. When you provide us with an example, actually test the example. Yours is missing \begin{document}. Moreover, it cites two entries not included in your sample .bib file. This causes frustration for people trying to help you. It also makes little sense to put the sample text after the bibliography -- surely you want it before?

I'm also forced to wonder if you meant to add the apacite package, and not just the bibliography style? I'm assuming not, since it wasn't in your sample.

One thing you might consider is switching to biblatex-apa, since biblatex makes it much easier to customize things. It would also solve the problem about multiple citations each with a number since biblatex has a mechanism for that.

But if you're going to stick with regular BibTeX, then you might try something along these lines to get the linebreak after the key:

Code: Select all

\documentclass{scrreprt}
\let\oldbibitem=\bibitem
\renewcommand{\bibitem}[2][]{\oldbibitem[#1]{#2}\newline}
\begin{document}
Multiple Citations with number references not possible with APALIKE \cite[p.~11]{JOHA03}. 
\bibliography{Bibliography}
\bibliographystyle{apalike}
\end{document} 
That's kind of kludgy, but "doing it right" in this case would be easier with biblatex.
dashcon1
Posts: 4
Joined: Tue Feb 01, 2011 8:35 pm

Re: Add Linebreak to Bibliography after [Label]

Post by dashcon1 »

Thank you frabjous!

your suggestion works wonderfully! (attachment shows my selfmade bibstyle (latex makebst))

i'm very sorry about the sloppy example.
Attachments
Standardwert 2011-02-01 um 21.35.18.png
Standardwert 2011-02-01 um 21.35.18.png (33.52 KiB) Viewed 6301 times
Post Reply