Overfull hbox warning - two plots side-by-sideWhat is the use of percent signs (%) at the end of lines?Fix overfull hbox floatrowPut two pictures above one another within one sub float / reference problemDisplaying two plots side by side not displaying titles correctlyWhy is a minipage using textwidth generating an overfull hbox?minipage has overfull hboxOverfull warning for a minipageTwo figure colums side by side, subfigure aligment issuesTwo tables side by side with minipageThe best way to place two plots side by sideHow increase size of two sub images side by side
Street obstacles in New Zealand
What's the 'present simple' form of the word "нашла́" in 3rd person singular female?
Outlet with 3 sets of wires
Nylon switch cover plate screws
From an axiomatic set theoric approach why can we take uncountable unions?
Having the player face themselves after the mid-game
Signed and unsigned numbers
Why couldn't the separatists legally leave the Republic?
Proving a statement about real numbers
Why is a very small peak with larger m/z not considered to be the molecular ion?
I reported the illegal activity of my boss to his boss. My boss found out. Now I am being punished. What should I do?
How do spaceships determine each other's mass in space?
Numbers app - select all the cells on an existing table to share the same background colour?
Which classes are needed to have access to every spell in the PHB?
MySQL importing CSV files really slow
What sort of fish is this
Is it a Cyclops number? "Nobody" knows!
Source permutation
Gaining more land
How to resolve: Reviewer #1 says remove section X vs. Reviewer #2 says expand section X
Is this Paypal Github SDK reference really a dangerous site?
Getting the || sign while using Kurier
How does Ehrenfest's theorem apply to the quantum harmonic oscillator?
Was it really inappropriate to write a pull request for the company I interviewed with?
Overfull hbox warning - two plots side-by-side
What is the use of percent signs (%) at the end of lines?Fix overfull hbox floatrowPut two pictures above one another within one sub float / reference problemDisplaying two plots side by side not displaying titles correctlyWhy is a minipage using textwidth generating an overfull hbox?minipage has overfull hboxOverfull warning for a minipageTwo figure colums side by side, subfigure aligment issuesTwo tables side by side with minipageThe best way to place two plots side by sideHow increase size of two sub images side by side
I am trying to create an environment for plotting two figures side-by-side:
beginfigure[t]
beginminipage[b]0.49textwidth
flushleft
psfragfig[frame,mode=nonstop]Plot_random_Breite_05_1
captionFigur Nr. 8a
labelfig:8a
endminipage
hspace*14pt% separation between the subfigures
beginminipage[b]0.49textwidth
flushleft
psfragfig[frame,mode=nonstop]Plot_random_Breite_05_2
captionFigur Nr. 8b
labelfig:8b
endminipage
endfigure
The output looks like this:
Unfortunately I get an "Overfull hbox" warning.
I tried several things to remove this warning:
- remove
hspace - smaller width (
0.4textwidth) linewidthinstead oftextwidthsubfigureinstead ofminipage
Nothing helped. The plot is not scaled, the textwidth is about 9cm and the size of the plot is about 3cm.
Has someone an idea? Can't figure out where the bug is -.-
If I use hfill as recommended below, my code and the output look like this:
beginfigure[t]
beginminipage[b]0.49textwidth
raggedright
psfragfig[frame,mode=nonstop]Plot_random_Breite_05_1
captionFigur Nr. 8a
labelfig:8a
endminipagehfill
beginminipage[b]0.49textwidth
raggedleft
psfragfig[frame,mode=nonstop]Plot_random_Breite_05_2
captionFigur Nr. 8b
labelfig:8b
endminipage
endfigure

