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
75 votes
2 answers
10k views

How to keep a constant baselineskip when using minipages (or \parboxes)?

When a minipage is used to box a text paragraph, the first line of the minipaged text and the last line of the previous text paragraph are closer than two consecutive lines in a standard text ...
user avatar
26 votes
3 answers
4k views

Print programs with its proper syntax

I have defined my own language whose syntax is very close to the one of Pascal. I would like to type the following program for instance. Many people use the packages algorithmicx or algorithm2e to ...
user avatar
  • 18.6k
86 votes
3 answers
58k views

Understanding minipages - aligning at top

I would like to be able to align two minipage at the top, without worrying about what is in the minipage. I am aware of the optional [t] parameter, but still have some confusion as to how this all ...
user avatar
61 votes
8 answers
21k views

Fit text into given box by adjusting the fontsize

I would like to fit text (potentially several paragraphs) into a box of given size. This should be done by adjusting the fontsize of the contained text. Clarification edit: The given dimensions are ...
user avatar
  • 2,366
53 votes
2 answers
10k views

How to preserve the same parskip in minipage

I have following structure: \begin{document} Paragraph1. Paragraph2. \begin{minipage} Some paragraph1. Some paragraph2. \end{minipage} \end{document} How can I make the same spacing between ...
user avatar
  • 633
95 votes
3 answers
356k views

How to use figure inside a minipage?

I'm trying to include an image, and keep it centered, and prevent from wrapping from the next page. The following code works for that: \begin{minipage}{\textwidth} \begin{center} Caption ...
user avatar
  • 2,308
38 votes
2 answers
47k views

Aligning image and text on top, with minipages

I have an image (on the left) and a block of text (on the right), and I would like both to be aligned on their top. I am trying to use minipages for that: \documentclass{article} \begin{document} \...
user avatar
  • 2,901
5 votes
1 answer
1k views

Is there a replacement for nccmath?

I noticed that the nccmath package is not mentioned in What packages do people load by default in LaTeX?. Since I have had several problems with minipages that all eventually led to nccmath related ...
user avatar
28 votes
1 answer
3k views

Why is \parskip zero inside a minipage?

This question was originally entitled "inconsistent paragraph spacing with \parskip inside minipage" as the MWE below shows. But I found the answer at How to preserve the same parskip in ...
user avatar
52 votes
1 answer
20k views

Can I get a normal footnote in a minipage environment in LaTeX? How?

I need to use a minipage environment and I need a footnote in that minipage. I want the footnote to be numbered in the normal footnote sequence and to occur together with the rest of the footnotes in ...
user avatar
  • 28.9k
1 vote
1 answer
780 views

twoside breaks spacing

I'm using minipages to keep related questions together on a test that I'm writing. When I make a 2-sided document some of my spacing gets messed up before the section break. It works fine if I leave ...
user avatar
  • 211
67 votes
2 answers
398k views

Putting Figures Side-By-Side Using Minipage

