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.

Is there a way to save the document \parindent and use it to indent footnotes? I am using koma-script, therefore I would like to use the \deffootnote[mark width]{indent}{parindent}{definition} command.

A MWE is

\documentclass{scrartcl}
%\deffootnote[1em]{0em}{1em}{\textsuperscript{\thefootnotemark}}

\parindent = 20pt

\deffootnote[\dim\the\parindent]{0em}{\the\parindent}{\textsuperscript{\thefootnotemark}}

\begin{document}

Here it will be placed a footnote\footnote{This is a footnote!}.

\end{document}

But it doesn't work as expected!

share|improve this question
add comment

1 Answer

up vote 7 down vote accepted

Save (at begin document) the value of the normal parindent and use it for the footnotes.

\documentclass{scrartcl}

\deffootnote[\normalparindent]
            {0em}
            {\normalparindent}
            {\textsuperscript{\thefootnotemark}}
\newlength{\normalparindent}
\AtBeginDocument{\setlength{\normalparindent}{\parindent}}

\begin{document}

Here it will be placed a footnote\footnote{This is a footnote!}.

\end{document}
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.