BibTeX, biblatex and biberbiblio environment making large indentation

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
lnsam22
Posts: 28
Joined: Thu Jan 13, 2011 6:47 pm

biblio environment making large indentation

Post by lnsam22 »

Hi All,

I couldn't find the right style I needed to list my references so I decided to use the \begin(end){thebibliography} environment. It worked out well except it began left-indenting which never happened when I used this before. Can anyone help me get it to start under, say, the letter 'f' in the heading "References" from the code below?

Thanks a bunch
lnsam22

Code: Select all

\documentclass{article}
%
\usepackage{amsmath}%
\usepackage{amsfonts}%
\usepackage{amssymb}%
\usepackage{graphicx}
\usepackage{graphics,color}
\usepackage[superscript]{cite}
\usepackage{fancyhdr}
\pagestyle{fancy}

\begin{document}


\begin{thebibliography}{breitestes Label}
\small{
\makeatletter
\def\@biblabel#1{#1}
\makeatother
\bibitem {fuchs:02}C. A. Fuchs, "Quantum Mechanics as Quantum Information (and only a little more)", quant-ph/0205039v1.

\bibitem {cerf:97}N. J. Cerf and C Adami, "Quantum Information Theory of Entanglement and Measurement", quant-ph/9605039v2.

\bibitem {sarma:00}S. Das Sarma, Jaroslav Fabian, Xuedong Hu, Igor Zutic, "Spintronics: electron spin coherence, entanglement, and transport", cond-mat/9912040v3.
}
\end{thebibliography}

 \end{document}

Last edited by lnsam22 on Fri Feb 11, 2011 5:31 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

biblio environment making large indentation

Post by frabjous »

The problem is the "{breitestes Label}" argument after \begin{thebibliography}. I take it you got that from some template, but didn't change it. You're supposed to put something in there -- usually a number -- which indicates how wide the widest label will be, and then it indents each entry just enough to make room for the widest label. But if instead of a number you use the words "breitestes Label", it's identing enough so it would have room for there to be an entry with those words as its label!

So put in something like:

Code: Select all

\begin{thebibliography}{99}
instead. (Or change 99 to 999 or 9999 to make it wider and wider, etc.)
lnsam22
Posts: 28
Joined: Thu Jan 13, 2011 6:47 pm

Re: biblio environment making large indentation

Post by lnsam22 »

*embarassed* yes, i did copy that off the internet. Thanks, it works now.
Post Reply