I have two minipages within a bigger minipage. One of them is a graph, which is a figure, the other one a tabula. The issue is, that I want the x-axis of the graph to align with the lower line of the tabula. On top of that, the captions of the two minipages should also be on the same height. This is, how it currently looks: Current look

And it should look like this:

desired look

Here's the related code snippet:

        Parameter          & Value & Unit \\
  • you need to upload a compilable code
    – js bibra
    Aug 25, 2021 at 15:31

1 Answer 1


From what you've shown, you would need to add some space between the bottom of the tabular and the \captionof statement. That's the simplest approach.

I do notice that you've attempted to set heights using the optional argument to minipage. The problem here is twofold: (1) your first two lines should probably read:


Note that I moved the optional argument to the inner minipage. (2) LaTeX has no idea where to put the extra space it needs (I'm guessing you're getting lots of underfull \vbox messages). I would be inclined to just dispense with the optional arguments on the minipages entirely and just manually set the amount of space you need for the table and graph to line up.

One more thing. I think you meant to say \input rather than \include when you brought in your figure. \include is meant for being able to include (or not include) portions of a document (usually at the chapter or group of chapters level). If it works at all, it's more luck than design.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .