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

learn more… | top users | synonyms

1
vote
1answer
32 views

Aligning three figures next to each other based on text width

Problem: I am trying to align three figures next to each other with text centered to each figure. This is going well until the box for the third box does not adjust after the text width. Minimal ...
0
votes
2answers
49 views

Minipages and spacing between \paragraph

I am using \paragraph inside a minipage. Don't know why, but the usual space above \paragraph does not appear. Then I have a small minipage in the \paragraph. Now spacing between \paragraph is ...
5
votes
1answer
41 views

List spacing is different inside and outside of minipage

I'm preparing an exam and I want an illustration next to a multiple-choice problem. Usually for this purpose I put the question and/or choices in a multicols environment; however for this particular ...
5
votes
0answers
68 views

put \item's in minipage

Is it possible to have an enumerate- or description-like environment, with \item redefined in such a way so that each \item puts its content inside a minipage? Ideally, including the item number/title ...
8
votes
1answer
75 views

minipage with verbatim package doesn't compile

This is my code: \usepackage{verbatim} \newenvironment{listing} {\begin{minipage}{\linewidth}\verbatim} {\endverbatim\end{minipage}} However, it doesn't compile: Runaway argument? ! File ended ...
1
vote
1answer
27 views

vertical alignment of minipages in two columns in a longtable

I began to learn latex and I use it to prepare a CV. I made good experiences by organizing my CV with a longtable, in order to define the widths and the alignments of the different text blocks. In my ...
0
votes
0answers
29 views

Predefining placement of figures and tables in custom package

I am trying to define figures in a new custom package using \newenvironment{name}{begin defs}{end defs} and minipage command (code is given below). if i create a \newcommand{\name}{defs} (named as ...
3
votes
1answer
75 views

How to place two figures next to each other and centered

How can I position two graphs next to each other so that it looks good? For putting two figures next to each other I found the solution below in another question around here, however, I would like ...
3
votes
2answers
59 views

Reprint page but smaller

Here's an uncommon request. Let's say I have a page, page A. It's x in * y in. On another page, page B, I'd like to shrink the page to say half size (0.5 x in * 0.5 y in), to be used as a ...
3
votes
1answer
37 views

Odd behavior after minipage environment

I have this code where, for demonstrative purposes, I have drawn in red lines at integer values of \baselineskip and framed the minipages: \documentclass{article} \usepackage{calc} \usepackage[margin ...
3
votes
1answer
26 views

Height of text in minipage - columns not parallel

I’m using minipage for the design of my thesis’ titlepage. I have two columns and the problem I see there is, the texts in both are not at the same height. \begin{minipage}{0.4\textwidth} By:\\ ...
1
vote
1answer
45 views

Using minipage in two page layout

Here I am making a two page news letter. I am facing some issues with minipage. Here is the code snippet From above if I remove comments line 60, 61, then every thing is aligned. What is going wrong ...
2
votes
1answer
35 views

Multicolumn spacing issue with moderncv

Just trying to have 2 columns spaced a bit. I use a minipage to do it, and it seems I have some space left. For example, I can add words to my right title, and it's still good with columns ratio ...
2
votes
1answer
35 views

Frame with padding/margins (without using mdframed)

I'm wondering how to add paddings in a frame (as you can see, left and right paddings are the same, but not the same as top and bottom paddings). I know it can be done using mdframed, but sometimes, ...
1
vote
1answer
31 views

Text on one side and figure on the other side of A3 paper

For now, I have two minipages in a minipage on a A3 page, and the text should be on the left in normal height and the figure to the right (which works). I have a problem with the text in a minipage ...
1
vote
1answer
17 views

Width of minipages inside enumerate environments [duplicate]

How can I determine the available width inside an enumerate environment? In particular, what width argument can I pass to the minipages in the example below so that the minipages take up all of the ...
1
vote
1answer
47 views

Minipages across page breaks

I have defined a command that uses the minipage environment to format an "example" question within my document. \newcounter{Example} \newcommand{\example}[3]{% \refstepcounter{Example} ...
1
vote
2answers
47 views

Positioning a figure inside a figure environment

I have a tricky problem: Imagine two graphs in a figure environment and each in a minipage so that each graph gets half of the textlength. Now I realised that I need to put on the right side of each ...
0
votes
1answer
35 views

Automatically adjust height of `\tikzpicture` to match height of `minipage` environment

Is there a way to scale the tikzpicture so that the two minipage environments have the same height? Code: \documentclass[8pt]{article} \usepackage{tikz} \begin{document} ...
0
votes
0answers
25 views

included pdfs won't rotate using pdflscape

As far as I know pdflscape is able to rotate pages* horizontally if you use the landscape option. However, this won't work with included pdfs for me. Is there a syntax I have overseen? turn=false ...
0
votes
0answers
9 views

Minipages missing pagenumbering and no rotation [duplicate]

I am able to include pdfs within my document. However, the page numbering isn't shown. I clear the whole headers/footers and start counting in Roman for my appendix. The page number is only shown on ...
1
vote
0answers
16 views

Acmsmall and referencing subfloats [duplicate]

This question is following almost directly this one : acmsmall and subfigures I managed to insert subfigures using minipage but I'm now wondering how I can refer to these subfigures. My MWE: ...
2
votes
1answer
23 views

Turn off floats temporally

I have written a command which puts content into a minipage to measures its height. It uses this information to insert "intelligent" pagebreaks, newpages, clearpages and warnings. To do the ...
2
votes
2answers
49 views

How do I draw a horizontal line without adding space

I divided my latex page into 3 using minipage. \documentclass[a4paper,12pt]{article} \usepackage[left=2cm,right=2cm,top=0cm,bottom=0cm]{geometry} \usepackage{lipsum} \setlength\parindent{0pt} ...
0
votes
1answer
25 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
100 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
45 views

Wrapping tables with minipages?

Say I have the following table: \documentclass{report} \usepackage[intlimits]{amsmath} \usepackage{floatflt} \usepackage{caption} \usepackage{listliketab} \usepackage{booktabs} ...
1
vote
1answer
80 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} ...
1
vote
2answers
37 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
59 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
45 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 ...
3
votes
2answers
51 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
75 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
37 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
43 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
50 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
64 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
33 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
74 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
57 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
53 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
96 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
51 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
58 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
78 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
32 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} ...
1
vote
0answers
95 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
54 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
165 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
112 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} ...