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

learn more… | top users | synonyms

0
votes
1answer
15 views

twoside breaks spacing

I'm using minipages to keep related questions together on a test that I'm writing. When I make a 2-sided document some of my spacing gets messed up before the section break. It works fine if I leave ...
5
votes
1answer
64 views

Why is my minipage in beamer foreach environment moving horizontally?

I am preparing a presentation with several very similar slides so I would like to use a \foreach loop with \only to generate them. The frames also contains minipages and these minipages seem to cause ...
2
votes
1answer
44 views

spacing in description with items wrapped in minipage

I'm trying to prevent items in description environment from breaking by wrapping each one in a minipage. (Perhaps that's not a good approach, but let's put that aside if we can for my question.) When ...
2
votes
1answer
39 views

Wrapping tables with minipages?

Say I have the following table: \documentclass{report} \usepackage[intlimits]{amsmath} \usepackage{floatflt} \usepackage{caption} \usepackage{listliketab} \usepackage{booktabs} ...
0
votes
1answer
32 views

How to keep same baseline skip in two vertically aligned minipages

I have two minipages (actually one of them is varwidth) standing one above the other. How can I keep same baseline skip in them? I have somewhat strange layout, so I can't set [t] option for lower ...
1
vote
1answer
34 views

minipage with page break

I'm using LaTeX for writing math tests. Every task I wrap into an environment, which I defined like this: \NewEnviron{beispiel}[1]{\begin{minipage}[t]{0.76\textwidth} \BODY \end{minipage} ...
6
votes
1answer
67 views

Microtype does not work inside varwidth

I make a template for different texts and I need to use varwidth. But it seems microtype doesn't work inside this environment. Is there any way to make it work? \documentclass{book} ...
0
votes
2answers
22 views

text alongside figure using minipage

I need to place 2 images with captions in a minipage one below the other, in the second minipage alongside there is the description. I cannot use \begin{figure} ... \end{figure} I looked at this, ...
2
votes
1answer
46 views

Strategy for listings next to code comments

I'm looking for strategies to produce listings of code with comments on what's happening next to it. I've found other similar questions, but not quite what I'm looking for. See for example: Listing ...
0
votes
0answers
33 views

Front page with color!

I ve tried to configure a front page that looks like this. ... How can i complete this ? This is what my code looks right know: \fboxsep2pt ...
1
vote
1answer
23 views

Side by side figures adjusted to have equal height

I have two graphics of different dimensions which I would like to put into my document side by side such that: The two figures are scaled to have the same height. The two figures take up the entire ...
2
votes
1answer
54 views

Minipages wider than frame

In my document I have placed two mini pages side by side: \documentclass{scrartcl} \usepackage[demo]{graphicx} \usepackage{showframe} \begin{document} ...
3
votes
1answer
29 views

Tabular in tabular: Strange behavior of rowcolor

Starting with the following document: \documentclass{scrartcl} \usepackage[table]{xcolor} \begin{document} \begin{tabular}{|r|r|} \rowcolor{yellow} \hline Head 1 & Head 2 \\ ...
4
votes
2answers
31 views

How to keep a constant baselineskip when using minipages in tables?

Following up this question: How to keep a constant baselineskip when using minipages (or \parboxes)? The answers to the question suggest that \strut is not perfect to space minipages well with ...
2
votes
1answer
38 views

Problem with balancing multicols with minipage inside

I have two minipages one above the other with [b] and [t] options set to have right baselineskip. Second minipage/varwidth is in the multicols environment and if it have more then two lines, it ...
2
votes
1answer
43 views

How to add separator between paragraphs (or minipages) on the same page?

