Figure and Table not alignedTable and figure side-by-side with independent captionsHow to put two tables in a table* element so that the tables appear side by side in a two column layout scientific paper?Why are my Images not correctly centered?Make a list with uniform spacing regardless of the characters and number of text lines, possibly with minipages or a tableTabular and grid typesettingTable caption not appearing in PNAS document classTable with gap between cmidrule's (extra space between two columns)tabu package - gaps in vertical linesFigure and caption are not alignedLast two rows not aligned in tabletable rows not aligned

Why is there a voltage between the mains ground and my radiator?

Can a bounded number sequence be strictly ascending?

What Happens when Passenger Refuses to Fly Boeing 737 Max?

Is it true that real estate prices mainly go up?

Aliens englobed the Solar System: will we notice?

Reverse string, can I make it faster?

Fourth person (in Slavey language)

Why is Beresheet doing a only a one-way trip?

Why do different render engines generate different z pass?

Space in array system equations

Look through the portal of every day

Rejected in 4th interview round citing insufficient years of experience

How do I express some one as a black person?

Why does Captain Marvel assume the people on this planet know this?

Does splitting a potentially monolithic application into several smaller ones help prevent bugs?

Try Catch Block Affecting a Variable in an Enclosing Scope

Why does Deadpool say "You're welcome, Canada," after shooting Ryan Reynolds in the end credits?

Low budget alien movie about the Earth being cooked

Do any of the books contain (magic) items for animal companions?

Exporting list of URLs

Do f-stop and exposure time perfectly cancel?

How did Alan Turing break the enigma code using the hint given by the lady in the bar?

How to edit the properties of a page programmatically?

Examples of a statistic that is not independent of sample's distribution?



Figure and Table not aligned


Table and figure side-by-side with independent captionsHow to put two tables in a table* element so that the tables appear side by side in a two column layout scientific paper?Why are my Images not correctly centered?Make a list with uniform spacing regardless of the characters and number of text lines, possibly with minipages or a tableTabular and grid typesettingTable caption not appearing in PNAS document classTable with gap between cmidrule's (extra space between two columns)tabu package - gaps in vertical linesFigure and caption are not alignedLast two rows not aligned in tabletable rows not aligned













0















I'm trying to align a table and a figure in Latex, but I`m not getting the results I want. I followed this answer : Table and figure side-by-side with independent captions



This is the code I used



documentclassarticle
usepackage[english]babel
usepackage[utf8x]inputenc
usepackage[T1]fontenc
usepackagestandalone

usepackagepgf

usepackage[font=small,labelfont=bf]caption
% Table float box with bottom caption, box width adjusted to content
newfloatcommandcapbtabboxtable[][FBwidth]

begindocument
beginminipagetextwidth
beginminipage[b]0.49textwidth
vspace0pt
centering
rule6.4cm3.6cm
endminipage
hfill
beginminipage[b]0.49textwidth
vspace0pt
centering
begintabularcchline
Table head & Table head \ hline
Some values & Some values \
Some values & Some values \
Some values & Some values \
Some values & Some values \
Some values & Some values \
Some values & Some values \ hline
endtabular
endminipage
endminipage
enddocument


But this is what I get :
enter image description here









share









New contributor




Liam F-A is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • you want [t] aligned minipages not [b] so they both align on the vspace0pt (which otherwise is doing nothing)

    – David Carlisle
    2 mins ago











  • Welcome to TeX SX! Try replacing [b]with [t].

    – Bernard
    2 mins ago
















0















I'm trying to align a table and a figure in Latex, but I`m not getting the results I want. I followed this answer : Table and figure side-by-side with independent captions



This is the code I used



documentclassarticle
usepackage[english]babel
usepackage[utf8x]inputenc
usepackage[T1]fontenc
usepackagestandalone

usepackagepgf

usepackage[font=small,labelfont=bf]caption
% Table float box with bottom caption, box width adjusted to content
newfloatcommandcapbtabboxtable[][FBwidth]

begindocument
beginminipagetextwidth
beginminipage[b]0.49textwidth
vspace0pt
centering
rule6.4cm3.6cm
endminipage
hfill
beginminipage[b]0.49textwidth
vspace0pt
centering
begintabularcchline
Table head & Table head \ hline
Some values & Some values \
Some values & Some values \
Some values & Some values \
Some values & Some values \
Some values & Some values \
Some values & Some values \ hline
endtabular
endminipage
endminipage
enddocument


But this is what I get :
enter image description here









share









New contributor




Liam F-A is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • you want [t] aligned minipages not [b] so they both align on the vspace0pt (which otherwise is doing nothing)

    – David Carlisle
    2 mins ago











  • Welcome to TeX SX! Try replacing [b]with [t].

    – Bernard
    2 mins ago














0












0








0








I'm trying to align a table and a figure in Latex, but I`m not getting the results I want. I followed this answer : Table and figure side-by-side with independent captions



This is the code I used



documentclassarticle
usepackage[english]babel
usepackage[utf8x]inputenc
usepackage[T1]fontenc
usepackagestandalone

