Questions tagged [scrlayer-scrpage]
{scrlayer-scrpage} is a package allowing custom headers and footers.
155
questions
0
votes
2answers
48 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
1answer
35 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
2answers
69 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
1answer
52 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
1answer
31 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
0answers
35 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
0answers
32 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{...
0
votes
1answer
27 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
1answer
30 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
1answer
45 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
1answer
71 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
2answers
81 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{...
0
votes
1answer
33 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
2answers
34 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
1answer
44 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
1answer
99 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
1answer
60 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
1answer
57 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
1answer
112 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
1answer
42 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
1answer
75 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
1answer
88 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
1answer
43 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 ...
0
votes
1answer
110 views
Remove Zero as Chapter Number in Header Using scrlayer-scrpage
I am currently working on a layout for a document (based on this post and this), using scrbook with scrlayer-scrpage.
After a long struggle to get lines with rounded corners in the header and footer, ...
1
vote
0answers
28 views
KOMA chapter number alignment in margin
I've managed to put the chapter and section numbers in the margin. However, I wasn't able to properly align them to have the same distance from the corresponding titles.
MWE:
\documentclass[10pt]{...
2
votes
1answer
100 views
Multiline watermark on a page range using scrlayer-scrpage
I have a question regarding the solution of Watermark on pages using scrlayer-scrpage. My situation is, that I want to put a multiline watermark on a range of pages.
The presented solution requires a ...
2
votes
1answer
91 views
KOMA chapter heading style for unnumbered chapter
I'm using the KOMA-script scrbook to write my document. I've customized to chapter headings to look like example 1 below (from this question). These are chapters with numbers. However, when using ...
0
votes
2answers
41 views
Don't show \headmark if the page starts with a heading
Is there a way to hide the \headmark if the page starts with a chapter or a section, but still show the graphic in the header?
\documentclass[12pt,DIV=10,ngerman,headings=normal,listof=totoc,...
0
votes
1answer
192 views
scrlayer-scrpage - chapter on even pages, section on odd pages
I know there are related questions, but I am still not getting it to work.
I have a long document with 3 chapters, and in each chapter, there are sections such as "1.2.3" for Chapter 1, section 2.3.
...
1
vote
1answer
47 views
No Section in Header by using \twocolumn
The headmark over a Section inside a twocolumn still shows the Chapter.
\documentclass{scrreprt}
\usepackage[automark,headsepline=1pt]{scrlayer-scrpage}
\clearpairofpagestyles
\pagestyle{scrheadings}...
0
votes
2answers
73 views
KOMA scrlayer-scrpage Headmark and Image in one line
Is there a way to set the headmark (name of the capter in the header) in the same height with the image?
\documentclass[12pt,DIV=10,ngerman,headings = normal,listof = totoc,bibliography = totoc,index ...
0
votes
1answer
154 views
Changing TOC style of scrbook with scrlayer-scrpage
I am using the following to define my default pagestyle and adjust it for the first page of chapters to also include the footer:
\usepackage[headsepline,footsepline]{scrlayer-scrpage}
%% set DEFAULT ...
3
votes
1answer
59 views
scrlayer-scrpage: Have headsepline intersect, but not strike through, text
I would like to have the header text be intersected by the headsepline. To this end, I though I could put the header text in a colorbox (normally white, I made it gray in the MWE to make it visible) ...
2
votes
1answer
48 views
scrreprt thumb indices with scrlayer-scrpage: use any shape as chapterthumb
I would like to use a different shape than a rectangle as chapterthumb-symbol, i.e. a circle or a diamond with rounded corners. Is this possible at all using scrlayer-scrpage and a two-sided scrreprt ...
1
vote
1answer
109 views
Extra vertical space in header when using scrlayer-scrpage
I am trying to create a custom header including an image with a certain height. In an recent project, I have used the fancyhdr which worked pretty well. However, as the usage of fancyhdr together with ...
1
vote
1answer
72 views
KOMA-Script “pageheadfoot” font not taking \sffamily
I've been typing a document for a few months now and I'm using the class scrreprt. I've just noticed that the header font, which used to be sans serif, has reverted back to serif because the koma font ...
1
vote
1answer
92 views
Replacing chaptermark for header doesn't work on first page
In my Document, I'm using scrlayer-scrpage to generate a page header on all pages. However, one chapter name is too long to display it, so I want to replace it with a shorter version. Heres my ...
2
votes
2answers
84 views
How to force page number right of the textbody
I want the page number to appear in the footer right/left of the textbody. My implementation works as long as the page number has only one digit. The more digits, the more the page number moves ...
0
votes
1answer
275 views
Change scrpage-scrlayer heading
I set the header up to display the current chapter on the top right and this works throughout the whole document (short version below). However, at the same page as showed below, the previous heading ...
1
vote
1answer
71 views
Side chapter thumb headings conflicts with part sectioning
This is a modification of Koma-script / Anhang-B that separates chapters into parts. How would I disable this feature where a new part starts? In the example given, this means removing thumb "Chapitre ...
0
votes
1answer
82 views
Positioning page number on the right in specific place
I want to position the page number on the right footer but also have the possibility to move the number horizontally as I have a template underneath.
I've tried both fancyhdr and scrlayer-scrpage and ...
0
votes
1answer
70 views
Change headers for ToC in classicthesis
Classicthesis template provides some nice headers using scrlayer-scrpage package, defined in the preamble. I want to keep it for the whole text, but for acknowledgements, abstract and ToC I'd like to ...
2
votes
2answers
364 views
scrlayer-scrpage: “Chapter 1” in lehead, “Chapter Title” in rohead
Using scrlayer-scrpage in the documentclass scrreprt, I would like the word "Chapter 1" (or 2 or whichever chapter it is) to appear in the outer head of the even pages and the chapter title - without "...
1
vote
1answer
710 views
Headings with scrlayer-scrpage
I'm new to LaTeX and this forum. I hope I can formulate the question well enough.
My document class is scrreprt, so it's one-sided, but I want to have the section in the left part of the header and ...
2
votes
1answer
52 views
sectioning wider than text area
I stumbled across the type specimen of the beautifull Tierra Nueva and I'm wondering how is it possible to achieve a sectioning in LaTeX similar as shown in the picture (centered and wider than the ...
2
votes
1answer
88 views
layout of table and title do not agree
I have a longtable and page headers which pick up the first and last item of the table on a page. The solution I achieved with pulling together various pieces of advice from e.g. here Incorrect ...
0
votes
1answer
81 views
Asymmetric treatment of \mark commands on left and right pages
I work on a dictionary like index with longtable. Using /mark for setting headers on facing pages in a book manually I observe a strange asymmetry, which was explained in a blog as
You should note ...
1
vote
1answer
97 views
headsepline from KOMA Script doesn't show
After reading the official documentation I've tried to add a headsepline to a document but with much dismay so far.
Here is a MWE:
\documentclass[11pt, DIV=11, headings=small]{scrreprt}
\usepackage[...
1
vote
2answers
91 views
make distance between text and headsepline
with a two-line section name in the headline, the distance between text and line is too small. How can i change it?
\documentclass[12pt, % Schriftgröße
DIV=calc ...
1
vote
2answers
108 views
Odd Behaviour: Missing Chapter Title in Footer, However the Page Number is Displayed
Problem Description
I’d like to create a footer style that would be displayed on all pages except for the page, where there is \part title and its verso page (this exception is not a problem, as it ...