[Tex/LaTex] Align \footnote left

footnoteshorizontal alignment

At the moment my footnote looks like this

²Commit-Hooks definieren was die Softwareversionierung (zum Beispiel SVN) machen soll, sobald ein
  Commit passiert.

The second line just does not align to the first (C under C).
I do not get what have caused this.

My Code:

Commit-Hooks\footnote{Commit-Hooks definieren was die Softwareversionierung (zum Beispiel SVN) machen soll, sobald ein Commit passiert.} 

Minimal Example:

\documentclass[12pt,oneside,a4paper]{scrartcl}
\usepackage[ngerman]{babel}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[pdftex]{graphicx}
\usepackage{natbib}
\usepackage{fancyhdr}
\usepackage[pdftex]{color}
\usepackage[pdfpagelabels]{hyperref}
\usepackage{wallpaper}

\begin{document}
Commit-Hooks\footnote{Commit-Hooks definieren was die Softwareversionierung (zum Beispiel SVN) machen soll, sobald ein Commit passiert.} 
\end{document}

Any help is appreciated.

Best Answer

The Koma-script classes have a mechanism for changing the setting of the footnotes.

The default is

\deffootnote[1em]{1.5em}{1em}{\textsuperscript{\thefootnotemark}}

and you can get the desired result by saying

\deffootnote[1em]{1em}{1em}{\textsuperscript{\thefootnotemark}}

Complete example:

\documentclass[12pt,oneside,a4paper]{scrartcl}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[ngerman]{babel}

\deffootnote[1em]{1em}{1em}{\textsuperscript{\thefootnotemark}}

\begin{document}

Commit-Hooks\footnote{Commit-Hooks definieren was die Softwareversionierung
(zum Beispiel SVN) machen soll, sobald ein Commit passiert.}

\end{document}

enter image description here

If you want to push the footnote number to the left margin, you can do

\deffootnote[1em]{1em}{1em}{%
  \textsuperscript{\makebox[1em][l]{\thefootnotemark}}}

and the footnote would be

enter image description here

If you want the footnote number in the margin, you could use

\deffootnote[0em]{0em}{0em}{%
  \textsuperscript{\makebox[0em][r]{\thefootnotemark\ }}}

and the footnote would become

enter image description here

Related Question