{scrpage2} is a package which allows the creation of custom page headers and footers.

learn more… | top users | synonyms

19
votes
2answers
3k views

How to customize headers and footers?

I'd like to modify the contents of my headers and footers - e.g., to display the current chapter and/or section title or to change the pagination alignment. How can I do that? I've noticed the ...
11
votes
2answers
681 views

flip book in master thesis

I am right now writing my master thesis in computer science about a visualization topic. Since the core stuff of my thesis is a complex 3D visualization that only quite sends its message through user ...
10
votes
1answer
375 views

In a multiple file LaTeX document, is there a way to tag each page with the file that generated it?

I've got a LaTeX document that's build from many smaller files. When I'm editing text or formulas I usually look for some characteristic text and do something like: find -name "*.tex" > t grep -n ...
9
votes
2answers
2k views

How to put both chapter and section name in the header of the page?

I'm working on a one-sided LaTeX document with document class scrreprt and I'm using scrpage2 to customize headers and footers of the pages. At the moment, the respective chapter name is shown in the ...
8
votes
2answers
791 views

Can I put a logo in the header of a twoside document?

I would like to include a graphics file with a logo in the header of all pages of a twoside document (left and right side). The logo should be left-justified on the left side and right-justified on ...
8
votes
1answer
3k views

Replacing fancyhdr with scrpage2

I'm trying to reduce the number of packages I'm loading in my documents and I read on the KOMA documentation (and elsewhere) that it can define page styles better than fancyhdr. But each time I try to ...
8
votes
2answers
906 views

Koma-script scrpage2 footer height

After lots of googling and hair-tearing, I'm turning grey and old, and no wiser... EDIT : see bottom for a half-cooked solution. I switched from LaTeX plain classes (article, report, etc.) to ...
7
votes
3answers
337 views

How to set the baseline for headers with scrpage2?

I want the left and the right header to have the same baseline, regardless of the height of the content they yield. To demonstrate this, assume \documentclass{scrartcl} \usepackage{scrpage2} ...
7
votes
2answers
216 views

Use \singlespacing in scrheading and \onehalfspacing in the main document

I'm writing an article using KOMA-script scrartcl class. The main text uses \onehalfspacing option from setspace package. In my article I have headings with couple lines of text set up using scrpage2 ...
7
votes
1answer
2k views

How can I have multiple lines in a header or footer using scrpage2?

For an assignment at university I have to copy a lay-out template that is provided in Word but I want to use LaTeX. For this, I need to have two lines in the footer. How can I achieve this using ...
6
votes
3answers
794 views

longtabu and scrpage2: line breaks in page header cause compilation errors

Please consider the following MWE: \documentclass{scrartcl} \usepackage{longtable,tabu} \usepackage{lipsum} \usepackage{scrpage2} \chead[Headline 1\\ Headline 2]{Headline 1\\ Headline 2} ...
6
votes
3answers
147 views

Why does \maketitle change the availability of \@title?

I am trying to include the document title in a heading using scrartcl. For some reason when I call \maketitle, the \@title variable seems to be unset and all uses of it turn up empty. My document ...
5
votes
2answers
119 views

Skip double marks on chapter pages

Here is a little example to illustrate my problem: \documentclass[fontsize=12pt, paper=a4]{scrreprt} \usepackage[ngerman]{babel} \usepackage{blindtext} \usepackage{scrpage2} \clearscrheadfoot ...
5
votes
3answers
209 views

scrpage2 - Chapter and Section on two lines in header?

Here is a the beginning of my code : \documentclass[twoside,a4paper,11pt]{scrbook} \usepackage[UTF8]{inputenc} %encodage clavier \usepackage[T1]{fontenc} %encodage police \usepackage[francais]{babel} ...
5
votes
2answers
115 views

Having trouble understanding error message

I am trying to use the answer supplied in question Change \headheight for a \pagestyle in my own document, but am having trouble understanding the error messages that come up. Here is the document: ...
5
votes
1answer
1k views

How do I switch page styles with scrpage2?

I want to use two different footers with scrpage2: one with no \pagemark (page number) on the first page; and then one that includes a \pagemark on all following pages. How do I perform the switch ...
5
votes
1answer
206 views

scrpage2: Three “marks” for headings

As far as I know of the \automark command (scrpage2 package), it is only possible to mark two different "header-types" (e.g. sections and chapters). I'm searching for a way to mark an additional ...
5
votes
1answer
85 views

Header with scrpage2 disappears on “last page” when using subfiles package

When I put two or more TeX files together with the subfiles package, the header disappears on the last pages of the included files. Why is that? The Root.tex file: \documentclass[a4paper]{scrartcl} ...
4
votes
1answer
1k views

how to change the pagenumbering position in scrbook?

I am writing a document in lyx using scrbook I want to change the numbers in every page from bottom to top With the folowing code in the preamble I get it,but I think the default position remains so ...
4
votes
2answers
620 views

KOMA-Script: “bad” italic in page header

Because of trouble with upright Greek characters, I decided to switch from latin modern to Bitstream Charter (even though I don't really like it). It seems that together with the mathdesign package, ...
4
votes
3answers
236 views

Saving the value of a text macro at the start of the page.

I have a macro that stores some text. I'd like to print the text of that macro as it was at the start of the page in the header, and as it is at the end of the page in the footer. I can do this for ...
4
votes
1answer
844 views

No numberings, no numbers (section, chapter, subsection etc.) in header?

I am using scrpage2 with scrbook. I would like to have no numbers or numbering of sections, chapters, etc.. in the header. How can I achieve that? I have the following example: \documentclass[12pt, ...
4
votes
1answer
3k views

How does scrpage2's automark work?

I'm trying to define a header style for my paper based on the scrartcl class. After digging through some documentation I came along the scrpage2 package to create the headings. I get the layout as I ...
4
votes
1answer
624 views

scrpage2: footer on chapter-starting pages

I am using scrpage2 and have defined the header and footer. Is it possible to display the footer also on pages where the chapter begins? I guess this has to work. Header is not necessary on those ...
4
votes
1answer
827 views

Alternating header in scrreprt with scrpage2

I want to achieve the following: In a twoside document I want to display the chapter title on even pages and the section (plus subsection if there is one) title on odd pages. So that for odd pages it ...
4
votes
1answer
1k views

Switching from fancyhdr to srcpage2

Is it worth it to switch from the fancyhdr to the scrpage2 package? I am trying to assess it's worth because I am having problems making the headers of the listsofsomething all uppercase. I am using ...
3
votes
1answer
46 views

Where can I find the scrpage.cfg file?

I want to put my pagestyles in the scrpage.cfg file but I don't know where this file is or where I have to put this after creating it. Can somebody answer me this?
3
votes
1answer
60 views

Introductory pages don't inherit plain pagestyle definitions

I'm compiling a report with custom headers and footers, using the scrreprt document class. I have redefined the headers and footers of the plain pagestyle through the scrpage2 package, but the ...
3
votes
1answer
873 views

header and footer in scrbook

I am having a problem with the scrbook class. Since I am quite new to it I spent quite some time researching but somehow haven't found a way to resolve it. I am trying to write a LaTeX document for ...
3
votes
1answer
318 views

KOMA-Script Headlines: Problem with underlining and pagestyle on onesided-print

I've got some code provided by Markus Kohm (KOMA-Script author) in „Die TeXnische Komödie“ (members journal of german TeX users group) volume 3/2012. He's showing how to easily modify the headlines ...
3
votes
1answer
95 views

Using 2 different fontsizes in scrpage2 header

I am trying to use two different fontsizes in the headers of my document. The pagestyle is set via \newpagestyle. By using \addtokomafont I was able to change the fontsize of the entire header. ...
3
votes
1answer
397 views

komascript/scrpage2: odd page header in passages without a \section (two-sided docs)

Suppose you have a two-sided document. The even page's header contains the title of the current chapter; the odd page's header contains the title of the current section. Nothing too fancy, and pretty ...
3
votes
1answer
491 views

What is the difference between headings and useheadings in the pagestyle command?

I use classicthesis and a warning suggests me to replace \pagestyle{headings} with \pagestyle{useheadings} What's the difference?
3
votes
2answers
1k views

How to place a running header and a footer to the page with chapter/section heading?

Some people wants to remove running headers and footers from the pages, where a chapter or a section is begining. But I'd like to stay it in place. How can I make it? (I use KOMA-Script (scrbook) and ...
3
votes
1answer
251 views

scrpage2 headers in classic thesis

I am trying to modify the headers in the classicthesis document class, which uses {scrpage2} of koma-script. What I want to have is no number in the sections header on the odd page. I have looked on ...
3
votes
1answer
344 views

How to manipulate headsep only on text pages

The space between headings and chapter or section titles is a frequently answered issue. But what if I want to keep that distance but reduce the space between heading and text on pages without a ...
3
votes
1answer
321 views

problem with scrpage2 and coloured borders

I'm trying to do this \usepackage{scrpage2} \usepackage{tikz} \usetikzlibrary{shapes,arrows} \usetikzlibrary{calc} %\usetikzlibrary{intersections} %\tikzset{variable/.default=} ...
3
votes
3answers
570 views

scrpage2: unnumbered headings with \addsec get the wrong automarks

Here's my code: \documentclass{scrbook} \usepackage[english]{babel} \usepackage{blindtext} \usepackage[markuppercase]{scrpage2} \pagestyle{scrheadings} \automark[chapter]{part} \begin{document} % ...
2
votes
2answers
125 views

Full header in scrbook

I want to produce full header including margin. Even page header is correct. But Odd page header does not include the margin in the left side. \documentclass[12pt]{scrbook} ...
2
votes
2answers
1k views

Twoside: headsepline is missing at beginning of a new chapter

Today I changed in my latex document for my dissertation the option to "twoside". After that I got a problem with some headseplines. Everytime when it comes to a new chapter, the first side doesnt get ...
2
votes
1answer
437 views

Header for frontmatters using scrpage2

How to set page numbers for front matters similar to main matters. Main matters header need to have chapter title also. Not added in MWE. Front matters must have only page number as in main matters of ...
2
votes
1answer
1k views

scrpage2 with scrbook. Chapter on left and right header

I started using scrpage2 with scrbook. First thing I don't understand is the usage of \automark[chapter]{chapter}. How could I let display chapter on left and right header. I managed to do that with ...
2
votes
1answer
424 views

Text wrapping a footer in a specific LaTeX template

I'm new to LaTeX (<48hrs experience) and am currently writing up a whitepaper using a the "Technical Report" template available through TeXnicCenter (code available at ...
1
vote
1answer
3k views

How can I use scrpage2 with scrartcl?

For displaying the current section's title in the page-header, I usually use the scrpage2 package with scrbook. However, now I would like to write a report with scrartcl, and my settings are not ...
1
vote
1answer
95 views

Oversized (A4 height, but much wider) pages in A4 document - header / footer alignment needs to be changed

I have to include a large graphic in a A4 document, the figure fits into an A4 height, but is much wider. I used \pdfpagewidth=3.1\pdfpagewidth to increase the paper size, and included the figure. I ...
1
vote
1answer
114 views

Footer with scrpage2 - footline crosses foot

im switching from fancyhdr to scrpage2 right now and nearly everything is working fine. There is just one Problem. The footer i have to build is pretty big and the line which should seperate it from ...
1
vote
1answer
290 views

page headings in scrbook and xepersian

I found the page about page numbers in xepersian, but the problem seems to be more general. I cannot get the page headings with scrpage2 in the KomaScript classes to work. I tried the following: ...
1
vote
0answers
361 views

Vertical/Horizontal alignment for multi-line header [closed]

I have the following code to create my header \documentclass[english]{scrreprt} %%% PAGE DIMENSIONS \usepackage{geometry} ...