According to the KOMA-Script documentation, setting the draft option has the following effect with scrlayer:

The command \layercontentsmeasure prints a ruler at each layer edge, of which the top and left one is labelled with centimeters, the right and bottom one with inches. This command is used internally, if option draft is enabled. The rulers will be drawn behind the content of each layer. It can also be used as exclusive content of a layer.

That sounds nice, but trying a trivial example document:


gives me this:

Output for minimal example with <code>draft</code> and <code>scrlayer-scrpage</code>

That’s no good, it’s all jumbled together and I can’t tell the rulers apart! Is there a way to make this actually useful by making it readable (e. g. reduce the size of the marks and the font size)?

1 Answer 1


Any pagestyle defined by scrlayer-scrpage consists of 10 layers. You can use \ForEachLayerOfPageStyle{scrheadings}{#1\newline} to get a list of these layers in your document.

On each page with a scrlayer-scrpage pagestyle 6 of these layers are used: one for the line above the header, one (depending on oneside or twoside document and even or odd page) for the header, one for the line below the header and the same for the footer.

If you use option draft for scrlayer-scrpage rulers for all layers on a page are shown at the same time. So you get three rulers in the header overlapping eachother and you can not read anything.

So I would clone the layers manually and add the clones to the pagestyle. Now I can color the rulers and I can decide which one I want to see.


    %\showlayer[green!30]{scrheadings.foot.below line}

    \chead{Test header}
    \cfoot{Test footer}


    \minisec{List the layers for pagestyle scrheadings}



enter image description here

Note the position of layer scrheadings.head.below.line: It is the position of the layer! The definition of contents is not restricted to this area. With option headsepline and showing only the layer scrheadings.head.below.line by \showlayer[red]{scrheadings.head.below.line} I get

enter image description here

  • 2
    Thanks for the detailed explanation! I guess I was hoping the draft option would do something actually useful (“work by default”) in scrlayer-scrpage, but I guess not.
    – Socob
    Commented Sep 9, 2016 at 23:00
  • It could be useful if you design new layers for a new layer page style.
    – esdd
    Commented Sep 10, 2016 at 11:26

You must log in to answer this question.

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