[Tex/LaTex] Setting custom paper size with KOMA Script / pdflatex

koma-scriptpaper-size

I try to set a document with some custom paper dimensions (lets say 24cm height and 17cm width), the beginning of the file looks like so:

\documentclass[liststotoc,bibtotoc,headsepline]{scrreprt}%draft

\input{xx_common_include}

\begin{document}

Where xx_common_include looks like this (extract)…

%------------------------------------
% KOMA Stuff
%------------------------------------

% General KOMAoptions

\KOMAoptions
  {
    fontsize=11pt,
    paper=a4,
    pagesize=pdftex
    %cleardoublepage=plain,
  }

% Headers

\usepackage{scrpage2} 
\pagestyle{scrheadings} 
\clearscrheadfoot
\ihead{\leftmark}
\ohead{\thepage}
\automark[section]{chapter}

Now, obviously the line "paper=a4" should look different in order to get the document to match the required size. How do I achieve that?

Best Answer

you can do that like this

paper=5cm:3cm,
DIV=calc,
Related Question