94
votes
Accepted
How to remove conference information from the ACM 2017 SIGCONF template?
Add the following lines below the \documentclass line.
\settopmatter{printacmref=false} % Removes citation information below abstract
\renewcommand\footnotetextcopyrightpermission[1]{} % removes ...
46
votes
Accepted
Page style: plain vs empty
Standard classes
LaTeX predefines four page styles for standard classes:
empty Both header and footer are empty.
plain The header is empty; the footer contains the page number.
headings The footer ...
40
votes
How to Completely Remove Footer in Beamer?
As it turns out, to get a completely blank bottom of a Beamer document you need to do this:
%gets rid of bottom navigation bars
\setbeamertemplate{footline}[frame number]{}
%gets rid of bottom ...
28
votes
Accepted
how to put header (and footer) on title page with correct positioning?
In order to get fancyhdr to obey your geometry settings you need to call geometry first.
And to get the title page to use the same style as the rest, use \thispagestyle after \maketitle.
\...
26
votes
Extreme paper space saving, very small margins, how to lower the page number
I'd suggest using the package savetrees loaded with the [extreme] option which its purpose is exactly the scenario you are describing by minimizing all the margins to the extreme, fitting as much text ...
24
votes
How to insert page number in Beamer navigation symbols?
You can add the following code before \begin{document}:
\expandafter\def\expandafter\insertshorttitle\expandafter{%
\insertshorttitle\hfill%
\insertframenumber\,/\,\inserttotalframenumber}
23
votes
Insert a blank page after current page
Just use \newpage \ \newpage:
my current page
\newpage
\ % The empty page
\newpage
The next page
22
votes
Accepted
XeTeX seems to break headers in Tufte-handout
In tufte-common.def it is said that in case XeLaTeX is used, its features for letter spacing will be used, but the authors forgot to do it, so the soul fallback mechanism is used, which miserably ...
20
votes
Accepted
Extreme paper space saving, very small margins, how to lower the page number
The geometry package can do what you want, if you let it do the whole job of page layout instead of just part of it.
I'm not sure exactly what physical margins your adjustments to \textwidth etc wind ...
19
votes
Insert a blank page after current page
I think you can avoid using the afterpage package. In the preamble, write:
\def\blankpage{%
\clearpage%
\thispagestyle{empty}%
\addtocounter{page}{-1}%
\null%
\clearpage}...
19
votes
Accepted
Paper margins with fancyhdr package?
When you set the margins with geometry, the header and footer are not taken into consideration by default. You have to explicitly add the includehead and includefoot options for that.
Here's a better ...
18
votes
How I can typeset a footer on only one page?
This is a more conventional method...
Define a new page style
\fancypagestyle{alim}{\fancyhf{}\renewcommand{\headrulewidth}{0pt}\fancyfoot[R]{Alim, from Unknown City}}
and use
\thispagestyle{alim}
...
17
votes
Accepted
How to add a copyright notice footer to only the first page of a document?
The IEEEtran class uses a specific page style for the first page, so it's enough to modify it; loading fancyhdr is not the answer: the copy editors won't be happy with it.
\documentclass[conference]{...
16
votes
Show page number as a "percent complete"
The package zref-totpages can deliver the total number of pages and with expl3 we have a powerful number crunching system.
\documentclass[12pt,paper=a4]{scrbook}
\usepackage{scrpage2}
\usepackage{...
15
votes
How to remove footline on the title page of beamer slides
Here is solution via the plain option of frame environment (this solution works even with the ignorenonframetext option).
\documentclass[ignorenonframetext]{beamer}
\useoutertheme{infolines}
\...
15
votes
Accepted
Prepend 'Appendix' before 'A' using scrbook
Add the following lines to your preamble:
\makeatletter
\g@addto@macro\appendix{%
\renewcommand*{\chapterformat}{%
{\chapapp\nobreakspace\thechapter\autodot\enskip}%
}
\renewcommand*{\...
15
votes
Accepted
Glossaries and custom section headings broken
Both the user manual and the glossaries FAQ caution against using commands like \gls in chapter or section headings (and also for captions). However, if you're using the extension package glossaries-...
14
votes
Accepted
Beamer template with different style options for frames
You can define two different templates and reset the headline to the default style before a new frame starts.
\documentclass{beamer}
\usepackage{etoolbox}
\defbeamertemplate{headline}{mydefault}{%
...
14
votes
Accepted
Understanding headers in scrartcl
You can only use one of the packages scrlayer-scrpage, scrpage2 (predecessor of scrlayer-scrpage), fancyhdr, ...
The recommended package for use with a KOMA-Script class is scrlayer-scrpagebecause ...
13
votes
Header and page numbers with pdfpages
I had a similar problem which was easily solved by using pagecommand but without any additional style or package. Just this way :
\chapter{Title}
Lots of multipage pdfs following
\includepdf[pages=-,...
13
votes
Accepted
Problem with elsarticle and lineno
I am answering my own question.
I managed to solve this issue by just moving the \linenumbers sentence to the beginning of the main text —that is:
\documentclass[preprint,review]{elsarticle}
\...
13
votes
Accepted
Header page book in TikZ
I would not use the background in this case. My proposal is to stick the decoration in the command that prints the page number, and use a tikzpicture with a controlled bounding box.
The following is ...
13
votes
What has changed in LaTeX that means the RSC template no longer works
[Disclaimer: I'm a support personnel at Overleaf.] The RSC templates at https://www.overleaf.com/gallery/tagged/rsc-official have now all been updated so that they are compatible with TeX Live 2018 ...
13
votes
Accepted
How can I indicate the first and the last reference number written in a page of the bibliography in the header of the page?
biblatex
Here is a solution for biblatex. We can (ab)use the mark mechanism, each entry sets the marks and then the header grabs \rightmark and \leftmark, which contain the first and last reference ...
12
votes
Accepted
Different headers/borders for each page
One possibility using the background package:
\documentclass{article}
\usepackage[a6paper]{geometry}% just for the example
\usepackage{ifthen}
\usepackage[
scale=1,
opacity=1,
angle=0
]{...
12
votes
Show page number as a "percent complete"
\documentclass{scrartcl}
\usepackage{xparse}
\usepackage{scrlayer-scrpage}
\cfoot{\percentpagemark}
\AtEndDocument{\label{last-page}}
\ExplSyntaxOn
\NewDocumentCommand \percentpagemark { }
{
\...
12
votes
Accepted
Non numbered chapter* header issue
Starred chapters (and sections) don't get a number, nor a toc entry, nor a header. Problem is, the header is not cleared automatically. You have to do that manually using \markboth{}{}. But from your ...
12
votes
Accepted
Fancy header and footer including images with tikz
Here is a suggestion using scrlayer to define a new pagestyle.
\documentclass[12pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[english]{babel}
\usepackage{tikz}%...
12
votes
Accepted
Overlapping header in ACM SigConf template
For shortening the title please use optional text in the title tag, i.e., \title[My Paper Title]{My Paper Title: A Xxxxxx yyy Zzzzzzzzzzz AAAAA Bbbbbbb Ccccccc ddd Eeeeeeeeeeee Ffffffff Ggggg hhh ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
header-footer × 3870fancyhdr × 965
page-numbering × 392
beamer × 302
koma-script × 284
sectioning × 261
table-of-contents × 225
chapters × 185
memoir × 181
margins × 162
geometry × 116
titles × 110
scrlayer-scrpage × 88
formatting × 84
graphics × 83
spacing × 79
tikz-pgf × 73
tables × 69
titlesec × 68
scrpage2 × 67
numbering × 60
rules × 56
color × 54
double-sided × 54
bibliographies × 51