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

learn more… | top users | synonyms

0
votes
1answer
1k 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
192 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
305 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
688 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} ...
2
votes
1answer
152 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
531 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
128 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
2k 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
325 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
2k 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
700 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
563 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 ...
12
votes
1answer
13k 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 ...
0
votes
1answer
757 views

Fix the height of a column

I have several similar slides in beamer. Each slide has 2 parts side by side. On the left hand, there is a tikzpicture in a minipage, it is same for all the slides; On the right hand, there are ...
2
votes
1answer
7k views

Fix the height/length of a minipage

I have 2 columns in 1 slide. On the left hand, it is a tabbing inside a minipage in a framed. Some sentences are shown one by one by overlay, that results in the height/length of the whole minipage ...
1
vote
1answer
3k views

Adjust the caption to figures on minipage

Using minipage, is posible to split the (a) (b) letters above any figures, in order to perfectly center them? \begin{figure}[tpb] \subfloat[]{ ...
1
vote
1answer
235 views

Alignment of text not correct

How would I make the position of the name of my referees be alligned on the same row? In the picture below, I would like to make the "Name of person" on the right to be aligned nicely with the "Name ...
2
votes
1answer
306 views

Page layout and margins

My CV is currently the image on the left, but how would I shift my name up and make the format (structure of the page etc.) of my CV which is on the left of the image below, like the cv on the right ...
4
votes
1answer
460 views

Introducing a blank area in the header with a0poster

I'm writing a poster with a0poster and have to make the poster according to the conference instruction. In the header, left of the title, I have to leave some space so that the organizing committee ...
1
vote
1answer
399 views

Using colorbox in a Listing/minipage with underscore “_”

I am having some issues with using \colorbox{}{} in combination with an underscore. The Listing will compile without issues and highlighting the text properly, but as soon as I have an underscore in ...
16
votes
1answer
830 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 minipage, ...
12
votes
1answer
995 views

Wrapfigure-Minipage Woes: How do I correctly typeset wrapped text boxes within a \parcolumns environment modified for a two-sided document?

This is a follow-up question concerning an experimental chapter layout I'm trying to implement for a novel I'm writing. So. My initial problem of finding a way to modify the innards of the parcolumns ...
2
votes
1answer
561 views

aligning a table with a figure side to side using llncs format

using the \documentclass{llncs} instead of for example \documentclass{book} will not make the captions aligned together for the following example. How can I do to align them together: ...
6
votes
2answers
7k views

Align minipage on right side

I was thinking that this is a small matter, but I can't seem to get my head around this. I want to create a legend, which sits on the right side of the page. I created a minipage environment around ...
1
vote
1answer
667 views

Custom Beamer Block has strange spacing why?

I have a custom block defined as the following! this comes from the progressbar theme from http://recherche.noiraudes.net/fr/LaTeX.php \newdimen\lengthone \newcommand{\defblock}[1][]{ ...
8
votes
1answer
890 views

How to produce 5-up 3by5 index cards

I want to produce instructional 3by5 index cards. It's easy enough to produce the cards one per page, but I want to print five copies of the same car on a single sheet of 8.5by11 card stock, where it ...
4
votes
1answer
204 views

How do I make a framed coffin with correct alignment?

I'm playing with coffins for a title page and would like to have a square framed box that aligns with the topline and baseline of text within a rotated coffin. I have a couple of issues with this so ...
8
votes
2answers
2k views

Changing minipage vertical alignment in mid-line?

Please consider the following MWE: \documentclass{article} \usepackage{lipsum} \usepackage[showframe,showcrop]{geometry} \begin{document} \section{Section 1} aa \fbox{\begin{minipage}{100pt} Box 1 ...
11
votes
2answers
800 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, ...
1
vote
1answer
619 views

cannot scale images with latex fonts which are side by side

Referring to cannot use \caption under minipage, When I use the solution provided to the question in link above, in order to include images with latex math fonts embedded into them and place them side ...
2
votes
3answers
5k views

How to put text in minipage top-centered?

I am working on LaTeX and R. I want to put text (here itemize top aligned) in minipage. In the attached image (dummy image with itemize text), how can I put itemize . First line . Second line on ...
6
votes
1answer
7k views

cannot use \caption under minipage

I am using following code to import two images next to each other. When \caption{} is used, LaTeX gives me error caption outside float. \begin{minipage}{.5\textwidth} \centering ...
4
votes
1answer
617 views

What's wrong with minipage(table(minipage(align))) arrangement

In an attempt to show the code and the output side by side, I have used a table inside a minipage. The table entries are two minipages and one contains an align environment. Having the align ...
8
votes
2answers
2k views

How do I make one minipage the same size as another?

I'm writing a LaTeX document into which I want to put two boxes, in a row next to each other, which will contain varying length content. I want each box to be the same height, and that height needs ...
5
votes
1answer
2k views

How to control the vertical height of boxes

I would like to create boxes where I can control the height of the boxes. Right now I have used the command. \colorbox{calcclr}\makebox[\textwidth-2\fboxsep][l]{#1}}} This gives me a box that ...
2
votes
1answer
1k views

Problem with itemize indentation in minipage in tikz node

How could I disable the indentation of the items here: The MWE is this (compiled with pdflatex): \documentclass[12pt,a4paper]{article} \usepackage[pass]{geometry} \usepackage{tikz} ...
21
votes
2answers
43k 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 ...
3
votes
1answer
883 views

Figure numbering with minipages (memoir)

I have the following figure, where I can't seem to get the numbering right. The numbers next to the captions comes out as Figure 1, Figure 2, and Figure 3, but I want them to be (a), (b), and Figure 1 ...
11
votes
2answers
5k views

Two minipages with 0.5\textwidth each get placed one below another

This happens in the beamer class only. Does anyone know the reason behind this? I fix it by just setting both widths to 0.49\textwidth and this works but I'm still curious why this happens and if I ...
12
votes
2answers
187 views

\if@minipage purpose in floats

In floating environments such as the captions of figures, LaTeX has a \global\@minipagefalse, why is this necessary and what does this switch do? \long\def\@makecaption#1#2{% ...
4
votes
1answer
626 views

Placement of graphics in a triangular orientation

How is it possible to import figures into a somewhat triangular orientation? By triangular orientation I mean having one figure and then a further two figures underneath where all figures have a ...
3
votes
1answer
1k views

Custom divider between 2 minipage and lstlisting

I am using the following code to have 2 boxes beside each other for code comparison: \documentclass[12pt]{article} \usepackage{listings} \begin{document} \begin{singlespace} ...
3
votes
1answer
925 views

Shadowbox that breaks page

I am trying to typeset a block of text in shadowbox. The text is quite long, therefore I would like it to span across two pages where necessary. TeX will not perform a pagebreak, though. Here is my ...
6
votes
1answer
532 views

How to place two ctables side by side

ctable, not a regular table/tabular. How can I get two narrow ctables to go side by side? I want them to be subtables of a larger table, just two independent tables side by side. I've tried using a ...
4
votes
6answers
366 views

Make the width of the figure (including 2 minipages) same as the paper

I have 2 minipages side by side as follows: \begin{figure} \centering \fbox{ \begin{minipage}[t]{0.48\linewidth}% \begin{minipage}[t]{0.48\linewidth}% left part ...
2
votes
2answers
1k views

Increase space between two tables in minipage and TikZ overlay

Sorry but this is the MWE I could post. I also attached the image. The top image is what I am getting and the bottom one is what I desire. I manage to create nodes but do not know how to connect them. ...
2
votes
1answer
474 views

What width value corresponds to the Tufte fullwidth environment?

In Tufte-LaTeX, I'd like to manually create a full-width environment using minipage rather than the package's fullwidth environment. What width value should I supply to minipage to match that of the ...