I want to customize my \part headings and it was suggested here to use the package sectsty. However, when I run my file I get an undefined control sequence error.

MWE:

\documentclass{scrartcl}
\usepackage{sectsty}
\partfont{\large}

\begin{document}
    \part{Party of the first part}
\end{document}

Any ideas on how to resolve this? Thanks in advance.


Edit: Although it doesn't work for every option, I used \setkomafont{part}{...} now.

closed as off-topic by Mico, Phelype Oleinik, marmot, siracusa, Sebastiano Nov 9 at 16:53

  • This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

  • I'm not sure sectsty is compatible with scrartcl. – egreg Nov 9 at 12:53
  • The sectsty package is not compatible with the KOMA-Script document classes, including the scrartcl class. – Mico Nov 9 at 15:45
  • 4
    I'm voting to close this question as off-topic because it was solved via comments, as well as by a remark offered by the OP. – Mico Nov 9 at 15:47