As you can see I would prefer, if both picture align with the margins.
Is there a way to align the second caption with the frame of the plot?
subfloats minipage psfrag
add a comment |
I am trying to create an environment for plotting two figures side-by-side:
beginfigure[t]
beginminipage[b]0.49textwidth
flushleft
psfragfig[frame,mode=nonstop]Plot_random_Breite_05_1
captionFigur Nr. 8a
labelfig:8a
endminipage
hspace*14pt% separation between the subfigures
beginminipage[b]0.49textwidth
flushleft
psfragfig[frame,mode=nonstop]Plot_random_Breite_05_2
captionFigur Nr. 8b
labelfig:8b
endminipage
endfigure
The output looks like this:
Unfortunately I get an "Overfull hbox" warning.
I tried several things to remove this warning:
- remove
hspace - smaller width (
0.4textwidth) linewidthinstead oftextwidthsubfigureinstead ofminipage
Nothing helped. The plot is not scaled, the textwidth is about 9cm and the size of the plot is about 3cm.
Has someone an idea? Can't figure out where the bug is -.-
If I use hfill as recommended below, my code and the output look like this:
beginfigure[t]
beginminipage[b]0.49textwidth
raggedright
psfragfig[frame,mode=nonstop]Plot_random_Breite_05_1
captionFigur Nr. 8a
labelfig:8a
endminipagehfill
beginminipage[b]0.49textwidth
raggedleft
psfragfig[frame,mode=nonstop]Plot_random_Breite_05_2
captionFigur Nr. 8b
labelfig:8b
endminipage
endfigure

As you can see I would prefer, if both picture align with the margins.
Is there a way to align the second caption with the frame of the plot?
subfloats minipage psfrag
Between the two subfigures you have a normal space (the end-of-line afterendminipage) and 14pt. Removehspace*14ptand puthfillafterendminipage(same line, no space in between). By the way you should useraggedright, notflushleft.
– egreg
Mar 15 '16 at 22:03
please don't edit the question to ask a completely different question, it makes the existing answers impossible to understand, best to ask a new question, but the normal thing to do is use centering for captions but yours appear to be flush left, probably due to code you have not shown. It is always best to post complete documents that show the issue (useincludegraphics[]example-imagewhich is an image in most distributions, to make your example portable.
– David Carlisle
Mar 15 '16 at 23:36
The caption package has justification=raggedright and justification=raggedleft options. You can call captionsetup inside each minipage.
– John Kormylo
Mar 16 '16 at 2:38
add a comment |
I am trying to create an environment for plotting two figures side-by-side:
beginfigure[t]
beginminipage[b]0.49textwidth
flushleft
psfragfig[frame,mode=nonstop]Plot_random_Breite_05_1
captionFigur Nr. 8a
labelfig:8a
endminipage
hspace*14pt% separation between the subfigures
beginminipage[b]0.49textwidth
flushleft
psfragfig[frame,mode=nonstop]Plot_random_Breite_05_2
captionFigur Nr. 8b
labelfig:8b
endminipage
endfigure
The output looks like this:
Unfortunately I get an "Overfull hbox" warning.
I tried several things to remove this warning:
- remove
hspace - smaller width (
0.4textwidth) linewidthinstead oftextwidthsubfigureinstead ofminipage
Nothing helped. The plot is not scaled, the textwidth is about 9cm and the size of the plot is about 3cm.
Has someone an idea? Can't figure out where the bug is -.-
If I use hfill as recommended below, my code and the output look like this:
beginfigure[t]
beginminipage[b]0.49textwidth
raggedright
psfragfig[frame,mode=nonstop]Plot_random_Breite_05_1
captionFigur Nr. 8a
labelfig:8a
endminipagehfill
beginminipage[b]0.49textwidth
raggedleft
psfragfig[frame,mode=nonstop]Plot_random_Breite_05_2
captionFigur Nr. 8b
labelfig:8b
endminipage
endfigure

