Questions tagged [pagestyle]
This tag refers to the LaTeX \pagestyle command, which is used to format running heads and footers.
126
questions
0
votes
0
answers
29
views
Memoir header marks are blank when page style is changed within the document
I copied from the Memoir documentation some very simple and working code to modify headings. It seems like \rightmark and \leftmark fail to resolve if the page style is set temporarily or changed in ...
0
votes
1
answer
26
views
How to change locally beamer frametitle using pagestye?
I am trying to understand how works \thispagestyle and \ps@navigation in beamer documents.
I simplified the answer from this previous questions, and I just added \setbeamercolor{frametitle}{bg=red}.
...
0
votes
1
answer
40
views
titleps package: How to make boxed page number and header line appear as one element?
I'm trying to refine a document design I've pieced together from various TeX.SE answers. I'm using titleps for page styles and headers, with the page number in a colored box. I've adapted code from @...
1
vote
2
answers
96
views
Short title running and Author running in article class
I try to add short title running on the even pages and author running on the odd page in a document, using this code:
\documentclass[11pt]{article}
\usepackage{lipsum}
\title{\bf THE TITLE}
\author{...
2
votes
1
answer
74
views
sidenotes `module` affects title page in OpTeX
I was checking out this solution by Max Chernoff https://tex.stackexchange.com/a/689656/14423 about vertical alignment in margin notes with OpTeX and it works perfectly. Now, I've been trying with the ...
0
votes
2
answers
108
views
How do I get current page style to use as a condition for some sormatting in LaTeX?
There are several page styles in a document, and I want to change the appearance of some paragraphs if the page style they appear on is, say, plain, with a macro of roughly the following form:
\def\...
0
votes
2
answers
85
views
Adjust the font size of the headings pagestyle
Similar to this question, I want to ensure the section titles fit within the header boundaries of my document. I'm using KOMA scrreprt as a document class.
To achieve this, I have reduced their font ...
-1
votes
1
answer
79
views
The pages of the generated PDF are not printed, except on the first page of each chapter [closed]
I am working on the template for a thesis I have been commissioned to adapt, and I have an unusual problem with the page numbers, they do not print except on the opening page of the chapter.
I did ...
1
vote
0
answers
35
views
Non-standard formats of sheets without frames in the eskdx class
Good afternoon!
Can someone tell me, faced with the problem of displaying frames on non-standard sheets.
I need several A3 landscape sheets in the document. A table is placed on the sheets, the sheets ...
2
votes
0
answers
45
views
How to repeat part of the last (first) line of the previous (next) page in LaTeX?
For example,
Is there a way to do this automatically in LaTeX?
1
vote
1
answer
87
views
Framed pages with a special layout/geometry for the first page and a general layout/geometry
I try to create a two columns document with two styles of frames for the pages.
The goal is to have a structure that looks like this (ignore the text) :
I tried to define two pagestyles : The first ...
0
votes
0
answers
33
views
Enumerate splitted by pages does not work with \restoregeometry or \afterpage
I have a document used for worksheets.
When I use an enumerate and it flows from one page to the other, the pagestyle of the second page (\pagestyle{fancy}) does not apply, and instead, I am left with ...
2
votes
3
answers
289
views
How to show page numbers at the bottom of each page? [duplicate]
I try to add numbering at the bottom of each page, using the code shown below. But I found that the page number appears in the header, with the Outline of Proposed Research, rather than at the bottom ...
0
votes
0
answers
24
views
Broken titleps page style with clearpage and thispagestyle after a custom environment
The titleps style does not apply the last page style for section 1.3 before the cleardoublepage command (see the custom \cleardoubletransition command).
I think the bug is linked to titleps because if ...
4
votes
2
answers
258
views
\pagestyle{fancy} from fancyhdr seems to break \label-\ref if \label happens to be placed close to the upper edge of a page
I am using \label inside a \begin{theorem} ... \end{theorem} environment. If it happens so that the theorem statement begins close to a natural page break AND \pagestyle{fancy} from fancyhdr is ...
2
votes
1
answer
51
views
Why is \thispagestyle{empty} being ignored? Eliminate heading on page with figure
\thispagestyle{empty} is being ignored, that is, I still see the heading (partially obscured on the pages with images; not obscured at all on the pages with captions). Any ideas why? I would guess ...
1
vote
0
answers
33
views
`fancyhdr` header not showing correctly on chapter page [duplicate]
In my LaTeX document, I've used a customized heading.
The code shows accordingly in every page of the document except one. I've copied the exact code I used and inserted it after writing \newpage, but ...
0
votes
0
answers
54
views
How to exclude a blank page in lyx?
I am writing a document in lyx. The document's first page must be a pdf page that I imported (I did not writed anything, just imported the document). However, when I run to pdf format, it starts with ...
0
votes
0
answers
29
views
How can I select the numbering of pages in lyx? [duplicate]
I am writing my PhD thesis and I do not know how to select where the numbering of pages starts. So far, I have six pages. However, I want that the numeration starts from page 2 instead of page 1 in ...
1
vote
1
answer
272
views
page numbering for chapters in front matter of report class
[![chap 2 page 3, hide page number][8]][8]
[![chap 2 page 4, pagenumber must be displayed][9]][9]
What else can be done to hide first page of ToC, first page of Introduction, chapter one and chapter ...
1
vote
1
answer
58
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,...
0
votes
1
answer
60
views
\documentclass{exam} Problem: Text alignment problem
Thank you Tex-stackers for reviewing this post!
The problematic \style{header} command has been removed since I really just needed a title for my math worksheet.
However, there's still a problem with ...
1
vote
1
answer
132
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 ...
0
votes
0
answers
63
views
Comma after english word
I am using the Arabic language in writing my latex file, I have a problem in in the comma which appear in there reverse place for the English words, some times I keep some terms in English for the ...
0
votes
0
answers
433
views
\pagestyle{plain} for the abstract and \fancypagestyle for the the chapter pages
I want to use \pagestyle{plain} for the abstract and \pagestyle{fancy} for the chapter pages. But it's not working. It would be a great pleasure if anyone could help me with this. Thanks in advance.
\...
0
votes
0
answers
40
views
Locate LaTeX source code for page style
I am trying to locate the page style handling code in LaTeX. In my implementation the
base folder has 126 files.
2
votes
2
answers
1k
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, ...
0
votes
1
answer
87
views
Set page numbering on specific pages
I have an article in which I'm using fancyhdr to make a header with section names and a footer on the right side of the pages.
However I want to remove the header on some specific pages while keeping ...
1
vote
1
answer
336
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&...
0
votes
1
answer
611
views
\Minipage not working and how to use it effectively?
Creating a question paper, just need some ideas on how can I make the hint of Question 2 appear parallelly under the question something like split into exact half [Img. attached for ref.], not every ...
0
votes
2
answers
777
views
Recovering a missing page number
In formatting my Ph.D thesis (report document class) it is required that the first page of the TOC ("Table of Contents") contains just a page number and a "Page" located at the ...
1
vote
1
answer
466
views
Forcing pagestyle to change in a formatting issue
I used the "report" document class for my Ph.D thesis and the formatting requirement is that 1) There should be a CHAPTER header right aligned and Page header left aligned on top of each ...
0
votes
1
answer
106
views
Document Header
im trying to set my work with the headers like the picture. In one page left header would like to see the section and in the just next page a right header with the subsection. How can i do it? Im ...
0
votes
1
answer
270
views
How to change the page number when using pagestyle{myheadings}
I am working with a .sty file, that defines a myheadings style like this:
\pagestyle{myheadings}
\markboth{}{header part 1~header part 2~\textendash~header part 3}
The pagestyle inserts a ...
1
vote
1
answer
153
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=...
2
votes
1
answer
620
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 ...
0
votes
0
answers
87
views
Remove "Chapter x:" for starred chapters in heading
I am currently working on a thesis, using a provided class file. In this class file the headers are defined with the following code:
% Page geometry and spacing (same for even and odd pages)
\geometry{...
0
votes
0
answers
449
views
Does LATEX produce more pages than MS Words if they have the exact same output?
My thesis should NOT exceed 30 pages and the nature of my research compels me to go beyond that limit. So I thought would it be the same number of pages IF I convert my latex document into MS Word? In ...
0
votes
2
answers
694
views
Remove empty pages from latex [twoside,openright]{book}
I am writing a report and I would like to begin each chapter with an odd page.
This can be done as in Page numbers in left and right bottom corners of Book
However, this puts empty numbered pages. Is ...
0
votes
1
answer
859
views
Change header show the section
I want to change the head area. As soon as I change the head area I got the following error
Undefined control sequence.
The compiler is having trouble understanding a command you have used. Check ...
1
vote
0
answers
39
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 ...
0
votes
1
answer
373
views
Customize First Page Style Fancyhdr: Error ! File ended while scanning use of \f@nch@pagestyle
I tried to answer my question with this one, but I get error messages and can’t figure it out.
MWE:
\documentclass[12pt,a4paper, twoside]{article}
\usepackage[utf8]{inputenc}
\usepackage[english]{...
0
votes
2
answers
102
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
0
answers
154
views
Fancyhdr - Footer missing
For anyone reading this: The footer was pushed off the page by the margin set by
\usepackage[margin=.7in]{geometry}
See comments below.
The original question
As the title says, the footer is missing ...
1
vote
2
answers
112
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
86
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 ...
1
vote
1
answer
152
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 ...
2
votes
1
answer
660
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
303
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 ...
0
votes
1
answer
254
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?
...