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

learn more… | top users | synonyms

4
votes
2answers
73 views

How to remove the section title in header using scrpage2

I would like to remove the section title (header) in the appendix: \documentclass[headsepline, open=right,twoside=true, numbers=noenddot]{scrreprt} \usepackage[english]{babel} \usepackage{scrpage2} ...
2
votes
2answers
65 views

keep rightmark clear until section starts

I'd like to have the chapter title in the upper left and the section title in the upper right corner of my one-sided document. The upper right corner should only be populated if there actually is a ...
3
votes
2answers
158 views

How to have colored headings with one color per chapter

I'm typesetting a proceedings-style book that contains articles in their chronological order. Since the articles are also categorized, each category is assigned a color and the the chapter styles are ...
3
votes
1answer
64 views

Reduce white space below \headsepline and above \footsepline

I would my body text to be closer to both \headsepline and \footsepline. Is anybody sufficiently familiar with scrpage2? Here is a minimal working example: \documentclass[twocolumn]{book} ...
2
votes
1answer
72 views

Underfull \hbox in scrpage2 header and some tipps

i have problems tracking down a underfull \hbox warning: Underfull \hbox (badness 10000) has occurred while \output is active | \hbox(10.18913+4.36682)x418.25554 .\rule(10.18913+4.36682)x0.0 This ...
2
votes
2answers
204 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} ...
3
votes
1answer
89 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 ...
5
votes
3answers
400 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} ...
6
votes
3answers
173 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
136 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: ...
1
vote
1answer
136 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 ...
5
votes
1answer
271 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 ...
3
votes
1answer
403 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
51 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?
1
vote
1answer
164 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 ...
7
votes
2answers
277 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 ...
5
votes
1answer
96 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} ...
3
votes
1answer
1k 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 ...
2
votes
1answer
540 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 ...
3
votes
1answer
130 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. ...
8
votes
2answers
1k 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
428 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} ...
3
votes
1answer
452 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 ...
1
vote
0answers
420 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} ...
3
votes
1answer
502 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
418 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 ...
4
votes
1answer
789 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 ...
10
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 ...
2
votes
1answer
560 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 ...
9
votes
2answers
950 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 ...
5
votes
2answers
131 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 ...
1
vote
1answer
309 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: ...
2
votes
2answers
2k 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 ...
4
votes
1answer
923 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 ...
11
votes
2answers
774 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
421 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 ...
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
1answer
988 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, ...
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 ...
6
votes
3answers
926 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
1answer
2k 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 ...
3
votes
1answer
356 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=} ...
4
votes
2answers
719 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
554 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?
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
3answers
616 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} % ...
4
votes
3answers
243 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 ...
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 ...
8
votes
1answer
4k 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 ...
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 ...