Questions tagged [minipage]

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

Filter by
Sorted by
Tagged with
0
votes
2answers
36 views

Centralizing tikzpicture environment “inside” a minipage, both horizontally and vertically

Honestly, I do not know if tex.stackexchange.com already exists a similar or exact answer to this question but I'll leave it here and if there is any solution already posted I'm waiting to be notified,...
1
vote
1answer
26 views

Custom minipage: combine options

Following the answer to another question of mine, which had custom minipage settings for quotes, \documentclass[12pt]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[ ...
0
votes
0answers
21 views

page layout using geometry and minipage

I am needing to make a page layout that has these dimensions, am thinking the geometry package and minipage? unsure - am new to this so if anyone is able to help that would be greatly appreciated!
0
votes
0answers
22 views

Scaling Box for Exercises

I've been using the following code to include numbered exercises in a book I'm writing using the amsbook class: \newcounter{exercise} \newsavebox{\mybox} \newenvironment{exercise} {\...
1
vote
1answer
17 views

How to auto increment arabic mpfootnote numbers?

If I follow this answer, to switch the mpfootnotemark style from alpha to arabic, the mpfootnotemarks' values are not auto incremented any more. That's what I've done: \documentclass{scrbook} \begin{...
1
vote
2answers
44 views

Independent sectioning commands for minipage

My document has several minipage-environments that need an inner sectioning with numeration independent of the "normal" sectioning of the document. Until now I have used a work-around and simply hard-...
1
vote
1answer
26 views

Landscape view, two separate columns with listings over multiple pages

I want to compare two codes in two different languages in latex. I use lstlisting for both of them and then I want to see them side by side. I archived this using minipage environment but my listings ...
0
votes
1answer
22 views

Set of minipages appears after blank page

I have 4 minipages side by side but they appear after blank page, how it can be avoided? Secondly there is thin white space between the pages, how to remove that \begin{document} \noindent \...
1
vote
1answer
34 views

Custom minipage command for quotes

\documentclass[12pt]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[ paperwidth=32pc,% paperheight=48pc,% margin=4pc,% ]{geometry} \begin{document} \begin{...
0
votes
1answer
26 views

Figure and Table next to each other in IEEEtrans with specific caption style

I'm looking for a solution where I can put a figure and a table next to one another in the IEEEtrans document class (2 columns). Each should have its own caption, so subfloat can't be used and, the ...
4
votes
2answers
157 views

How can I add two boxes in minipages side by side?

I tried to create two boxes side by side in minipages but I don't know how to create them ? Any help is appreciated. \begin{minipage}[t]{5.5cm} \centerline{\textbf{TRƯỜNG ĐHSP TP.HCM}} \...
1
vote
1answer
41 views

Minipage after paracol overflows instead of starting a new page

I have a minipage that is placed after a section of 2 parallel columns, set with paracol. The minipage overflows the bottom of the page, rather than breaking onto a new page. How can I get the ...
0
votes
0answers
25 views

Landscape & Float & Text & minipage

Writing a landscape manual with subsection on the top, with images on the left using figures. On the right is the list of text. I have issues trying to have them on the same page when I use the ...
0
votes
1answer
21 views

Two images with minipage

I would like to have side by side two images in latex using mini page. In order to do so i have the following code: \begin{figure}[!tbp] \centering \begin{minipage}[b]{0.49\textwidth} \...
5
votes
3answers
168 views

Have minipage take up entire page height

I'm trying to use a minipage to create a kind of sidebar for my document. Because the minipage has a background color and because the document is intended for viewing rather than printing, I want the ...
3
votes
2answers
57 views

Output images of math with 16:9 aspect ratio using standalone package

I am attempting to use the standalone package in LaTeX to generate images of practice math questions that will be displayed for an audience as part of a presentation. The final output needs to be PNG ...
1
vote
1answer
33 views

Add figure format reference to an image added on a minipage

I have the following minipage: \begin{minipage}{\textwidth} \centering \begin{minipage}[ht]{0.4\textwidth} \centering \includegraphics[width=.6\linewidth] {fig/grafo1.eps} ...
2
votes
2answers
58 views

Figure subfigure layout with different numbers

I need a layout similar to the following image. However I want only the 3 images on the right side to be subfigures (2a, 2b, 3c), But the big red image on the left should be numbered as Figure 1. ...
3
votes
3answers
49 views

Tabular with minipage inside, problem with vertical alignment

I am trying to align two minipages inside a tabular environment, but I have some alignment issues when I put more than one table, as you can see in the image at the bottom. \documentclass[10pt]{...
0
votes
0answers
18 views

Special, pre-defined “out-of-order” footnotes for boilerplate text within minipages and hyperref linking

Inside minipage environments I repeatedly need a handful of predefined footnotes (with a fixed boilerplate text) that should use symbolic footnote marks (for better detectability) alongside "normal" ...
0
votes
0answers
18 views

Minipages with “fixed” sizes, completely break alignment when content is added to them

The following example run through pdflatex, with an fbox that simply surrounds each minipage which I have omitted for clarity: \begin{figure}[t] \begin{minipage}[t][0.15\textheight][t]{0.28\...
0
votes
2answers
62 views

`h!` table placement with `H` spacing?

So I'm trying to make an entirelty double-spaced document, so I have the following code in a MWE: \documentclass[12pt,a4paper,titlepage]{article} \usepackage{setspace} \setstretch{2} \...
0
votes
0answers
14 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
21 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
44 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 ...
2
votes
1answer
49 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
92 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
186 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
19 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
51 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
49 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
90 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
42 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
16 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
172 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
26 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
41 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: ...
2
votes
1answer
41 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
35 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
49 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 ...
2
votes
3answers
129 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
26 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
93 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
26 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
45 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
82 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
42 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
64 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
27 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 ...