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

learn more… | top users | synonyms

50
votes
4answers
24k views

\parbox vs. minipage: Differences in applicability

Lamport, LaTeX: A document preparation system, states on p. 104: There are two ways to make a parbox at a given point in the text: with the \parbox command and the minipage environment. They can ...
0
votes
0answers
19 views

minipage with .eps overlaps text

I have a problem with including three .eps images next to each other into a shareLatex document. They slide upwards and overlap with the text for some reason. If I use .png, it works, also when I only ...
1
vote
0answers
22 views

“Trimmed” minipage at the end of a column instead of alternate placement

I have a 4-column document and what I observed is that when a minipage doesn't fit in the column, then it is "trimmed" instead of being placed in the next column automatically. I thought that when an ...
3
votes
1answer
34 views

Adding axes labels to LaTeX figures

I have almost managed, With this code: \begin{figure}[htb] \hspace*{-5cm} \begin{minipage}{0.5cm} \rotatebox{90}{\textcolor{red}{$y$-axis label}} \end{minipage}% \begin{minipage}{\dimexpr\linewidth-...
2
votes
1answer
32 views

Only allow pagebreak between lefthand and righthand page in double sided document

I'm working on a songbook, using the class scrbook. Every song is a single file imported using \input. I'm using \enumerate for the verses and refrain. At the moment, I put the whole song in a ...
10
votes
1answer
197 views

Using tikzlibrary calligraphy for braces with a minipage

I wanted to put a brace from the excellent TikZ library calligraphy on one side of a minipage. I can't get it to work: \documentclass{article} \usepackage{xcolor} \usepackage{tikz} \usetikzlibrary{...
4
votes
1answer
50 views

Command like \item in different environment

I already have the command \newcommand{\atarget}[1]{ \noindent\begin{minipage}[l][0.49\textheight][t]{\textwidth} \begin{enumerate}[label=\thetarget. \raisebox{3 pt}{\ul{\hbox{\hspace{1 in}}}}, ...
1
vote
1answer
33 views

Mesh arrow following the circuit. How? Bad minipage placement. How to fix?

I don't know ii there a similar question (I didn't found anything). If so, please forgive me. Also sorry my incorrect english. To the question. Here is my code: \documentclass{scrartcl} \usepackage[...
4
votes
3answers
111 views

Centering Two Tables side by side

I would like to present two tables side by side, however the positioning is not as I would like: How can I center the captions below the tables and center both tables on the page? Compiling ...
4
votes
2answers
86 views

How to stack two subtables next to a third subtable?

Same as described in this question How to stack two subfigures next to a third subfigure?, this time is the opposite and with tables. Instead of this | SUBTBL1 | SUBTBL3 | | SUBTBL2 | SUBTBL3 | ...
3
votes
1answer
57 views

Unexpected change in pagination when 'no' change in contents, using `boxedmini2e`

I am using the package boxedminipage2e to produce several framed boxes with some text inside. Because these boxes have a fixed height and width, I am expecting that whether or not these boxes contain ...
3
votes
1answer
38 views

Writing a word across the slide

I wish to represent Sparsity across the screen as in the example given below:. Here, is the frame so far: \frame{ \frametitle{What is a word?} \begin{minipage}[c]{.4\linewidth} \hspace{20mm} `...
1
vote
0answers
16 views

Placing parts of circuit (capacitor…) relative to each other. Using names of circuits parts to place mesh arrows “intuitively” with “controls”

This question is continuous my another. Because of my reputation I can't add comments to answers. So I use the chance to thank John Kormylo for his answer to my initial question. Also sorry for my ...
2
votes
1answer
45 views

text alignment with a picture horizontally

I am new to LaTeX and I am working with ShareLaTex. I started writing my Thesis for the University and I want to put some text alligned with the the top of the picture and with a space between the ...
3
votes
1answer
45 views

horizontally centered text in minipage

I have a problem with the horizontal align of the text within a minipage environment. Below is my code. \documentclass[12pt,paper=a4,answers, addpoints]{exam} \usepackage{graphicx,lastpage} \...
2
votes
2answers
40 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 ...
2
votes
1answer
47 views

Text boxes that cover several pages

I am trying to faithfully reproduce the first section of the standard UK Police Witness Statement Form, known as an MG11. I am having difficulties lining up the boxes for the front page with the box ...
2
votes
1answer
34 views

Align two sections titles

I have recently started learning latex, and i have the following latex code with two minipages, and two sections in the first section i added two images, then i added an other minipage and a section ...
2
votes
2answers
46 views

Two figure colums side by side, subfigure aligment issues

I want to create two colums of figures according to the following MWE. My solution is inspired by: How can I vertically align two minipages with subfigures and differing caption length? I have to ...
1
vote
1answer
57 views

Plots are too small with two minipages

I have two plots, each one in a minipage, so they could be side by side. The left plot is significantly smaller than I would like it to be. How can I fix it? \begin{frame}[t,fragile]{CI construction -...
0
votes
1answer
30 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
1answer
33 views

Minipages with figure and tables side by side: Alignment of captions

I want to place a figure next to a table. To do so, I use the minipage environment. Here's the MWE: \documentclass{article} \usepackage{caption} \begin{document} {\centering \begin{minipage}[t]{0....
2
votes
1answer
48 views

Resize or scale displaymath environment

I would like to resize the two schemes I made with the displaymath environment. However, I cannot find anything helpful. I'd like to fit both schemes into one page. My code is the following: \...
3
votes
1answer
71 views

How can I create this layout?

In my thesis, I need to include the descriptions of 79 items in the appendix. Each description takes about half a page, and includes a picture. I want to always have two of these per page, and have ...
4
votes
1answer
41 views

How to edit proof environment or minipage

Im actually working at my faculty as assistant teacher, and I like to write in latex everything we do in classes, so I use the following format: \fcolorbox{white}{light-gray}{\begin{minipage}{18cm} ...
1
vote
0answers
26 views

How to align two figure that are next to each other [duplicate]

Here is my latex code both picture has same resolution and size but i dont know why alignment is not right. \begin{figure}[H] \centering \begin{minipage}[b]{0.45\textwidth} \includegraphics[...
2
votes
1answer
23 views

question on multicols width and minipages difference in section vs. main document

I am trying to split a page into 2 halfs, using 2 minipages side by side. So I made the following construct \begin{multicols}{2} \begin{minipage}[t]{0.45\textwidth} stuff here \end{minipage} % \...
0
votes
1answer
29 views

how to move a rotated of 90 deg text on the left bottom corner of the page?

I would like the text on the bottom left corner of the page. Instead, the text is on the top side of the page. I am trying to move it down, I deleted \centering and I tried also other options I set \...
2
votes
1answer
19 views

Horizontally align minipages from different boxes

I have defined the following command: \newcommand{\listOfYears}[3]{ \mbox{ \begin{minipage}{0.08\textwidth} #1 \end{minipage} \begin{minipage}{0.30\textwidth} ...
3
votes
1answer
47 views

Two columns with different background color and height of whole page

I want to create page with two columns with different background color and height of whole page. What I was able to do is two columns with different background color but I can't set proper height and ...
8
votes
2answers
124 views

Make \par work inside command arguments

I have a problem, which I think can not be solved, except for workarounds. I want to pre-define pages and insert them later into the document. The problem is, that \par (if used in the pre-defined ...
1
vote
1answer
65 views

Making frontpage template

I have made a front page in LaTeX, and I am happy with how it looks right now. However, I would like to optimize my code such that all I need is to change the text each time. More specifically, I ...
1
vote
1answer
31 views

How to change the interlineate within a parbox environment?

I'm using a parbox within a tabular environment. \begin{tabular}{|c|c|c|c|c|c|r|r|} \hline {\bf Ensayo} & {\bf 1} & {\bf 2} & {\bf 3} & {\bf 4} & {\bf 5} &...
1
vote
1answer
31 views

Article class letterhead with logo on first page and different margins on second page

I've been struggling with this for a couple of days. I can't find a good solution for making this letterhead. I want to have the text justified as on the guidelines, but only on the first page: So it ...
2
votes
2answers
46 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 \psfragfig[frame,...
1
vote
1answer
19 views

How to fix vertical alignment of a minipage with a wrapfigure inside

In this example \documentclass{article} \usepackage{graphicx} \usepackage{lipsum} \usepackage{wrapfig} \begin{document} foo \begin{minipage}[t]{.9\linewidth} \lipsum[1] \...
0
votes
1answer
43 views

“! Misplaced \noalign. \hline ->\noalign” error while adding 3rd row in tabulary

I'm preparing a business strategy report which has been divided into multiple tex files. One section is about competitor analysis, and I would like to make it with a table. The declarations in main....
3
votes
1answer
27 views

How can I align a minipage of text to a minipage of figure?

I'm writing a poster so I'm using a two column structure. On the left column I want to have some text side-by-side with a figure. For that I use two minipages that one contains the text and the other -...
1
vote
1answer
45 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} \end{minipage}\...
0
votes
1answer
21 views

Overfull \hbox with minipage and \usepackage[parfill]{parskip}

The following MWE produces the warning Overfull \hbox (30.0pt too wide) in paragraph at lines 6--12. \documentclass{article} \usepackage[parfill]{parskip} \begin{document} \begin{minipage}{0.5\...
0
votes
2answers
36 views

Alignment on two minipage

I want to align the equations in the following example. Due to the class it uses which I am not sure I am allowed to upload due to copyright issues (its a class subject to copyright by Wiley), I would ...
3
votes
2answers
55 views

Minipage for table in IEEE not extending to full coloumn

I am using a minipage to contain a table in the IEEE class. The problem is that the table does not extend to the whole column and somewhat appears short. Here is a reproducible example: \...
0
votes
3answers
56 views

Text side-by-side latex beamer

\begin{frame}{Workload Categorization} Benchmark suites:\hspace{4cm}64bit architectures: \begin{itemize} \item 22 SPECcpu2006\hspace{3.5cm} Intel SandyBridge \item 11 SPLASH2x\hspace{4.1cm} ...
11
votes
0answers
160 views

Should \minipage restore the default definition of \@par?

I came across the issue hinted at in the title while I was reflecting on this question (“Irregular spacing around a user-defined environment”) and its answer. The \@endparenv command is called by ...
3
votes
2answers
31 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 of ...
1
vote
1answer
88 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
1answer
48 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 ...
1
vote
0answers
39 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
46 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 ...
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? ...