1

More obviously, the following does work:

\addtokomafont{abstract}{\footnotesize}

Less obviously, the following does not work either:

\usepackage{etoolbox}
\patchcmd{\abstract}{\footnotesize}{}{}{}

So is it possible to change the abstract font size? If so how?

Edit

Here is a minimal example of my problem (based on the answer below):

\documentclass{scrartcl}
\usepackage{lipsum}

\begin{document}
\begin{abstract}
  \lipsum[1]
\end{abstract}
\section{A Section}
\lipsum
\end{document}

I want the abstract to appear in a smaller font size but doing so in the preamble.

2
  • 2
    Koma does not provide an abstract element for font purpose.
    – Guido
    Apr 20, 2016 at 21:55
  • 2
    What class are you using?
    – egreg
    Apr 20, 2016 at 21:57

1 Answer 1

5

Unfortunaly there is no MWE in your question. So I can only guess what you are doing.

\documentclass{scrartcl}
%\documentclass{scrreprt}
%\documentclass[abstract]{scrreprt}
\usepackage{lipsum}

\usepackage{etoolbox}
\AtBeginEnvironment{abstract}{\footnotesize}

\begin{document}
\begin{abstract}
  \lipsum[1]
\end{abstract}
\section{A Section}
\lipsum
\end{document}

enter image description here

or

\documentclass[abstract]{scrartcl}
\usepackage{lipsum}

\usepackage{etoolbox}
\patchcmd\abstract{\small}{\footnotesize}{}{}

\begin{document}
\begin{abstract}
  \lipsum[1]
\end{abstract}
\section{A Section}
\lipsum
\end{document}

enter image description here

2
  • Great. I guess this provides a quite general way to change the font size of (almost?) any environment in KOMA script, right?
    – Daniel
    Apr 21, 2016 at 8:41
  • No, it depends on the definition of the environment.
    – esdd
    Apr 21, 2016 at 9:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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