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

learn more… | top users | synonyms

5
votes
1answer
56 views

Inline math overflow does not happen with minipages, but everywhere else

When writing in a minipage environment, unsplittable math formulas never spill into the right margin. Instead, spacing is introduced in the current line and the formula is moved to the next line. ...
11
votes
3answers
250 views

How to draw a polygon with height exactly equals to the text's height

I am using MiKTeX 2.9 and XeLaTeX. I have a minipage with some formatted text: \centering \begin{minipage}{\quotewidth}% \centering\small\textit{Lorem ipsum dolor sit amet, consectetur adipiscing ...
2
votes
1answer
39 views

\vspace behaving elastic in scrbook

In the following minimal example, I want to have three paragraphs. Paragraphs should be ... Spaced 1 cm apart each other OR Pushed to the next page, if the don't fit entirely on the present page I ...
2
votes
1answer
93 views

Memoir page headers and minipage

I'm trying to work with a custom pagestyle. I want to have the chapter name and the section name in the odd page header... but I also need to use a mini page environment (or WANT to use one anyway) ...
4
votes
1answer
463 views

Putting Figures Side-By-Side Using Minipage

I am trying to put two figures next to each other. However, it is not working. Here is my code: \begin{figure}[h] \centering \begin{minipage}{1.0\textwidth} \centering ...
2
votes
1answer
80 views

Spreading out text vertically inside a parbox or minipage automatically [duplicate]

How can TeX (whether it is in its own terms or in those of LaTeX2e) be told to typeset the text spread out vertically and evenly inside a parbox or a minipage that has been defined with a given ...
2
votes
0answers
40 views

Minipage or parbox doesn't work in bcbar label (bchart package)

The code below works very well on an article document. But, when I put it on a chapter of a book document class, it doesn't work. The problem is the minipage use. The book class document doesn't ...
6
votes
1answer
241 views

Multiple columns with minipage, can't use 100% of \textwidth

In a document I'm making, I have several cases where I need to organize things into several "columns." For example, here is some code I might use: \documentclass[letterpaper,12pt]{report} ...
15
votes
2answers
859 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
455 views

Padding in a minipage

I build a minipage with some background picture: \newsavebox\langscapeSafebox \newenvironment{dsaBoxLandscape}[1][]{% ...
4
votes
1answer
132 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
207 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
69 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
41 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
61 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
50 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
155 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
41 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
2answers
517 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 ...
2
votes
1answer
368 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
163 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
240 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
108 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
330 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
893 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
211 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
76 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
333 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 ...
6
votes
2answers
613 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
135 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
163 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
297 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
55 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
168 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
318 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
159 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
68 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
688 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
123 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
80 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
148 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
40 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
170 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
91 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
98 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
56 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
156 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
770 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
294 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
445 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 ...