TransWikia.com

Unwanted empty page in documentclass "scrartcl"

TeX - LaTeX Asked by Lena on July 7, 2021

I’m currently writing the exposé to my thesis in texstudio and as I want to start the bibliography on a newpage I put newpage after my last section.
The last section ends on an even numbered page, but still when compiling there will be an empty page between my last section and the bibliography.

Openany in the documentdefinition seems to only work for the documentclass{book}, and neither the [oneside] option nor the command letcleardoublepageclearpage change this behaviour.
Thank you for trying to help.
Lena

    documentclass[10pt,a4paper,onesided]{scrartcl}
    usepackage[ngerman]{babel}
    usepackage{SIunits}
    usepackage[utf8]{inputenc}
    usepackage[T1]{fontenc}
    usepackage{setspace}
    usepackage{color}
    usepackage{breakcites}

 begin{document}

    begin{titlepage}
begin{center}
 onehalfspacing
noindent large info Ort
Direktorvfill


noindentLARGE textbf{Thema} 
vspace{1cm}
noindentLarge     Exposé über das geplante Promotionsvorhabenpar
vspace{1,5cm}
textbf{today}
    vfill

  large Vorgelegt von textit{Name}
   vspace{0,5cm}
onehalfspacing Im Rahmen der Dissertation
     zum Erwerb des Doktorgrades der Zahnheilkunde
      Betreuung durch
      Betreuer par
end{center}




end{titlepage}
onehalfspacing
tableofcontents
newpage
section{Zentrale Fragestellung}
a
a a a a a a a a
a a a a a a a a a a a
a  a a a


section{Hintergrund}


a 
a 
a 
a 
a 
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
begin{itemize}
    item a a

    item a
    item aa
    item a
    item aa
    end{itemize}

section{Stand der Forschung}

a a

a
a
a
a
a
a
a
a
a
a
a
a 

subsection{a}
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a

subsection{b}
aa

noindent 
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
begin{itemize}
    item a
    item a

end{itemize} 
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a

begin{itemize}
    item a
    item a
    item a
    item a a
end{itemize}


section{Zielsetzung}
a
a
a
a
a
a
a
a
a
a
a
a
a

    begin{itemize}
    item a
end{itemize}
section{Versuchsaufbau und Methodik}
subsection{Proben} 
 a
a
a
a
a
a
a
a

 subsection{Versuchsaufbau}
a
a
a
a
a
a
a
a
a
a
a
a
a
a

 subsection{Eventuelle weitere Untersuchungen}
a
a
a
a
a
a
a
a 


samepage

section{vorläufige Gliederung}
setcounter{section}{0}
section{Einleitung}
section{Literaturübersicht}
subsection{a}
subsubsection{b}
subsubsection{c}
subsection{d}

subsubsection{e}


subsubsection{f}

section{g}
section{h}
subsection{i}
subsection{j}
subsubsection{k}
subsubsection{l}
subsubsection{m}
section{n}
subsection{o}
subsubsection {p}
subsubsection{q}
subsection{r}
section{s}
section{t}

setcounter{section}{6}

section{Ablauplan}

newpage
bibliographystyle{apalike} 
bibliography{/home/lena/Dokumente/Uni/Doktorarbeit/Literatur/library.bib}



end{document}

One Answer

This was too long for a note, and probably not an answer. I looked at the documentation of KOMA-script, page 148.

The default setting, where the bibliography is produced as an unnumbered chapter and does not receive an entry in the table of contents corresponds to bibliography=nottotoc. For more information, see the toc option in section 3.9, especially the bibliographynumbered, bibliography, andnobibliography values for this option on page 72.

You are using scrartcl and if the section commands are redefined so the section commands produce a new page, also the bibliography probably will start on a new page.

Check what is happening when you remove the newpage command.

Answered by Sveinung on July 7, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP