Page numbering issues with sections/subsections in Beamer
I have a beamer doc in which there are a few section and subsection title slides. Those slides do not have a page number footer, and the footer page numbering do not take them into account.
In the example below, when I use label{page:mylabel}
combined with {page:mylabel}
, I get p5
, however, mylabel
is on p2
according to the footer page number.
How can I make {page:mylabel}
reference the correct page number at the footer (in this case p2
)?
documentclass{beamer}
usetheme{metropolis} % Use metropolis theme
title{A minimal example}
date{today}
author{Matthias Vogelgesang}
institute{Centre for Modern Beamer Themes}
begin{document}
maketitle
section{First Section}
begin{frame}{First Slide}
Hello, world!
end{frame}
section{Second Section}
begin{frame}{Second Slide}
Hello, world!
label{page:mylabel}
end{frame}
begin{frame}{Third Slide}
A reference to ppageref{page:mylabel}
end{frame}
end{document}
beamer sectioning page-numbering labels pageref
add a comment |
I have a beamer doc in which there are a few section and subsection title slides. Those slides do not have a page number footer, and the footer page numbering do not take them into account.
In the example below, when I use label{page:mylabel}
combined with {page:mylabel}
, I get p5
, however, mylabel
is on p2
according to the footer page number.
How can I make {page:mylabel}
reference the correct page number at the footer (in this case p2
)?
documentclass{beamer}
usetheme{metropolis} % Use metropolis theme
title{A minimal example}
date{today}
author{Matthias Vogelgesang}
institute{Centre for Modern Beamer Themes}
begin{document}
maketitle
section{First Section}
begin{frame}{First Slide}
Hello, world!
end{frame}
section{Second Section}
begin{frame}{Second Slide}
Hello, world!
label{page:mylabel}
end{frame}
begin{frame}{Third Slide}
A reference to ppageref{page:mylabel}
end{frame}
end{document}
beamer sectioning page-numbering labels pageref
As you can imagine, it is next-to-impossible to reproduce the issue without an explicit example.
– marmot
Feb 28 at 4:28
@marmot, sorry, my bad. A MWE is added to illustrate the problem
– Skyork
Feb 28 at 6:05
Thanks! Is it possible that you confuse page number with frame number (see e.g. tex.stackexchange.com/a/452863/121799 but there are most likely other threads on this).
– marmot
Feb 28 at 6:10
add a comment |
I have a beamer doc in which there are a few section and subsection title slides. Those slides do not have a page number footer, and the footer page numbering do not take them into account.
In the example below, when I use label{page:mylabel}
combined with {page:mylabel}
, I get p5
, however, mylabel
is on p2
according to the footer page number.
How can I make {page:mylabel}
reference the correct page number at the footer (in this case p2
)?
documentclass{beamer}
usetheme{metropolis} % Use metropolis theme
title{A minimal example}
date{today}
author{Matthias Vogelgesang}
institute{Centre for Modern Beamer Themes}
begin{document}
maketitle
section{First Section}
begin{frame}{First Slide}
Hello, world!
end{frame}
section{Second Section}
begin{frame}{Second Slide}
Hello, world!
label{page:mylabel}
end{frame}
begin{frame}{Third Slide}
A reference to ppageref{page:mylabel}
end{frame}
end{document}
beamer sectioning page-numbering labels pageref
I have a beamer doc in which there are a few section and subsection title slides. Those slides do not have a page number footer, and the footer page numbering do not take them into account.
In the example below, when I use label{page:mylabel}
combined with {page:mylabel}
, I get p5
, however, mylabel
is on p2
according to the footer page number.
How can I make {page:mylabel}
reference the correct page number at the footer (in this case p2
)?
documentclass{beamer}
usetheme{metropolis} % Use metropolis theme
title{A minimal example}
date{today}
author{Matthias Vogelgesang}
institute{Centre for Modern Beamer Themes}
begin{document}
maketitle
section{First Section}
begin{frame}{First Slide}
Hello, world!
end{frame}
section{Second Section}
begin{frame}{Second Slide}
Hello, world!
label{page:mylabel}
end{frame}
begin{frame}{Third Slide}
A reference to ppageref{page:mylabel}
end{frame}
end{document}
beamer sectioning page-numbering labels pageref
beamer sectioning page-numbering labels pageref
edited Feb 28 at 6:05
Skyork
asked Feb 28 at 3:24
SkyorkSkyork
55121123
55121123
As you can imagine, it is next-to-impossible to reproduce the issue without an explicit example.
– marmot
Feb 28 at 4:28
@marmot, sorry, my bad. A MWE is added to illustrate the problem
– Skyork
Feb 28 at 6:05
Thanks! Is it possible that you confuse page number with frame number (see e.g. tex.stackexchange.com/a/452863/121799 but there are most likely other threads on this).
– marmot
Feb 28 at 6:10
add a comment |
As you can imagine, it is next-to-impossible to reproduce the issue without an explicit example.
– marmot
Feb 28 at 4:28
@marmot, sorry, my bad. A MWE is added to illustrate the problem
– Skyork
Feb 28 at 6:05
Thanks! Is it possible that you confuse page number with frame number (see e.g. tex.stackexchange.com/a/452863/121799 but there are most likely other threads on this).
– marmot
Feb 28 at 6:10
As you can imagine, it is next-to-impossible to reproduce the issue without an explicit example.
– marmot
Feb 28 at 4:28
As you can imagine, it is next-to-impossible to reproduce the issue without an explicit example.
– marmot
Feb 28 at 4:28
@marmot, sorry, my bad. A MWE is added to illustrate the problem
– Skyork
Feb 28 at 6:05
@marmot, sorry, my bad. A MWE is added to illustrate the problem
– Skyork
Feb 28 at 6:05
Thanks! Is it possible that you confuse page number with frame number (see e.g. tex.stackexchange.com/a/452863/121799 but there are most likely other threads on this).
– marmot
Feb 28 at 6:10
Thanks! Is it possible that you confuse page number with frame number (see e.g. tex.stackexchange.com/a/452863/121799 but there are most likely other threads on this).
– marmot
Feb 28 at 6:10
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f477076%2fpage-numbering-issues-with-sections-subsections-in-beamer%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f477076%2fpage-numbering-issues-with-sections-subsections-in-beamer%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
As you can imagine, it is next-to-impossible to reproduce the issue without an explicit example.
– marmot
Feb 28 at 4:28
@marmot, sorry, my bad. A MWE is added to illustrate the problem
– Skyork
Feb 28 at 6:05
Thanks! Is it possible that you confuse page number with frame number (see e.g. tex.stackexchange.com/a/452863/121799 but there are most likely other threads on this).
– marmot
Feb 28 at 6:10