Using the scrartcl
document class, I would like to put the section number into the page margin, as is seen for example in the famous l2tabu
document. That should be easily possible with KOMA-Script, but I can not find how.
Also, how can the same be done with page numbers, as is done for example in the good old LaTeX Companion
?
Best Answer
Update
With KOMA-Script version 3.19a or newer you simple have to redefine
\sectionlinesformat
to get the desired result:Original answer
Since KOMA-Script version 3.17 (current version on CTAN) you have to redefine the commands
\sectionformat
,\subsectionformat
etc. instead\othersectionlevelsformat
.