Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [minipage]

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

0
votes
0answers
14 views

How do I make the page break occur in the following document, with \minipage and \tcolorbox

\documentclass[11pt]{book} \usepackage[top=1cm, bottom=1cm, lmargin=3cm, rmargin=1cm]{geometry} \usepackage[english,spanish]{babel} \usepackage[...
0
votes
0answers
16 views

how to declare image,title,author,affiliation details in table format in twocolumn article document

currently am using minipage to bring side by side contents in title page. Is it possible to define this in tabular column format \begin{minipage}[m]{3cm} \vspace{0.1cm} \fbox{\includegraphics[width=1....
2
votes
4answers
35 views

How can I align minipages by their absolute top, rather than their uppermost baseline?

I have two minipages side-by-side, and one is of a larger font size than the other – this is to produce a title. However, the baselines of the minipages are aligned, and not the top. I would prefer ...
3
votes
2answers
110 views

Parts of mini page are not placed properly

Question: Right now i am working in mini page, the problem is components of mini page are not placed at good place. I want to reduce the space between them and both start from the same line from top (...
0
votes
1answer
22 views

Footnote in minipage switches from numbers to letters

Using \footnotemark in a minipage with \footnotetext uses numbers to mark the footnote and letters to label the foot note text. \documentclass{article} \begin{document} \begin{minipage}{\textwidth} ...
2
votes
1answer
33 views

How to customize the margins of minipages in a beamer frame?

I use inmargin for innertheme but sometimes I would like to write two column contents where a certain text extends from the very left to the very right of the page. However, I am still not sure how to ...
2
votes
1answer
58 views

Format picture and text with TikZ and minipage

I want to format the upper part of my CV, but I have encountered two problems: I want to format the picture to be perfectly round and make sure the whole picture is within the frame. However, when I ...
4
votes
1answer
38 views

Bad alignment with minipages, enumerate and doclicense

I've noticed that the content of the minipage environments is not correctly aligned in the following MWE: \documentclass{article} \usepackage{doclicense} \begin{document} \begin{minipage}[t]{.5\...
0
votes
2answers
26 views

How to get uniform vertical space space after section title

I have encountered a problem when working with minipages. Consider the following example. \documentclass{article} \usepackage{mdframed} \begin{document} \begin{minipage}[t]{0.45\textwidth} \...
0
votes
0answers
23 views

Footnotes on the right side of the page with reledpar and minipage

I need to move the footnote from the right side of the page (reledpar package, this is a quotation from a bilingual book) to the left. The previous solution (Footnotes before the end of the page in ...
0
votes
0answers
37 views

Footnotes before the end of the page in reledpar

I have to make separate footnotes for each column of the text (Russian–English translation). The main text can contain some mini-pages (in order to make framed text). However, I confronted two ...
0
votes
1answer
27 views

Wrapping text around a displayed equation2

I found this solution to explain some details of some equations. In the first case I added \begin{minipage}[h]{0.95\textwidth}..... while the second case is taken from the previous discussion. I'm ...
0
votes
1answer
25 views

Tikzcd in Minipage [duplicate]

My goal is to have two commutative diagrams beside each other (but together centered) and with two captions. I tried the following code: \documentclass[twoside,12pt]{scrartcl} \usepackage{amsmath} ...
4
votes
3answers
111 views

Making an empty box next to text

I'm trying to recreate a document template thats in a PDF, in one portion of it, I need to create a box with a word of text next to it, like so: I've tried using functions like \fbox and \framebox, ...
0
votes
2answers
24 views

Text alignment title page

A simple question here, since I coulnd't find anything that addresses it specifically. I probably missed it somewhere, but I only get hits that refer to \flushright or something. For my title page I ...
0
votes
0answers
18 views

Error “\caption outside float” using minipage [duplicate]

I always get the error \caption outside float The caption is also not displayed in the PDF. Code: \begin{center} \begin{minipage}[t]{0.45\textwidth} \includegraphics[width=0.4\textwidth]{...
1
vote
1answer
27 views

Minipage, make figures float at the same level

I have the code here \documentclass{article} \usepackage{graphicx} \usepackage{subfigure} \usepackage{sidecap} %required for side captions \begin{document} \begin{figure*}[h] \begin{minipage}[...
4
votes
1answer
127 views

How to align the top of the text with the top of a figure produced by tikz in minipage

How to align the top of the figure produced by tikz with the top of a text positioned next to it. Both the figure and the text are encapsulated by a minipage each. I just got an approximate but ...
0
votes
0answers
25 views

How to use inner sep or outer sep in package genmpage?

I found this package but I did not understand how I use it to fit inner sep or outer sep inside the minipage. Genmpage package documentation
1
vote
1answer
53 views

Minipage: The words at the end of each line touch the border of the minipage and not over space

As I avoid the space at the end of the lines. I want the last word of each line to touch the edge of the minipage but not to exceed it. Each line has to stay as it is, one should not remove or include ...
4
votes
2answers
209 views

How to put text above column in minipage?

I am using the subfigure package. I have an arrangement of total 12 figures. They are sorted in 3 columns with 4 rows in total. The Code works fine, I have a caption which is perfect. My only ...
1
vote
2answers
50 views

Side-to-Side figures with a sidebar [beamer]

I am doing a Beamer presentation and I am trying to put two figures next to each other using minipage. The problem is that my presentation contains a right sidebar and when I set the minipage width to ...
1
vote
1answer
22 views

Minipage text running into margin

I'm trying to split an image and its caption across two minipages, but the caption is running into the right margin of the page: \documentclass[a4paper, 12pt]{article} \usepackage{ifpdf} \usepackage[...
3
votes
1answer
33 views

Adjust border of one side of a minipage

I have a minipage with text on the left side and an image on the right. I would like to adjust the left side so that left and right of the text has space of 2cm in width, but the minipage on the right ...
1
vote
2answers
36 views

minipage for columns has problems with itemize

I tried to make two columns in my beamer presentation, but apparently there is an issue with itemize. The the columns don't start at the same height for some reason I don't understand. Here is the ...
5
votes
4answers
169 views

How to remove the last line-feed raised by \foreach

As the following example showes, there are an extra line-feed which is not needed. Is there a way to eliminate? Example: \documentclass{article} \usepackage{tikz} \begin{document} \def\mylist{str1,...
0
votes
1answer
45 views

How to make a macro like \parbox with a style of spread align

I'd like to construct a macro like \parbox, but with a style of spread align, as the option [s] in \makebox. That is to say, when the width of text is less than the defined width(only one line of ...
2
votes
1answer
41 views

What's the purpose of a minipage with a single image?

I am trying to clean up a LaTeX file that has a lot of images. Many of them are included within a minipage in a figure: \begin{figure}[!ht] \begin{minipage}[b]{\textwidth} \centering ...
5
votes
1answer
51 views

adding explanations to equations

How can we type equations and add explanations like below? The options that I can think of are: (1) using tags which I don't know how to break them into two lines (2) using minipage, which might not ...
1
vote
1answer
72 views

Placing figures side by side with independent captions

I am trying to place two figures from .pgf file input side-by-side. I want them to have independent captions (so no subfigures). I have tried using the minipage way as follows: \documentclass{article}...
0
votes
0answers
48 views

CV with a colored sidebar on the left which contains a photo and some contact info

currently I'm using moderncv to create my resume. I like the casual style of it but I also want to add a colored sidebar which contains the photo and some contact information on the left side (of ...
5
votes
1answer
36 views

Getting mini pages right

I would like to print out two minipages of equal size next to each other but not exceeding over the limits of the page what it does right now. I don't understand why it happens and I already had some ...
2
votes
2answers
55 views

What is the minipage equivalent of `width=\linewidth` for \includegraphics

width=\linewidth is acceptable input option to \includegraphics, but is not acceptable as input to minipage. What can we replace X with so that \begin{minipage}{X} has a similair width setting to \...
1
vote
1answer
24 views

How can we make caption the appear inside of the fbox?

I would like a figure caption to appear inside of the same framed box other figure elements appear inside of. Below we have several nested environments. The ordering of the nesting is: figure > fbox > ...
0
votes
1answer
37 views

How increase size of two sub images side by side

I have the following code: \usepackage{graphicx} \usepackage{cite} \usepackage{subfig} \begin{document} \begin{figure}[H] \begin{minipage}{.5\linewidth} \centering \subfloat[horizontal mic pairs]{...
1
vote
3answers
38 views

Create n minipages side by side on the same line, fail informatively if there's a minipage “spill”

I'm trying to create n minipages side by side on the same line. In the following example n is 6. In the example below, the line below the section title is supposed to be displayed, roughly as Column ...
3
votes
1answer
59 views

Rotate a table with caption into landscape mode

I have a table and want to rotate it with the caption by 90 degrees. The table is large and wouldn't even fit when rotated. Hence, I resize it first and rotate it by 90 degrees afterwards (since I ...
1
vote
1answer
48 views

footnotemark misbehaves in titles, minipages, beamer frametitles

In titles or in minipage texts, \footnotemark puts the marks correctly, but the \footnotetext misbehaves: if the \footnotemark is used in \title, the corresponding \footnotetext always gets the 0 ...
7
votes
1answer
70 views

Effect of `\label` on caption position in new environment

I use a new environment and have tried to refer to it using the \label-\refcommands. I'm running into the problem that the \label command affects the vertical position of the caption. The MWE is: \...
1
vote
1answer
82 views

Formatting of new environment based on minipage and sidecaption

In my memoir-based document, I need to occasionally insert some content (text quote or pseudocode) and I want to be able to add a caption. Because the content must appear exactly where I want it, I ...
1
vote
1answer
62 views

How to set local page numbers in minipages

Good time of the day! How to set page numbers in minipages? Please see the code: \documentclass[11 pt]{extarticle} \usepackage[a4paper, top=1 cm, bottom=1.5 cm, left=1cm, right=1cm]{geometry} \begin{...
2
votes
1answer
96 views

Getting R xtable to display within a LaTex 'minipage'

I have the following piece of R-markdown / latex / minipage combo code. What I am trying to do is get the xtable output to display within the minipage, along with other text paragraphs surrounding it....
3
votes
1answer
50 views

Distance and font sizes between two minipages

Question 1: How can I increase the distance between two parts of mini page? Question 2: In the second part of mini page I found that the font size is small as compared to the first part. What is the ...
0
votes
0answers
21 views

How do i set up 2 differently sized columns with multipage support?

I am trying to create a resume with two columns. I first looked at using minipage, but it doesn't support multiple pages (if text gets too long for one page). Is there any alternatives for minipage ...
1
vote
2answers
39 views

Getting the proper interline spacing after a minipage environment

I have a TikZ diagram to the right of a minipage environment. I have some text that I want under the minipage environment. The interline spacing is about half of the other interline spacing. I don't ...
3
votes
1answer
86 views

Using the minipage enviroment inside \newcommand

i want to put the minipage enviroment inside a newcommand to avoid typing. \documentclass[aspectratio=169]{beamer} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage[nomessages]{fp} \...
2
votes
2answers
88 views

Vertically align two side-by-side minipages at the bottom of the page

MWE: % !TeX program = xelatex \documentclass[paper=A4,fontsize=12pt,titlepage]{scrartcl} \usepackage{showframe} \begin{document} \begin{titlepage} \raggedright { Some text } ...
1
vote
3answers
45 views

longtable spacing problems with minipages inside cells

I'm new in [tex.se] and I want to ask you how do I correct the problem I have with this snippet: \section{Latex meltdown my brain!!!} This longtable table shows a weird behaviour. If I don't use a ...
2
votes
2answers
63 views

how to create template for foldable booklet (requires rotating and reordering pages)?

I'd like to create a template or package for documents that are printed on a single page but can be folded into a proper booklet like this: I'd like, when writing a new document, to be able to write ...
1
vote
0answers
30 views

How to remove the default title in minipage? [duplicate]

I am currently using overleaf online generating side by side plots. This is my code: \begin{figure} \begin{minipage}[b]{0.33\linewidth} \centering \includegraphics[width=1.5in]{FC SVM for Ctl-AD.png}...