Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

A question related to the koma script guide. As recommended on page 57, I set the table of contents, glossary, list of tables and list of figures with the standard line spacing. The text should have a line spacing of 1.5.

When I do this, the title of the chapter is under the caption of the bibliography. Is there an easy way to remove this problem?

\documentclass[
a4paper,                         
fontsize=11,                    
BCOR=10mm,
DIV=11
]{scrreprt}

\usepackage[ngerman]{babel}                    
\usepackage[latin1]{inputenc}                
\usepackage[T1]{fontenc}
\usepackage{lmodern}                        
\usepackage{microtype}    
\usepackage[
    style=numeric, 
    maxnames=1,
    bibencoding=latin1,
    backend=bibtex8,
    defernumbers=true,
    hyperref=true,
    alldates=long
]{biblatex}
\usepackage{hyperref}
\usepackage[hyphenbreaks]{breakurl}
\usepackage{setspace}

\begin{filecontents}{bachelorarbeit_lit.bib}
@ONLINE{java96,
    author = {{Sun Microsystems}},
    title = {JavaSoft ships Java 1.0},
    year = {1996},
    month = {1},
    url = {http://findarticles.com/p/articles/mi_m0EIN/is_1996_Jan_23/ai_17853565/?tag=content;col1},
    urldate = {2011-03-02},
    sortname = {Sun},
    keywords = {www}
}
\end{filecontents}

\bibliography{bachelorarbeit_lit}

\begin{document}
\onehalfspacing
\chapter{Test}
Test \cite{java96}

\singlespacing
\DIV=current
\printbibliography
\end{document}
share|improve this question
    
Welcome to tex.sx! It's not necessary to sign your questions (as there is already a box with your username below it) or to begin them with a greeting. –  doncherry Apr 28 '11 at 17:22
add comment

1 Answer

So it is working:

\AfterTOCHead{\singlespacing}

\renewcommand*{\glossarypreamble}{\singlespacing}

\makeatletter
\preto\blx@env@bibliography{\singlespacing}
\makeatother
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.