Questions tagged [scrlayer-scrpage]
{scrlayer-scrpage} is a package allowing custom headers and footers.
183
questions
0
votes
1
answer
58
views
komascript scrlayer-scrpage with scrlttr2: \setkomavar{title} gives strange results? - Solved
Can anyone help me please with \setkomavar{title} in scrlttr2 and scrlayer-scrpage. My months ago working code for a letter was the following:
\documentclass[paper=a4,foldmarks=true,foldmarks=blmtP,...
0
votes
2
answers
47
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
59
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
59
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
48
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
25
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
16
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
40
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}}
...
1
vote
1
answer
91
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
70
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
66
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
44
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
93
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
54
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
54
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
60
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
52
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
124
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
312
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
77
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
56
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
200
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
123
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
46
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
53
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
83
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
155
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
101
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 ...
1
vote
1
answer
257
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
331
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
139
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
264
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
54
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
58
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{...
1
vote
1
answer
48
views
Drawings of rulers (centimeter & inches) mysteriously appear in headers and footers
This is the MWE:
\documentclass{scrreprt}
\usepackage{scrlayer-scrpage}
\begin{document}
Hello world.
\end{document}
And the result:
(plus something similar in the footer)
I'm using Overleaf. I ...
1
vote
1
answer
62
views
Hyperref from a glossary leads to wrong page after using /setcounter
I have a document with the code, that I added below. The first two pages of the document are the title page and the page with the table of contents. These two pages should not be counted, because the ...
2
votes
1
answer
86
views
Setting koma script option from within ones own class file
I asked a question on how to set up the footer in koma script to get the right distance between page number and text using scrlayer-scrpage (https://tex.stackexchange.com/a/559567/18561). The solution ...
-1
votes
1
answer
272
views
Centered picture in header and footer of LaTeX file
I try to add a centered picture in the header and the footer of my documents title page. It should look like in the first picture, that I have just created in a word processing program.
I tried two ...
1
vote
2
answers
133
views
avoiding raising of page numbers with scrlayer-scrpage
We have been using scrpage2 and now switched to scrlayer-scrpage this caused the page number to raise by about 2mm.
Is there a way to avoid this?
\documentclass{scrbook}
%\usepackage{...
2
votes
2
answers
90
views
[i]makeidx together with scrlayer-scrpage and tabbing in header leads to 'Something's wrong--perhaps a missing \item. \end{theindex}' error
I tried to add an index to one of my documents. This however failed, as the following MWI does as well. The cryptic error message is:
Something's wrong--perhaps a missing \item. \end{theindex}
The ...
0
votes
2
answers
80
views
Document header and footer in scrbook: document title instead of section and pagenumbering on start of chapter page
How to add the document title in the header in scrbook using scrlayer-scrpage. Right now by default one gets the chapter name on the even pages and section name in odd pages as the header. I want to ...
1
vote
1
answer
218
views
section and subsection in headline
I am currently working on my bachelor thesis. I use the package srclayer-scrpage for headlines. As I don't need to print my thesis, it is a one-sided document. I want the current section or subsection ...
2
votes
1
answer
279
views
alignment of \cfoot, inserting spaces in \ifoot with vertical line
I have trouble getting my footer right. I want it to look as follows:
In ifoot, with the vertikal line on the left side being a continuous one:
| Name
| PLZ Ort
| Straße
in cfoot, horicontally ...
0
votes
1
answer
202
views
Problem with landscape table possibly related to Package scrlayer-scrpage
Hello: I'm trying to execute a master file with landscape tables in the included file (\include{...}). The master file always stops executing and prints in the console output and error:
> Output ...
0
votes
1
answer
100
views
Book title on even pages, chapter on odd pages
I would like the title of my book (or any other text) to appear on even pages, and the chapter on odd pages.
The default setting seems to be chapters on even, section on odd pages (please see the MWE ...
0
votes
1
answer
492
views
screprt with twoside and scrlayer-scrpage: remove default page number
When I manually set the page number to appear in the \cfoot with scrlayer-scrpage, I get both page numbers: one in the \cfoot and one in the \ofoot. The one in the \ofoot is only triggered by the ...
0
votes
1
answer
117
views
KOMA-script thumb index with scrlayer-scrpage: Shift text inside chapterthumbbox
I want to make semicircle thumb indices using chapterthumbs in KOMA-script. For this, I made circles with tikz and shifted them by the appropriate distances on odd and even pages, respectively. Of ...
1
vote
1
answer
487
views
How to manually define the page header with scrheadings?
I want to manually define my headings in a two-side document as follows:
On the odd pages, I want to have the page number and the (hard-copied) title of my whole document ("TITLE OF THIS STUDY")
On ...
1
vote
1
answer
273
views
scrlayer-scrpage: switch layers of pagestyle when defining \newpairofpagestyles
From an earlier question (scrlayer-scrpage: Have headsepline intersect, but not strike through, text), I got the code included in the MWE on how to switch layers in page styles of scrlayer-scrpage. ...
2
votes
1
answer
62
views
Right aligned lines mismatch when enabling microtype
I have a document which has a right aligned two line header. Said header is created using scrlayer-scrpage. When I also try to enable the microtype package the two lines do not line up at the right ...