Internally the thebibliography
environment uses a list, so you can change the value for \labelsep
(controlling the separation between the label and the entries); the quickest way for doing so is to patch the command with the help of, for example, etoolbox
(instead of 20pt
use the length that best suits your needs):
\begin{filecontents*}{Master.bib}
@book{bressoud1989factorization,
title={Factorization and Primality Testing},
author={Bressoud, D.M.},
isbn={9780387970400},
lccn={89019690},
series={Undergraduate Texts in Mathematics},
year={1989},
publisher={Springer}
}
@book{bressoud1990,
title={Another Factorization and Primality Testing},
author={Bressoud, D.M.},
isbn={9780387970400},
lccn={89019690},
series={Undergraduate Texts in Mathematics},
year={1990},
publisher={Springer}
}
\end{filecontents*}
\documentclass{article}
\usepackage{etoolbox}
\patchcmd{\thebibliography}{\leftmargin\labelwidth}{\leftmargin\labelwidth\labelsep=20pt}{}{}
\begin{document}
\nocite{*}
\bibliographystyle{alpha}
\bibliography{Master}
\end{document}
I'm assuming the template is this one: https://www.sharelatex.com/templates/thesis/easy-thesis/ (it is the only easy-thesis I've found).
The template uses \setstretch{1.3}
which increases the baseline skip of a 1.3 factor. That's why you have "about 4pt
" between lines of the same bibliography entry.
To achieve what you want, it suffices to restore the normal baseline skip through the command
\setstretch{1}
and set the distance between items to 10pt
through the command
\setlength{\bibsep}{10pt}
In other words, if your .bib
file is named Bibliography.bib
, use the following lines to insert your bibliography in the document:
\begingroup
\setlength{\bibsep}{10pt}
\setstretch{1}
\bibliography{Bibliography}
\endgroup
MWE:
\documentclass{Thesis}
\usepackage{filecontents}
\begin{filecontents}{Bibliography.bib}
@article{art1,
author="First Last",
title="A fictitious journal article",
year=1900,
journal="Journal of nothingness",
volume=2,
pages="1-2"
}
@article{art2,
author="First Last",
title="A very very very very very very very very very very very very long journal article",
year=1900,
journal="Journal of nothingness",
volume=2,
pages="1-2"
}
@book{boo1,
author="Respectable Writer",
title="A silly book",
year=2000,
publisher="PublishCo",
address="Somewhere"
}
\end{filecontents}
\usepackage[super,sort&compress]{natbib}
\usepackage{lipsum} % only for the example
\begin{document}
\setstretch{1.3}
\chapter{Test}
\lipsum[1-8]
\nocite{*}
\bibliographystyle{unsrtnat}
\begingroup
\setlength{\bibsep}{10pt}
\setstretch{1}
\bibliography{Bibliography}
\endgroup
\end{document}
Output
Just in case I was wrong with the template and you get errors with \setstretch{1}
, replace it with
\linespread{1}\selectfont
Best Answer
You can make
url
to break the lines at places you want by adding these lines to your preamble:This should solve the problem of
url
not being able to split the wordSerienproduktion
in your url.