usepackagepgf

usepackage[font=small,labelfont=bf]caption
% Table float box with bottom caption, box width adjusted to content
newfloatcommandcapbtabboxtable[][FBwidth]

begindocument
beginminipagetextwidth
beginminipage[b]0.49textwidth
vspace0pt
centering
rule6.4cm3.6cm
endminipage
hfill
beginminipage[b]0.49textwidth
vspace0pt
centering
begintabularcchline
Table head & Table head \ hline
Some values & Some values \
Some values & Some values \
Some values & Some values \
Some values & Some values \
Some values & Some values \
Some values & Some values \ hline
endtabular
endminipage
endminipage
enddocument


But this is what I get :
enter image description here









share









New contributor




Liam F-A is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












I'm trying to align a table and a figure in Latex, but I`m not getting the results I want. I followed this answer : Table and figure side-by-side with independent captions



This is the code I used



documentclassarticle
usepackage[english]babel
usepackage[utf8x]inputenc
usepackage[T1]fontenc
usepackagestandalone

usepackagepgf

usepackage[font=small,labelfont=bf]caption
% Table float box with bottom caption, box width adjusted to content
newfloatcommandcapbtabboxtable[][FBwidth]

begindocument
beginminipagetextwidth
beginminipage[b]0.49textwidth
vspace0pt
centering
rule6.4cm3.6cm
endminipage
hfill
beginminipage[b]0.49textwidth
vspace0pt
centering
begintabularcchline
Table head & Table head \ hline
Some values & Some values \
Some values & Some values \
Some values & Some values \
Some values & Some values \
Some values & Some values \
Some values & Some values \ hline
endtabular
endminipage
endminipage
enddocument


But this is what I get :
enter image description here







tables floats vertical-alignment





share









New contributor




Liam F-A is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.










share









New contributor




Liam F-A is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








share



share








edited 1 min ago









David Carlisle

494k4111381885




494k4111381885






New contributor




Liam F-A is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 4 mins ago









Liam F-ALiam F-A

1




1




New contributor




Liam F-A is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Liam F-A is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Liam F-A is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • you want [t] aligned minipages not [b] so they both align on the vspace0pt (which otherwise is doing nothing)

    – David Carlisle
    2 mins ago











  • Welcome to TeX SX! Try replacing [b]with [t].

    – Bernard
    2 mins ago


















  • you want [t] aligned minipages not [b] so they both align on the vspace0pt (which otherwise is doing nothing)

    – David Carlisle
    2 mins ago











  • Welcome to TeX SX! Try replacing [b]with [t].

    – Bernard
    2 mins ago

















you want [t] aligned minipages not [b] so they both align on the vspace0pt (which otherwise is doing nothing)

– David Carlisle
2 mins ago





you want [t] aligned minipages not [b] so they both align on the vspace0pt (which otherwise is doing nothing)

– David Carlisle
2 mins ago













Welcome to TeX SX! Try replacing [b]with [t].

– Bernard
2 mins ago






Welcome to TeX SX! Try replacing [b]with [t].

– Bernard
2 mins ago











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
);



);






Liam F-A is a new contributor. Be nice, and check out our Code of Conduct.









draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f479174%2ffigure-and-table-not-aligned%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








Liam F-A is a new contributor. Be nice, and check out our Code of Conduct.









draft saved

draft discarded


















Liam F-A is a new contributor. Be nice, and check out our Code of Conduct.












Liam F-A is a new contributor. Be nice, and check out our Code of Conduct.











Liam F-A is a new contributor. Be nice, and check out our Code of Conduct.














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.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f479174%2ffigure-and-table-not-aligned%23new-answer', 'question_page');

);

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







Popular posts from this blog

Isabella Eugénie Boyer Biographie | Références | Menu de navigationmodifiermodifier le codeComparator to Compute the Relative Value of a U.S. Dollar Amount – 1774 to Present.

Join wedge with single bond in chemfigHow to make only one part of double bond bold with chemfig?Crossing bonds in chemfigjoining atoms in chemfig. Two adjacent molculesHow do I selectively change bond length in chemfig?Ugly bond joints in chemfigchemfig: reaction above arrowUsing the mhchem and chemfig packages in conjunctionBonding to specific element letter using chemfigResonance hybrids in chemfigScale chemfig molecule in beamer with tikzWhy does this chemfig bond with a hook start in the middle of the atom?

Are small insurances worth itIs insurance worth it if you can afford to replace the item? If not, when is it?Is accident insurance worth it for my kids who play sportsIs insuring property for more than it is worth allowed?At what point does it become worth it to file an insurance claim?Are wage loss insurance programs worth the cost compared to having an emergency fund?When is an event worth insuring against?Is insurance worth it if you can afford to replace the item? If not, when is it?FHA loan just commenced : Any way to get any of the up-front mortgage insurance back?Which types of insurances do I need to buy?Should I carry less renter's insurance if I can self-insure?Mortgage Adviser Signed Me Up For Multiple Home and Life Insurances (UK)Why many travel insurances don't cover country of nationality?