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

learn more… | top users | synonyms

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 ...
4
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
284 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
141 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
654 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
215 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
758 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
297 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
264 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
510 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
522 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
194 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
458 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
1k 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
598 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
197 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. ...
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
195 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
879 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
131 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
2k 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] ...
5
votes
2answers
236 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
129 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 ...
4
votes
2answers
3k views

table positions within a minipage

I have the following code, it should generate 2 side-by-side tables. However, the left table is too left that its last half is there, and the right table thereafter. How can I position them properly? ...
2
votes
2answers
2k views

remove box borders

I have the following code, in which I fit three logos into a box: \setlength\fboxsep{0pt} \setlength\fboxrule{0.5pt} \fbox{ \begin{minipage}{14em} ...
4
votes
1answer
922 views

Customizing \maketitle output with \minipage's inside \titlehead => Alignment problems

I am trying to customize the title of my scrreprt class document. The \titlehead looks like this (basically, three 'columns' created with three instances of \minipage): \titlehead{ \large ...
8
votes
2answers
347 views

minipage is wider than I wanted

Occasionally, the width of a minipage environment seems to be ignored. I've not kept accurate records of when this has happened. But below is purely illustrative code that shows the issue. ...
7
votes
1answer
269 views

Why does this code give me a badbox?

Why does this code give me a badbox? \documentclass[a4paper, 10pt, notitlepage]{article} \begin{document} \begin{minipage}[t]{1.0 \textwidth} aaaaaaaaaaaaaaaaaaaaaaa \end{minipage} \end{document} ...
4
votes
1answer
6k 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 ...
2
votes
1answer
173 views

adding vertical space conflicts with inputenc using utf8x only

For context, this question was raised by the answer to a previous question. I'm trying to design a title page for a beamer presentation, although this could be a more general issue. I use the ...
2
votes
1answer
248 views

Minipage: trouble getting figures at top of page

I'm trying to fit these to flowcharts in one page. This is what I got so far, not so nicely done I think. Any suggestions how I can get the flowcharts at the top of the page, nicely next to each other ...
4
votes
1answer
173 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). ...
0
votes
1answer
2k views

Figure inside a minipage [duplicate]

Possible Duplicate: How to use figure inside a minipage? For a kind of report, I have to write each section in a boxed space. To do that, I use the following : \newcommand{\textbox}[1]{ ...
2
votes
1answer
3k views

minipage in tabular gives Underfull or Overfull \hbox

I'm trying to put two tabulars together inside minipages inside a larger table. For the reader it is convenient to have these two tables next to each other. The problem is that I get Overfull ...
2
votes
2answers
200 views

How to arrange / align / place pictures and text, to form a given headline?

I tried to solve this with tables, but the alignment didn't turn out good. And because I am very confused, if I should even use a table aproach or a minipage or a tabspace, I wondered, if someone ...
5
votes
2answers
346 views

How to define, once and for all, the size of the area (for an epigraph following a chapter)?

I am using 'memoir' for a thesis, and I have chosen the vertical space between a chapter title and the following section to be exactly fixed, \afterchapskip being 120pt for each new chapter. What I ...
12
votes
4answers
703 views

Two column problem

I'm trying to replicate a certain part of a scanned book. However, I'm unable to get two columns, which have enumeratation on the left, line of the right column which is in the parallel with first ...
8
votes
3answers
2k views

How to split a page in six equally sized sectors?

I'd like to split an A4 page into six equally sized sectors. I want that page to be in landscape. Each sector has a body of text and a caption. I don't really have an idea where to start. I know I ...
7
votes
1answer
2k views

No horizontal spacing within minipage

I do not understand why my attempts to introduce horizontal spacing in beamer (with hspace or typographical spacing) fail when within a minipage: \documentclass[10pt]{beamer} \begin{document} ...
3
votes
1answer
172 views

svmono and footnote inside boxedminipage

Using the svmono class (downloaded from http://www.springer.com/computer/lncs?SGWID=0-164-6-793341-0 ), I get a latex error "Command \itshape invalid in math mode" with the following code: ...
4
votes
2answers
602 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 ...
4
votes
1answer
144 views

Place group of text and image on same exported PDF page

I am new to Tex and this question maybe is not written well, so I will try to explain it better. I am writing a reference manual where there are a lot of "blocks" that all have the same structure: a ...
2
votes
1answer
3k views

Using minipage with subfigure didn't produce side by side figures

As per this, I tried using \minipage with my \subfigure, however to no avail. (My figures are still stacked vertically) I even tried changing scale to width=0.5\textwidth... What did I do wrong? ...
3
votes
1answer
348 views

Colorboxes that break across pages

I am trying to build an environment/command that allows me to place comments in the text. The idea is to have colored box that can break across pages and use the \ttfamily font with hyphenation. I ...
7
votes
3answers
3k views

Increase spacing after minipage

Hello i am using a line of code to draw 2 equations next to eachother using \minipage{}: \begin{minipage}{0.5\textwidth} \small \begin{equation}\label{e3} \begin{split} \frac{\mathrm d x'}{\mathrm d ...
1
vote
2answers
919 views

How to change the position of the caption in a “narrow” and “minipage” environment?

I have some huge figures to include in Latex. Therefore I use the "minipage" and "narrow" environment to place it right at the desired position and to move it to the left until it looks centered. ...
1
vote
1answer
626 views

side by side minipages with keepaspectratio=true

This question may seem superficially similar to side by side minipage figures but in fact I believe its different. This code produces a result which is messed up (the text should be under the ...
14
votes
3answers
16k views

side by side minipage figures

I have this code where the part marked A is the same as the part marked B except that .4 in A is .45 in B. Even though they are so similar the first one puts the images side by side with the ...