Skip to main content

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
1 vote
1 answer
16 views

Tikz picture messes up the layout of my beamer frame

I am writing a beamer presentation, and in one frame, I want to do a layout with four sections. I managed (with the help of ChatGPT) to do it with minipage in the following way: However, I found one ...
Gaussian97's user avatar
0 votes
0 answers
20 views

Equations Below Rotated Forest [duplicate]

I created the following graph: \documentclass{article} \usepackage{forest} \usetikzlibrary{shadows} \useforestlibrary{edges} \usepackage{amsmath} \usepackage[graphicx]{realboxes} \usepackage[left=2....
s28's user avatar
  • 75
0 votes
2 answers
61 views

Overlay text over a PGF plot in a minipage

I use matplotlib to export plots in the pgf format, such that I can include it in LaTeX and have it be rendered crisp and beautiful. I can use minipage to order the plots in a figure and create e.g. a ...
BernhardWebstudio's user avatar
3 votes
2 answers
79 views

Footnote within minipage: double mark and single text

I have placed a figure caption inside a minipage environment. My goal is to show a single footnote mark several times within the same caption and to write the footnote text only once under the caption....
Christophe's user avatar
0 votes
1 answer
41 views

How to indent items inside a `tikzpicture` and `minipage` package?

I have a tikzpicture and minipage environment below, and I would like there to be a slight indent in the sub-categories a, b, c, etc. For example below: a. Sub-second \\ and a. again sub. How can I do ...
user321627's user avatar
1 vote
1 answer
39 views

On Positioning Text in a Pspicture with \rput

The following code generates a pspicture which I want to use as the basis for the back cover of a book: \documentclass[12pt,onecolumn,openany,final]{book} \usepackage[hmargin=0in,vmargin=0in,...
DDS's user avatar
  • 9,370
3 votes
2 answers
168 views

Two minipage with horizontal lines and a vertical line

I'm trying to make a custom command with two parameters that let me input the blue text and the black text, then output something like this with a vertical line in the middle separating the text I ...
asdoaihco's user avatar
1 vote
1 answer
263 views

Colored box paragraph that stays on text grid

Is there any straightforward way to produce this kind of output with the distance between the baseline of the last line before the box and the baseline of the first line within the box as well as the ...
keth-tex's user avatar
  • 452
1 vote
2 answers
36 views

`verbatim*` environment in a `minipage` defined by a `\newcommand` does not work

Still a novice at LaTeX - I was attempting to define a custom command for creating minipages of a certain width using this code: \newcommand{\col}[2]{\begin{minipage}{#1\linewidth}#2\end{minipage}} ...
invisi.'s user avatar
  • 13
1 vote
1 answer
60 views

Vertical and horizontal alignement in minipage environment

How would it be possible to have the same space between the figure and both margins of the page in this example : Also, I would like to adjust the bottom side of the left figure with the axis x of ...
Waxler's user avatar
  • 808
1 vote
1 answer
22 views

Strange interaction between subfigure and algorithm within minipage

Consider the following code, whose purpose is to place a subfigure and algorithm side by side within a floating figure. \documentclass{article} \usepackage{algorithm} \usepackage{subcaption} \begin{...
jII's user avatar
  • 507
0 votes
0 answers
26 views

How can you control the vertical space before and after an equation (on its own line) in a figure caption?

I want to insert an equation (on its own line) in a figure caption. The default spacing before and after the equation in the caption looks too big to me. How can I adjust the spacing before and after ...
Naysh's user avatar
  • 187
1 vote
1 answer
49 views

How to define width of flalign environment?

I am trying to get the equation in the flalign environment to be left aligned with the text in the tabular environment above it, and to have the same width -- 0.8\textwidth. The equation is a ...
vardo 's user avatar
  • 11
1 vote
2 answers
45 views

tikzpicture environment makes \noindent have no effect

See this MWE please: \documentclass[a4paper]{article} \usepackage{tikz} \usepackage[showframe]{geometry} \usepackage{ulem} \setlength\fboxsep{0pt} \begin{document} % \begin{tikzpicture}[remember ...
Stephen's user avatar
  • 4,259
3 votes
2 answers
61 views

How to use hook to change \parskip in minipage?

I try to use a hook to change the \parskip in the minipage environment. But my code doesn't work. Here is an MWE. \documentclass{article} \AddToHook{env/minipage/begin}{\setlength{\parskip}{2em}} \...
houzw's user avatar
  • 153
2 votes
1 answer
50 views

Adding annotations on images in minipage

I am trying to add a visual annotation (a rectangle) on an eps file directly using LaTex. I have attached the desired outcome below : For that, this is my code : \documentclass{article} \usepackage{...
Waxler's user avatar
  • 808
1 vote
1 answer
55 views

Problem placing information at the bottom of the first page

I am working on the development of template and I would like to have something similar like this: I'm working in twocolumn document and I tried to replicate it in \fancyfoot[L]{} (only for the first ...
Guillermo Jiménez's user avatar
1 vote
2 answers
100 views

How to make a lesson of mathematical aggregation in Latex?

I am trying to make a page similar to this one (le plan d'une leçon d'agrégation) in Latex but in vain ! If any one can help please ! This is my code : \documentclass{article} \usepackage{multirow} \...
BRH's user avatar
  • 75
2 votes
1 answer
36 views

How to enable paragraph indentation within minipage boxes in LyX?

In LyX, using the "Insert box" command inserts a minipage. However, this minipage does not have any paragraph indentation. Is it possible to indent all paragraphs inside minipages?
noxewa's user avatar
  • 65
1 vote
2 answers
49 views

Duplicate a page containing minipages

I am beginner to the minipages environment and am having some difficulty writing on the next page after the first one, even with the usage of \pagebreak. If I use \pagebreak and paste the template (...
Satwik Dash's user avatar
1 vote
1 answer
45 views

Put a figure next to a table

I'm trying to decently put a figure right next to a table. I tried all the approaches suggested here and here. None of them worked. The closest was the first one, but I get an error Package floatrow ...
mEm's user avatar
  • 113
1 vote
1 answer
20 views

Vertical position of a list changes in beamer

Why does the list move upwards when last item appears? MWE \documentclass{beamer} \begin{document} \begin{frame}[t]{foo} \begin{minipage}[c]{.5\linewidth} \begin{itemize}[<+->] \item Começamos ...
Sigur's user avatar
  • 37.5k
0 votes
0 answers
24 views

Unknown errors ocuur in front page

I am actually using the template from my University, which you can find it attached at the end. However, I constantly get the errors from the logs. It occure ant the last one \end{minipage} line. ...
Zijin Cheuk's user avatar
0 votes
0 answers
53 views

Fit a tikz-figure to a minipage

I would like to position two tikz-images side by side using two minipages. The two tikz-files each contain the coordinates of a 3D plot. As you can see in the MWE, there is a lot of "unused" ...
Craven's user avatar
  • 1
0 votes
0 answers
30 views

Making Minipages Breakable in Activity Report Template

I'm currently working on a report template where I use a table with minipages to represent tickets along with their descriptions. The minipage is utilized for the descriptions so that the ticket and ...
Immersion's user avatar
0 votes
1 answer
61 views

Well aligned text boxes and arrows

I would like to align text boxes and draw arrows between them. My current attempt is the following: \documentclass[crop,tikz]{standalone} \usepackage[most]{tcolorbox} \begin{document} \begin{...
baxbear's user avatar
  • 167
0 votes
2 answers
37 views

Vertical alignment of two adjacent minipage in a 2-column document (created with paracol)

I have the following MWE: \documentclass{article} \usepackage[a4paper,margin=1mm]{geometry} \usepackage{paracol} \usepackage{lipsum} \usepackage{tabularray} \begin{document} \columnratio{0.4} \begin{...
Ommo's user avatar
  • 849
0 votes
1 answer
44 views

minipage with [t] option inside \twocolumn[] argument [duplicate]

General overview I try to put a \minipage[t]{…} inside a \twoclum[<here>]’s argument. But it failed with the following error message: Error message ! Argument of \@iminipage has an extra }. <...
fauve's user avatar
  • 2,531
2 votes
2 answers
100 views

Align the tops of two minipages

I would like to align the tops of two minipages. Here is a MWE: \documentclass{article} \usepackage{tcolorbox} \usepackage{lipsum} \begin{document} \noindent \hfill \begin{minipage}{0.49\...
Duncan's user avatar
  • 123
0 votes
0 answers
36 views

Line numbers for displayed maths inside boxed minipage

I need to add line numbers to things like the following, probably inside the box and at the right-hand side, with numbers on all the lines, including the maths. I see that there is a package called ...
Aster's user avatar
  • 1
0 votes
0 answers
67 views

Space between minipages

On my Ruby book, I break the code listing if it don' fit on the page using minipages. But the page before the minipage, if there is some space remaining, distribute it on an uniform way between the ...
taq's user avatar
  • 1
2 votes
3 answers
178 views

How to put big brackets around minipage

I have this bit in my document and I would like to put big brackets on either side to show it is not part of the main development. However, I have no idea how to do such a thing. Any help is welcomed. ...
Galou's user avatar
  • 33
1 vote
1 answer
28 views

minipage: horizontally alingned figures with common caption

I am using minipage to insert 3 figures horizontally, each having its sub-caption, and then a common caption. My intention is to produce a figure like: Reproducible ME: \documentclass{article} \...
Amina Umar's user avatar
0 votes
1 answer
37 views

Creating a minipage in multicolumn with a figure and a parallel text gives no parallel text

My book consists of many line of multicolums and I am well used to it since text and figures are in different lines. Now adding a comment instead of a figure, I wanted to use a minipage and this fails ...
Bernhard Kleine's user avatar
1 vote
2 answers
51 views

How to prevent minipage from creating a blank page and enable multiple pages?

I have a template of a letter. I would like to display the sender's information on the left while the receiver and the contents of the letter are on the right: \documentclass{letter} \usepackage{...
Mehdi Rezzag Hebla's user avatar
1 vote
1 answer
53 views

3 Graphs horizontally and equations for each one

I used the answers from similar discussion to create a somehow working graph, the problem is that nothing really aligns well. \documentclass{article} \usepackage{graphicx} % Required for inserting ...
Sebastian Bätz's user avatar
0 votes
1 answer
42 views

How can I center minipage text and adjust pgf-pie text

I am using minipage to divide a figure into two positions, on the left I have a figure made with pgf-pie that I would like the large text to be able to write outside and in the case of the text I ...
royer's user avatar
  • 361
3 votes
2 answers
159 views

How to position tables in overlap?

I look forward to creating the following illustration: My code: %%% code replaced in the edit. EDIT: Based on the answer from @JohnKormylo, I modified my code as below: \documentclass{article} \...
arilwan's user avatar
  • 389
0 votes
0 answers
40 views

How do I center a figure vertically in moderncv?

I would like to center a figure vertically in moderncv. I cannto use the figure environment and not the caption package in moderncv, hence I use minipage and a manual caption. Please consider the ...
Christoph Mark's user avatar
0 votes
0 answers
37 views

Minipage inside environment showing irregular behaviour

I am working on this template for my CV: https://www.overleaf.com/read/fjwccvybcphp#9f38d9. In main, you have \input{Txt/1-CV-body}\input{Txt/p1_sidebar}\clearpage\input{Txt/2-page2}\input{Txt/...
For the love of maths's user avatar
1 vote
0 answers
43 views

Brackets next to subsections [duplicate]

I created a long list using itemize, minipages and sections/subsections... Now, I would like to replace the subsection text by a bracket that is placed next to the equations of each subsection. See ...
Sylvia's user avatar
  • 485
1 vote
1 answer
88 views

Why is This Minipage Footnote Repeated Twice?

Consider: \documentclass[12pt]{book} \usepackage{scalefnt,scalerel} \begin{document} \thispagestyle{empty} {\begin{minipage}{5.0in}\leftskip\fill\rightskip-\leftskip\parfillskip\stretch{2}% {\vstretch{...
DDS's user avatar
  • 9,370
2 votes
1 answer
63 views

How can I preserve vertical spacing around an equation in a minipage?

The following example: \documentclass{standalone} \begin{document} % outer minipages are not part of the test, and just demonstrate the inconsistency \begin{minipage}[t]{0.5\textwidth} This ...
Eric's user avatar
  • 683
0 votes
1 answer
77 views

Alignment of Paragraph/Wrapfigure/Minipage

I'm not that used to writing more complex and visually appealing Latex Documents. I'm trying to vertically align a minipage containing a paragraph with a wrapfigure. Each image corresponds to a ...
soosenbinder's user avatar
0 votes
1 answer
85 views

vertical text alignment in minipages

I typed the following code into my Tex file: \noindent\begin{minipage}[t]{27pt}6)\end{minipage}\begin{minipage}{6.25in}\includegraphics{image} \end{minipage} Actual Behavior: below left. Desired ...
Nate's user avatar
  • 73
0 votes
0 answers
40 views

How to restrict an image's output to a minipage?

I'm trying to create a fancy cover for a document chapter where I want to include a picture that's related to the content, for which I've created a minipage environment inside which I placed a ...
graograman's user avatar
0 votes
0 answers
34 views

Excess vertical space when top-aligning in a two-column minipage environment

I have a two-column minipage environment with a figure in the left minipage (represented by a box) and some text in the right, see below. \documentclass[12pt]{article} \usepackage[T1]{fontenc} \...
DavidH's user avatar
  • 79
2 votes
2 answers
81 views

Keeping `text` and `tikzpicture` on same level in `minipage`

\documentclass[12pt] {article} \usepackage{amsmath} \usepackage{amssymb} \usepackage{ragged2e} \usepackage{wrapfig} \usepackage{tikz} \usetikzlibrary{shapes, positioning} \def\baselinestretch{2.0} \...
Manjoy Das's user avatar
1 vote
2 answers
48 views

Image and text underneath each other instead of side by side (minipage)

I try to use the package minipage to put an image and a text side by side. Usually it works but here it shows underneath each other. Is there anything I could do? Here is the code (sorry it's french ...
Nino CF's user avatar
  • 11
0 votes
1 answer
34 views

how to avoid going out of the page when using minipage and flalign environments

I am placing two equations side by side using both minipage and flaign environments. For a reason that I cannot figure out, the equations labels go out of the page. What might I be doing wrong here? I'...
ball_jan's user avatar
  • 313

1
2 3 4 5
36