TransWikia.com

Drawings of rulers (centimeter & inches) mysteriously appear in headers and footers

TeX - LaTeX Asked by user207046 on August 9, 2021

This is the MWE:

documentclass{scrreprt}
usepackage{scrlayer-scrpage}
begin{document}
Hello world.
end{document}

And the result:

this just suddenly happened - also in the footer

(plus something similar in the footer)

I’m using Overleaf. I assume there is something wrong with my environment. But what? I’m compiling with pdfLaTeX from their provided 2019 version of TeXLive. Although it’s the same for 2017, and also switching to XeLaTeX in fact.

I’ve also tried clearing the temporary files, to no avail. I have of course contacted Overleaf support, but I figured maybe someone here gets a kick out of figuring this one out.

One Answer

(Tom from Overleaf Support here.)

This is a side effect of the Compile Mode → Fast [draft] setting in your project. This setting can be found under the Recompile button, and changing back to Normal should help.

The reson why this happens is that the Fast [draft] mode passes the draft option to all classes and packages, and a side-effect of the draft mode for scrlayer-scrpage includes the rulers.

Correct answer by yo' on August 9, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP