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

learn more… | top users | synonyms

15
votes
2answers
2k 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 ...
10
votes
2answers
401 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 ...
9
votes
1answer
262 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 ...
8
votes
2answers
351 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 ...
7
votes
3answers
95 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} ...
6
votes
1answer
2k 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 ...
6
votes
1answer
1k 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
0answers
39 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 ...
5
votes
2answers
90 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
392 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} ...
5
votes
2answers
296 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 ...
4
votes
3answers
196 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
540 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
1answer
527 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
822 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 ...
4
votes
1answer
178 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
585 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 ...
3
votes
2answers
356 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, ...
3
votes
1answer
1k 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 ...
3
votes
1answer
102 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
146 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
323 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
219 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
436 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} % ...
3
votes
1answer
825 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 ...
2
votes
2answers
539 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
726 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
169 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
2k 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
163 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
143 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} ...
1
vote
0answers
105 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 ...