Questions tagged [scrlayer-scrpage]
{scrlayer-scrpage} is a package allowing custom headers and footers.
199
questions
2
votes
1
answer
51
views
ltpara's new hook management and scrlayer-scrpage (for automatic paragraph counting, etc)
I have read that one should not use \everypar but rather \AddToHook{para/begin} for automatic paragraph enumeration and related operations. In principle, this works fine (mwe without counting, just ...
1
vote
2
answers
57
views
How to find macros to adjust footer (lefoot, cefoot etc.) with scrlayer-scrpage
I'm still working on a Latex-template for my institution. So far everything runs fine and the former questions i asked here helped me a lot.
Now, i want to adjust the different parts of the journals ...
1
vote
1
answer
92
views
How can I add horizontal lines after the header and before the footer in koma-script classes?
Consider this simple document.
\documentclass{scrbook}
\usepackage{scrlayer-scrpage}
\pagestyle{scrheadings}
\usepackage{amsmath}
\usepackage{blindtext}
\begin{document}
\title{\Huge Me}
\author{...
2
votes
1
answer
45
views
scrlayer-scrpage: Use tikz picture as part of the header in one-sided document
I would like to have a tikz picture recurring on every page of a certain pagestyle except for the page with the chapter title. When compiling the MWE, I get the picture only on the page with the ...
2
votes
1
answer
32
views
Show section number in header if new section starts midway on that page, except when section starts on top of the page
I am writing my thesis in the oneside scrbook class and would like the section number and name to show up on the top left of all pages (except pages on which a new chapter starts). I was facing the ...
0
votes
0
answers
26
views
scrlayer-scrpage: distance between header/footer and continuous text [duplicate]
how could one increase / decrease the distance (vertical space) between the header / footer and the continuous text when using scrlayer-scrpage from koma script? Thx, Harald
I use the following ...
0
votes
1
answer
65
views
Distance between headsepline and text in header [closed]
The problem I'm having right now is that I'm not able to close the gap between the text in the header and the headsepline. It only works if I delete the image from the header (see screenshot). How can ...
1
vote
2
answers
55
views
Komascript section redeclare with definition of the page header
In my MNWE I try to change style for section in two column scrbook document. In same time I want to have page header also on pages where the first text line is the section header.
In my code I am ...
0
votes
1
answer
65
views
scrlayer-scrpage: Can't increase pagehead font size beyond \normalsize (but decreasing works!)
I'm trying to increase the font size of the page head, and it doesn't increase beyond \normalsize. Here's my MWE:
\documentclass[
fontsize=24pt, pdftex, a4paper,
DIV=50, BCOR=0pt, twoside=off,
...
1
vote
1
answer
65
views
Boldmath in section title but not in header
I am using the \boldmath command for bold math symbols in my section titles. Moreover, I use the scrlayer-scrpage package to write the section titles in the header. The problem is that the math ...
0
votes
1
answer
31
views
Delete ’0’ of unlabelled section in header using scrlayer-scrpage
I use the package scrlayer-scrpage to create my headers and footers. The introduction is an unnumbered section and therefore has no header. If I add \sectionmark{Introduction}, then it says ‘0 ...
1
vote
0
answers
29
views
How to get rid of the headsepline in all pages of a scrbook-based text?
I am typing a document using scrbook class.
I have made some changes such as putting all page numbers in the top right and keeping the chapter titles on the same page that contains a section of the ...
1
vote
1
answer
110
views
scrlayer-scrpage modifying more than just header/footer
PS: It was a bug in the minutes package. See below.
PPS: The author of KOMA-Script, Markus Kohm, used the opportunity to patch KOMA-Script. Beginning with 3.38.3945 this is no longer an issue.
I am ...
0
votes
0
answers
80
views
Why do I get a `weird error' (according to overleaf) when trying to compile my pdf with a logo in the footer?
I want to include a logo in the footer (here a graphic of a green box as an example) into my document. However, doing so results in errors which stem from the KOMAoptions command and I dont know how ...
0
votes
1
answer
64
views
How to have separate colours for chapter, section etc. on even/odd pages with scrlayer-scrpage?
I have provided a minimal working example in the following, where I couldn't implement the change of colour of headers such as chapter or section depending on whether the page is odd or even.
\...
1
vote
1
answer
61
views
How can I have different colours for the head separation line with the scrlayer-scrpage package for even and odd pages?
I have tried now for a long time and couldn't figure out how to implement different colours for the head separation line depending on whether the page is odd or even.
\documentclass[
11pt,
a4paper,
...
0
votes
1
answer
95
views
Strange results when using \setkomavar{title} with scrlayer-scrpage and scrlttr2
Months ago, this code was working a letter:
\documentclass[paper=a4,foldmarks=true,foldmarks=blmtP,fromalign=center,fromrule=afteraddress,fromphone,fromemail,title=true,subject=titled,version=last]{...
0
votes
2
answers
147
views
Header not displayed for table of contents
The headline of my pages should look like this:
And it is working as suppost for all pages, just not for table of content, table of tabels and the table of pictures.
In this cases it looks like this:
...
0
votes
1
answer
147
views
Changing the Header
I want my header to look like this:
How can I attach a short section title to a section? Is there a way to only display the title or the number of a section?
My header code so far:
\documentclass[...
3
votes
1
answer
345
views
Formatting \pagemark with LaTeX
I am customizing my headers and footers with the document class scrbook. Now everything works fine except that the \pagemark doesn't get formatted as intended (i.e., gray color, letter-spaced, etc.). ...
1
vote
1
answer
71
views
TOC not compatible with automark on two-sided document
I am trying to make a two-sided document with section names in the header of even numbered pages, and subsection names on odd numbered pages. The odd numbered pages on which my sections start shall ...
0
votes
1
answer
71
views
How do you include the title of \section*{...} for the header?
I got a problem for my thesis. How does it work, that \section*{...} is used for the section title in the header?
For sections with a \section{...} my definition is working as wanted:
For sections ...
0
votes
0
answers
21
views
error on pagebreak in index of makeindex when using center environment in footer of package scrlayer-scrpage
I run into strange compilation errors regarding the combination of packages scrlayer-scrpage and makeidx. I reduced this to the following case
Define a footer via \cfoot* that contains a center ...
0
votes
1
answer
153
views
Section Title in Header with scrlayer-scrpage
I tried a lot, but couldn't find a solution:
Im using the package scrlayer-scrpage and the article class
\clearscrheadfoot
\lehead*{\textcolor{white}{\headmark}}
\lohead*{\textcolor{white}{\headmark}}
...
2
votes
1
answer
389
views
How to change footskip in koma-script with scrlayer-scrpage pagestyle?
I feel like this is somewhat of a common problem where most people just give up on. What I want, is to reduce the space between the the text area and the footer. So there is less white space between ...
2
votes
1
answer
118
views
\printendnotes shows wrong header labels when using koma-script’s scrlayer-scrpage with enotez
I am having a hard time getting a running head working when using scrlayer-scrpage in conjunction with enotez. I already figured that is not possible at the moment to have endnotes for numbered and ...
2
votes
1
answer
227
views
Vertical alignment for multiple elements in header with scrlayer-scrpage
I have recently started using the koma-script classes, but I am having trouble transitioning from fancyhdr to scrlayer-scrpage. I want to place a logo on the right side and a mark on the left side. ...
3
votes
2
answers
53
views
Make header push down instead of up on second line
Consider this document with a long header:
\documentclass[twoside=semi]{scrartcl}
\usepackage{scrlayer-scrpage}
\usepackage{lipsum}
\rohead{This is a really long header, it's so long it even needs a ...
1
vote
1
answer
300
views
Create footer only on one page in Koma-script
In the documentclass scrartcl, I’m creating a command to renew the header and footer mid-document.
The header should not show on the page on which the command is issued, but on all other pages.
This ...
1
vote
2
answers
106
views
scrlayer-scrpag - Different headers for first page of a chapter ( --> \chaptermarkformat)
I'm a bit lost using the scrlayer-scrpage package.
I want to have have an \ohead{...} header on the first page of a chapter that slightly differs from the other headers.
So I started by using the ...
1
vote
1
answer
89
views
Lyx KOMA-script page header
I am working on a book using KOMA-script in LYX 2.3. The first two chapters (Preface and Introduction_ are unnumbered. I can add them to the Table of Contents using e.g., \addcontentsline{toc}{...
0
votes
1
answer
127
views
Classicthesis - Lowering header on specific pages only
Assume a document using the classicthesis package in which some pages follow \pagestyle{plain}, while others follow \pagestyle{scrheadings} (back and forth several times). My goal is to lower the ...
3
votes
1
answer
75
views
\chaptertitle not working in scrbook with scrlayer-scrpage
I need to make the title of the current chapter appear in the header of my book.
With the standard class book I can just use titlesec package and \chaptertitle:
\documentclass{book}
\usepackage{...
2
votes
1
answer
206
views
How do I set a Tikz drawing to the background of my page?
I tried to use layers with \usepackage{scrlayer-scrpage} and add a Tikz drawing but it seems to still place the drawing in relation to the other things and not behind anything.
I'm not sure what I did ...
1
vote
1
answer
751
views
scrlayer-scrpage: Changing text font in header
I'm using scrreprt for my class notes and changed the page layout to my likings. However firstly I would like to change the font of my page header to \mdseries to match the chapter prefix.
I'm also ...
0
votes
1
answer
129
views
scrlttr2, crop and headheight
I write a letter with scrlttr2 and try to colorize the background of the header.
For some reason, I need some crop marks. So I maximize my letter from DIN-A4 to DIN-A3 with the package crop. But now, ...
1
vote
3
answers
133
views
scrlayer-scrpage: "Part No." in header
I would like to have "Part 1", "Part 2" etc. in the lehead and the chapter title in the rohead. Getting the chapter title where I want it is no problem, neither is getting the word ...
4
votes
1
answer
426
views
How to set author, title and date in KOMA script header (scrlayer-scrpage)?
How can I customize the header to have \author, the \title and the \date in the header and underline it?
Since I use a Koma Script document class I want to avoid the fancyhdr package and use scrlayer-...
1
vote
1
answer
269
views
Different headers for odd and even pages of onesided layout without fancyhdr
I am using the oneside layout of MastersDoctoralThesis. I want to give a different header for even and odd pages. The process should be simple with fancyhdr, however it not supported in this template, ...
0
votes
1
answer
64
views
How to remove the heading without removing the page number?
I am trying to remove the heading on a certain page. I am currently using the command \thispagestyle{plain} but it also removes the page number. Does anyone know how to remove the heading without ...
0
votes
2
answers
56
views
Why are there on certain pages no headings?
I am wondering why the chapter is not written down on the heading (as I marked red). I guess it has something to do with \section*{}. Does anyone know how to fix this?
This is my code:
\documentclass[...
0
votes
1
answer
160
views
How to avoid headings on certain pages?
I am trying to remove the heading on the page I marked. Does anyone know, how to do this? Unfortunately, commands like \thispagestyle{empty} also remove the page number.
This is my code:
\...
0
votes
2
answers
419
views
Customize page header for even and odd pages WITHOUT fancyhdr
I am using MastersDoctoralThesis for writing my thesis. Its default settings are:
On even numbered pages: outer header has page number while inner header has chapter number
On odd numbered pages: ...
0
votes
2
answers
580
views
individual header only on page one
Edit: I used the answers I got so far and created some code. Now I have another Question. How can I change the distance margin on the top of the document to get some more space to write? (for detailed ...
2
votes
1
answer
595
views
Header on first page with \scrlayer-scrpage
I'm trying to make a header on the first page above the title. The problem is that it does not show up on the first page but only starts on the second page. How can I fix that?
\documentclass{scrartcl}...
0
votes
2
answers
909
views
scrlayer-scrpage
Does anyone know how I can make this document have this header only on the first page and not on the other pages? Also, the inserted program code "Form1.cs" should start on the first page.
\...
0
votes
1
answer
339
views
\newgeometry does not apply the right margins
I developed the following code for my document:
\documentclass[10pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[german]{babel}
\usepackage[headsepline,footsepline]{scrlayer-scrpage}
\...
2
votes
1
answer
587
views
scrlayer-scrpage issue with page numbers
I am using the scrlayer-scrpage package with Koma scrlttr2. Since I replaced scrpage2 with scrlayer-scrpage I have a problem with the formating of page numbers.
I would like to only have the actual # ...
1
vote
0
answers
77
views
Option `headwidth=textwithmargin` of `scrlayer-scrpage` package for asymmetric page layouts
In the following example I am trying to extend the width of the header and the footer of the KOMA-Script class scrbook to include the width of the margin column:
\documentclass{scrbook}
\usepackage{...
1
vote
0
answers
91
views
Running head but no page number on certain page with float
I want to suppress the page number on the landing page of a certain float -- but the running head should appear there.
My MWE shows, how to suppress page number and running head thisfloatpagestyle{...