As you can see I would prefer, if both picture align with the margins.
Is there a way to align the second caption with the frame of the plot?
subfloats minipage psfrag
I am trying to create an environment for plotting two figures side-by-side:
beginfigure[t]
beginminipage[b]0.49textwidth
flushleft
psfragfig[frame,mode=nonstop]Plot_random_Breite_05_1
captionFigur Nr. 8a
labelfig:8a
endminipage
hspace*14pt% separation between the subfigures
beginminipage[b]0.49textwidth
flushleft
psfragfig[frame,mode=nonstop]Plot_random_Breite_05_2
captionFigur Nr. 8b
labelfig:8b
endminipage
endfigure
The output looks like this:
Unfortunately I get an "Overfull hbox" warning.
I tried several things to remove this warning:
- remove
hspace - smaller width (
0.4textwidth) linewidthinstead oftextwidthsubfigureinstead ofminipage
Nothing helped. The plot is not scaled, the textwidth is about 9cm and the size of the plot is about 3cm.
Has someone an idea? Can't figure out where the bug is -.-
If I use hfill as recommended below, my code and the output look like this:
beginfigure[t]
beginminipage[b]0.49textwidth
raggedright
psfragfig[frame,mode=nonstop]Plot_random_Breite_05_1
captionFigur Nr. 8a
labelfig:8a
endminipagehfill
beginminipage[b]0.49textwidth
raggedleft
psfragfig[frame,mode=nonstop]Plot_random_Breite_05_2
captionFigur Nr. 8b
labelfig:8b
endminipage
endfigure

