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

learn more… | top users | synonyms

3
votes
3answers
128 views

Align text on a vertical axis similar to movie credits

I would like to align text on a cover page in a way often seen in movie credits, with the "key" ragged right and the "value" left: I use two minipages next to each other to achieve this. However, ...
2
votes
1answer
186 views

Paragraph Spacing within a Tikz Environment

I am looking to replicate the look of paragraphs within a tikz environment (actually a minipage). \documentclass[letterpaper,12pt]{book} \usepackage{tikz} ...
1
vote
1answer
167 views

Why \ifnum\c@mpfootnote does not work inside tabular?

Why \ifnum\c@mpfootnote does not work inside tabular? Should not I get no footnote-rule? I am just puzzled! \documentclass{article} \begin{document} \makeatletter \long\def\@mpfootnotetext#1{% ...
2
votes
0answers
104 views

Pictures not inserting [closed]

I am trying to insert a picture using \usepackage[pdftex]{graphicx}. I have that in my preamble, and then I'm attempting to insert a picture on a title page. I use the \includegraphics command. I ...
5
votes
2answers
1k views

Problem controlling vertical alignment of minipage containing only math

I would like to insert a large box containing maths into a line of text and align the box with the top of main line. Strangely, the argument "[t]" gets ignored in the first example below (the second ...
7
votes
2answers
480 views

Tikz Ellipse Formatting

I am having difficulty formatting an ellipse within a Tikz box. I am a little bit of a loss on how to describe the issue, so I will let the code speak for itself. I want it to look like this: ...
3
votes
1answer
222 views

Two labeled equations on the same line with labels lining up vertically

I'm using the following LaTeX code within the amsmath environment in LaTeX (MiKTeX 2.9 and TeXnicCenter under Windows): Let $f$ represent the resulting number of such two-step cycles that operate per ...
1
vote
1answer
411 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
117 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
141 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
210 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
1k 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
192 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
432 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 ...
4
votes
2answers
6k 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
227 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
23 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 ...
3
votes
1answer
2k 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
439 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 ...
2
votes
1answer
3k 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] ...
3
votes
1answer
156 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: ...
2
votes
1answer
1k 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, ...
5
votes
1answer
423 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 ...
4
votes
1answer
2k 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
580 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 ...
1
vote
0answers
39 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 ...
2
votes
0answers
160 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 ...
7
votes
1answer
916 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
278 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
181 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
244 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
1k 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
2k 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 ...
5
votes
1answer
2k 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
314 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 ...
1
vote
2answers
2k 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? ...
1
vote
1answer
152 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
732 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: ...
1
vote
1answer
231 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
1k 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
888 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
309 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 ...
4
votes
1answer
277 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 ...
2
votes
1answer
597 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
608 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
229 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} ...
4
votes
3answers
584 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
2k views

Minipage spreading to multiple page

\documentclass[12pt]{article} \usepackage{graphicx} \usepackage[parfill]{parskip} \usepackage[none]{hyphenat} \sloppy \usepackage[usenames,dvipsnames]{xcolor} ...
3
votes
1answer
663 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
220 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. ...