{minipage} is an environment providing a paragraph box which is a complete mini version of a page.

learn more… | top users | synonyms

15
votes
2answers
2k views

Placing TikZ drawings in a minipage side by side

I've some problems with aligning some drawings I made with TikZ: I want these two TikZ pictured below to be displayed side by side with the two captions being on the same horizontal level. ...
4
votes
1answer
731 views

Padding in a minipage

I build a minipage with some background picture: \newsavebox\langscapeSafebox \newenvironment{dsaBoxLandscape}[1][]{% ...
5
votes
1answer
319 views

How to solve the issue between side-by-side floats (tables) and floatrow package?

I came from here where this issue was raised but could not find a straightforward solution. I have now side-by-side tables and I want to avoid the errors thrown once floatrow package is added to the ...
8
votes
3answers
344 views

Vertical align a tabular and tikz figure in a minipage

How can I vertically align a tabular left to a tikz figure? With minipage without a vertical align option it looks good: The problem is that I need it aligned at top (for this I replaced ...
0
votes
0answers
89 views

Text spacing altered when using minipage

Why does the spacing between words alter when using minipage function ? \documentclass[a4paper, 14pt, oneside]{article} \usepackage{soul} % Used for the title name (eg. title) \usepackage{titlesec} ...
1
vote
0answers
50 views

How to have the same visual effect of a figure in a non-floating environment

I have the following code: \begin{figure} \centering \subfloat[\footnotesize my_sub_caption1]{\includegraphics[width=0.45\linewidth]{images/my_image1}} \quad \subfloat[\footnotesize ...
4
votes
2answers
72 views

How to change numbering of figures (subfloats more specifically in a minipage)?

I have 6 figures in a 2 by 3 minipage like below \begin{minipage} \subfloat[] \subfloat[] \subfloat[] \quad \subfloat[] \subfloat[] \subfloat[] \end{minipage} This structure ...
5
votes
1answer
60 views

Is it possible to arrange minipages in this specific way?

I am trying to arrange two tables and a formula using minipages, to get something like this: So far, the closest I got was, with the code below: \documentclass[paper=a4, ...
6
votes
2answers
165 views

Group content side by side possibly spanning more than a single page

I have data consisting of groups of key-value pairs and associated images. I'd like the key-value pairs to show in a table to the right of the images. Like this: The above screenshot is produced by ...
4
votes
1answer
55 views

Error with pmatrix inside multline* inside minipage inside tabular

The following is a minimal example of code that gives me an Argument of \multline* has an extra } error. \documentclass{article} \usepackage{amsmath} \begin{document} \begin{tabular}{c} ...
1
vote
3answers
946 views

Two figures side by side caption issue

I have searched around for two hours without luck. So I hope someone can help me this issue. Basically I want to place two different figures side by side to save space in my report. So I don't want ...
3
votes
1answer
937 views

Why is the minipage indented on the left?

I am trying to create a CV and for the heading information I am using a minipage to display my name and Curriculum Vitae inline with smaller text containing my contact information. The code works ...
4
votes
2answers
318 views

Left and right aligned minipages, with table layout

I am trying to create a layout with two "columns," where the right-hand column itself has two columns, which are right and left aligned, respectively. For instance: This is some text in the first ...
0
votes
1answer
415 views

two-column lstlisting in landscape orientation

How can I divide my page in two to show my code with lstlisting? This is a large code and I want to set as 2 pages in one. Is an appendix of my project not all the document. EDIT thanks to ...
1
vote
0answers
144 views

Horizontal alignment (problem with minipage)

I'm new here. I just have a problem with the minipage environment. The problem is that the tables aren't horizontally aligned. I want these table aligned one by one, but I don't know what's wrong. ...
11
votes
2answers
400 views

How do I put card backs on my cards?

I have a a document that is making me sheets of cards. A stripped down, almost minimal example looks something like \documentclass{article} \usepackage[utf8]{inputenc} %Needed for input ...
3
votes
1answer
2k views

changepage package's \adjustwidth environment adjusts only left margin

I was trying to create a custom abstract environment with minipages and adjusted margins. Everything works fine, except for that the right margin changes according to the left. I could'n find ...
3
votes
1answer
306 views

Beamer Columns environment doesn't work when converting dvi to pdf

I am trying to create two columns in one slide with Beamer. I followed this link: How to split a frame (of beamer) into 2 parts (minipage) side by side? However, none of the minipage or the columns ...
2
votes
2answers
98 views

How to center align the below subfigure when it stands alone?

I have three subfigures as shown in the MWE below, I want to align the subfigure c in the center below the two upper figures, how to do that? \documentclass{scrartcl} \usepackage{caption} ...
3
votes
2answers
574 views

Two algorithm2e environments side by side

I want to get two algorithm2e environments side by side aligned at the top. I tried it with two minipages, but it does not work. How do I get them side by side in the normal text (not in a floating ...
7
votes
2answers
2k views

Trouble placing images side by side in beamer

I need to place a couple of images side by side (horizontally) in a presentation I'm doing with beamer, so I looked around and inserted the following code (sugested by this post): ...
5
votes
1answer
164 views

How do I get my cards to automatically tile?

I want to create sheets of playing cards for a game. There isn't a known package for this, however stealing from a previous answer and deleting things until it made sense got me this far: ...
1
vote
2answers
280 views

Minipage not finding width argument

The following code is producing an error: \begin{figure}[htbp!] \subfloat{ \begin{minipage}[c][Structured Mesh]{0.5\textwidth} \centering ...
4
votes
1answer
503 views

using fbox in a newenvironment [duplicate]

I am trying to write a new enviroment to add text into a \fbox, when I use \fbox on its own, it works quite nicely \fbox{\begin{minipage}{0.9\textwidth} does this work, I would love if it did ...
3
votes
1answer
58 views

Adjust width of listings including pagebreaks

I have my own lstlistings environments which are framed. Since I wanted to adjust the width so the frame starts with the text I used a minipage inside the lstlisting. (See MWE). But as I have quite ...
5
votes
1answer
315 views

Improper symbol mark of footnote in minipage environment

I think that the footmisc package has predefined the sympol mark series, but in minipage environment they become invalid. See below \documentclass{book} \usepackage[symbol*,stable]{footmisc} ...
3
votes
1answer
416 views

What's the exact margin size separating two side by side minipage environments?

Consider the following MWE with two minipage environments, ideally filling 1\textwidth in total. \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{fouriernc,parskip,framed} ...
1
vote
2answers
195 views

Adjusting layout in minipage within tikz node

What I want to achieve are nodes in which I can put a small index in the top left with either a one or two line description in the center. The nodes should all have the same size. What I achieved with ...
2
votes
0answers
76 views

How do I display a very wide table at the bottom of a page over two columns?

I'm writing a paper in LaTeX according to a CogSci template which uses two columns. However, I have a very wide table which needs to span accross both columns to be shown correctly. I want this table ...
2
votes
2answers
957 views

Put two pictures above one another within one sub float / reference problem

I was going through some crazy hoops to get minipage and subfloat work nicely (?) together, only to find out in the very end that I screwed up the figure references. I have a figure with two ...
2
votes
1answer
154 views

Use a box to fill text to right margin

I often use an eqnarray (I know it's better to use align, but let's not worry about that for this question unless it changes the answer) as a way to list a bunch of definitions or descriptions of ...
1
vote
1answer
97 views

Gcard with six panels

I want to make a card in latex with six panels. Sorry for the crude explanation, but something like this: \__/, that is, the card folds both from the left and the right, with the two edges meeting in ...
2
votes
1answer
203 views

Figure with minipage alignment issues [duplicate]

I have a figure block with 2 'minipage', each having a figure. When I typeset the document, the figure goes to the top of the page instead of being in the sub-section where I am defining it. The ...
0
votes
0answers
41 views

PDFLATEX : Cover Page Image with No Margin [duplicate]

I'm creating exam paper using exam class as mentioned below: \documentclass[a4paper,addpoints,answers,10pt]{exam} \usepackage{tikz} \usepackage{graphicx} \usepackage{wallpaper} ...
2
votes
1answer
241 views

Vertical Alignment of (graphic+text, inside a mini page)+item number

I have a figure and text inside a minipage inside an enumerate. I would like align the text and the item number and top-align the figure and the text. Top top-align figures and text in the past I ...
2
votes
2answers
101 views

Three minipages side by side but over several pages

Im searching for a way to typeset the following scenario: With three minipages this works fine: \documentclass{minimal} \usepackage{blindtext} \begin{document} \begin{minipage}[t]{0.1\textwidth} ...
4
votes
2answers
113 views

Footnote in minipage wit newtxtext misses mark

With the newtxtext LaTeX package, footnotes inside a minipage miss the mark. \documentclass{article} \usepackage[papersize={6cm,4cm},margin={2mm,2mm}]{geometry} \usepackage{newtxtext} ...
2
votes
0answers
59 views

How to align the top of two minipages [duplicate]

I have two minipages aligned to the top of a frame (I used the option [t] on the frame and the two minipages). If I had elements in one of the minipage, the other minipage goes down. I have ...
6
votes
1answer
181 views

Linewidth is Larger than the actual Linewidth

Ok I am creating a simple CV and in have the following problem. My \linewidth is actually larger than linewith. I tried to add \noident as stated on the following link overfull hbox despite of ...
2
votes
1answer
1k views

Space just before minipage

This is my .tex file: \documentclass{article} \usepackage{framed} \setlength{\FrameSep}{3pt} \begin{document} \noindent{}The king\\ \begin{minipage}{0.9\textwidth} is dead, ...
3
votes
1answer
400 views

How to fix caption in moderncv?

I'm using moderncv and I want to add a caption to an inserted graphic. I'm currently using this code \begin{minipage}{.5\textwidth} \centering ...
8
votes
1answer
582 views

Why does \vfill not work inside minipage?

Perhaps the answer is trivial, and I am facing the scenario as part of a larger macro. I faced a situation where I found that \vfill does not work inside minipage environment. The extracted code from ...
3
votes
2answers
236 views

newenviroment error: Extra }, or forgotten \endgroup \begin{gbox}

\noindent \colorbox{gray!25}{ \begin{minipage}{\textwidth} \vskip0.5cm \leftskip0.5cm \rightskip0.5cm Text Here! \\\end{minipage}} Code above works fine, but I don't ...
4
votes
2answers
5k views

minipage environment with bottom-aligned

I would like to make my figures with bottom-aligned, but the arrows are still in the center. Here is my code: \begin{figure}[!ht] \centering \begin{minipage}[c]{0.2\textwidth} ...
4
votes
2answers
217 views

Horizontal alignment of text blocks

I want two text blocks in a horizontal row. In the middle between them, there should be an arrow pointing from left to right. This is what I currently have: As you see, the arrow is not in the ...
6
votes
2answers
866 views

Changing Font Style in Minipage

I am trying to generate a pull quote in my document, which I want to have with a different font style. To accomplish this, I have a wrapfig environment containing a minipage. I'd like to set the font ...
3
votes
1answer
3k views

Text alignment in a minipage

I have a little problematic in LaTeX, and I have not found any solution. I have a minipage like this : \begin{minipage}[t]{\textwidth} \raggedleft {\bfseries Some text}\\[.35ex] \small ...
5
votes
1answer
405 views

How can I vertically align two minipages with subfigures and differing caption length?

Following "Placing two figures (each having subfigures) next to each other", I used the following code in order to place two figures with subfigures next to each other putting the subfigures ...
2
votes
0answers
193 views

Single-column framed minipage spanning two or more slides in Beamer

I searched and could not find an easy non-labour intensive solution to this one. In making a Beamer presentation, I have some framed minipages with various arbitrary content I am transferring from a ...
2
votes
1answer
114 views

How to put a figure inside a minipage when using memoir?

I need to put a figure inside a minipage, like so: \documentclass{memoir} \begin{document} \begin{minipage}{10cm} \begin{figure} blabla \caption{test} \end{figure} \end{minipage} ...