# Modifying \part style in KOMA

I've got the design for part style in my KOMA document. It requires:

• removing "Part" text
• changing font
• flushing text to bottom right.

I have already done some reading, removed "Part" text and changed font. But I have no idea how to make text flush to bottom right. Please, can you help me with this?

MWE:

\documentclass[11pt]{scrbook}
\usepackage{newtxtext}
\usepackage{xcolor}

\definecolor{basic}{cmyk}{1.0,0.7,0.5,0}
\setkomafont{disposition}{\rmfamily}
\setkomafont{part}{\fontsize{36pt}{36pt}\selectfont\color{basic}}
\setkomafont{partnumber}{\fontsize{36pt}{36pt}\selectfont\color{basic}}
\renewcommand*{\partformat}{\thepart.}

\begin{document}

\part{Teorija in problemi}

\end{document}


Result: Design:

This did the trick:

\documentclass[11pt]{scrbook}
\usepackage{lipsum}
\usepackage{newtxtext}
\usepackage{xcolor}

\renewcommand*{\raggedpart}{\raggedleft}

\definecolor{basic}{cmyk}{1.0,0.7,0.5,0}
\setkomafont{disposition}{\rmfamily}
\setkomafont{part}{\fontsize{36pt}{36pt}\selectfont\color{basic}}
\setkomafont{partnumber}{\fontsize{36pt}{36pt}\selectfont\color{basic}}
\renewcommand*{\partformat}{\thepart.}

\begin{document}

\frontmatter

\lipsum[1-5]

\mainmatter

\part{Teorija in problemi}
\restoregeometry

\lipsum[1-5]

\end{document}


A simple, but a bit "hacky" approach: Just add some fills to your font definitions:

\documentclass[11pt]{scrbook}
\usepackage{newtxtext}
\usepackage{xcolor}

\definecolor{basic}{cmyk}{1.0,0.7,0.5,0}
\setkomafont{disposition}{\rmfamily}
\setkomafont{part}{\hfill\fontsize{36pt}{36pt}\selectfont\color{basic}}
\setkomafont{partnumber}{\vfill\hfill\fontsize{36pt}{36pt}\selectfont\color{basic}}
\renewcommand*{\partformat}{\thepart.}

\begin{document}

\part{Teorija in problemi}

\end{document}


• +1 Thanks Daniel. I found less hacky approach, as stated in my Answer. – Pygmalion Nov 4 '13 at 10:50