Questions tagged [header-footer]

{header-footer} is about customizing headers and footers, i.e., choosing a page style for certain pages (e.g. empty, plain, headings) and (for the styles employed) placing information like the current section title and page number. Popular packages are {fancyhdr}, {scrlayer-scrpage}, {titleps}, and {scrpage2}.

117 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
0
votes
1answer
81 views

running title with reledmac

I need to set running title using reledmac. The output should be like: "דיעהאכצייטצ" (title at the left side on every page) and "first Act" (at the right side; counting from "first" to "fourth". I ...
0
votes
0answers
443 views

Add page number and author name in the footer

I have the following case: \usepackage{lipsum}%% a garbage package you don't need except to create examples. \usepackage{fancyhdr} \pagestyle{fancy} \cfoot{My Name} \renewcommand{\footrulewidth}{0....
0
votes
0answers
57 views

Crash follows removal of bold face from \mathcal{} in running fancyhdr header

While my bold calligraphic letter is fine in the chapter title or table of contents, it's out of place when it is the only bold character on a running header. My attempts to remove this have caused a ...
0
votes
0answers
191 views

\section's extra optional argument for a header title possibly different from the text and TOC ones: displayed too early

Context With the e.g. book class, the odd pages headers contain by default either the ToC or the text current section title, depending whether the optional argument of \section is used or not. This ...
0
votes
0answers
270 views

How to place Chapter Name in fancyhdr

I am using the book format and have recently changed my sections to chapters, and subsections to sections etc. Previously I had the section names in the header, but now I want the chapter names in ...
0
votes
0answers
65 views

First page style change the footer of other pages

I'm writing a class file. In this class, I'm trying to define a style for the first page, and another one for the other pages. The style for the first page is: \fancypagestyle{MECStitlepagestyle}{% ...
0
votes
0answers
141 views

How to have the complete title into the footer of cleanthesis style?

I use cleanthesis style and i have a problem with the chapter's title into the footer that is cut because it is too long. Is there an alternative to have the complete title maybe on two lines maybe ? ...
0
votes
0answers
172 views

Defining new geometry (running arbitrary code) in memoir page styles

Is it even possible? memoir's own documentation about page styles seems to only touch upon the use of different headers and footers and doesn't appear to support adding margin information. Since ...
0
votes
0answers
41 views

How do I divide my current headerstyle into two similar headerstyles that I can alter between?

I was thinking of using the fancyhdr package to accomplish this task, according to this question, but I don't yet have the knowledge to get it done. I'm using the following code: \documentclass[...
0
votes
0answers
120 views

Adding the header and footer for latex

I want to add footer and header for my latex homework. And I use the following code: \documentclass{article} \usepackage[english]{babel} \usepackage[utf8]{inputenc} \usepackage{fancyhdr} \pagestyle{...
0
votes
0answers
187 views

Avoid empty headers with fancyhdr in two-side article class

I'm using this configuration for headers: \pagestyle{fancy} \fancyhf{} \fancyhead[LE,RO]{\arabic{page}} \fancyhead[LO]{\nouppercase{\rightmark}}% Current section \fancyhead[RE]{\nouppercase{\leftmark}...
0
votes
0answers
55 views

How can I align showframe and header?

When I use showframe in the geometry package, then the header "lines" lie not exactly on the header. Is there a way to align them perfectly with the header? I want to do that, to set the exact header ...
0
votes
0answers
222 views

Tall header cuts off the footer when using fancyhdr

For some reason I have to have a pretty tall header and I just noticed, that the footer is cut off. Here is a pretty minimal code to replicate it: \documentclass[a4paper,12pt]{article} \usepackage{...
0
votes
0answers
668 views

Latex Elsevier template page number on both top and bottom

In Elsevier template, there is a problem. It creates page number on both top right and bottom of the page. How should I remove the page number on the bottom? \documentclass[3p,times,twocolumn,...
0
votes
0answers
338 views

How to have the same top/bottom margins (from the footer/header, if any) and the same left/right margins in the book class

I have the following document. Thanks to the answer https://tex.stackexchange.com/a/272591/ the absolute text-height is 20 cm (text-height+footer+header=20cm). I would that the left and the right ...
0
votes
0answers
335 views

Remove header and Add Custom header to SDAPS latex

I'm using sdaps-1.1.10.tar.gz (development snapshot) I was trying to design my own header in latex for SDAPS which has text along side with index number box like this Instead of this auto generated ...
-1
votes
1answer
225 views

RSC template fancyhdr doesn't respond well!

I am using RSC latex template (https://www.latextemplates.com/template/royal-society-of-chemistry) to write my research article using Texliv and the margin at bottom is not well aligned (see image ...