Why the following code does not compile? How can I fix that?



  • 3
    scrlttr2 is a letter class. I hope you don't mind me asking, but why do you need classicthesis for a letter? I guess it wasn't designed for such a class...
    – jub0bs
    Commented May 6, 2013 at 21:29
  • 1
    classicthesis relies upon usual sectioning commands like \section being defined (and on \chapter since you're not using classicthesis' nochapters option). They're not available in the scrlttr2 class, though.
    – cgnieder
    Commented May 6, 2013 at 21:39

1 Answer 1


The classicthesis package relies on the usual sectioning commands such as \section being defined. For example it loads titlesec which it uses to define the sectioning formats.

However, the scrlttr2 class does not define sectioning commands since they're not needed for a letter.

But then, classicthesis is meant for formatting a thesis and not a letter...

If you define dummy commands for the sectioning commands and the figure and table floats (that aren't defined in scrlttr2 either as they're not needed for a letter, too) you can avoid the immediate errors:


\setkomavar{fromname}{Max Musterman}
\setkomavar{fromaddress}{Musterstr.\,1\\54321 Musterstadt}



\begin{letter}{Otto Normalverbraucher\\Normalstr.\,1\\12345 Normalstadt}


  • That is exactly what I had need! ;) A question: What are the horizontal little lines at the left of the letter body?
    – Aurelius
    Commented May 7, 2013 at 11:28
  • @FormlessCloud Folding guides? (To help fold the letter correctly for insertion into an envelope.) Commented May 7, 2013 at 11:35
  • 1
    They are fold marks. There is an option to turn them off but I can't remember it at the moment. You should be able to find it in KOMA-Script's documentation
    – cgnieder
    Commented May 7, 2013 at 11:35
  • @PaulStanley Thank you all guys you're fantastic. For your knowledge the option is "foldmarks=false"
    – Aurelius
    Commented May 7, 2013 at 12:02

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .