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

learn more… | top users | synonyms

1
vote
1answer
868 views

Height filling minipages in Beamer

I am trying to accurately center things in my Beamer frames with animations. For that purpose, I would like to use minipages with fixed height, which should be automatically inferred so that I do not ...
4
votes
1answer
253 views

Bytefield bitheader escaping its minipage?

In a small segment of a much larger document, I'm building a poor man's two-column layout using minipages for a short run. The bitheader from the bytefield in the right column, however, seems to be ...
4
votes
1answer
187 views

No space above first \item inside mdframed [closed]

Problem This is what happens: But I want the same vertical spacing before the first list item inside the mdframed environment as outside of it. How can I do this? Code \documentclass{article} \...
4
votes
1answer
247 views

Two columns with page span

this is my first post! I have tried to find a solution before posting. I have some input put into my .tex. The left column is text input by a user. To the right I would like 0..4 pictures, also ...
2
votes
1answer
2k views

how to put two pictures together using minipage

I wish to put two pictures side by side using mini page, however, it seems the two pictures even not in the same borderline. Here is my code, I can not figure out what the problem is. \...
5
votes
1answer
288 views

Indented box that split in multiple pages

I am doing a document with exercises and corrections. I would like the corrections to be easily remarkable so that no student read it by accident and get its exercise spoiled. I have written an ...
8
votes
3answers
736 views

Minipage footnote is inside tikZ node

I have a minipage, and inside of it I have a footnote and a tikZ picture. Now my problem is, that the footnote text goes inside the last node of my tikZ picture. That is not what I want – and it's ...
7
votes
2answers
16k views

Set background color of a box with predefined width

