Questions tagged [pagestyle]

This tag refers to the LaTeX \pagestyle command, which is used to format running heads and footers.

Filter by
Sorted by
Tagged with
5 votes
2 answers
800 views

Apply empty style to the entire bibliography

I would like the entire bibliography to have an empty page style in my document (which means remove the headers and page numbers). I used the command \renewcommand{\bibsetup}{\thispagestyle{empty}\...
  • 1,727
5 votes
1 answer
3k views

How to use true/false inside definitions?

Suppose you want to define page style depending on a boolean value. I think both constructions below have equivalent output (or not?), but which is better/more indicated/professional/elegant? \if@...
  • 36.5k
3 votes
1 answer
76 views

How to insert centered image into drawing?

Consider the following Minimum Working Example to get some nice technical drawing template: \documentclass{report} \pagestyle{empty} \usepackage[a3paper, landscape]{geometry} \usepackage{circuitikz} ...
  • 3,578
3 votes
1 answer
327 views

How do I adjust the position of a page number on embedded pdf pages?

I added pdf pages, and I want them to have page numbers. So, here's what I did: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[final]{pdfpages} \begin{document} \setboolean{@twoside}...
3 votes
1 answer
971 views

Change foot height for different page styles

I am using the scrlayer-scrpage package to set page head and foot differently for the first page and subsequent pages: The first page has only a foot, but no head, and all other pages only have a head,...
  • 129
2 votes
2 answers
301 views

Automatically switching back to default plain page style

I try to write a document using the report document class. I used fancypagestyle to redefine the plain page style to have custom header and footers. Now I try to fill the document with its content, ...
2 votes
2 answers
152 views

How to break the bottom margin?

I need to write a text at the bottom of the page, out of the margin. In the example below the text at the bottom should stay at 0.5cm from the border, even using the standard margins of Latex. I need ...
  • 59
2 votes
1 answer
2k views

What are the parameters of \newpagestyle?

I see \newpagestyle used with \sethead and \setfoot, for example here, but I cannot find any information on what those arguments for \sethead and \setfoot mean.
  • 1,005
2 votes
1 answer
435 views

Setting the header to include only the page number, chapter #, and chapter title (in memoir)

I want to set the header with the page number and the chapter number on the even pages and the chapter title and the page number on the odd pages. That is, as is shown in this image: Here is as far ...
2 votes
1 answer
140 views

Omit \headmark in table of contents

I changed the chapterpagestyle to scrheadings to have the page numbers on the first page of a new chapter, but for the table of contents I do not want to have the headmark (in this case the chapter ...
  • 547
2 votes
1 answer
286 views

Starting a section in a new page with "plain"-style with `amsart'

With amsart, I am not able to force (but manually inserting newpage before thesection in question) an exceptional page style for a start of section. In the MWE below, I tried to force plain-style, but ...
  • 4,584
2 votes
1 answer
93 views

Last Section appearing on top with usage of pagestyle fancy

I am having trouble including page numbers in my resume. I earlier used \pagestyle{empty} for non-numbered page but thought to have page numbers. So I decided to use following packages which works ...
  • 21
2 votes
1 answer
600 views

After \cfoot command every page is getting the same footer despite of specifying \thispagestyle

I am using fancyhdr package, I want some pages of my document to have a specific footer which I managed to do with the help of \cfoot. I'm using font Marathi. But after that page every page has got ...
  • 2,621
2 votes
1 answer
275 views

Fancyhdr and TOC

I posted a question a couple of weeks ago about my header-footer design and now it looks right on point: thanks for that. I'm having, though, problems with my table of contents, because it has two ...
2 votes
2 answers
452 views

Header and footer appear in my table of contents

I don't want the header and the footer to appear in my table of contents. I used \thispagestyle{empty} just before \tableofcontents and it works... but just for the first page of my table of contents. ...
2 votes
1 answer
45 views

Adjusting headline in article

i have the following problem when I am adjusting my header: \documentclass[11pt, a4paper, german]{article} \usepackage{color} \usepackage{amsmath, amsfonts, amsthm,} \usepackage[utf8]{inputenc} \...
  • 177
2 votes
1 answer
95 views

Adjusting position of the page number

How can I put the page number to the bottom and very middle of the page? I now have: \documentclass[11pt, a4paper, german]{article} \usepackage{color} \usepackage{amsmath, amsfonts, amsthm,} \...
  • 177
2 votes
1 answer
108 views

Problem pagestyle for toc and minitoc for thesis

I have a problem with my document. I looked on Google but did not find the solution. I just want to homogeneize my page style in my whole document but it does not work for my table of content and my ...
  • 31
1 vote
2 answers
52 views

confused about setting header and footer information?

I have gone through the reference manual and am still a little confused about how the \markright, \markboth, \rightmark commands, etc. With working example, I would perhaps be able to figure it out ...
1 vote
1 answer
66 views

Probably a copyrighted question...about LaTeX Companion layout

Can I get the layout & font of LaTeX Companion book? I saw chapter 3 on LaTeX website and I like the layout. Also I have noticed that the page size is 7.33 x 9.21 in (in pdf). I don't have the ...
  • 634
1 vote
2 answers
215 views

Trigger a newgeometry starting at a certain page

I'm trying to make letters without relying on predefined classes to that effect (why not?). In the example below, I'd like the top margin to be changed to 0.75in after page 1. \documentclass[12pt]{...
  • 1,962
1 vote
1 answer
22 views

thispagestyle empty on printindex

I tried to get an empty pagestyle on the first page of an index, as I did for all chapters and lists, but failed. \documentclass[10pt,twoside,toc=listofnumbered,listof=flat,headinclude,footinclude,...
  • 103
1 vote
1 answer
262 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 ...
1 vote
1 answer
62 views

How to make the headers of a frontmatter chapter fistpage different from a mainmatter chapter firstpage

I'm writing my theses and have divided the document in \frontmatter, \mainmatter and \backmatter. For the headers I'm using fancyhd and have redefined \pagestyle{plain} so the first chapter page is ...
  • 11
1 vote
1 answer
39 views

After \patchcmd \thispagestyle{empty} sets the word "plain" in upper left corner on parts page in scrbook

I'd like to have a background image on every parts page in scrbook. Found this solution: How can I give each chapter page its own background image in scrbook? by @crf The linked solution would set ...
  • 3,896
1 vote
1 answer
101 views

Beamer: Generating references w/ A4 page style

I have a beamer presentation w/ some citings, and references I want to put at its end. However, there's no room for the references on one slide (and it's difficult to split them like I want, although ...
  • 289
1 vote
1 answer
481 views

Memoir: Switch left-right margins

I have the following MWE: \documentclass[14pt, extrafontsizes]{memoir} \usepackage{blindtext} \begin{document} \mainmatter \chapter{One} \blindtext \end{document} This produces the following ...
  • 301
1 vote
1 answer
1k views

No header on first page of chapter

I am using the scrpage2 package in my Latex-document to generate headers on each page. Now i get a header which says the name of the current chapter and an unterline. This is my code: \usepackage[...
1 vote
1 answer
3k views

Force page style on all pages

In my document I want all my headers and footers to be the same, so I use this code for that purpose: \usepackage{fancyhdr} \pagestyle{fancy} \fancypagestyle{plain} \fancyhf{} \fancyhead[C]{} \...
1 vote
1 answer
98 views

Problem with page numbering styles with letter page style in scrletter

All page references here correspond to the English KOMA-Script manual, version number 2.28. Consider the following TeX file. \documentclass[12pt,headheight=30pt,headinclude,firsthead=false,firstfoot=...
  • 7,556
1 vote
1 answer
51 views

Can't change place of footer and header page numbers [duplicate]

I'm using the command \pagestype{myheadings} to make sure that the page header contains nothing else that the page number. However, I can't manage to make the page number of the first page of chapter ...
1 vote
1 answer
55 views

title chapter page

I am writing my thesis and I would like to have for each chapter a first fancy page with: the title chapter and then a figure which represents a figurative table of contents and in the next page the ...
1 vote
1 answer
149 views

Custom TOC Title style

I'm desperately trying to make this TOC Title style, the problem is that I don't know how to make that black box near the TOC title. I'd be able to make the same style in the picture but with title (...
1 vote
1 answer
55 views

Bibliography/table of content has chapter in header

\documentclass[12pt,a4paper]{report} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{booktabs} \usepackage{array} \usepackage{tabularx} \usepackage{caption} \captionsetup[table]{skip=...
  • 45
1 vote
1 answer
160 views

automatically change geometry with KOMA-pagestyles

I'm trying to change the geometry (namely the top/head height) automatically depending on the selected pagestyle. The goal is to have a bigger backgroundpicture in the header for every new chapter. ...
  • 21
1 vote
1 answer
127 views

Layout modifing: simple code like this!

I'm new here. I found a code online and I'm working on it to obtain a good layout for my manual. Now I have this code: \documentclass[11pt,a4paper]{book} \usepackage{calc} \usepackage[left=1.5cm, ...
1 vote
1 answer
48 views

How can I not add a background for empty pages

I am using the background package to add a background to each page. I want a different background for odd and even pages, which is why I use \AddEverypageHook. However, AddEverypagehook works on all ...
  • 255
1 vote
1 answer
134 views

Pages with new chapters ignore pagestyle [closed]

I am currently working on a book and ran into a problem I was unable to solve so far. It seems like whenever a new chapter is introduced, the current pagestyle is beeing ignored. In my "mimnimal&...
1 vote
0 answers
29 views

Bibliography pushes header upwards

I'm relatively new to LaTeX and I now encounter an issue where I'm not sure what exactly causes it. I have my thesis written in the book class and have added a relatively simple page header using ...
  • 11
1 vote
1 answer
113 views

Latex is mixing roman and decimal numbers [closed]

I am writing a document whose imports were given by the university with the {memoir} class. My problem is that Latex is showing the pages until the first chapter as roman number and after is showing ...
1 vote
0 answers
28 views

Why is that when I define a pagestyle with fancyhdr it's shown different for the first page and the others?

So I am trying to define a style for a work I have to do and I wanted to put two images for header and the page number in the foot of each page. And my code seems to so, but the first page is shown ...
  • 11
1 vote
0 answers
76 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{...
  • 89
1 vote
0 answers
34 views

LaTeX problem with the fancyheader package

Relatively new LaTeX-user here. I have been running into a lot of problems with the fancyhdr package. The fancyhdr commands do not seem as if they are registering at all but the code runs into no ...
1 vote
1 answer
183 views

Titleps pagestyle not applying to chapter opening pages

In the below MWE, my custom page style cannot get applied to the first page of a chapter, as can be seem be examining the style of the page number; all subsequent pages seem to be styled corretly. Why ...
  • 113
1 vote
0 answers
118 views

\thispagestyle{plain} does not work for the 3rd page from list of figures

I'm trying to create a plain page style for list of figures using the \thispagestyle{plain} command but it only works for the first 2 pages. On the third page, it uses the \pagestyle{fancy}, with ...
  • 11
1 vote
0 answers
66 views

`\newgeometry` and `\pagestyle` inside custom environment

The case is simple: when I put \newgeometry{margin=0} or \pagestyle{empty} inside a custom environment, it doesn’t work (but it work outside). So, with the following MWE: \documentclass[a4paper,11pt,...
  • 2,209
0 votes
2 answers
81 views

Fancyhdr not working for articles more than 10 pages long

I am writing a chapter in article class. Please consider the following MWE: \documentclass{article} \usepackage{lipsum} \usepackage{lastpage,refcount} \usepackage[english]{babel} \usepackage{fancyhdr} ...
0 votes
1 answer
137 views

How to create this document style?

I would be very grateful if you help me to create a document with this style. Many thanks.
  • 201
0 votes
1 answer
168 views

\thispagestyle not working with \cleardoubleoddpage

I have a twoside document and when I add \cleardoubleoddpage \thispagestyle{scrheadings} the resulting empty page has no headers like the page before. How can I get the headers on this new page too? ...
  • 547
0 votes
2 answers
588 views

How do I adjust the page size such that I can fit a large header and footer into my page?

I am using fancyhdr to create two page styles. One page, the first one, will have a memo heading. The company logo, who its going to, organization name,etc. After that, I want a more simplified header ...