Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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}.

0
votes
0answers
5 views

Margins of header apa6 document class

I can modify the margins of the body of an apa6.class document by reloading the geometry class: \usepackage{geometry} \geometry{ a4paper, total={170mm,257mm}, left=15mm, right=15mm, top=20mm, }...
0
votes
0answers
19 views

Change style of first page of article

I'm trying to add a footer to the first page of my article, but I can't find a way to change its style. I've tried writing at the top before everything: \begin{document} \fancypagestyle{firststyle} ...
0
votes
1answer
40 views

Footer too high with scrlayer-scrpage

my footer is too high. I'm creating a new template and now im using scrlayer-scrpage. In my last template, i used fancyhdr. Where is the mistake? it is a difference about 2,5cm !! \documentclass[12pt,...
0
votes
0answers
19 views

How to use apacite (or similar) without running titles in headers getting modified?

I am using a custom .cls file with its own implementation for running text in headers in the corners of all but the first page. The .cls file I am using was taken from this Overleaf template: https://...
0
votes
1answer
37 views

A TikZ image set to the width of the entire paper, without changing the header and footer positions and widths

I'm attempting to fit a TikZ image on a page, and would like to make the image as large as possible, without distorting its dimensions. However, at the same time I would also like to be able to ...
0
votes
1answer
31 views

Break line of long header with pagestyle fancy