I would like to have something like a minipage with colored background, i.e. a box where you can predefine the width and the background color. My attempt \colorbox{green}{\begin{minipage}{\slwidth} ...
2
votes
1answer
322 views

Make a list with uniform spacing regardless of the characters and number of text lines, possibly with minipages or a table

I am trying to make a list with two columns, where I can used different font sizes and have single- or multi-row columns, while adhering to the page margins and aligning the text properly regardless ...
0
votes
0answers
26 views

\ref{figures} goes to the part, not the figure [duplicate]

I'm using Latex for a Report about signal processing and I've a lot of figures. SoI putted them into minipages to display them side by side. It's fine but the references doesn't work. Here is an ...
4
votes
1answer
3k views

Wrap around text inside frame (minipage) in Lyx

I want to insert a number of drop-shadowed frame inside a document and place (the same) graphic in the top left hand corner of each box. I would like the text in the rest of the box to wrap around ...
4
votes
1answer
1k views

Line numbering with Lineno within Minipage

I am trying to add line numbers to a reading passage. The issue is that I can't get them to display when I try to number lines within a minipage environment. Can anyone answer what seems to be a ...
4
votes
1answer
7k views

Left margin minipage two figures

I have a minipage with two figures, the problem is, that I want to have them shifted to the left, so the left margin should be smaller, the code of my minipage: \begin{figure}[H] \begin{minipage}[b]{...
3
votes
1answer
194 views

Chemfig reaction to wide for twocolumn

For a paper I have to describe certain reactions. I am using the chemfig package to do this. The paper has to be two columns and this is where it goes wrong. When I compile this reaction: \...
3
votes
1answer
3k views

Spacing problem while using itemize in minipage

I am using itemize in minipage and observe unexpected spacing among items. \documentclass[11pt,table,a4paper]{article} \usepackage[framemethod=TikZ]{mdframed} \usepackage[top=.5cm, bottom=2cm, left=...
5
votes
1answer
1k views

How can I express \begin{minipage}{\linewidth-2ex}?

I am working on a poster template with a not so easy to reproduce style with nested blocks. To that end, I have to create a minipage whose width depends on \linewidth minus some fixed value. In a ...
7
votes
1answer
5k views

Align the top of two tables horizontally (side-by-side with minipage)

I'm using \minipage to put two tables side by side. But when the two tables are not of equal length, the shorter of the two is vertically centered with respect to the other. I would like both tables ...
1
vote
2answers
1k views

Create an exceptional A3 page within an A4-based report

I created a picture within a tool that fits exactly in an A3 page. However I need to place this picture within an report that has A4 pages by default. The picture contains lots of information so I don'...
1
vote
0answers
55 views

How to implement a floating text box? [duplicate]

I'm trying to write an environment that creates a new float type for text boxes. These are used for example in some books to provide interesting tidbits that aren't really part of the main line of ...
3
votes
0answers
200 views

How to do a small box synchronized translation? [closed]

I would like to do something similar to the Artscroll Bibles, with a Hebrew text and a small box on the top with a synchronized translation. In the following picture, the box in question is the upper ...
9
votes
1answer
2k views

How can I determine the height of a minipage?

If I have a minipage \begin{minipage}{5cm} content \end{minipage} How can I determine its height and save this value as a length?
4
votes
2answers
374 views

Table of 2x2 tikzpictures

I'm attempting to condense 4 tikzpictures into a smaller space in my document. The solution I have is as follows: \documentclass{article} \usepackage[paperwidth=6in, paperheight=4in]{geometry} \...
3
votes
1answer
286 views

Placing a tikzpicture next to an align

I have a tikzpicture with an accompanying explanation in a math align environment. The tikzpicture is small enough that I'd like the explanation to appear next to (specifically, to the right) the ...
1
vote
1answer
356 views

Problem with sizing side-by-side minipages

I've been writing up my resume in LaTeX (for the flashiness and also to get better with LaTeX), and I've been having some trouble with one of the macros I wrote, called \nrccolstring. \nrccolstring ...
2
votes
1answer
3k views

About figure in minipage

How to hide "Figure 3:" and "Figure 4:", and let "Figure 5" shows as "Figure 3"? (i.e. subfigure not taking the figure number) \begin{figure}[htbp] \hspace{-4mm} \begin{minipage}{0.5\linewidth}] \...
4
votes
1answer
3k views

Two-column itemization with title in each column

I'd like to make a two-column list with some kind of titles, with "normal" text before and after. I tried it with the package "multicol" an with "minipage", neiter turned out well. Since the problem ...
6
votes
1answer
3k views

Ruled Algorithms in columns/minipages

I'm using Benoit Guillon's algo styles for Lyx (at http://bgu.perso.libertysurf.fr/) in 2.0 to get nice algorithms ruled with line numbers. This is just a wrapper for the algorithm and algorithmic ...
7
votes
1answer
531 views

General question on floating and non-floating objects in LaTeX

I am wondering when you place a non-floating object such as a minipage into a floating environment such as a table or figure if this construction as a whole is then a floating or a non-floating object?...
1
vote
2answers
6k views

Positioning equation and figure side by side fails [duplicate]

I have been trying to position an equation and a figure side by side for quite some time and an equation allways mooves down for some reason. Here is the code that i use. What am i doing wrong? \par\...
1
vote
1answer
292 views

How to indent a specific line in a mini page

This is in a mini-page format: I want to write the following but have all the lines that are started by $'s be indented by a set amount that I would like to play with until it looks right. I'd also ...
2
votes
1answer
1k views

llncs and caption - underfull hbox

I'm using the llncs document class and try to get two figures side-by-side. I found a solution, but I get a hbox underflow if my captions have a bad length. Here is a minimal example: \documentclass{...
1
vote
1answer
360 views

Minipage won't format properly

I need help with this. Why Block B is being printed below Block A? I need to have it right to Block A. \documentclass[10pt]{article} % Font size - 10pt, 11pt or 12pt. \usepackage[hmargin=1.25cm, ...
5
votes
2answers
2k views

\raggedright behavior with minipage and tabbing

In the following 3 examples a minipage with a nested tabbing environment is used to show several aligned lines of text. (This is part of a larger example.) Output of pdflatex : The first example ...
6
votes
1answer
2k views

Alignment inside minipage with flushright

Please help me to figure out how to produce with that: I have the following code: \begin{flushright} \begin{minipage}{0.5\textwidth} {\bfseries Допущен к защите: }\hrulefill \\ {\bfseries ...
2
votes
1answer
412 views

Figures are not visible inside minipage

I am a novice in Latex. Recently I am trying to use minipage to show some figures. The code I am using is as following: \begin{figure}[t] \begin{minipage}[t]{\linewidth} \centering \epsfig{file=0....
4
votes
1answer
395 views

How can I make an environment so that I can reserve space for text next to a figure?

I'm working on a layout for a custom textbook class, and I'm having issues getting this environment to work as I like. Here's a shot of my current working layout: I'd like to be able to make an ...
3
votes
1answer
1k views

How to limit the width of equations?

I want to control the width of the equations so they don't exceed a predefined width. Firstly I used minipage environment and put the eqnarray within that. This does not produce the line breaks before ...
2
votes
1answer
1k views

How to left align footnotes under tabularx in a minipage

I am new to LaTeX, trying to create a table using a tabularx in a two column format. I am creating the table in a minipage so that footnotes can appear at the bottom. Everything works out fine, but ...
4
votes
2answers
404 views

settototalheight issue with empty lines

I am using \settototalheight to calculate the height of the text in order to use needspace correctly. This is the code i am using : \documentclass[12pt]{article} \usepackage{graphicx} \usepackage[...
4
votes
3answers
2k views

Inserting three minipages in the same line

I'm trying to insert three minipages, side by side, in a line, but I'm failing miserably. Here's what I've been able to do so far: % ------------------------------------------------------------------...
3
votes
2answers
4k views

Minipage spreading to multiple page

\documentclass[12pt]{article} \usepackage{graphicx} \usepackage[parfill]{parskip} \usepackage[none]{hyphenat} \sloppy \usepackage[usenames,dvipsnames]{xcolor} \usepackage{...
3
votes
1answer
1k views

Tables: Automatic adjustment of columnwidth to its content gives error “Misplaced \noalign” at \toprule

I am trying to put two tables next to each other, vertically aligned top, with some below listed adjustments I unfortunately can't get together. First, I'd like to know if/how I can avoid the error ...
1
vote
2answers
397 views

Minipage for two descriptions

I am attempting to use minipage to put two descriptions side by side. I have successfully used minipages for figures and tables, but for some reason this one won't work. Here is the code. \begin{...
2
votes
1answer
2k views

twocolumn with minipage over full width

I'm trying to make something similar to http://ww1.microchip.com/downloads/en/appnotes/00734b.pdf I'm using the twocolumn option, and have defined my own \showtitle command: \newcommand{\showtitle}{ ...
4
votes
1answer
266 views

Laying out subfigures with minipages

I want to place 3 subfigures in a figure with two columns. There is one big subfigured placed to the right. The two subfigures on the left should be aligned so that the first is aligned with the top ...
4
votes
4answers
10k views

\fbox around type area

I'm trying to put a border around multiple lines. Here's a MWE with what I've achieved so far: \documentclass[a4paper]{scrartcl} \usepackage{calc} \begin{document} \setlength{\parindent}{0cm} text ...
1
vote
1answer
147 views

Subsection, subsubsection, etc. title outside (left of) the subsection, subsubsection, etc. content block

How could I get subsections, subsubsections, paragraphs, and subparagraphs (which I'll call "sections" from now on) that look like the one in this PDF file ? In this PDF example, the indentation ...
2
votes
1answer
7k views

Four Arranged Figures are offset

How can I ensure that the four plots (which are all the same size pdfs) appear with the same spacing: see they are offset here: % Actual versus predicted plots \begin{figure}[H] \begin{minipage}...
5
votes
2answers
385 views

Getting the interlinear spacing correct within a paragraph when using minipages

Let me start by saying that this is very similar to a previously posted question, How to keep a constant baselineskip when using minipages (or \parboxes)?, for which egreg gave a very nice solution. ...
2
votes
1answer
171 views

help with my kludges — manipulating whitespace in minipages

I'm using captionof to kludge some sidecap-like figures. sidecap wouldn't let me use my other kludge to get the horizontal rules. I like the first example figure but I don't like how the whitespace ...