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

learn more… | top users | synonyms

3
votes
2answers
130 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
274 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
76 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
111 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
79 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 ...
2
votes
1answer
234 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 ...
0
votes
1answer
63 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 ...
6
votes
1answer
96 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} ...
3
votes
1answer
162 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
94 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 ...
4
votes
1answer
295 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
58 views

Two minipages side-by-side [duplicate]

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
175 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 ...
3
votes
1answer
195 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
47 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} ...
2
votes
0answers
207 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
1answer
120 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
309 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
301 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} ...
4
votes
2answers
212 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 ...
3
votes
1answer
129 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 ...
2
votes
2answers
141 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} ...
1
vote
1answer
847 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
301 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
169 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
58 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
25 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
210 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
166 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
87 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
435 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
405 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
36 views

Can't remove frame title completely

I am working on a project using Rstudio and am having some latex difficulty. Whenever I create a frame and don't put a title a tiny dot shows up on the screen. How can I disable the title/remove this? ...
14
votes
2answers
722 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 ...
3
votes
1answer
127 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 ...
4
votes
3answers
144 views

create environment that resizes content

I want to create an environment that puts its content within a minipage as wide as the current page. The environment would work as follows: \begin{FitToWidth} HELLO \end{FitToWidth} and produce a ...
3
votes
1answer
111 views

listing in minipage sucks content of previous page to the bottom

I'm working on a document that contains many listings (namely code samples) but not a lot of text. Most of these listings are only a couple of lines long, and a few span multiple pages. At the end of ...
4
votes
2answers
204 views

How to center 2 boxes with minipage side by side inside shadowbox

I have two boxes with minipage side by side with different height inside of \fbox, and they are centered each other \documentclass{article} \usepackage{fancybox} \begin{document} \noindent ...
2
votes
1answer
122 views

minipage 15.0pt too wide

Sometimes I have two (or more) figure environments which I want to layout on one page, and put a horizontal rule in the center. To acomplish this, I put a \vfill\hrule\vfill between the two ...
2
votes
1answer
108 views

Breaking minipages over multicols

I'm currently trying to break my two minipage's over two multicols columns, but for some reason, my \break is pushing my minipage to the next page, instead of the next column. Here is my code: ...
1
vote
1answer
91 views

Help me in aligning

\documentclass[]{exam} \usepackage{amsmath,amsthm,amsfonts,amssymb,dsfont,tikz,mwe,caption,float} \usepackage{pgf,tikz} \usepgflibrary{arrows} \begin{document} \begin{questions} ...
2
votes
1answer
97 views

Autoscale to fit images between paragraphs

Does anyone know to to place an image to fill up a space between paragraphs? My situation is that I have two minipages that must fall on the same page, but they dont take up all the space. Right now ...
4
votes
2answers
220 views

remove blank space before text under figure when using sidecaption and memoir class

As you can see, when using sidecaption in memoir class, the text in the margin control the text position under the tabulate. Is it possible to remove all this blankspace under the tabular ...
3
votes
2answers
118 views

How do I align the caption of these two pictures in my minipage at same `height´?

It might be a silly question, but it is bothering me that I cannot fix it at the moment. \medskip \begin{figure}[h] \begin{minipage}{.3\textwidth} \centering ...
0
votes
0answers
523 views

Larger picture in minipage, [scale=..] not effective

I try to make the last picture in this minipage larger with the [scale=..] code, but it is not working. I hope it does not have to do with the original view of the picture, so it can be fixed using a ...
4
votes
3answers
142 views

center an image in a custom minipage

Sorry for my broken language, I'm a Frenchy ! I have to create a page template for a personal project : a box without margins in the 72% of the page, aligned to the top which contains a big image ...
1
vote
0answers
96 views

Figures in Minipage to avoid multiple pdf's warning, now labels aren't working

I'm trying to include svg graphics in combination with the respective .pdf_txt within my bachelor thesis. So far that works but it triggers the Warning : 'multiple pdf's in a page group'. That Warning ...
4
votes
3answers
1k views

Align bullet points in two side-by-side itemized lists

I'm trying to create two side-by-side bullet point lists in a document, where each point lines up with the corresponding point in the other list, even when one of the points has multiple lines. So ...
4
votes
2answers
559 views

Dividing a page into independent parts/columns with different widths

I want to divide my page (A4 landscape) into different parts. The top should consist of four columns with different widths and no rule. For this I used vwcol but I could not figure out how to do a ...
4
votes
2answers
102 views

Is it posssible to embed list items `\item` in `NewEnviron` environments?

Question Is it possible to keep the \item commands in the body and wrap the itemize list environment with \NewEnviron from the environ package? I am also trying to wrap the list inside a TikZ node, ...