i downloaded this TeX example to begin with the documentation of my thesis. I changed nothing and tried to compile it. But i got this error on line 41 and there is only this comment. % Paket für Boxen im Text

  • Welcome to TeX.SX! Have a look at tex.stackexchange.com/q/390683/35864 and (since you seem to speak German) komascript.de/latexvorlage – moewe Jun 7 '18 at 7:09
  • For starters \usepackage{ngerman} (in Hauptdatei.tex) has been superseded by \usepackage[ngerman]{babel} (which is also loaded immediately afterwards) many moons ago and I have seen it cause trouble in complex documents. So you should get rid of \usepackage{ngerman}. fancyhdr with KOMA script classes is usually not a great idea. With KOMA classes you can use scrlayer-scrpage. These empty \section*{ } also look very suspicious to me. – moewe Jun 7 '18 at 7:11
  • Indeed removing \usepackage{ngerman} almost lets me compile the code. I now get a ! Class scrartcl Error: undefined old font command \tt'.` because the example uses \tt which has been deprecated for more than 20 years (tex.ac.uk/FAQ-2letterfontcmd.html) now. If I replace the \tt by \ttfamily everything works as expected. – moewe Jun 7 '18 at 7:19

Your Answer

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

Browse other questions tagged or ask your own question.