I am trying to typeset a list of quotations in the following way: No quotation is split across pages. Between adjacent quotations on the same page, there is a separator (such as a fleuron or ...
3
votes
1answer
38 views

Minipage maximum height

I want to make template for texts of different length with minipage having maximum height of 62 mm. If text isn't very long, minipage must have its natural height. Is it a way to do it? ...
4
votes
1answer
39 views

layout print in minipage

I need to print a page with some information on it and I also liked to print the layout of the page but I don't want it to cover the full page as is usually printed by using the \layout command from ...
3
votes
1answer
12k views

Minipage with four figures - avoiding too much whitespace

I have hundreds of figures that I have arranged into 2x2 matrices using the \minipage environment like so: \begin{figure}[ht] \label{ fig7} \begin{minipage}[b]{0.5\linewidth} ...
8
votes
2answers
3k views

Fitting and centering text (both!) in a constrained area

Is there a way to make text size and alignment automatically "best fit" on a page? So that a large amount of text will be constrained on the page in a small font, but a small amount of text can be of ...
3
votes
1answer
319 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 ...
4
votes
1answer
58 views

minipage environment inserting blank pages and footer won' turn off

This is my first post, so hopefully I got the formatting correct. I have searched all over and can't seem to find an answer to my problem. Below you will find a minimal example of my text file. I have ...
0
votes
0answers
46 views

Two minipages side-by-side

I want one minipage with text, to be next to another minipage with two tikzpictures. I have this code: \subsection*{7. Bereken exact de lengte van lijnstuk $TP$.} \begin{minipage}[l]{0.6\textwidth} ...
2
votes
1answer
35 views

put many matrices side by side via minipage

I am trying to align two matrices side by side. I am using minipage but its not working out. this is my code \begin{frame}{Addition and Subtraction} \begin{itemize} \item Addition and subtraction are ...
10
votes
1answer
14k views

tables side-by-side using minipage

I'm trying to get three tables side by side using minipage. In spite of my horrific efforts my tables keep stacking on top of each other instead of standing beside what drives me mad. Can anybody spot ...
3
votes
1answer
63 views

Pdflatex on file with large amount of pictures

I have a tex file that's generated by an automated bioinformatics pipeline as a report. Usually, this is roughly 50-150 pages, but that's based on 1-3 samples. It contains many quality control graphs. ...
1
vote
0answers
30 views

How to align a single header to the right?

This is my situation \begin{minipage}{\textwidth} \begin{minipage}[t]{0.65\textwidth} \section{Section 1} Content 1 \end{minipage} \hfill \begin{minipage}[t]{0.25\textwidth} \section{Section 2} ...
4
votes
2answers
351 views

Beamer - building footnote example with columns and minipage

While trying to construct a beamer slide illustrating usage of the \footnote command I hit upon the following problems. When I compile a slide with the following code: \documentclass{beamer} ...
3
votes
1answer
45 views

documentclass{book}: Page content aligned on bottom of page

I'm still a beginner on LaTeX, but at the moment I'm working on a book. I'm working with Gummi and for some reason I started my work with \documentclass{article}. As I changed the \documentclass to ...
1
vote
0answers
50 views

minipage inside long table gives extra new line

I defined a new environments to add top and bottom padding to a minipage and to be used inside a lone table cell (I have used \linewidth to specify the width of the minipage in the new environment). ...
2
votes
0answers
34 views

Problem with \href for hyphenated web addresses within latex minipage environment

I am trying to use \href to link to a web address that contains hyphens (e.g. http://hyphenated-webpage.com) within a minipage environment, e.g. \usepackage{hyperref} ...
2
votes
3answers
145 views

Aligning the equations and equation numbers correctly

I have the following code \documentclass{article} \usepackage{amsmath} \usepackage{amssymb} \begin{document} \begin{minipage}{16cm} Maximization:\\ \begin{minipage}{7.6cm} \begin{align} ...
1
vote
2answers
85 views

How to align an image beside a text in LaTeX?

I'm having some troubles with placing an image: I want to put the image by the side of the text but I'm obtaining this: \begin{figure} \begin{flushright} \begin{minipage}{0.4\textwidth} ...
3
votes
1answer
39 views

Minipage with tabular inside ignores vertical alignment

I am trying to align a minipage that has a list inside. Using a tabular environment for the list results in the minipage ignoring the [t] option (or any other, as far as I can tell). On the other ...
0
votes
0answers
32 views

How to align the caption text under the figure to the column width in a minipage environment?

I am stuck at a formatting problem of a Figure. As you can see in the picture there is white space in between the caption text and the left column because the text is aligned to "Figure 1". How can i ...
2
votes
2answers
41 views

Center text in minipage along page center

For a one-page bulletin, I need some text and a logo on the end of a page. I've gotten first results with using minipages so far: \documentclass[a4paper,10pt]{article} \usepackage[utf8]{inputenc} ...
0
votes
1answer
102 views

Control absolute position of `minipage` or image on page

I am producing a 30x30cm book with a lot of images. I would like to control the absolute positioning of a minipage (to allow normal flowing text) and some sort of image environment to allow me to make ...
1
vote
2answers
268 views

Where does this space come from?

Using colored text inside a minipage results in less vertical space being appended after the text compared to normal text. Strangely, this only occurs when the minipage is top-aligned. In the other ...
5
votes
2answers
70 views

hrule inside minipage refuses to show up

Inside a minipage, \hrule doesn't seem to do anything unless there is already some material inside the minipage. \documentclass{article} \begin{document} \hrule width\textwidth\relax \noindent ...
0
votes
1answer
34 views

Why is tikz getting a different \linewidth or drawing a different rectangle inside a minipage under the same conditions?

Question I have a signature macro that determines whether to include a signature for a final production or whether to put in a red unsigned box (for pre-production copies). For some unknown reason, ...
1
vote
0answers
17 views

how to put Verbatim inside minipage that has fbox around it? “Paragraph ended before \FV@BeginScanning was complete. }” [duplicate]

I am surprised that I get an error when I add Verbatim to content of minipage that had \fbox around it. Removing the \fbox removes the error. But I need to put frame around the minipage. I can't use ...
1
vote
1answer
75 views

Dividing the page equally with geometry package

I'm wondering about dividing the page in 2 independent parts. I did it with minipage : first was \begin{minipage}{0.49\textwidth} .. \end{minipage} and second was \begin{minipage}{0.49\textwidth} ... ...
1
vote
1answer
93 views

Easy and robust way to vertically align text and images side by side

Is there any syntactically easy and robust solution of how to place a image right (or left) to a text with correct vertical alignment (and appealing horizontal spacing)? By syntactically easy I mean ...
2
votes
1answer
41 views

Remove top indent of itemize without using minipage in tabular(x)

I am using minipage in my tabularx because it was the only way I found to remove the top space of the itemize environment. However, since minipage cannot break at when the page does, I have a very ...
6
votes
2answers
86 views

Creating a document with no borders or margins

I want to create a small flyer. It should be folded once and have four pages in total. Also, I need a special geometry. So far, I am trying to achieve that using minipages. Here is my MWE: ...
3
votes
2answers
87 views

Minipage overlapping with text that follows

I'm trying to replicate the following layout that I have in a Word version of the paper: There are two code sections side by side with the code balanced between the two. The code won't fit into a ...
0
votes
0answers
22 views

Cant remove frame title completely

I am working on a project using Rstudio and am having some latex difficulty. Whenever I create a frame and dont put a title a tiny dot shows up on the screen. How can I disable the title/remove this? ...
13
votes
2answers
328 views

Vertically aligning minipages, subfigures, and subtables (not with baseline)

The goal My goal is to align side-by-side figures, tables, and text in minipages according to the top, middle and bottom of the largest such minipage. This makes it different (I believe) from the ...
1
vote
0answers
15 views

Right minipage goes outside of margin [duplicate]

I have two minipages side-by-side. However, the right one goes outside of the right margin even though I specify the correct widths. As a consequence, the text is no longer aligned on the right. Here ...
3
votes
1answer
57 views

configuring minipage in htlatex

I want to use minipage in htlatex, because I want to have a minipage with a figure, close to a minipage with some text, and then I want some other text that must be on a new line and full-width. I ...