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
10 views

Reset line spacing (`\setstrech`) back to normal within framed minipage

For a framed minipage environment I followed this answer. Additionally, I used the package setspace and the command \setstretch{1.2}in my preamble to get a wider line spacing. But inside the frame ...
0
votes
0answers
18 views

wrapfigure modifying entire document

I am composing a cv without using any predefined documentclass like, e.g, moderncvn for which I have written a code that goes like this: \documentclass[12pt,a4paper]{article} \usepackage[a4paper]{...
2
votes
1answer
25 views

My figure does not appear on the right frame of a beamer slide! Please help!

I inserted a figure through minipage. I want it to appear on the sixth frame of the slide but instead, it appears on the nineth. here is the code \documentclass{beamer} \mode<presentation> \...
4
votes
1answer
42 views

Caption alignment problems in minipages and subfigures

I failed to center all captions in each subfigure like this. Captions in the left part (four subfigures "A") are not at the center I think. Captions in the right part (four dependencies) are aligned ...
1
vote
1answer
31 views

Align image and text horizontally [closed]

I am trying to align an image and text horizontally on a page. This is an extra question for what I have asked here. I got some suggestions in comments: like add [t] to the minipage, but it does not ...
2
votes
2answers
87 views

equation in minipage can't be numbered in the same line

I want to have my long equation autowrap in different page size, although it is not in good looking but at least it is readable. So this is my example \documentclass[a6paper]{article} \usepackage{...
2
votes
2answers
174 views

Background of mini page

In a ‘mini page’ environment, is there a way to have a back ground and then writing on top? Rather than just writing and a translucent background.
0
votes
0answers
18 views

Having trouble with caption spacing in a minipage

I have a minipage with 2 figures side by side, but there is no white space between the captions of the respective figures. How can I fix this? Here is what I have: \begin{figure} \begin{minipage}{...
2
votes
2answers
48 views

Aligning 2 Minipages to the top of a figure and scaling nodes

Below is my MWE and an example how it should look like. I asked a kind of similar question yesterday, see here. Now the problem is, I need both graphs to be vertically the same height, so equally ...
4
votes
1answer
42 views

Centering subcaptions in a tikz pgfplot subfigure environment?

I am having a difficult time centering subcaptions for a figure. The figure looks like the following: But as you can see, the Panel A and Panel B subcaption are nowhere near being centered with ...
5
votes
2answers
86 views

Find the width of a figure in latex, to properbly align multiple minipages within a figure

I want something like this: made with this MWE: \documentclass{memoir} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{graphicx} \usepackage{duckuments} \newsubfloat{figure} \begin{...
2
votes
2answers
38 views

How to remove margins between columns

I have created a document that consists of three columns. My source code: \documentclass[a4paper,12pt]{minimal} \usepackage[margin={2cm, 1.5cm}]{geometry} \usepackage{polski} \usepackage{calc} \...
0
votes
0answers
14 views

Problem with alignment of minipage within a poster

I am creating a poster with this template: \documentclass[a0,portrait]{a0poster} \usepackage{multicol} \columnsep=100pt \columnseprule=3pt \usepackage[svgnames]{xcolor} \usepackage{times} ...
4
votes
3answers
151 views

How to scale a verbatim environment on a minipage?

I have a plain vebatim environment. Questions 1, 2 are too complex to understand. I would simply like to align in the center and rescale the ascii art logo. MWE: \documentclass{article} \usepackage{...
0
votes
0answers
24 views

Add caption to verbatim environment and adjust padding?

I do like the verbatim setting and the ascii border, but the wanted algorithm caption padding is too great, same with the top to flow text. Am i doing it right? \documentclass{article} \usepackage{...
2
votes
3answers
39 views

How to align content and captions differently in subfigure

I'm trying to use tikz to illustrate an iterative process in figures, but when placed next to each other, the different heights of the images cause the captions to become unaligned, as below: ...
3
votes
1answer
40 views

Mini page parts are not properly arranged

Question: I am dealing with minipage and the problem is parts of minipage are not placed perfectly looks very bad. What is the solution. What I have done so far: \documentclass[12pt, a4paper]{...
2
votes
2answers
33 views

How to center multiple figures and their descriptions

I am writing a paper for one of my classes on Catalan numbers. I have a section where I'm trying to include three different figures that I would like to be centered with their corresponding ...
1
vote
2answers
48 views

Aligning content in multirow

I want to write a document, where i group two plots and the two functions corresponding to the plots together. There should be two such groups aligned next to each other. Here is a picture of what i ...
1
vote
3answers
38 views

Placing three figures side by side, each with its own caption

I'm trying to place three images side by side each with its own caption. The code written below works great with the placement of the images, but the captions don't. When compiling it only shows the ...
0
votes
1answer
22 views

Figure next to the \maketitle

I tried a picture next to the \maketitle like in this question. But I make bigger the size of picture and the title is hidden behind the picture. What should I edit? Next problem is that I have only ...
0
votes
2answers
57 views

How to get custom section style using titlesec?

I am trying to design a custom section. My desire section will be something like this : But I am unable to get the exact result. This is what I was trying : Horizontal rule will be joined at the ...
0
votes
1answer
25 views

How can I fill white spaces in two column when I have minipage?

I am writing an article in two column and I am using the minipage environment. The problem is that in the column where there is the minipage any text fills the white space ? Why this happens ? I tried ...
0
votes
1answer
43 views

Putting two figures side by side shifts them on to a new page? [duplicate]

In two-column paper I want to place two figures side by side. If I use figure* it shifts them to a new page. If I use minipage option again figures don't obtain correct position. Can I fix this ...
3
votes
1answer
50 views

Formatting - minipage restore indent

I've some minipagein my document and the parindent reset automatically in this environment. After some research, I've found a solution in this topic that I want to improve. My goal : Redefine ...
0
votes
1answer
32 views

Fit text to one column in minipage environment & boxed columns one over the other in beamer

I am writing a code in beamer. And I want my slide to look like this:. The code that I have written is this: \documentclass{beamer} \usepackage{lipsum} \begin{document} \begin{frame} \begin{...
3
votes
1answer
61 views

Insert line between minipage but not at page end

I am doing a PHP script to write a .tex file. Based in this insert a horizontal cut line, I want to "print" many block on one page, and between block I want draw a "cut line". But I dont want draw ...
2
votes
1answer
26 views

Using varwidth within an environment definition with minted

I'm trying to create a new environment which holds a centered code snippet using minted. Firstly I came across to a minipage package, however it needs the width specification. I just want it to be ...
2
votes
1answer
24 views

Using Minipage to get this result - Text wrapped box in a paragraph

Can minipage be used to get the following result (To highlight the main idea of a paragraph when you do not want to create a separate section). I'm really new to LaTeX. Could anyone please suggest an ...
0
votes
0answers
29 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[...
2
votes
4answers
46 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
205 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
40 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
48 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
71 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
53 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
34 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
34 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
52 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
41 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
39 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
161 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
31 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
37 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
130 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
31 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
56 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
220 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
61 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 ...