I am trying to put two figures next to each other. However, it is not working. Here is my code: \begin{figure}[h] \centering \begin{minipage}{1.0\textwidth} \centering \includegraphics[width=0.3\...
user avatar
  • 1,843
23 votes
2 answers
8k views

How to change symbol for footnote in minipage

\renewcommand method does not work \documentclass{article} \renewcommand{\thefootnote}{\arabic{footnote}} \begin{document} \begin{minipage}{1.3\textwidth} test this\footnote{abc} \end{minipage} \...
user avatar
  • 1,431
7 votes
4 answers
2k views

Creating this poster layout using minipages

I am making a poster in LaTeX. I am using the minipages enviroment to split the poster into three columns. I have some boxes which spread over multiple columns. The difficulty arises when I try to ...
user avatar
  • 1,696
68 votes
2 answers
112k views

Align text in minipage at same height

I need to put some text at the same height in my page, and I'm trying to do it with a minipage, but I'm not able to do it since they get centre-aligned. This is the LaTeX for the figure I've uploaded:...
user avatar
  • 1,687
23 votes
2 answers
61k views

minipage environment with bottom-aligned

I would like to make my figures with bottom-aligned, but the arrows are still in the center. Here is my code: \begin{figure}[!ht] \centering \begin{minipage}[c]{0.2\textwidth} \includegraphics[...
user avatar
  • 1,367
3 votes
1 answer
1k views

Equation left margin

I have equations inside an environment which has a larger left-margin than the main text (analogous to an enumerate/itemize environment, implemented with the changepage package's adjustwidth ...
user avatar
  • 203
2 votes
2 answers
1k 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. ...
user avatar
  • 173
47 votes
1 answer
104k views

How to put two minipages side-by-side, which use 100 % of the text width?

In draft-mode a black marker indicates that the reserved space is too low. This also appears in the following example, but it shouldn't. How can I put two minipages exactly side-by-side? \...
user avatar
  • 3,965
17 votes
3 answers
17k views

How to make minipage spanning multiple pages

I'm using this resume template: https://github.com/deedydas/Deedy-Resume This template uses minipage to build a layout like : +-----------------+ | Header | +------+----------+ | | ...
user avatar
  • 171
12 votes
5 answers
7k views

Background image for minipage

I'd like to put a background image into a minipage, stretching exactly to the surrounding fbox. What's the best option to do that? (Searching the web, I only found solutions for backgrounding the ...
user avatar
  • 223
8 votes
2 answers
17k views

Why is text being placed beyond the specified line width?

I thought that I knew a few things, but looks like I have some basic misunderstanding on how TeX is supposed to typeset material. I thought that settings by the geometry package would force the text ...
user avatar
6 votes
2 answers
5k views

Border in a box frame or minipage

I want to trace a border in a box or minipage like this model. A border customizable in left angle on top and right angle in bottom. Somebody can help me? Thanks a lot JPierre
user avatar
12 votes
2 answers
5k views

highlight lines in listings

I have code that i have included into my document using the texcode below \begin{minipage}{.48\textwidth} \centering \lstinputlisting[numbers=left,xleftmargin=2em,frame=single,framexleftmargin=2em, ...
user avatar
7 votes
3 answers
727 views

How to arrange a large picture on the side on the current page?

I have a decorative picture that I want to display on the right side current page. The picture should fill the whole vertical length of the text body (maybe even 1cm larger). The picture is long and ...
user avatar
  • 2,410
5 votes
3 answers
363 views

nccmath affecting minipage widths

It seems that nccmath is affecting the layout of minipages. In the MWE, you can see the left minipage is clearly not taking up 70% of the page as I wanted. I'm hoping that there is an easy fix for ...
user avatar
1 vote
1 answer
346 views

How to place three figures side by side, but two figures are seen as subfigures with one main caption, and third figure as standalone

I would like to place the figures as illustrated in the figure below. The below code can place three figures side by side, but the third one on the right hand side becomes 1c (instead of 2). Any ...
user avatar
13 votes
2 answers
19k views

Why is the minipage indented on the left?

I am trying to create a CV and for the heading information I am using a minipage to display my name and Curriculum Vitae inline with smaller text containing my contact information. The code works ...
user avatar
  • 133
7 votes
2 answers
3k views

What is the best way of arranging multiple minipages on a page?

I have been trying to use mini-pages to produce the equivalent of Office text-boxes. The idea is to have panels of different sizes on a page such as 4 equal sized or one wide followed by two long ...
user avatar
8 votes
1 answer
13k views

Minipage: 2 tables side by side isn't working

I have the following code to layout two tables side by side: \begin{minipage}{0.3\textwidth} \begin{tabular}{c | c | c | c | c | c | c} F & D & E & G & P & A & L\\ \hline C &...
user avatar
7 votes
2 answers
3k views

Alignment of item number in list containing a minipage

I would like to have the list number at the beginning of the item, and not centered as is the case for item (b) the example below. If I comment out the \usepackage{nccmath}, I get this, but then the ...
user avatar
5 votes
1 answer
1k views

Improper symbol mark of footnote in minipage environment

I think that the footmisc package has predefined the sympol mark series, but in minipage environment they become invalid. See below \documentclass{book} \usepackage[symbol*,stable]{footmisc} \...
user avatar
  • 157
2 votes
2 answers
526 views

Minipage content overlaps with text before that if nccmath is used

It seems that if the nccmath package is included, then the text in the following minipage overlaps with the text before that if the minipage contains only display math. The \FixMinipageForNccmath ...
user avatar
83 votes
5 answers
74k views

\parbox vs. minipage: Differences in applicability

Lamport, LaTeX: A document preparation system, states on p. 104: There are two ways to make a parbox at a given point in the text: with the \parbox command and the minipage environment. They can be ...
user avatar
  • 239k
63 votes
2 answers
188k views

How to split a frame (of beamer) into 2 parts (minipage) side by side?

I would like to split a frame into 2 parts side by side by minipage. But it seems that the following code puts one on top of the other: \begin{minipage}[t]{0.48\linewidth} left part \end{minipage}\...
user avatar
  • 18.6k
26 votes
1 answer
41k views

lstlisting in two columns

I would like to have two listings, side by side. They have approximately the same length, therefore I don't care about how it's layed out if one part is longer. I tried \begin{minipage}{\textwidth} ...
user avatar
22 votes
1 answer
73k views

tables side-by-side using minipage

I'm trying to get three tables side by side using minipage. In spite of my horrific efforts my tables keep stacking on top of each other instead of standing beside what drives me mad. Can anybody spot ...
user avatar
  • 505
13 votes
2 answers
9k views

\footnotemark and \footnotetext in minipage

The Tufte handout class give a neat layout that shows the footnote at the right hand side not bottom line. But, when I use the minipage with tufte-handout, and if the minipage has the footnote, the ...
user avatar
  • 5,631
7 votes
3 answers
6k views

Caption issue when placing figure side by side

I placed 2 figures side by side using the minipage method from this post, and the figures look perfectly fine. However, the caption of the right figure stick out into the margin, why is that and how ...
user avatar
  • 2,782
23 votes
2 answers
14k views

Minipage that allows page breaks?

Is there a minipage-like environment that allows pagebreaks? Everything I can find is about avoiding page breaks (which minipage does well) but I want to indent a whole section, which is convenient to ...
user avatar
  • 2,773
12 votes
1 answer
19k views

Problem with top alignment in beamer columns

I am trying to place two images in top of two columns in a columns environment, in a beamer presentation. The first column consists of one image on top and a enumeration list bellow the image. The ...
user avatar
  • 11.9k
7 votes
2 answers
1k views

Article example inside beamer frame

Let us assume that we have the following example code for an article \documentclass{article} \title{Sample title} \author{Sample author} \date{} \begin{document} \maketitle \section{Sample section} \...
user avatar
  • 577
17 votes
4 answers
5k views

In beamer class, how do I remove the additional vertical space before an itemize environment?

On a beamer slide, I want to produce something like I use the following LaTeX code, which works well in LaTeX with the article class. \begin{minipage}[t]{1.4cm} Questions: \end{minipage}\nobreak \...
user avatar
  • 36.6k
11 votes
1 answer
9k views

Putting algorithm in minipage

I have the following algorithm. Could any one please let me know how I can put it in a minipage? \begin{algorithm}\small {Start}\; \eIf{A is bigger than B}{ \eIf{if A is bigger than C}{ A; }{ ...
user avatar
  • 113
10 votes
3 answers
4k views

Resuming a list started within a minipage

I have a minipage with a figure, and I want part (a) to be on the right of this figure (so part (a) is in a 2nd minipage), and the remaining parts (b), (c), etc to be below. The insights provided in ...
user avatar
6 votes
1 answer
727 views

Minipages in macros for ConTeXt

In LaTex I build the following macro "kum" for translating arabic to german. The result are two minipages, left one with german, right one with arabic (the other two minipages were for design-issues). ...
user avatar
  • 915
5 votes
2 answers
4k views

Minipage reset indent. How can i set again to standard? [duplicate]

I have the following code. \documentclass[a4paper, titlepage, 11pt]{article} \begin{document} \section{Introduzione all'astrofisica} \begin{minipage}{12cm} In astrofisica, differentemente ...
user avatar
3 votes
1 answer
444 views

configuring minipage in htlatex

I want to use minipage in htlatex, because I want to have a minipage with a figure, close to a minipage with some text, and then I want some other text that must be on a new line and full-width. I ...
user avatar
  • 341
2 votes
1 answer
2k views

How to align two images side by side if one label has more lines

I have two same sized images and want them side by side with a caption under them. My code looks like this: \begin{figure}[H] \centering \begin{minipage}{.5\textwidth} \centering \...
user avatar
2 votes
2 answers
9k views

Two tables side by side with minipage

I have a problem that I cant solve it alone even I have read several threads here. The goal is to have 2 tables side by side with subcaption (a) and (b). However, I dont know where my mistakes are, ...
user avatar
  • 217

1
2 3 4 5 6