I have a class where I define headers and footers with a makemargins command: \newcommand{\makemargins}{ \makenomenclature \pagestyle{fancy} \fancyheadoffset{1cm} \setlength{\headheight}{2cm} \lhead{\...
0
votes
0answers
21 views

Changing only the header for Table of Contents pages

I want to make my Table of Contents pages show "Table of Contents" in their headers. Right now, according to the MWE below, this is what it shows: And this is what I want it to show: The header, in ...
1
vote
1answer
40 views

how to keep footline when we use \setbeamercovered{invisible} in beamer

when i use \setbeamercovered{invisible} the footline disappear in the whole tikzpicture frames: \documentclass{beamer} \usetheme{warsaw} \usepackage{tikz} \usetikzlibrary{shapes.geometric, arrows} \...
0
votes
0answers
41 views

Chapter page and header

I'm trying to create my chapter page and a header. I have four problems to solve 1- the header is printed on the chapter page 2- I would like to switch between right and left the position of page ...
2
votes
1answer
29 views

Two line page foot defined with scrlayer-scrpage and combined with longtable: text displaced

The document uses scrlayer-scrpage to create a footer with (originally) a logo, and two lines of inner and outer footer text. This works fine unless there is a longtable that continues on the next ...
2
votes
1answer
17 views

Removing header in aomart class

I'm writing a paper using the aomart package/class. Since this package was written specifically for papers submitted to the Annals of Mathematics, it has an automatic header. Since I don't actually ...
0
votes
0answers
49 views

Customization the header and footer

I think this might be easy for some of you. I am trying to modify the header and footer, but I could not get what I want exactly I want the Chapter number and name at the top right corner of the ...
0
votes
1answer
42 views

Fancyhdr heading

i am trying to get headers with the fancyhdr package. The only thing that is missing is actual header now. The header should mention the subsection because i dont have many sections but several ...
0
votes
0answers
16 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} \...
0
votes
0answers
28 views

Fancy footer is not coming on every page of the document

\documentclass[11pt, a4paper, oneside]{Thesis} % Paper size, default font size and one-sided paper \setcounter{tocdepth}{5} \setcounter{secnumdepth}{4} \usepackage{longtable} \usepackage{wrapfig} \...
0
votes
0answers
28 views

Non-rectangular footers in Latex with page text flowing around logo

How can I generate a page footer on every page of a document that is not rectangular, i.e. that has a larger logo with the page text flowing around it? I'm trying to replicate a page layout ...
1
vote
2answers
31 views

setheadsepline color in scrartcl [duplicate]

I am struggling to add a header with a colored headsepline to my header. I have tried to add a command like this: \setheadsepline{\color{1blue}} But instead of the colored line I got the whole text ...
0
votes
1answer
30 views

Move numbers to the bottom

I am new in LaTeX. I started a project with an overleaf template. Now I am trying to move the numbers of the page to the bottom to avoid them to overlap with the headings, to do that I has been ...
0
votes
0answers
19 views

Skip headmark on section definition page [duplicate]

Is it possible to skip the headmark only on the section definition page? %KLASSE DOCUMENT \documentclass[a4paper, 12pt, bibliography=totocnumbered, twoside]{scrartcl} %TWOSIDE HANDLING \raggedbottom ...
2
votes
0answers
20 views

Glossaries entry in heading of book class causes an error

In the following MWE, an entry from glossaries is included in a section title so it gets included in the page heading created by the book class: \documentclass{book} \usepackage{glossaries} \begin{...
0
votes
0answers
41 views

\pagestyle with fancyhdr messing up the page it is first called on

I have the following problem. I defined a \fancypagestyle that changes the header and footer for some pages and adds pictures to them. The pictures need to touch the paper edges. When i call it, the ...
1
vote
1answer
43 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[...
0
votes
1answer
34 views

Problem with the header at using fancyhdr

I'm new in LaTeX and I have a problem creating my header at using fancyhdr package. When I include it, the text overlaps in the upper part of the header, and I've tried to fix with the command \...
0
votes
1answer
28 views

set on beamer,how to get same shade on footline?new to latex,watch out for greek characters [duplicate]

\documentclass{beamer} \setbeamertemplate{navigation symbols}{} \usepackage[utf8]{inputenc} \usepackage[english,greek]{babel} \usepackage{alphabeta} \usepackage{multicol} \newcommand{\en}{\...
0
votes
0answers
27 views

Section header text appearing one page early in a specific situation

Due to specific reasons, I created an alternative \section command called \nsection. The simplified version below should behave similarly to the original \section command, however, I get an unexpected ...
0
votes
1answer
22 views

How to make Italic font of heading text?

I have used \renewcommand{\chaptermark}[1]{% \markboth{#1}{}} to show heading information. I need to make text font in Italic. Please tell me how can i achive that.
1
vote
1answer
27 views

Same length for line in frame title and foot line

How can I make sure that the two red lines have the same length? I am learning to use beamer and I want to modify something. As you see in the figure, two red lines do not have the same length even I ...
1
vote
1answer
14 views

Failing to add customized header

I'm trying to add a customized header as follows, but nothing changes in the file (I'm using overleaf): \documentclass[a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{graphicx} \...
1
vote
2answers
50 views

How to make a line in header and footer in the first page?

I am writing a proposal, and trying to decorate my header and footer by a line. The problem that I face with is the line under footer and header only appear on from the second page to the end, while ...
0
votes
1answer
45 views

how to make different header & footer setup for first page & rest of the pages in same document

I need to bring different header & footer contents in first page. what package can i use for this process. \documentclass[twocolumn, 9pt, a4paper]{extarticle} \usepackage{titlesec} \titlelabel{\...
1
vote
1answer
24 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=...
3
votes
1answer
76 views

Why I don't get the wanted width of tcbox?

Here is a MWE: \documentclass{scrartcl} \usepackage[svgnames,x11names]{xcolor} \usepackage{fancyhdr,tcolorbox} \pagestyle{fancy} \cfoot{\tcbox[colback=Khaki1!25!white,colframe=DarkGoldenrod2!75!black,...
1
vote
0answers
42 views

subsection title in header in twosided article [duplicate]

I wish to have section and subsection title in header on every page. Here is my code \documentclass[10pt,a4paper,twoside]{article} \usepackage{fancyhdr} \pagestyle{fancy} \fancyhf{} \fancyhead{} ...
0
votes
1answer
22 views

Modify page number position in svmono class

As in the title, I would like to know how I should modify the svmono class in order to have the page number centered down (right now they are on the top left/right of the page). Any feedback will be ...
1
vote
1answer
25 views

Memoir: Correcting page-numbers using openleft

I'm writing a book, where I want chapters to begin on the left page (due to the language which is written from right to left...). However, using memoir with openleft and twoside gives me the problem ...
1
vote
1answer
22 views

Shorten or suppress chapter subtitle in page header

I have some very long chapter subtitles, consisting of places and times, which I don’t want to appear in their entirety on the page head. I would like to have only a specified part of the subtitle ...
0
votes
1answer
26 views

Prevent LaTeX beamer from writing on top of frame

I created a template for LaTeX beamer that has a background picture so that it looks like there was a heading, the rest is white. Now I don't want to have any content on the top (let's say) 10 percent ...
1
vote
1answer
24 views

Pictures on \fancyhead will show out of place

I'm working on the translation of a baroque book replete with a variety of ornaments, some of which are appended to the header. I have already rasterized them, created .png files and attempted to ...
2
votes
1answer
32 views

Chapter title missing in header on odd pages and header margin very small when using KOMA script

I am using the KOMA script class scrbook for a thesis and would like to get a two-side layout. In the header of each page I would like to have the chapter name included alternating on the left and ...
2
votes
1answer
51 views

How to adjust darkness of various colors for text

Question: 1 How can I adjust darkness of different colors in my document? Question: 2 I want to add headrule and footrule with specified width and length, even I wish to write some text at left, ...
0
votes
1answer
49 views

My header changes color on pages that start with a section

Im writing a report (in LaTeX) for which a made a header using fancyhdr. The text in my header is suppose to be black and the line is colored. However at some pages my headertext is colored as well, ...
4
votes
2answers
110 views

ToC header appears in next chapter

I am writing a document in which I would like to include table of contents, after which I will write a prologue. The issue is that the second page of the chapter, has the header of the ToC, as seen ...
4
votes
3answers
183 views

Why I cant see italic font at the header?

I try to put italic text at the header - at the body of the document it's works fine, but at the header I can't see the italic font. Here is MWE: % Preview source code %% LyX 2.3.2-2 created ...
1
vote
1answer
55 views

TeX and how to not output the footline/headline on specific page

The title page, any page, no head/footline using plain+etex+opmac, on a per page basis. Is there a manual coding solution to a page macro to relax the foot/headline for the page. Below the "idea" not ...
2
votes
1answer
35 views

my header disappears when using maketitle

\documentclass[12pt]{article} \usepackage[english]{babel} \usepackage[utf8]{inputenc} %\inputencoding{latin1} \usepackage{fontspec} \usepackage{array} \usepackage{covington} \usepackage{tipa} \...
2
votes
1answer
36 views

Prevent line break in title from being displayed in header

I'm writing a document that contains an ampersand in the title that I'd rather not remove, and I've inserted a line break just to make things look a little nicer. However, every odd-numbered page now ...
3
votes
2answers
48 views

Add a space between image and line in header

--- EDIT 2 --- I've created the following header using an image editor to help you guys understand what I'm trying to do. --- End of EDIT 2 --- --- EDIT 1 --- This is closer to what I have in my ...
3
votes
2answers
182 views

How to remove blank page before my new report chapter?

This problem started after I added the following code in the preamble to set the default chapter title font ("INTRODUCTION" in the following code), which was big, bold and brash that I did not like, ...
0
votes
0answers
28 views

How do I place a header within the 1inch margin? Here is my code:

\documentclass[a4 paper,11pt]{article} %\usepackage[inner=2.5cm,outer=2.5cm, bottom=2.5cm]{geometry} \usepackage[margin=1in, showframe]{geometry} %\usepackage[a4paper,margin=1in,showframe]{geometry} \...
0
votes
1answer
24 views

How do I remove the numbers from section headings in the header using scrpage2?

How do I remove the numbers from section headings in the header using scrpage2? I want the numbers to appear in the text but not in the header. The header looks like this: \usepackage[automark]{...