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

learn more… | top users | synonyms

4
votes
2answers
8k views

Centering left justified text

I need to define a new environment that contains a minipage centered on the current page and with text left-justified. Something like: \newenvironment{texto}{ \begin{center} % so the minipage is ...
5
votes
1answer
354 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 ...
6
votes
1answer
706 views

graphical tools for tabular construction?

I often use R's xtable library or emacs org-mode to create tables in LaTeX (they are wonderful, by the way). I wonder if there are other tools people use which facilitate construction of large tables ...
5
votes
2answers
218 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 ...
1
vote
1answer
618 views

floating a tabular in a tabular using minipage

I am able to build the tex just fine, and using the minipage allowed the content on the right to float correctly over the given "blank space" that I was trying to take advantage of by doing this but ...
3
votes
1answer
639 views

Multiple footnotes in minipage - how to typeset as paragraph ?

I have a table in a minipage with multiple, short footnotes. These are typeset one per line. However, I would like to have these in 'paragraph' mode to save space. I have tried ...
6
votes
1answer
513 views

Why there is no output when invoking \usebox{\mybox} outside the minipage in which \sbox{\mybox}{contents} is invoked?

\documentclass{article} \newsavebox{\mybox} \begin{document} \fbox{% \begin{minipage}{5cm} \sbox{\mybox}{from first minipage} \usebox{\mybox} \end{minipage}% } %nothing rendered ...
4
votes
2answers
742 views

How to overlap two adjacent edges of 2 framed minipages placed side by side?

How to overlap the adjacent edges? In other words, the adjacent edges should be combined into one edge shared between to minipages such that all rules will have the same thickness. ...
1
vote
2answers
5k views

caption ruining figure placement in minipage

I have tiny problem. I'm using minipage to put two pictures side by side in a two column article. The code is \begin{figure*} \centering \begin{minipage}[b]{.49\textwidth} ...
2
votes
1answer
2k views

How to put algorithm block in a minipage so that footnote displayed immediate after the block

as stated in title. \documentclass{article} \usepackage{algorithm} % Need it for floating environment \usepackage[noend]{algpseudocode} % Hide endif .etc \usepackage{caption} % Need it for ...
5
votes
2answers
9k views

Placing images left and right of each other

I want to create the following layout: ------------ ------------- | IMAGE 1 | ...
6
votes
2answers
1k 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 ...
6
votes
2answers
2k views

Create layout avoiding overlapping floating wrapfigures

I'm writing companion notes for some beamer presentations. For each slide in a presentation, the document has a small picture of the slide, along with a text explaining the slide. For some slides, the ...
3
votes
1answer
708 views

avoiding white spaces between consecutives minipages

I am using the list environment \begin{itemize}\end{itemize} in pdflatex with several \item inside. I want to make each line from inside the environment "itemize" longer so that the length is ...
3
votes
2answers
3k views

How to force text and figures to be on the same page when minipage, samepage, nopagebreak do not work

I'm trying to get four figures (centered on a page in a 2x2 grid) to show up on the same page as the section heading ("Appendix"). The following puts the word "Appendix" on one page (all by itself) ...
2
votes
1answer
163 views

Complex alignments of blocks

How could the kind of layout below be achieved in LaTeX, without using a letter document class? At first, I thought of tables, but it would be impossible to align the first line of the second block ...
7
votes
1answer
4k views

Vertical alignment of tikzpicture with text?

I have some text, and a corresponding tikzpicture, both of which are to be part of a test question, and which are thus included as part of an \item in an enumerate environment. Like this: \item ...
9
votes
1answer
12k 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 ...
6
votes
1answer
3k views

Eliminate space at end of list in a table

I have a tabular environment, created with array loaded and using m columns, the cells of which mostly contain lists. In cells with a list, there is about 1em of dead space at the end of the list ...
20
votes
2answers
16k 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} ...
1
vote
1answer
3k views

Adding Tables to a Minipage Like Environment?

I'm trying to set up an environment to use for examples in my thesis document. I would like to increase margins, change the line spacing, open with "Example :", and close with $\Box$. Minipage works ...
10
votes
3answers
5k views

How can I create a two-column layout with different widths (and texts) for the two columns?

I want to create a document in which there are two separate columns of content. The column on the left is normal text, with sections, environments, etc. The column on the right is figures, all roughly ...
6
votes
2answers
5k views

Spliting a page in half horizontally

I am trying to fix two half-paged documents on one document, one on top of the other. The method below works pretty well so far, but I'm having trouble using 0.5\textheight for the height of the ...
8
votes
2answers
3k views

Fitting and centering text (both!) in a constrained area

Is there a way to make text size and alignment automatically "best fit" on a page? So that a large amount of text will be constrained on the page in a small font, but a small amount of text can be of ...