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

learn more… | top users | synonyms

7
votes
0answers
45 views

Vertically aligning minipages, subfigures, and subtables (not with baseline)

The goal My goal is to align side-by-side figures, tables, and text in minipages according to the top, middle and bottom of the largest such minipage. This makes it different (I believe) from the ...
1
vote
0answers
15 views

Right minipage goes outside of margin [duplicate]

I have two minipages side-by-side. However, the right one goes outside of the right margin even though I specify the correct widths. As a consequence, the text is no longer aligned on the right. Here ...
3
votes
1answer
32 views

configuring minipage in htlatex

I want to use minipage in htlatex, because I want to have a minipage with a figure, close to a minipage with some text, and then I want some other text that must be on a new line and full-width. I ...
4
votes
3answers
88 views

create environment that resizes content

I want to create an environment that puts its content within a minipage as wide as the current page. The environment would work as follows: \begin{FitToWidth} HELLO \end{FitToWidth} and produce a ...
3
votes
1answer
30 views

listing in minipage sucks content of previous page to the bottom

I'm working on a document that contains many listings (namely code samples) but not a lot of text. Most of these listings are only a couple of lines long, and a few span multiple pages. At the end of ...
4
votes
2answers
31 views

How to center 2 boxes with minipage side by side inside shadowbox

I have two boxes with minipage side by side with different height inside of \fbox, and they are centered each other \documentclass{article} \usepackage{fancybox} \begin{document} \noindent ...
2
votes
1answer
28 views

minipage 15.0pt too wide

Sometimes I have two (or more) figure environments which I want to layout on one page, and put a horizontal rule in the center. To acomplish this, I put a \vfill\hrule\vfill between the two ...
2
votes
1answer
32 views

Breaking minipages over multicols

I'm currently trying to break my two minipage's over two multicols columns, but for some reason, my \break is pushing my minipage to the next page, instead of the next column. Here is my code: ...
1
vote
1answer
78 views

Help me in aligning

\documentclass[]{exam} \usepackage{amsmath,amsthm,amsfonts,amssymb,dsfont,tikz,mwe,caption,float} \usepackage{pgf,tikz} \usepgflibrary{arrows} \begin{document} \begin{questions} ...
2
votes
1answer
42 views

Autoscale to fit images between paragraphs

Does anyone know to to place an image to fill up a space between paragraphs? My situation is that I have two minipages that must fall on the same page, but they dont take up all the space. Right now ...
4
votes
2answers
77 views

remove blank space before text under figure when using sidecaption and memoir class

As you can see, when using sidecaption in memoir class, the text in the margin control the text position under the tabulate. Is it possible to remove all this blankspace under the tabular ...
0
votes
0answers
24 views

Subsection wrong placed after several figures+minipages

I'm new using Latex and I found some code to place 2 pictures aligned (one next to each other) in case they have the right scale of course. It works perfectly. But when I copy/paste the code a couple ...
3
votes
2answers
43 views