As you can see I would prefer, if both picture align with the margins.
Is there a way to align the second caption with the frame of the plot?
subfloats minipage psfrag
subfloats minipage psfrag
edited 13 mins ago
Sebastiano
10.7k42163
10.7k42163
asked Mar 15 '16 at 21:58
MilouMilou
112
112
Between the two subfigures you have a normal space (the end-of-line afterendminipage) and 14pt. Removehspace*14ptand puthfillafterendminipage(same line, no space in between). By the way you should useraggedright, notflushleft.
– egreg
Mar 15 '16 at 22:03
please don't edit the question to ask a completely different question, it makes the existing answers impossible to understand, best to ask a new question, but the normal thing to do is use centering for captions but yours appear to be flush left, probably due to code you have not shown. It is always best to post complete documents that show the issue (useincludegraphics[]example-imagewhich is an image in most distributions, to make your example portable.
– David Carlisle
Mar 15 '16 at 23:36
The caption package has justification=raggedright and justification=raggedleft options. You can call captionsetup inside each minipage.
– John Kormylo
Mar 16 '16 at 2:38
add a comment |
Between the two subfigures you have a normal space (the end-of-line afterendminipage) and 14pt. Removehspace*14ptand puthfillafterendminipage(same line, no space in between). By the way you should useraggedright, notflushleft.
– egreg
Mar 15 '16 at 22:03
please don't edit the question to ask a completely different question, it makes the existing answers impossible to understand, best to ask a new question, but the normal thing to do is use centering for captions but yours appear to be flush left, probably due to code you have not shown. It is always best to post complete documents that show the issue (useincludegraphics[]example-imagewhich is an image in most distributions, to make your example portable.
– David Carlisle
Mar 15 '16 at 23:36
The caption package has justification=raggedright and justification=raggedleft options. You can call captionsetup inside each minipage.
– John Kormylo
Mar 16 '16 at 2:38
Between the two subfigures you have a normal space (the end-of-line after
endminipage) and 14pt. Remove hspace*14pt and put hfill after endminipage (same line, no space in between). By the way you should use raggedright, not flushleft.– egreg
Mar 15 '16 at 22:03
Between the two subfigures you have a normal space (the end-of-line after
endminipage) and 14pt. Remove hspace*14pt and put hfill after endminipage (same line, no space in between). By the way you should use raggedright, not flushleft.– egreg
Mar 15 '16 at 22:03
please don't edit the question to ask a completely different question, it makes the existing answers impossible to understand, best to ask a new question, but the normal thing to do is use centering for captions but yours appear to be flush left, probably due to code you have not shown. It is always best to post complete documents that show the issue (use
includegraphics[]example-image which is an image in most distributions, to make your example portable.– David Carlisle
Mar 15 '16 at 23:36
please don't edit the question to ask a completely different question, it makes the existing answers impossible to understand, best to ask a new question, but the normal thing to do is use centering for captions but yours appear to be flush left, probably due to code you have not shown. It is always best to post complete documents that show the issue (use
includegraphics[]example-image which is an image in most distributions, to make your example portable.– David Carlisle
Mar 15 '16 at 23:36
The caption package has justification=raggedright and justification=raggedleft options. You can call captionsetup inside each minipage.
– John Kormylo
Mar 16 '16 at 2:38
The caption package has justification=raggedright and justification=raggedleft options. You can call captionsetup inside each minipage.
– John Kormylo
Mar 16 '16 at 2:38
add a comment |
2 Answers
2
active
oldest
votes
The construction on the line that contains your two sub-figures consist of elements that have the following widths:
A
minipageof width0.49textwidth;An inter-word space between the first
minipageand thehspace*;A hard space of
14pt;A
minipageof width0.49textwidth.
The above combination is wider than textwidth, obviously, as is indicated by the first construction below (I'm using rule instead of minipage, but the effect is the same):

documentclassarticle
begindocument
beginfigure
X dotfill X% For reference
rule0.49textwidth1pt
hspace*14pt% Separation between sub-figures
rule0.49textwidth1pt
ruledimexpr0.5textwidth-7pt1pt%
hspace*14pt% Separation between sub-figures
ruledimexpr0.5textwidth-7pt1pt
rule0.49textwidth1pt
hfill% Flexible fill between sub-figures
rule0.49textwidth1pt
X dotfill X% For reference
endfigure
enddocument
If you're stuck on having the fixed 14pt gap between the two sub-figures, then you need to make sure that each component is exactly split between the remainder. That is, each image (or minipage) takes up 0.5textwidth-7pt. That's what the second construction achieves.
Note the use of % sign after the first sub-figure in order to avoid the inter-word space that is naturally inserted after a macro with an argument.
Alternatively, if you're interested in fixing the width of the sub-figures (rather than the 14pt gap mentioned above), then you can insert a flexible fill using hfill.
add a comment |
You haven't posted enough information to completely diagnose the problem but
beginminipage[b]0.49textwidth
endminipage
hspace*14pt% separation between the subfigures
beginminipage0.49textwidth
endminipage
is a line .98textwidth + 1 word space + 14pt wide so that may or may not be wider than textwidth.
Perhaps you want
beginminipage[b]0.49textwidth
endminipagehfill
beginminipage0.49textwidth
endminipage
which will have exactly .02textwidth space between the minipages, with a total line width of exactly textwidth.
Thanks a lot for your fast comments and the explanation! I think there was a big error in reasoning ;-) I have tried your suggestions already and edited my post above with a new question.
– Milou
Mar 15 '16 at 23:13
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');
);
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%2f299228%2foverfull-hbox-warning-two-plots-side-by-side%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
The construction on the line that contains your two sub-figures consist of elements that have the following widths:
A
minipageof width0.49textwidth;An inter-word space between the first
minipageand thehspace*;A hard space of
14pt;A
minipageof width0.49textwidth.
The above combination is wider than textwidth, obviously, as is indicated by the first construction below (I'm using rule instead of minipage, but the effect is the same):

documentclassarticle
begindocument
beginfigure
X dotfill X% For reference
rule0.49textwidth1pt
hspace*14pt% Separation between sub-figures
rule0.49textwidth1pt
ruledimexpr0.5textwidth-7pt1pt%
hspace*14pt% Separation between sub-figures
ruledimexpr0.5textwidth-7pt1pt
rule0.49textwidth1pt
hfill% Flexible fill between sub-figures
rule0.49textwidth1pt
X dotfill X% For reference
endfigure
enddocument
If you're stuck on having the fixed 14pt gap between the two sub-figures, then you need to make sure that each component is exactly split between the remainder. That is, each image (or minipage) takes up 0.5textwidth-7pt. That's what the second construction achieves.
Note the use of % sign after the first sub-figure in order to avoid the inter-word space that is naturally inserted after a macro with an argument.
Alternatively, if you're interested in fixing the width of the sub-figures (rather than the 14pt gap mentioned above), then you can insert a flexible fill using hfill.
add a comment |
The construction on the line that contains your two sub-figures consist of elements that have the following widths:
A
minipageof width0.49textwidth;An inter-word space between the first
minipageand thehspace*;A hard space of
14pt;A
minipageof width0.49textwidth.
The above combination is wider than textwidth, obviously, as is indicated by the first construction below (I'm using rule instead of minipage, but the effect is the same):

documentclassarticle
begindocument
beginfigure
X dotfill X% For reference
rule0.49textwidth1pt
hspace*14pt% Separation between sub-figures
rule0.49textwidth1pt
ruledimexpr0.5textwidth-7pt1pt%
hspace*14pt% Separation between sub-figures
ruledimexpr0.5textwidth-7pt1pt
rule0.49textwidth1pt
hfill% Flexible fill between sub-figures
rule0.49textwidth1pt
X dotfill X% For reference
endfigure
enddocument
If you're stuck on having the fixed 14pt gap between the two sub-figures, then you need to make sure that each component is exactly split between the remainder. That is, each image (or minipage) takes up 0.5textwidth-7pt. That's what the second construction achieves.
Note the use of % sign after the first sub-figure in order to avoid the inter-word space that is naturally inserted after a macro with an argument.
Alternatively, if you're interested in fixing the width of the sub-figures (rather than the 14pt gap mentioned above), then you can insert a flexible fill using hfill.
add a comment |
The construction on the line that contains your two sub-figures consist of elements that have the following widths:
A
minipageof width0.49textwidth;An inter-word space between the first
minipageand thehspace*;A hard space of
14pt;A
minipageof width0.49textwidth.
The above combination is wider than textwidth, obviously, as is indicated by the first construction below (I'm using rule instead of minipage, but the effect is the same):

documentclassarticle
begindocument
beginfigure
X dotfill X% For reference
rule0.49textwidth1pt
hspace*14pt% Separation between sub-figures
rule0.49textwidth1pt
ruledimexpr0.5textwidth-7pt1pt%
hspace*14pt% Separation between sub-figures
ruledimexpr0.5textwidth-7pt1pt
rule0.49textwidth1pt
hfill% Flexible fill between sub-figures
rule0.49textwidth1pt
X dotfill X% For reference
endfigure
enddocument
If you're stuck on having the fixed 14pt gap between the two sub-figures, then you need to make sure that each component is exactly split between the remainder. That is, each image (or minipage) takes up 0.5textwidth-7pt. That's what the second construction achieves.
Note the use of % sign after the first sub-figure in order to avoid the inter-word space that is naturally inserted after a macro with an argument.
Alternatively, if you're interested in fixing the width of the sub-figures (rather than the 14pt gap mentioned above), then you can insert a flexible fill using hfill.
The construction on the line that contains your two sub-figures consist of elements that have the following widths:
A
minipageof width0.49textwidth;An inter-word space between the first
minipageand thehspace*;A hard space of
14pt;A
minipageof width0.49textwidth.
The above combination is wider than textwidth, obviously, as is indicated by the first construction below (I'm using rule instead of minipage, but the effect is the same):

documentclassarticle
begindocument
beginfigure
X dotfill X% For reference
rule0.49textwidth1pt
hspace*14pt% Separation between sub-figures
rule0.49textwidth1pt
ruledimexpr0.5textwidth-7pt1pt%
hspace*14pt% Separation between sub-figures
ruledimexpr0.5textwidth-7pt1pt
rule0.49textwidth1pt
hfill% Flexible fill between sub-figures
rule0.49textwidth1pt
X dotfill X% For reference
endfigure
enddocument
If you're stuck on having the fixed 14pt gap between the two sub-figures, then you need to make sure that each component is exactly split between the remainder. That is, each image (or minipage) takes up 0.5textwidth-7pt. That's what the second construction achieves.
Note the use of % sign after the first sub-figure in order to avoid the inter-word space that is naturally inserted after a macro with an argument.
Alternatively, if you're interested in fixing the width of the sub-figures (rather than the 14pt gap mentioned above), then you can insert a flexible fill using hfill.
edited Apr 13 '17 at 12:35
Community♦
1
1
answered Mar 15 '16 at 22:13
WernerWerner
447k699891694
447k699891694
add a comment |
add a comment |
You haven't posted enough information to completely diagnose the problem but
beginminipage[b]0.49textwidth
endminipage
hspace*14pt% separation between the subfigures
beginminipage0.49textwidth
endminipage
is a line .98textwidth + 1 word space + 14pt wide so that may or may not be wider than textwidth.
Perhaps you want
beginminipage[b]0.49textwidth
endminipagehfill
beginminipage0.49textwidth
endminipage
which will have exactly .02textwidth space between the minipages, with a total line width of exactly textwidth.
Thanks a lot for your fast comments and the explanation! I think there was a big error in reasoning ;-) I have tried your suggestions already and edited my post above with a new question.
– Milou
Mar 15 '16 at 23:13
add a comment |
You haven't posted enough information to completely diagnose the problem but
beginminipage[b]0.49textwidth
endminipage
hspace*14pt% separation between the subfigures
beginminipage0.49textwidth
endminipage
is a line .98textwidth + 1 word space + 14pt wide so that may or may not be wider than textwidth.
Perhaps you want
beginminipage[b]0.49textwidth
endminipagehfill
beginminipage0.49textwidth
endminipage
which will have exactly .02textwidth space between the minipages, with a total line width of exactly textwidth.
Thanks a lot for your fast comments and the explanation! I think there was a big error in reasoning ;-) I have tried your suggestions already and edited my post above with a new question.
– Milou
Mar 15 '16 at 23:13
add a comment |
You haven't posted enough information to completely diagnose the problem but
beginminipage[b]0.49textwidth
endminipage
hspace*14pt% separation between the subfigures
beginminipage0.49textwidth
endminipage
is a line .98textwidth + 1 word space + 14pt wide so that may or may not be wider than textwidth.
Perhaps you want
beginminipage[b]0.49textwidth
endminipagehfill
beginminipage0.49textwidth
endminipage
which will have exactly .02textwidth space between the minipages, with a total line width of exactly textwidth.
You haven't posted enough information to completely diagnose the problem but
beginminipage[b]0.49textwidth
endminipage
hspace*14pt% separation between the subfigures
beginminipage0.49textwidth
endminipage
is a line .98textwidth + 1 word space + 14pt wide so that may or may not be wider than textwidth.
Perhaps you want
beginminipage[b]0.49textwidth
endminipagehfill
beginminipage0.49textwidth
endminipage
which will have exactly .02textwidth space between the minipages, with a total line width of exactly textwidth.
edited Mar 15 '16 at 22:15
Werner
447k699891694
447k699891694
answered Mar 15 '16 at 22:02
David CarlisleDavid Carlisle
494k4111371885
494k4111371885
Thanks a lot for your fast comments and the explanation! I think there was a big error in reasoning ;-) I have tried your suggestions already and edited my post above with a new question.
– Milou
Mar 15 '16 at 23:13
add a comment |
Thanks a lot for your fast comments and the explanation! I think there was a big error in reasoning ;-) I have tried your suggestions already and edited my post above with a new question.
– Milou
Mar 15 '16 at 23:13
Thanks a lot for your fast comments and the explanation! I think there was a big error in reasoning ;-) I have tried your suggestions already and edited my post above with a new question.
– Milou
Mar 15 '16 at 23:13
Thanks a lot for your fast comments and the explanation! I think there was a big error in reasoning ;-) I have tried your suggestions already and edited my post above with a new question.
– Milou
Mar 15 '16 at 23:13
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');
);
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%2f299228%2foverfull-hbox-warning-two-plots-side-by-side%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
Between the two subfigures you have a normal space (the end-of-line after
endminipage) and 14pt. Removehspace*14ptand puthfillafterendminipage(same line, no space in between). By the way you should useraggedright, notflushleft.– egreg
Mar 15 '16 at 22:03
please don't edit the question to ask a completely different question, it makes the existing answers impossible to understand, best to ask a new question, but the normal thing to do is use centering for captions but yours appear to be flush left, probably due to code you have not shown. It is always best to post complete documents that show the issue (use
includegraphics[]example-imagewhich is an image in most distributions, to make your example portable.– David Carlisle
Mar 15 '16 at 23:36
The caption package has justification=raggedright and justification=raggedleft options. You can call captionsetup inside each minipage.
– John Kormylo
Mar 16 '16 at 2:38