{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
27 views

Lineup captions of figures horizontally

I got these three figures side-by-side. All of the figures are in different sizes and I got different number of lines of text in the caption for each of the figures. My problem is that I want all ...
1
vote
1answer
34 views

Minipage inside itemize, bullet point position

Sometimes I wish to include a small diagram next to the text which I could achieve by using two mini-page, one for the text, one for the diagram. However when I use it inside itemize, the bullet point ...
0
votes
0answers
12 views

Problem Splitting Very Long Algorithm on two or pages

In the example below, I have a very long algorithm, probably spanning 3 pages. I tried manually splitting the code up, but each time, a new algorithm number is generated. How do you maintain the ...
1
vote
0answers
30 views

How do I format my theorem environment to fit the itemize?

I study by making summaries of books, and, in order to prevent constructing a narrative, I use the itemize environment to break up chapters, sections and subsections into the essential information. ...
2
votes
0answers
34 views

Is there a way to control vertical spacing between minipage elements?

I have a large (7-chapter) document on linear algebra. In a part of the document where I do row/column operations, I have put the matrices in a figure within a minipage. I am getting a lot of vertical ...
2
votes
1answer
25 views

adjustwidth inside minipage produces overfull hboxes

I'm trying to typeset paragraphs with different margin widths inside a minipage. To do this I'm using an adjustwidth environment from the changepage package. This typesets fine, but (since my ...
1
vote
1answer
26 views

Three minipages next to eachother and aligned to top

I am trying to put 3 minipages right next to each other, but since the text for n=8 is so wide, it is going to the next line. How would I fix this so that they are all side by side, and they all align ...
2
votes
2answers
18 views

Minipage reset indent. How can i set again to standard?

I have the following code. \documentclass[a4paper, titlepage, 11pt]{article} \begin{document} \section{Introduzione all'astrofisica} \begin{minipage}{12cm} In astrofisica, differentemente ...
1
vote
2answers
38 views

minipage 6 figures avoid mixing figures horizontally

I looked deeply in here and I couldn't solve my problem. I have 6 figures which I want to separate each other with enough space for avoiding mix it. I have 2 figures, below another two and below ...
2
votes
2answers
26 views

Indentation and lacking space when using gb4e with minipages

The normal behavior of a gb4e example environment is seen in (1) in the MWE below. But when I want two examples side by side, using minipage, the example is indented, and there is no space before or ...
1
vote
2answers
30 views

Combining tables and figures with common subtitle

I am trying to obtain the following: Figure 1: Title (A) Panel A subtitle Figure on the left - Table on the right (B) Panel B subtitle Figure on the left - Table on the right (C) Panel C ...
4
votes
1answer
56 views

how can I center a tikzpicture?

I was looking for the way to center in the page the following tikzpicture (I am using Overleaf). However I cannot get it, It is shown moved to the right part... any ideas?? \documentclass{article} ...
0
votes
1answer
18 views

Create command to compare 2 items

I want to compare JSON and XML in a tabular minipage (not sure if this is right) I was able to make this whit this \begin{minipage}{0.2\textwidth} \begin{tabular}{c|c} \ac{JSON} & \ac{XML} ...
2
votes
0answers
34 views

How to control height of minipages, when using multiple rows

I'm using minipages to create a newcommand that allows me row entries in a CV, because I can't use the documentclass that would make this easier. Each set of minipages is one entry in the CV. The ...
0
votes
1answer
43 views

Position of minipage

I want to have the footnote of a table to right side of it so I used the minipage environment. For some reason, the footnote takes half of the space of the table instead of being entirely to the right ...
2
votes
2answers
41 views

Minipage are not at same height with textbox

while using minipage, in the second column there is a text box. When I've used fbox in the second column then the text of the first column goes downward so height not remained same for both sides. ...
2
votes
1answer
31 views

Aligning at top- Minipage

I referred the previous questions on aligning at the top when using a minipage. However, still could not solve the problem. I am guessing that there is some other problem in my code. The reduced ...
3
votes
1answer
27 views

Two tikz png's from matlab to tex in same figure gives grouping error 255

I've tried to create a figure in LaTeX for my MSc thesis using two separate tikz figures. The tikz figures were exported from MatLAB using the following command: matlab2tikz('tikz/figure.tikz', ...
4
votes
2answers
51 views

Newcommand inside foreach: multiple arguments and minipage environment

I am trying to define multiple, sophisticated newcommands within a foreach loop. This sounds so simple, but why is it so hard ? Naive attempt: \documentclass{report} \usepackage{tikz} \foreach \i ...
1
vote
2answers
36 views

reledmac and relepars packages : alternating normal typesetting and parallel typsetting in columns

I'm using the reledmac package to typeset a critical edition. I need to add numbers in margin inside a minipage environment, with two minipages placed side by side: \documentclass[a4paper, 12pt, ...
2
votes
2answers
29 views

overfull \hbox warning - two plots side-by-side

I am trying to create an environment for plotting two figures side-by-side: \begin{figure}[t] \begin{minipage}[b]{0.49\textwidth} \flushleft ...
0
votes
0answers
14 views

tufte: two tables on the same page

I have two tables which are about 40% of the page height. Both are related and should stay on the same page. Therefore I put both tables inside a minipage and made it floating. ...
1
vote
1answer
28 views

Give side by side minipages one (shared) caption instead of two

I have two lstlisting areas that are shown side by side by using two minipages: \noindent\begin{minipage}[t]{.43\textwidth} \begin{lstlisting}[...]{part1} // Code \end{lstlisting} ...
2
votes
2answers
37 views

Minipages do not always line-up while Boxedminipages do

Boxedminipages line-up as one would expect, whether filled with text or with a graphic, but minipages filled with a graphic line up disconcertedly. (Of course, a workaround is to use ...
0
votes
0answers
14 views

Minipages in a table - alignment issues

I am working on a table and I faced with alignment problems. how can I put more space around vertical headings and center them? how can I center minipages inside table cells? Here is my ...
1
vote
3answers
49 views

Table inside figure environment

I want two tables in the same line. I insert them using a figure environment and then minipages, inside each minipage I include one table. The trouble is that it doesn't allow me to include the ...
3
votes
1answer
50 views

Change Footnote Order/Numbering at Bottom of Page

I'm using LyX. I created a box/minipage and put a table in it, so as to allow footnotes in the table (see here: How to put notes under table in LYX). I am using manyfoot for footnotes and tried ...
3
votes
1answer
58 views

How to insert multiple images side by side in both columns of a two column document?

I have four images and i want to put them on top of the page side by side. I am writing on a two column document format. I drew the following picture to show how i want the pictures to look. I tried ...
3
votes
1answer
51 views

Managing spacing around \section inside a minipage with titlesec

I'm having some trouble getting proper padding around my section headers inside minipages. \documentclass{article} \usepackage[explicit]{titlesec} \newcommand\Vhrulefill{\leaders\hrule height 0.7ex ...
1
vote
1answer
49 views

Horizontal alignment in minipage

My CODE: \documentclass[12pt, letterpaper]{article} \usepackage[ a4paper,top=1in,bottom=1in,left=0.7in,right=0.7in,headheight=14.5pt,]{geometry} \usepackage[utf8]{inputenc} \usepackage[misc]{ifsym} ...
0
votes
1answer
26 views

Redefining and minipaging of standard environments in preamble

When integrating standard LaTeX output from a database or from software like pandoc, the actual content cannot be changed. To still be able to layout the document, it is important to have ...
1
vote
0answers
19 views

Overfull warning for a minipage

What is wrong with this code (I get an overfull \hbox warning in the line 5)? \documentclass[final]{scrreprt} \usepackage{graphicx} \usepackage{blindtext} \begin{document} ...
2
votes
1answer
33 views

problem with minipages

I would like to have two minipages in the same row. One of them has a picture. There is an error in the compilation. Can you correct the code? Thank you. \documentclass[addpoints]{exam} ...
1
vote
1answer
58 views

error using lstlisting inside minipage inside align*

I am trying to use a lstlisting environment inside a minipage, inside an align* (fromo amsmath)... However, lualatex throws an error. This is the minimum working examp \documentclass{article} ...
3
votes
2answers
41 views

minipage environment keep parskip

I've tried to create a new environment using minipage, which has the same vertical space between paragraphs as would be there when not using the minipage. What I have so far is: ...
1
vote
1answer
44 views

Some Extra Space in the beginning of second line

Refer what i have done so far. Question: Very simple question why there is some extra blank space in the starting of the second line indicated by red below arrows. I have already asked this question ...
2
votes
1answer
30 views

Blank space in Minipage

Code: \documentclass[12pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{makeidx} \usepackage{tkz-euclide} \usetkzobj{all} ...
3
votes
1answer
39 views

Two captions under four figures wrapped in minipages

I have four figures, and I'd like to have two captions centered under each group of two figures rather than one caption under all four figures (see image below). If I try inserting a caption after the ...
2
votes
1answer
43 views

Indentation in floating minipages

I'm writing a two-column document, and I want to add some floating text boxes. I can do this with minipage environments nested in a figure* environment. However, this breaks indentation: ...
1
vote
1answer
49 views

Large space on page after inserting tikz figures wrapped in minipage

I'm trying to insert four tikz figures inline with minipages, but there's an unexpected space between the figures and the title. This happens regardless of how many figures I put or how large the ...
3
votes
2answers
212 views

Force latex to put a figure and a table in the same page

I have tried both to use floating properties and static alignment to force latex to put a figure and a table next to each other with no success. Also, when I use \noindent\begin{minipage}{\linewidth} ...
5
votes
2answers
132 views

Minipage and multicols, vertical alignment

I want to create two columns next to each other. The left side contains a text in two columns using the multicol package. On the left side is some other content. I've tried minipage, but in ...
2
votes
0answers
48 views

How to fix figures on specific pages at bottom over page width?

I am layouting a program book (using book class and multicols{2}). I have a number of ads from sponsors that are not related to the text. They are pdfs. I need to bind them in at fix places ...
11
votes
5answers
872 views

Left and right aligned on same line

I am currently busy typesetting my thesis in LaTeX, but I am stuck on something with my cover/title page. At the bottom of the page, I need to type my name and my supervisor's name. This is a rough ...
0
votes
0answers
34 views

How to change geometry and remove page number from page containing one large figure only without automatically inserted blank page?

I want to have a large figure with its label at the very end of the previous page. The figure is very large so I want to set top margin to 0 and remove page number from the page with figure. Figures ...
2
votes
2answers
62 views

Figure caption appears on the side instead below

I am using beamer class to make a presentaation. I am using minipage to get 4 figures in 2 by 2 arrangement. When I give captions to the figures 2 problems arise: The caption starts right from the ...
2
votes
0answers
31 views

Text and Figure side by side inside a minipage?

I have a two column CV. I made the columns using minipage. In the second minipage (second column), I want my picture and some info in two columns. How do I do this? This is the relevant section of ...
2
votes
3answers
123 views

How to make fbox around minipage fit the whole minipage inside it?

I have long equation, Ax=b that I want to put a frame around. I can't use mdframed since I need to also compile this with tex4ht, which still does not support mdframed. So I use this trick setup: ...
2
votes
2answers
35 views

Minipages parallel with included image

Bonjour! I created two columns with information using \itemize in two different \minipage environments. Now I want to include an image parallel to these two 'columns'. I tried to include the ...
4
votes
1answer
37 views

Aligning minipages with new margins

I've extended the page margins using geometry, but when I create a minipage for my headings the right aligned minipage aligns with the original margin. How can I make it so that it aligns with the ...