Questions tagged [minipage]
{minipage} is an environment providing a paragraph box which is a complete mini version of a page.
1,712
questions
0
votes
1
answer
36
views
"Not in outer par mode" error when using Algorithm inside minipage
I am trying to place a figure and an algorithm side-by-side using minipage. Hee is the code for the algorithm part. However, I am getting an error LaTeX Error: Not in outer par mode. on the line \...
3
votes
2
answers
63
views
Place element at each corner of minipage
General overview
I try to put different elements on each corner of a minipage.
MWE
\documentclass[a4paper,12pt]{article}
\usepackage{graphicx}
\usepackage{picture}
\usepackage{calc}
\begin{document}
...
1
vote
1
answer
17
views
Placing two code snippets next to each other with minted with a headline over each snippet causes box shift
I am refering to this question:
How to place two code snippets next to each other with minted?
I am trying to use the answer provided there, but with a headline over each code snippet.
Sadly, this is ...
0
votes
0
answers
10
views
Vertical Alignment of multicol and image nested in minipage
I have been googling and trying the TeX Exchange to find a solution and I am unable to find one yet. I would like to move my three columns (I, II and III) to be the same height as the image I have ...
2
votes
2
answers
112
views
Side by side minipage and tcblisting environment
I would like to use a configuration similar to the following, so that the width of the minipage automatically adapts to that of the tcblisting, but I don't know how to get the width of varwidth (noted ...
1
vote
2
answers
64
views
Side by side minipage and varwidth
I'm looking for a way to combine the minipage and varwidth environments side by side, so that the width of minipage automatically adapts to that of varwidth, to fill the entire line.
\begin{minipage}{\...
1
vote
0
answers
19
views
Three part dated item for CV
I want the section of my CV for presentations to be formatted something like this
This it the code I have been using:
\begin{itemize}
\item \begin{minipage}[t]{6cm}
Title of the presentation which ...
2
votes
1
answer
40
views
Adjust Height Minipage and Tikz Pic
I am working within the same document and I am having difficulty moving my picture. Ideally, I would like it lower and more aligned with the table (see image). I tried adjusting the minipages, and ...
1
vote
1
answer
32
views
vertically aligning panels of varying width with minipage
I'm trying to top-align figure panels using minipage. It works fine if both minipages have the same width, but if they don't, it doesn't work: the figure panel in the smaller minipage appears below ...
0
votes
0
answers
46
views
Tikz picture next to text in document
I'm using the minipage enviroment to try to put the eight 8th-roots of a complex numbers nexxt to a tikz figure that represents those roots like a regular octagon.
My code is:
\begin{minipage}{0.5\...
0
votes
0
answers
31
views
How to align a minipage with left page margin?
I have a document with a lot of instances where I would like to keep lines of text together. Some of these are lists, as in the example given below. One question is what is the best practice for doing ...
1
vote
1
answer
60
views
Verbatim inside tabular, inside a macro
I would like to achieve a macro which makes a 2x2 table to show example inputs and outputs of a program (test cases). Something like this:
---------------------------
|input | example input |
|-----...
0
votes
1
answer
32
views
Can not place Name, date signature in the declaration
In my declaration form, I like to write a latex minipage to include the Signature, Name, Registration Number , Place and Date at the bottom of the page. However, they are appearing in a scattered way.
...
0
votes
0
answers
29
views
How to center an image (graphics, tikzs, and so on) vertically by using paracol?
I want to center the image vertically, not only horizontally (by use \centering). How can I do it?
Just like the image below, I want to make the tikz in the red box, not at the top of the right ...
0
votes
1
answer
40
views
Minipage with figures, cannot use space after figures for text
I have six figures drawn on a page with minipage, I have limitations to use this subfloat and minipage environment to fit a journal requirement. The problem is that there is a lot of space left before ...
1
vote
1
answer
26
views
Is it possible to put image mid of the list item in minipage?
\documentclass[12pt,a4paper]{book}
\usepackage[spanish]{babel}
\usepackage{xcolor,graphicx,eso-pic}
\begin{document}
\noindent \begin{minipage}[t]{0.5\textwidth}
\begin{enumerate}
\vspace{-0.3cm}...
2
votes
1
answer
22
views
Subfigure alignement in minipage-environment
I have a problem with the alignment of my subfigurs in a minipage-environment. My minimal example looks like this:
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\...
4
votes
1
answer
49
views
Extending the lenght of text to the margin (in a minipage)
I wanted to extend the length of the last line in a minipage, so it touches the minipage margin (creates a perfect box of text). I doubt it has any practical use, but im trying to recreate a poem in ...
0
votes
0
answers
26
views
Enclosing section in minipage creates an extra new page
Im creating a document with multi={minipage} so i can manage the page length with minipages, i want to enclose section in one as well and i did using the following code, problem is, whenever \section{}...
1
vote
1
answer
28
views
\lstnewenvironment does not work with \minipage
I am writing a document with loads of code snippets, and page breaks make it hard to read. I would like to prevent those if possible.
I saw in Avoid page breaks in \lstlistings that one of the ...
1
vote
1
answer
35
views
text boxes with QR code, allignement problems [duplicate]
I need two boxes in one line which each contains a text on the left side and a QR code on its right.
As this, I started with:
\documentclass[a4paper]{article}
\usepackage{xcolor}
\usepackage{qrcode}
\...
2
votes
2
answers
62
views
Right alignment of minipages inside fbox
I am using fbox together with minipage, inside the minipage I have multicols and enumerate environments. Its not a big issue but I noticed the boxes are not aligned on the right. I tried using \...
0
votes
0
answers
22
views
lineno inside a minipage
I need to number every line (or by multiple of 2 or 5) of the Greek text. The problem is... lineno is not working inside a minipage.
Before you ask: I am not using Reledmac because One of the two ...
0
votes
0
answers
15
views
Re-shaping ordinary footnotes inside minipages
I am trying to customize the series of ordinary footnotes which go into minipages.
I would like:
to arrange them in a line (id est "para")
to eliminate the footrule
Just the ones in the ...
0
votes
0
answers
19
views
Vertically align parbox text with tabular text
I have a table made with tabular that's 3 lines and a parbox that's 1 line. I want the text in the parbox to line up with the first line of the table, but I can't seem to make that happen. I would ...
0
votes
1
answer
50
views
Tabular inside combination of adjustbox, minipage, and figure
Context
I want to put 4 tabulars horinzontally aligned with each other, and I'm currently using a janky setup of an adjustbox (for each tabular) inside a minipage (for each tabular) all inside one ...
0
votes
0
answers
25
views
Minipage with \paperwidth: can't remove left indent
I'm trying to typeset a full-width header. But the trivial way with the minipage for some reason gives an indent to the left. It only appears when \paperwidth width is used.
I just can't figure out ...
0
votes
1
answer
47
views
Proper table formatting
Ideally I would have vertically aligned text and notes at the bottom of the page, not of the minipage, and not use multirow.
The outer colums should take up as small as possible space, and the middle ...
2
votes
2
answers
44
views
Formatting indices with long reference titles and lots of page numbers
I am trying to create a class file to format a particular kind of index required for certain legal documents in the United States. I have come up with two different approaches, but neither allows me ...
2
votes
1
answer
63
views
How to make a minipage break over two pages<
I have an example of communication in mz document in a separate frame, for which I used fbox + minipage. How can I make it break over 2 pages? MWE below, I left all packages used, in case they ...
2
votes
2
answers
40
views
Format figure caption when using minipage
I am using minipage within figure environment, and I want to maintain only the figure name, and sort of "sub caption" to the minipage.
MWE:
Currently, this is how I plot the figure:
\...
0
votes
0
answers
45
views
\supercite as \footnotemark argument
How can I use \supercite as an argument to \footnotemark and \footnotetext?
(My goal is to have citations as footnotes and their indices matching the index in the bibliography. For me, existing ...
3
votes
3
answers
167
views
How do I align this header and body properly?
The effect I'd like to achieve is:
Header: Here's some more text
that's just here to
illustrate what I mean. It
needs to be a bit longer to
show it properly. That
...
0
votes
0
answers
43
views
Minipage on the first document page
I am trying to have a minipage on my first document page in order to color it from below a header to the end of the page. Somehow it seems after a certain minipage length LaTeX jumps to a second page ...
0
votes
1
answer
32
views
How can I align the image with other minipages?
I'm using a template to write my resume (unfortunately I cannot find the source anymore, but I think it's a variation of liantze/AltaCV), and I wanted to extend it with a section formatted for ...
3
votes
1
answer
118
views
Split a page in half while still filling the page
I'm having trouble aligning two miniboxes on a small page, but I can't get it quite right.
I'd like them to each take up half of the page within the margin (with the red one containing text that is ...
0
votes
0
answers
33
views
How can I scale the .tikz picture? I tried using tikzpicture but then it says TeX Capacity exceeded, so I sticked to minipage
\begin{figure}[H]
\begin{minipage}{.5\linewidth}
\centering
\def\svgwidth{1.0\textwidth}
\def\svgwidth{100pt}
\import{pdf/}{/diodebridge.tikz}
\end{minipage}
\begin{...
0
votes
0
answers
19
views
Mixing Numbers and Symbols as Footnote Markers in Minipage
I am writing a document using LaTeX, and I would like to have number and symbol markers for the footnotes of a single page. For instance, I would like to have a superscript "1" and follow it ...
1
vote
1
answer
42
views
Justification of hebrew - Minipage and wrapfig
I'm using the minipage and wrapfig options to have text wrapping around a few words. I'm not able to properly justify Hebrew. It should be ragged right.
\documentclass[14pt]{octavo}
\usepackage[...
0
votes
0
answers
17
views
Text and pspicture are covering eachother
I'm a beginner in drawing with LaTeX and I recently achieved to draw a super cylindric marker for my physics lectures. But ... now, trying to write the text with it, and a big problem showed up, the ...
0
votes
1
answer
37
views
Table with tabular goes outside of page and is not centered when minipage is added to adjustbox
I am trying to have my table fit the text width and be centered in the middle. Without minipage it works as intended but when I add a minipage to the adjustbox (since I need the caption and potential ...
1
vote
1
answer
38
views
Center text vertical in columns | Beamer [duplicate]
I'm trying to create a latex beamer presentation. I tried using the columns environment in my Frame to split it into 2 Parts: one text part, and another for an illustration. Here is how it looks:
As ...
0
votes
1
answer
39
views
How can I modify my tcblisting to show input code and the expected output side-by-side?
I have a code listing and tcblisting defined as follows.
\lstdefinelanguage{MyScheme}{
basewidth=0.5em,
morekeywords=[1]{define, cond, lambda, else},
alsodigit=!\$\%&*+-./:<=>?@^_~,
...
0
votes
0
answers
35
views
Create 3 different page layouts to use it in different pages of a book
I want to write a textbook, and I want to create 3 different page layouts and use them in different areas of the book. For example:
How can I do this? I am a complete beginner in terms of setting up ...
0
votes
1
answer
33
views
Minipage alternately indenting
Minipage seems to be adding an extra space before "text" on the first and third rows of minipages. This disrupts the alignment of the fbox. What is causing this?
\documentclass[11pt]{...
1
vote
1
answer
42
views
Alignment of minipage environment off when using enumitem
The vertical alignment in the minipage alignment is off when using enumitem. If I remove all enumitem coding the vertical alignment is fine. How can I force the minipage boxes to align equally along ...
1
vote
1
answer
142
views
defining a columns environment like Beamer (but for other classes)
Note: Similar question to beamer-columns-environment-in-article-document, but the answer (just use minipage directly) isn't suitable in my use-case.
Basically, I'm generating LaTeX from markdown via ...
0
votes
1
answer
31
views
Alignment text and tikzpicture issue (Minipage)
I am not sure why I can't figure out how to align things. I am trying to raise my test up on the left so there is not such a space between the beginning of the question and part 1. I have tried ...
1
vote
3
answers
78
views
Equally sized column widths using tabular*
I'm using a Springer template, so trying not to add add packages, however, I'm struggling to equally size the column widths. As shown in the image, the final three column widths seem unequal, and I'm ...
6
votes
2
answers
352
views
How can I place two equations on one line, but each is numbered separately?
I'd like to place two equations on one line, but each has to be numbered separately.
For example, in this figure:
This figure is created with minipage:
\noindent\begin{minipage}{.5\linewidth}
\begin{...