Questions tagged [minipage]
{minipage} is an environment providing a paragraph box which is a complete mini version of a page.
1,557
questions
1
vote
1
answer
25
views
Minipage Text and Figure Alignment
I am trying to align some text and a figure (pgfplots) together. I looked through some threads and found a nice package adjustbox which aligned the text and figure. However, by my example, the text ...
0
votes
1
answer
30
views
How to place six subfigures in 2 columns x 3 rows form, where column first shall be considered instead of row first
I have been struggling to place 6 subfigures in 2 columns and 3 rows, where the subfigures should be stacked in column first (one main caption) -- see illustration below.
In the following question, ...
0
votes
1
answer
46
views
How to add a separate caption for each sub-figure?
How can I have a single caption above both figures, with two separate distinct captions above each?
I also want to make it count as two figures and not as a single one as it is right now.
\begin{...
0
votes
1
answer
28
views
Wrapfig after subsection near page break
I know wrapfig has problems with images near the bottom of the page, but I want to know if there is a solution (even with a different package, for example with minipages). This is my MWE:
\...
0
votes
0
answers
55
views
How to make content fill the height of two column tcolorbox
I have a two column tcolorbox and I am trying to make the content in the right column vertically expand to have similar height with the content of the left column. I tried adding \par\vfill or \par\...
1
vote
2
answers
57
views
Graphics Alignment
I have compiled this code but the right part is somewhat messy. I would like the two graphs on the right to be aligned (centered) one below the other, but I have not been able to do so. Any idea to ...
1
vote
2
answers
82
views
Formatting chemistry reaction
This is a draft of the reaction I would like to draw
\documentclass[12pt]{article}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage[full]{textcomp}
\usepackage[greek,italian]{babel}
\...
0
votes
1
answer
53
views
How to place tables side-by-side by using "\minipage"?
I hope my final table to be like:
| SUBTBL1 | SUBTBL2 |
| SUBTBL3 | SUBTBL4 |
and it is, but part of the table overlaps with the text, what should i do?
Here is my preamble :
\documentclass[...
0
votes
1
answer
15
views
Increase minipage indentation inside titlepage
I am having some trouble with minipages: I would like to have two minipages side-by-side, to get an output ressembling that of the linked image.
The supervisors and reading committee columns are not ...
0
votes
0
answers
27
views
Automatically detect overrunning minipage
What is the best way to detect whether the content of a minipage runs over the right boundary of that minipage?
I do not want to detect it visually, but have an automatic check whether this happens.
0
votes
1
answer
36
views
Paracol/minipage caption problems
I am trying to have two images side by side, each should have its own caption and numbering. I tried to approach this with paracol and minipage. Both of them seem to have its own flaws. The code is as ...
0
votes
1
answer
32
views
Problem with spacing for 6 tables in minipage
I am having problems with the right alignment of the 6 tables I have in my minipage. I tried reducing the space between the tables with \vspace{-x}, but this does not work everywhere. The tables that ...
0
votes
0
answers
30
views
2 column on different languages
How can I make a text in 2 column but in different languages. I need a left column on page in English and right in Russian, the text is quite big (not one page). If I'm using
\begin{minipage}{0.4\...
0
votes
1
answer
32
views
Adjusting position of minipage
I have been trying to include some tike-diagrams into my pdf using \includepdf{...} of standalone outputs. However, when I do that it makes an entirely new page with the diagram. So I tried using the ...
0
votes
1
answer
47
views
adjustbox for 'Overfull \hbox LaTeX' with subfloat and minipage
I am trying to put two figures (separately stored in two .pdf files) vertically in a one-column style. \subfigure is not allowed, and below is my code:
\documentclass{article}
\usepackage{subfig}
\...
1
vote
1
answer
45
views
How to horizontally align text in text in wrapfig environment with surrounding text?
My code is:
\documentclass{article}
\usepackage[table]{xcolor}
\definecolor{background}{rgb}{1,0.62502,0}
\usepackage{wrapfig}
\setlength\intextsep{0pt}
\usepackage{lipsum}
\begin{document}
\lipsum[...
0
votes
0
answers
22
views
How to use tabular with minipages in it that can continue to the next page and not take the whole page?
Let's say you want to have two unequal column-like division in your text for a section, and each section separately. Each section look like the following (it does not mean \section).
\begin{tabular}{p{...
0
votes
1
answer
40
views
Why can't I remove the [] in the "\caption[]{afsda\footnote{123}}"?
I search for a way to insert footnote in a caption and I do it:
\documentclass{article}
\usepackage{threeparttable}
\usepackage{graphicx}
\begin{document}
\begin{figure}[h]
\begin{minipage}{0....
0
votes
1
answer
39
views
How can I automatically force two side by side floats of any kind (including texts) to have (approximately) the same height?
I often put two floats side by side using the minipage environment: it can be two texts (typically excerpts from books or press articles), two pictures (a map, a photography or a chart) or one of each ...
1
vote
0
answers
52
views
Minipage overflowing the page, margins and paddings calculations
I want a page divided in 4 ideal columns, each column with a picture and some text; the text should be aligned on the left, the tikz figure on top should be centered.
That's what I did so far
\...
0
votes
0
answers
27
views
Two vertical aligned minipages are horizontally shifted
I want to align two listings next to each other using minipages. Unfortuanately the right minipage is shifted a little bit to the bottom. What's the problem here?
\documentclass[11pt,fleqn,a4paper,...
1
vote
0
answers
29
views
How to pause side-by-side figures with their position fixed in beamer?
I am trying to pause figures in the beamer.
Basically, I am using minipage to make figures side by side.
I want to use pause so that I can show the first figure and then the second.
Below is the ...
0
votes
1
answer
38
views
\Minipage not working and how to use it effectively?
Creating a question paper, just need some ideas on how can I make the hint of Question 2 appear parallelly under the question something like split into exact half [Img. attached for ref.], not every ...
0
votes
1
answer
20
views
Two sections of text with different fonts, aligned at the top
I am trying to have some text in the top-left corner and some text in the top-right corner. My current implementation is almost exactly what I want. Almost.
\usepackage{fontawesome5} % For faIcon
\...
1
vote
0
answers
17
views
unable to cite figure in overlaef iEEE format [duplicate]
\begin{figure*}
\begin{minipage}[t]{.47\linewidth}
\includegraphics[width=\linewidth]{Cl.png}%
\caption{ccccccccccc}%
\label{Fig3:5dddd}
\end{minipage}\hfil
\begin{minipage}[t]{.4\...
0
votes
0
answers
28
views
how to enlarge figures in latex /overleaf
I have tried this code to print 3 figures in a row in IEEE format. However, the figures have a lot of space between one another .. and the figures are too small ho can I enlarge the figures and reduce ...
0
votes
1
answer
31
views
Align tikzfigure left
I am creating a frame in beamer with two minipages, one of whom has a tikzpicture and the other bullet points. I'd love the Tikzfigure to be left aligned below the heading, but the other questions I'...
0
votes
1
answer
37
views
Minipages with tilted text vertical middle
I want to make a plot as follows:
I'm planning to use minipages. However, I don't know how I can include tilted text (as on the left) and how to make it be vertically algined to the middle of the ...
0
votes
3
answers
47
views
Why RaggedRight and RaggedLeft don't work inside a box in this case?
I'm trying to align the minipage with the supervisor information on the left, and the minipage with the candidate information on the right. But the \RaggedRight and \RaggedLeft commands seem to have ...
2
votes
4
answers
113
views
Want to align figures
So I will try to make it as concise as possible.
This is what my code looks like
\begin{figure}[ht]
\centering
\begin{minipage}{.5\textwidth}
\begin{center}
\centering
\includegraphics[width=7cm]{II....
0
votes
1
answer
35
views
How to allow pagebreak with minipage or a code block?
I want to a code block (with two columns) can continue to bottom the empty of the frist page, and last to the top of next page, how to ?
The code block with two columns, I rendered with minipage, but ...
2
votes
1
answer
74
views
2 column abstract and title in 3 column document in multicol environment
Possible duplicate statement: I am aware that this question was asked 9 years ago but the answer would not compile in my main document, the package flowfram may be outdated and my question also ...
0
votes
0
answers
40
views
How can I make the minipages align to the top?
I have this structure, on the left side two tables and on the right side one table.
\documentclass{article}
\usepackage[T1]{fontenc}
\begin{document}
\center
\begin{minipage}[t]{4cm}
\...
0
votes
1
answer
44
views
How to create a box around text and formulas via tikz and minipages, but it doesn't break over pages
I'd like to create a box \mybox with tikz, to highlight environments, mathematical
formulas etc. Below is a MWE based on minipage (to have the flexibility to put
pretty much anything in the box). It ...
0
votes
0
answers
61
views
Should I use minipages to re-create this document in LaTeX?
I would like to re-create this document in LaTeX and I was wondering how to proceed. Should I create two minipages, one for the left (45%) and the other for the right (45%)? 10% spacing between them, ...
1
vote
1
answer
47
views
For cycle to build a table inserting figure
I'm trying to build a two column table in which minipage environment is used. In \xdef block i can't use "minipage" but i can, instead, in \gdef.
My purpose will be to build double table ...
1
vote
1
answer
41
views
How to get the height of a minipage right?
I am trying to get the height of a minipage by using a box. I have found several threads where they solve it this way. However, if I use the height to draw a vertical line (the vertical line is just ...
2
votes
1
answer
51
views
How to draw tikz figures side by side, while using a loop?
Right now I have some code like this:
\begin{minipage}{1cm}
\begin{tikzpicture}
\draw plot[domain=0:2,rotate=-90] (\x, {
(sin(pi*\x r)* sin(pi*\x r) +
sin(pi/2*\x r)*sin(pi/2*\x r) +
2*...
2
votes
3
answers
118
views
(Vertical) Alignment of caption when placing two tables beside each other
I followed the approach outlined in this answer to place two tables (and also figures and tables) beside each other.
Unfortunately if the height of one of the two floats is greater than the other one ...
0
votes
2
answers
49
views
How do I place an image in a "tcolorbox" with overhang?
I am currently trying to position an image next to a formatted text inside a "tcolorbox".
My idea is that the image should protrude above and below this box.
I have already tried it with ...
-1
votes
1
answer
35
views
How to create a multicolumn command with parameters?
Trying to create a new command called mcqimg with parameters like \mcqfour with image on the left and options on the right using multicolumn but it didn't work properly. [reference: img1]. Any ...
4
votes
2
answers
203
views
How to force words that start with an italic uppercase letter "W" to be better aligned agaist left-hand edge of minipage
Is it my eyes or has anyone else noticed that the left justification of an italic W in a minipage environment does not appear to be as "flush" as other left justified letters?
Consider, for ...
5
votes
3
answers
274
views
How to align minipages on the top
Problem
I am trying to align minipages on the top but to no avail, I thought that the [t] option is exactly meant for that, but apparently not. The [c] option seems to work better, except for the ...
0
votes
0
answers
33
views
Compile a page twice, one normal and one mirrored
There is a package that compiles every page with a vertical mirrored page, like in the images?
Original one:
Intended one:
\documentclass{article}
\usepackage[utf8]{inputenc}
\begin{document}
\...
2
votes
2
answers
63
views
A Minipage Environment Where the Content is Left-Right Justified Except for the Last Line Which is Flushright
Consider the code
\documentclass{book}
\begin{document}
\thispagestyle{empty}
\Large
\begin{center}
\begin{minipage}{5.75in}\leftskip\fill\rightskip-\leftskip\parfillskip\stretch{2}%
\textbf{``The ...
1
vote
2
answers
43
views
How to Automatically Center the Last Line of the Contents of a Minipage for Every Minipage in a Document
Consider the following code:
\documentclass{book}
\usepackage{lipsum}
\begin{document}
\thispagestyle{empty}
\Large
\begin{center}
\begin{minipage}{5.65in} %\leftskip\fill\rightskip-\leftskip\...
2
votes
2
answers
38
views
Spreading text over two minipage/tcolorbox environments, over two different pages
I would like to define two minipage (or tcolorbox, I don't have much constraint there) environments, on two different pages, that I would like to fill with some text, and I would like LaTeX to spread ...
1
vote
1
answer
30
views
Text and Image Alignment Issue Minipage Environment
I have been looking on the exchange to solve this issue and without much success. I am using trial and error to align my figure and text and can't get them to be the same height.
\documentclass[11pt]{...
1
vote
3
answers
58
views
Minipage-Enumerate combination problems
I have been trying to split the page to save space to make it look more appealing.
This is the code I came up with:
\subsection*{Services:}
\begin{enumerate}
\begin{minipage}{0.45\textwidth}
\...
0
votes
0
answers
38
views
Splitting a pages in two
How can I make two columns on every page without using minipage.
IF I reach the end of Col.1.pg.1, THEN go to the top of Col.2.pg.1.
IF I reach the end of Col.2.pg.1, THEN go to the top of Col.1.pg.2.
...