Split “include graphics” on two pages but keep same Figure numberCaption spreading over two pagesTwo figures side by side with text wrappingWhy are my Images not correctly centered?TikZ scaling graphic and adjust node position and keep font sizedrawing two curves in the same figureCentering a table of imagesAlign three figures, Left, Centering, Right with appropriate Captions and Labels?Side-by-side figures with caption, specify height but use whole textwidthMatplotlib PDF figures blurry when printedInclude graphics under enumeration, align top with number?In the figure form, adjust the whole size of “text” and “math” format at once (II): from twocolumngrid to onecolumngrid
What defenses are there against being summoned by the Gate spell?
N.B. ligature in Latex
Can I make popcorn with any corn?
Is there a familial term for apples and pears?
What are these boxed doors outside store fronts in New York?
Download, install and reboot computer at night if needed
Concept of linear mappings are confusing me
I see my dog run
Prevent a directory in /tmp from being deleted
Can town administrative "code" overule state laws like those forbidding trespassing?
Why is "Reports" in sentence down without "The"
New order #4: World
cryptic clue: mammal sounds like relative consumer (8)
How to use Pandas to get the count of every combination inclusive
How to make payment on the internet without leaving a money trail?
least quadratic residue under GRH: an EXPLICIT bound
Draw simple lines in Inkscape
How do we improve the relationship with a client software team that performs poorly and is becoming less collaborative?
"which" command doesn't work / path of Safari?
How did the USSR manage to innovate in an environment characterized by government censorship and high bureaucracy?
Can I interfere when another PC is about to be attacked?
A Journey Through Space and Time
Motorized valve interfering with button?
Why is an old chain unsafe?
Split “include graphics” on two pages but keep same Figure number
Caption spreading over two pagesTwo figures side by side with text wrappingWhy are my Images not correctly centered?TikZ scaling graphic and adjust node position and keep font sizedrawing two curves in the same figureCentering a table of imagesAlign three figures, Left, Centering, Right with appropriate Captions and Labels?Side-by-side figures with caption, specify height but use whole textwidthMatplotlib PDF figures blurry when printedInclude graphics under enumeration, align top with number?In the figure form, adjust the whole size of “text” and “math” format at once (II): from twocolumngrid to onecolumngrid
In my MWE below, I originally had the figures on one page, but then as I added more text, it became apparent that I had to split the figures across two pages. I wanted to keep the same Figure number for both figures (Figure 1). Is the best practice to use the renewcommandthefigure1
command? Will I have a problem if I then try to reference part A and part B Figures in the document? Thanks for your help.
Here is my code:
documentclass[11 pt]book
usepackage[draft]pgf
usepackagelipsum
usepackagefloat
begindocument
lipsum[1-2]
beginfigure[H]
centering
beginpgfpicture
pgftextpgfimage[width=13cm,height=7cm]scratch.png
endpgfpicture
labelfig1_ptA
captionThis is the first figure.
endfigure
renewcommandthefigure1
beginfigure[H]
centering
beginpgfpicture
pgftextpgfimage[width=13cm,height=7cm]scratch.png
endpgfpicture
labelfig1_ptB
captionThis is the first figure (continued).
endfigure
enddocument
graphics
add a comment |
In my MWE below, I originally had the figures on one page, but then as I added more text, it became apparent that I had to split the figures across two pages. I wanted to keep the same Figure number for both figures (Figure 1). Is the best practice to use the renewcommandthefigure1
command? Will I have a problem if I then try to reference part A and part B Figures in the document? Thanks for your help.
Here is my code:
documentclass[11 pt]book
usepackage[draft]pgf
usepackagelipsum
usepackagefloat
begindocument
lipsum[1-2]
beginfigure[H]
centering
beginpgfpicture
pgftextpgfimage[width=13cm,height=7cm]scratch.png
endpgfpicture
labelfig1_ptA
captionThis is the first figure.
endfigure
renewcommandthefigure1
beginfigure[H]
centering
beginpgfpicture
pgftextpgfimage[width=13cm,height=7cm]scratch.png
endpgfpicture
labelfig1_ptB
captionThis is the first figure (continued).
endfigure
enddocument
graphics
1
See, maybe, tex.stackexchange.com/questions/274934/…
– Steven B. Segletes
Feb 5 '16 at 23:28
2
addtocounterfigure-1
between the two figures, perhaps? But that's not really robust enough, in case even more text results in the two parts of the figure ending up on the same page. I think personally, I'd be tempted to reach for the subfigure package and make figure 1a and 1b. It seems the least hacky solution.
– Harald Hanche-Olsen
Feb 5 '16 at 23:32
1
do as Harald says. If you use `renewcommandthefigure1 then it will be hard to regain the normal numbering afterwards
– David Carlisle
Feb 5 '16 at 23:36
1
With thecaption
package, the use ofcaption[full toc caption]caption part A
andcaption*caption part B
might achieve what you desire.
– Steven B. Segletes
Feb 5 '16 at 23:42
add a comment |
In my MWE below, I originally had the figures on one page, but then as I added more text, it became apparent that I had to split the figures across two pages. I wanted to keep the same Figure number for both figures (Figure 1). Is the best practice to use the renewcommandthefigure1
command? Will I have a problem if I then try to reference part A and part B Figures in the document? Thanks for your help.
Here is my code:
documentclass[11 pt]book
usepackage[draft]pgf
usepackagelipsum
usepackagefloat
begindocument
lipsum[1-2]
beginfigure[H]
centering
beginpgfpicture
pgftextpgfimage[width=13cm,height=7cm]scratch.png
endpgfpicture
labelfig1_ptA
captionThis is the first figure.
endfigure
renewcommandthefigure1
beginfigure[H]
centering
beginpgfpicture
pgftextpgfimage[width=13cm,height=7cm]scratch.png
endpgfpicture
labelfig1_ptB
captionThis is the first figure (continued).
endfigure
enddocument
graphics
In my MWE below, I originally had the figures on one page, but then as I added more text, it became apparent that I had to split the figures across two pages. I wanted to keep the same Figure number for both figures (Figure 1). Is the best practice to use the renewcommandthefigure1
command? Will I have a problem if I then try to reference part A and part B Figures in the document? Thanks for your help.
Here is my code:
documentclass[11 pt]book
usepackage[draft]pgf
usepackagelipsum
usepackagefloat
begindocument
lipsum[1-2]
beginfigure[H]
centering
beginpgfpicture
pgftextpgfimage[width=13cm,height=7cm]scratch.png
endpgfpicture
labelfig1_ptA
captionThis is the first figure.
endfigure
renewcommandthefigure1
beginfigure[H]
centering
beginpgfpicture
pgftextpgfimage[width=13cm,height=7cm]scratch.png
endpgfpicture
labelfig1_ptB
captionThis is the first figure (continued).
endfigure
enddocument
graphics
graphics
asked Feb 5 '16 at 23:23
JoeJoe
3,61632049
3,61632049
1
See, maybe, tex.stackexchange.com/questions/274934/…
– Steven B. Segletes
Feb 5 '16 at 23:28
2
addtocounterfigure-1
between the two figures, perhaps? But that's not really robust enough, in case even more text results in the two parts of the figure ending up on the same page. I think personally, I'd be tempted to reach for the subfigure package and make figure 1a and 1b. It seems the least hacky solution.
– Harald Hanche-Olsen
Feb 5 '16 at 23:32
1
do as Harald says. If you use `renewcommandthefigure1 then it will be hard to regain the normal numbering afterwards
– David Carlisle
Feb 5 '16 at 23:36
1
With thecaption
package, the use ofcaption[full toc caption]caption part A
andcaption*caption part B
might achieve what you desire.
– Steven B. Segletes
Feb 5 '16 at 23:42
add a comment |
1
See, maybe, tex.stackexchange.com/questions/274934/…
– Steven B. Segletes
Feb 5 '16 at 23:28
2
addtocounterfigure-1
between the two figures, perhaps? But that's not really robust enough, in case even more text results in the two parts of the figure ending up on the same page. I think personally, I'd be tempted to reach for the subfigure package and make figure 1a and 1b. It seems the least hacky solution.
– Harald Hanche-Olsen
Feb 5 '16 at 23:32
1
do as Harald says. If you use `renewcommandthefigure1 then it will be hard to regain the normal numbering afterwards
– David Carlisle
Feb 5 '16 at 23:36
1
With thecaption
package, the use ofcaption[full toc caption]caption part A
andcaption*caption part B
might achieve what you desire.
– Steven B. Segletes
Feb 5 '16 at 23:42
1
1
See, maybe, tex.stackexchange.com/questions/274934/…
– Steven B. Segletes
Feb 5 '16 at 23:28
See, maybe, tex.stackexchange.com/questions/274934/…
– Steven B. Segletes
Feb 5 '16 at 23:28
2
2
addtocounterfigure-1
between the two figures, perhaps? But that's not really robust enough, in case even more text results in the two parts of the figure ending up on the same page. I think personally, I'd be tempted to reach for the subfigure package and make figure 1a and 1b. It seems the least hacky solution.– Harald Hanche-Olsen
Feb 5 '16 at 23:32
addtocounterfigure-1
between the two figures, perhaps? But that's not really robust enough, in case even more text results in the two parts of the figure ending up on the same page. I think personally, I'd be tempted to reach for the subfigure package and make figure 1a and 1b. It seems the least hacky solution.– Harald Hanche-Olsen
Feb 5 '16 at 23:32
1
1
do as Harald says. If you use `renewcommandthefigure1 then it will be hard to regain the normal numbering afterwards
– David Carlisle
Feb 5 '16 at 23:36
do as Harald says. If you use `renewcommandthefigure1 then it will be hard to regain the normal numbering afterwards
– David Carlisle
Feb 5 '16 at 23:36
1
1
With the
caption
package, the use of caption[full toc caption]caption part A
and caption*caption part B
might achieve what you desire.– Steven B. Segletes
Feb 5 '16 at 23:42
With the
caption
package, the use of caption[full toc caption]caption part A
and caption*caption part B
might achieve what you desire.– Steven B. Segletes
Feb 5 '16 at 23:42
add a comment |
1 Answer
1
active
oldest
votes
Package caption
for such cases define macro ContinuedFloat
. To the float, which is continuation of previous one, you only need add this macro after beginfigure
:
documentclass[11 pt]book
usepackage[draft]pgf
usepackagelipsum
%usepackagefloat % <-- not used
usepackagecaption% <-- added
begindocument
lipsum[1-2]
beginfigure[!b]
centering
beginpgfpicture
pgftextpgfimage[width=linewidth,height=7cm]scratch.png
endpgfpicture
captionThis is the first figure.
labelfig1_ptA % <-- had to be after caption
endfigure
%
beginfigure[!t]
ContinuedFloat % <--- added
centering
beginpgfpicture
pgftextpgfimage[width=linewidth,height=7cm]scratch.png
endpgfpicture
captionThis is the first figure (continued).
labelfig1_ptB % <-- had to be after caption
endfigure
lipsum[3]
See Fig.~reffig1_ptA on page pagereffig1_ptA and Fig.~reffig1_ptB on page pagereffig1_ptB dots
enddocument
add a comment |
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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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%2f291416%2fsplit-include-graphics-on-two-pages-but-keep-same-figure-number%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Package caption
for such cases define macro ContinuedFloat
. To the float, which is continuation of previous one, you only need add this macro after beginfigure
:
documentclass[11 pt]book
usepackage[draft]pgf
usepackagelipsum
%usepackagefloat % <-- not used
usepackagecaption% <-- added
begindocument
lipsum[1-2]
beginfigure[!b]
centering
beginpgfpicture
pgftextpgfimage[width=linewidth,height=7cm]scratch.png
endpgfpicture
captionThis is the first figure.
labelfig1_ptA % <-- had to be after caption
endfigure
%
beginfigure[!t]
ContinuedFloat % <--- added
centering
beginpgfpicture
pgftextpgfimage[width=linewidth,height=7cm]scratch.png
endpgfpicture
captionThis is the first figure (continued).
labelfig1_ptB % <-- had to be after caption
endfigure
lipsum[3]
See Fig.~reffig1_ptA on page pagereffig1_ptA and Fig.~reffig1_ptB on page pagereffig1_ptB dots
enddocument
add a comment |
Package caption
for such cases define macro ContinuedFloat
. To the float, which is continuation of previous one, you only need add this macro after beginfigure
:
documentclass[11 pt]book
usepackage[draft]pgf
usepackagelipsum
%usepackagefloat % <-- not used
usepackagecaption% <-- added
begindocument
lipsum[1-2]
beginfigure[!b]
centering
beginpgfpicture
pgftextpgfimage[width=linewidth,height=7cm]scratch.png
endpgfpicture
captionThis is the first figure.
labelfig1_ptA % <-- had to be after caption
endfigure
%
beginfigure[!t]
ContinuedFloat % <--- added
centering
beginpgfpicture
pgftextpgfimage[width=linewidth,height=7cm]scratch.png
endpgfpicture
captionThis is the first figure (continued).
labelfig1_ptB % <-- had to be after caption
endfigure
lipsum[3]
See Fig.~reffig1_ptA on page pagereffig1_ptA and Fig.~reffig1_ptB on page pagereffig1_ptB dots
enddocument
add a comment |
Package caption
for such cases define macro ContinuedFloat
. To the float, which is continuation of previous one, you only need add this macro after beginfigure
:
documentclass[11 pt]book
usepackage[draft]pgf
usepackagelipsum
%usepackagefloat % <-- not used
usepackagecaption% <-- added
begindocument
lipsum[1-2]
beginfigure[!b]
centering
beginpgfpicture
pgftextpgfimage[width=linewidth,height=7cm]scratch.png
endpgfpicture
captionThis is the first figure.
labelfig1_ptA % <-- had to be after caption
endfigure
%
beginfigure[!t]
ContinuedFloat % <--- added
centering
beginpgfpicture
pgftextpgfimage[width=linewidth,height=7cm]scratch.png
endpgfpicture
captionThis is the first figure (continued).
labelfig1_ptB % <-- had to be after caption
endfigure
lipsum[3]
See Fig.~reffig1_ptA on page pagereffig1_ptA and Fig.~reffig1_ptB on page pagereffig1_ptB dots
enddocument
Package caption
for such cases define macro ContinuedFloat
. To the float, which is continuation of previous one, you only need add this macro after beginfigure
:
documentclass[11 pt]book
usepackage[draft]pgf
usepackagelipsum
%usepackagefloat % <-- not used
usepackagecaption% <-- added
begindocument
lipsum[1-2]
beginfigure[!b]
centering
beginpgfpicture
pgftextpgfimage[width=linewidth,height=7cm]scratch.png
endpgfpicture
captionThis is the first figure.
labelfig1_ptA % <-- had to be after caption
endfigure
%
beginfigure[!t]
ContinuedFloat % <--- added
centering
beginpgfpicture
pgftextpgfimage[width=linewidth,height=7cm]scratch.png
endpgfpicture
captionThis is the first figure (continued).
labelfig1_ptB % <-- had to be after caption
endfigure
lipsum[3]
See Fig.~reffig1_ptA on page pagereffig1_ptA and Fig.~reffig1_ptB on page pagereffig1_ptB dots
enddocument
edited 14 mins ago
answered Feb 5 '16 at 23:42
ZarkoZarko
129k868169
129k868169
add a comment |
add a comment |
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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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%2f291416%2fsplit-include-graphics-on-two-pages-but-keep-same-figure-number%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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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
1
See, maybe, tex.stackexchange.com/questions/274934/…
– Steven B. Segletes
Feb 5 '16 at 23:28
2
addtocounterfigure-1
between the two figures, perhaps? But that's not really robust enough, in case even more text results in the two parts of the figure ending up on the same page. I think personally, I'd be tempted to reach for the subfigure package and make figure 1a and 1b. It seems the least hacky solution.– Harald Hanche-Olsen
Feb 5 '16 at 23:32
1
do as Harald says. If you use `renewcommandthefigure1 then it will be hard to regain the normal numbering afterwards
– David Carlisle
Feb 5 '16 at 23:36
1
With the
caption
package, the use ofcaption[full toc caption]caption part A
andcaption*caption part B
might achieve what you desire.– Steven B. Segletes
Feb 5 '16 at 23:42