I have the problem that I am not able to set the correct space between the footnotes and the footline. There is way too much space yet. Here is an example what it looks like:
I found an example that I can fix it with the geometry
-package and set the footkip height using \usepackage[footskip=8mm]{geometry}
. The problem is that loading the geometry
package even without an option destroys my KOMA layout. Here is the layout without the loaded geometry package:
And this happens when I load the geometry package without any options:
The geometry package destroys alot of the page layout. So how else can I reduce the space between the footnote and the footnoteline? It would be perfect having a space of 1 or 1.5 lines of the height of a line of a footnote. I also tried to lower footheight=1cm
in the document class but then I get an error that the footheight is too low.
Here is a MWE:
\documentclass[a4paper, twoside=false, DIV=12, BCOR=5mm, bibliography=totocnumbered, headheight=1cm, footheight=1cm, numbers=autoendperiod]{scrartcl}
\usepackage[multiple, bottom]{footmisc}
\usepackage{layout}
\usepackage{lipsum}
% Set up headers and footers
% Automark fills the \leftmark and \rightmark placeholders with the section and subsection
% Autooneside is needed by automark
\usepackage[automark, autooneside=false, headsepline, footsepline]{scrlayer-scrpage}
\usepackage{xpatch}
\clearpairofpagestyles
\ihead{\ifstr{\rightmark}{\leftmark}{}{\leftmark}}
\ohead{\ifstr{\rightmark}{\leftmark}{}{\rightmark}}
\ofoot{\pagemark~\hspace*{1mm}}
% Page Style for page which shall contain the page number only
\newpairofpagestyles{pagenumbersonly}{
\ofoot{\pagemark~\hspace*{1mm}}
}
\AddToLayerPageStyleOptions{pagenumbersonly}{oninit=\KOMAoptions{headsepline=false}}
% Fixing pagestyle for pages containing \section command
\xpretocmd{\section}{\vspace*{1cm}\thispagestyle{pagenumbersonly}}{}{}
%Fixing headline for the bibliography section
\xpretocmd{\bibliography}{\ihead{\leftmark}}{}{}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% DOCUMENT
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\layout
\lipsum[10]\footnote{ABC}\lipsum{DEF}\footnote{GHI}\lipsum\lipsum\lipsum
\end{document}
To ensure that no package inferes the layout, these are all of my used packages:
\usepackage[automark, autooneside=false, headsepline, footsepline]{scrlayer-scrpage}
\usepackage[ngerman]{babel}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage[all]{nowidow}
\usepackage{microtype}
\usepackage{siunitx}
\usepackage[table]{xcolor}
\usepackage{booktabs}
\usepackage{graphicx}
\usepackage{listings, lstautogobble}
\usepackage{lscape}
\usepackage{pdflscape}
\usepackage{pdfpages}
\usepackage{tikz-er2}
\usepackage{acronym}
\usepackage{changepage}
\usepackage{layout}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{amsfonts}
\usepackage{textcomp}
\usepackage{setspace}
\usepackage{lipsum}
\usepackage[multiple, bottom]{footmisc}
\usepackage[fixlanguage]{babelbib}
\usepackage[colorlinks=false, pdfborder={0 0 0}]{hyperref}
\usepackage{xpatch}
Thanks in advance