How do I align the caption of these two pictures in my minipage at same `height´?

It might be a silly question, but it is bothering me that I cannot fix it at the moment. \medskip \begin{figure}[h] \begin{minipage}{.3\textwidth} \centering ...
0
votes
0answers
35 views

Larger picture in minipage, [scale=..] not effective

I try to make the last picture in this minipage larger with the [scale=..] code, but it is not working. I hope it does not have to do with the original view of the picture, so it can be fixed using a ...
4
votes
3answers
62 views

center an image in a custom minipage

Sorry for my broken language, I'm a Frenchy ! I have to create a page template for a personal project : a box without margins in the 72% of the page, aligned to the top which contains a big image ...
1
vote
0answers
51 views

Figures in Minipage to avoid multiple pdf's warning, now labels aren't working

I'm trying to include svg graphics in combination with the respective .pdf_txt within my bachelor thesis. So far that works but it triggers the Warning : 'multiple pdf's in a page group'. That Warning ...
4
votes
3answers
127 views

Align bullet points in two side-by-side itemized lists

I'm trying to create two side-by-side bullet point lists in a document, where each point lines up with the corresponding point in the other list, even when one of the points has multiple lines. So ...
4
votes
2answers
85 views

Dividing a page into independent parts/columns with different widths

I want to divide my page (A4 landscape) into different parts. The top should consist of four columns with different widths and no rule. For this I used vwcol but I could not figure out how to do a ...
4
votes
2answers
81 views

Is it posssible to embed list items `\item` in `NewEnviron` environments?

Question Is it possible to keep the \item commands in the body and wrap the itemize list environment with \NewEnviron from the environ package? I am also trying to wrap the list inside a TikZ node, ...
2
votes
1answer
59 views

Clean way to write a two column proof

I want to write proofs in the following format. The left-column I use for the exercise and the solution. And in the right-column I write results that I used in my proof. For example: I'm able to do ...
0
votes
0answers
20 views

custom lstlisting environment [duplicate]

I'm using the listing package for displaying source code in my document. I want to use the minipage environment to avoid page breaks within the listing, but I don't want to write, at every listing, ...
2
votes
0answers
50 views

Getting the real page number of a minipage

I am having trouble getting the 'real' page number of a minipage which is in a section. Sometimes it is off by one. I am trying to pass the page number and position in mm of the box (it's in an \fbox) ...
0
votes
0answers
41 views

Automating minipage positioning

Many times we have to use tables that do not accept footnote. This mostly happens with longtable environment. What I do for footnotes for these longtables is to actually use minipage, applying the ...
5
votes
2answers
114 views

Article example inside beamer frame

Let us assume that we have the following example code for an article \documentclass{article} \title{Sample title} \author{Sample author} \date{} \begin{document} \maketitle \section{Sample section} ...
0
votes
0answers
33 views

Split a page horizontally with page breaks

I am looking for an adequate package to split horizontally all pages of an article into two parts with page breaks. The expected behaviour shall be as in following picture: I already try with the ...
0
votes
1answer
61 views

Detecting (another) sub-minipage inside an encapsulating minipage?

Is it possible to detect if a minipage is present in an encapsulating minipage? Let me expand on that: I have a float environment which, simplified, can be defined by ...
0
votes
0answers
29 views

Table does not align next to eachother [duplicate]

I have two tables which I want to put next to each other and horizontal centered. However whatever I try they are not going next to eachother latex keeps displaying them on top of each other. This is ...
3
votes
1answer
52 views

Equation left margin

I have equations inside an environment which has a larger left-margin than the main text (analogous to an enumerate/itemize environment, implemented with the changepage package's adjustwidth ...
3
votes
1answer
90 views

minipage layout not correct

I want to generate a document with graph at left and tikz code at the right. I try to use two minipage but it seems it always layout it as up and down. The minipage is 0.45\textwidth, why latex still ...
5
votes
1answer
43 views

Paragraph spacing within minibox

I have tried all kinds of gimmicks, but I am stuck trying to reduce the double-spacing within the minibox to single space. (Obviously, I want to keep the global \onehalfspacing option.) This sounds ...
2
votes
1answer
55 views

Set minipage width to the available space

I am trying to fit 2 minipages next to each other, and I would like one to take 20% of the \textwidth, and the other one the rest of the space available, with a margin between both minipages that I ...
3
votes
2answers
86 views

Caption misalignment with minipage and adjustwidth

I'm trying to fit two over-sized figures side by side on one page. I tried using minipage and adjustwidth, but the caption on the second figure kept mis-aligning to the left, as shown below. I tried ...
1
vote
1answer
48 views

Adjusting figure and caption in rotated minipage on landscape

Already the title sounds complicated since I need to use the caption on the side of the rotated image in landscape mode. I tried some spacing as you see in lines commented with %, but it did not work ...
2
votes
1answer
105 views

How can I put a minipage that fits to the actual line width inside of a TikZ Node?

Question I would like to put a minipage environment inside of a tikz node. I know this is done already with the align=left command, but if you set a minimum width of the node to \linewidth, then the ...
3
votes
2answers
47 views

Aligning three columns differently; with images, manually broken and wrap-around text

I am trying to create a situation with three columns from left to right: one with an image top-edge aligned to the top of the center column and the left of itself; one with wrap-around text having ...
4
votes
2answers
51 views

Text boxes that go into the the margin in a two column article

I'd like to highlight some important quotes in my article by writing them into floating (invisible) boxes, that go half into the (left/right) margin and half into the respective column. I'd prefer a ...
1
vote
1answer
70 views

Table and TikZ object on two columns

I'm trying to have a table generated by the tabular environment and a plot generated by TikZ placed side by side. I tried using the table and minipage environment since it works for having multiple ...
5
votes
1answer
94 views

Putting algorithm in minipage

I have the following algorithm. Could any one please let me know how I can put it in a minipage? \begin{algorithm}\small {Start}\; \eIf{A is bigger than B}{ \eIf{if A is bigger than C}{ A; }{ ...
2
votes
1answer
112 views

minipage intelligent management

Is it possible to let LaTeX manage minipage placement similar to how LaTeX manages figures and tables to be placed? This question comes from my previous question. I could move the minipages around ...
4
votes
2answers
92 views

minipages: multi sized minipages that use all space on the paper and automatic scaling

I am creating a sheet with solutions to different qualifying questions. Each solution takes up a different length but I don't want to waste any white space. I want to put other minipages that will ...
1
vote
1answer
65 views

Malplaced minipage in fancy header

I have a rather complex layout for a letter. It needs to have a certain part of a header on every page while another part should only be shown on the first page. The whole thing can be found here: MWE ...
5
votes
2answers
133 views

two minipages next to each other: the right is shifted vertically

Hy,first post here. Hope I will do well. I have a problem with setting up two minipages next to each other. The right one is always shifted vertically downwards. Here is my example code: ...
2
votes
2answers
71 views

Using whole page with minipages

I'm preparing template for dynamic content. Content will be printent in blocks, as presented here: Page format a4, no margins. Special printer provided. There are 21 blocks. Each block size: 70mm x ...
3
votes
1answer
70 views

How to align rotated column headings in a table?

I have this code which I adapted from Big table with rotated column labels using booktabs: \usepackage{booktabs} \begin{document} \begin{table*} \centering \begin{tabular}{cccccccccc} \toprule ...
4
votes
3answers
228 views

How do you make text flow to another part of a page?

I have a nasty paragraph with tables, long math and enums which I want to flow between two regions of my page. Here is an example of what I am trying to accomplish: I figured I could somehow do it ...
2
votes
1answer
46 views

miniframes problems with header

I am having issues with my minipages header -- the left most part that says "introduction" never changes. I would be happy even totally getting rid of, which I can't seem to do. ...
6
votes
2answers
197 views

vertical alignment of two columns in a beamer frame

I'm trying present two concepts side by side in a frame. And I want each lineitem to be vertically aligned. Here is is an example where they are not aligned. \begin{frame}{An Example of using columns ...
5
votes
1answer
55 views

Why the text goes a little up when comparing two minipages?

I am trying to add a second name in the supervisor list and when I do it the list goes a little up compared with the Authors name. How can I do it to be in the same height: block code for the first ...
2
votes
0answers
37 views

Why does minipage have different top/bottom margins for math environments? [duplicate]

My goal is to create a framed minipage environment that will contain text and math environments in varying combinations. I noticed that the top (and bottom) margin of the minipage is quite a bit ...
1
vote
1answer
42 views

Add figures to a minipage

I've been trying to add figures to a minipage in lyx but couldn't really find a way. Does someone know how this is done in lyx?