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

learn more… | top users | synonyms

4
votes
5answers
97 views

How do I raise or lower the position of text?

Using minipage, I've split my header into \begin{minipage}{0.4\textwidth} \textsc{ \Huge{\textbf{MyNameHere}} }\\ \end{minipage} \begin{minipage}{0.6\textwidth} \begin{flushright} MyAddress\\ ...
2
votes
1answer
50 views

Strange interaction of minipage, multicol and xcolor

I'm not a big expert of LaTeX (and I know almost nothing of the underlying TeX engine), so sorry if the answer is more obvious than what appears to me. Can someone tell me why simply loading the ...
1
vote
2answers
29 views

Horizontal distance between images

I am trying to control the horizontal space between two minipages but it is ignored. \begin{figure} \noindent\begin{minipage}[t]{.6\textwidth} \includegraphics[scale=0.42]{image1.png} ...
1
vote
1answer
63 views

Font size in PGFPlots Minipage

I am using this guide to put concorde tsp solver's vector graphics in LaTeX. I want to show 2 images and a description text right next to them, all side-by-side. I am usign the minipage to do so, but ...
1
vote
0answers
20 views

Long word exceeding column in lyx [duplicate]

I have a long text that exceeds the column margins It's not an English word. it's this hexadecimal number ...
2
votes
2answers
68 views

Caption in Figure only partially centered

I have two figures next to one another and I want to centre my Figure caption, but completely, i.e. to include Figure x.x: in centering. This is the code I'm using: \begin{figure}[!tbph] ...
0
votes
1answer
36 views

minipage alignment with tikzpicture

I want to have one minipage containing a tikzpicture and on its right another minipage with a block, and tried with: \documentclass{beamer} \usepackage{tikz} \usetikzlibrary{shapes,arrows,chains} ...
2
votes
1answer
22 views

LyX: insert minipage with 100% line width

I defined the following command sequence in my toolbar: Item "Insert Minipage" "command-sequence box-insert Frameless; inset-modify width \"100line%\"" Unfortunately, this is not working. lyx -dbg ...
2
votes
1answer
40 views

Create link of empty box

I make my first attempt on a beamer template. I created a simple graphic with my company logo and some fields as header (background for title). Now I would like to use the logo as home button. In ...
0
votes
0answers
25 views

Splitting page into two columns

I know this question has been asked a million times, though my problem is slightly different. In the middle of the first column I begin a new section, the writing will go down to the bottom, but when ...
2
votes
2answers
43 views

How to get equivalent to subfigure without using floats?

I understand that floats are supposed to float, however, I have a lot of graphical data, and sometimes when I say put it here, I mean exactly, not plus/minus two pages. I can achieve this using ...
1
vote
1answer
21 views

Subcaption not in center of minipage

I want to have a label to my minipage of just the "a)" and when I do this it is not in the center of my image. This is not a failure of subcaption but a characteristic of my image of too much white ...
1
vote
1answer
55 views

Place a table exactly where you want it

I know that with images, you should never use floats if you don't want them to float. Therefore, I use minipages when I want my images to be in an exact location. However, I have not found an example ...
3
votes
0answers
50 views

Isolate Latex Environments

I want to build a framework for sharing latex mathematics exercises. When trying to assemble exercises from different authors into one "homework assignment", I have a problem. How can I deal with ...
2
votes
0answers
32 views

Spacing after minipage

I have been playing with the code given by egreg here: How to keep a constant baselineskip when using minipages (or \parboxes)?, and I have almost succeeded in creating a two-column environment with ...
2
votes
3answers
63 views

How to vertically and horizontally center a minipage

I tried centering horizontally using the "adjustwidth" environment, but unfortunately, it's not very accurate. Also my captions are not centered under my figures anymore. I have no idea how to use ...
0
votes
1answer
37 views

Numerating captions of subfigures

I have two figures to add into a single figure environment. When I use subfigure, I got the following error: ! Missing number, treated as zero. <to be read again> } l.25 ...
0
votes
0answers
38 views

Two mini pages next to each other, vertically aligned, one has an image included

I've got a bit of problem with aligning two mini-pages side by side in my CV. It's a two column CV format, with one column narrower than the other. Also I want to have a photo in the first column. ...
1
vote
2answers
58 views

Fbox'ed minipages with fboxsep=0pt, fboxrule=0.0001pt and colored border

I have arranged within approx. 20 minipages a data plot, several pictures with attached labels taking columnwidth, columnsep of the twocolumn paper format etc into account. For debugging purposes, I ...
3
votes
1answer
41 views

Renewenvironment minipage with xparse

I want to redefine the minipage environment which has several optional parameters. The default renewenvironment allows only a single optional argument. Therefore, I try to use the xparse package which ...
0
votes
1answer
53 views

Placing vertical lines between columns

I have a document that looks like this The horizontal line is just a \hrule, but the two vertical lines are made with a textblock. Is there an easier way to place them? Using a table environment ...
1
vote
1answer
40 views

Aligning three figures next to each other based on text width

Problem: I am trying to align three figures next to each other with text centered to each figure. This is going well until the box for the third box does not adjust after the text width. Minimal ...
0
votes
2answers
63 views

Minipages and spacing between \paragraph

I am using \paragraph inside a minipage. Don't know why, but the usual space above \paragraph does not appear. Then I have a small minipage in the \paragraph. Now spacing between \paragraph is ...
5
votes
1answer
50 views

List spacing is different inside and outside of minipage

I'm preparing an exam and I want an illustration next to a multiple-choice problem. Usually for this purpose I put the question and/or choices in a multicols environment; however for this particular ...
5
votes
0answers
75 views

put \item's in minipage

Is it possible to have an enumerate- or description-like environment, with \item redefined in such a way so that each \item puts its content inside a minipage? Ideally, including the item number/title ...
8
votes
1answer
82 views

minipage with verbatim package doesn't compile

This is my code: \usepackage{verbatim} \newenvironment{listing} {\begin{minipage}{\linewidth}\verbatim} {\endverbatim\end{minipage}} However, it doesn't compile: Runaway argument? ! File ended ...
1
vote
1answer
30 views

vertical alignment of minipages in two columns in a longtable

I began to learn latex and I use it to prepare a CV. I made good experiences by organizing my CV with a longtable, in order to define the widths and the alignments of the different text blocks. In my ...
0
votes
0answers
35 views

Predefining placement of figures and tables in custom package

I am trying to define figures in a new custom package using \newenvironment{name}{begin defs}{end defs} and minipage command (code is given below). if i create a \newcommand{\name}{defs} (named as ...
3
votes
1answer
85 views

How to place two figures next to each other and centered

How can I position two graphs next to each other so that it looks good? For putting two figures next to each other I found the solution below in another question around here, however, I would like ...
3
votes
2answers
59 views

Reprint page but smaller

Here's an uncommon request. Let's say I have a page, page A. It's x in * y in. On another page, page B, I'd like to shrink the page to say half size (0.5 x in * 0.5 y in), to be used as a ...
3
votes
1answer
38 views

Odd behavior after minipage environment

I have this code where, for demonstrative purposes, I have drawn in red lines at integer values of \baselineskip and framed the minipages: \documentclass{article} \usepackage{calc} \usepackage[margin ...
3
votes
1answer
27 views

Height of text in minipage - columns not parallel

I’m using minipage for the design of my thesis’ titlepage. I have two columns and the problem I see there is, the texts in both are not at the same height. \begin{minipage}{0.4\textwidth} By:\\ ...
1
vote
1answer
45 views

Using minipage in two page layout

Here I am making a two page news letter. I am facing some issues with minipage. Here is the code snippet From above if I remove comments line 60, 61, then every thing is aligned. What is going wrong ...
2
votes
1answer
40 views

Multicolumn spacing issue with moderncv

Just trying to have 2 columns spaced a bit. I use a minipage to do it, and it seems I have some space left. For example, I can add words to my right title, and it's still good with columns ratio ...
2
votes
1answer
43 views

Frame with padding/margins (without using mdframed)

I'm wondering how to add paddings in a frame (as you can see, left and right paddings are the same, but not the same as top and bottom paddings). I know it can be done using mdframed, but sometimes, ...
1
vote
1answer
32 views

Text on one side and figure on the other side of A3 paper

For now, I have two minipages in a minipage on a A3 page, and the text should be on the left in normal height and the figure to the right (which works). I have a problem with the text in a minipage ...
1
vote
1answer
20 views

Width of minipages inside enumerate environments [duplicate]

How can I determine the available width inside an enumerate environment? In particular, what width argument can I pass to the minipages in the example below so that the minipages take up all of the ...
1
vote
1answer
48 views

Minipages across page breaks

I have defined a command that uses the minipage environment to format an "example" question within my document. \newcounter{Example} \newcommand{\example}[3]{% \refstepcounter{Example} ...
1
vote
2answers
48 views

Positioning a figure inside a figure environment

I have a tricky problem: Imagine two graphs in a figure environment and each in a minipage so that each graph gets half of the textlength. Now I realised that I need to put on the right side of each ...
0
votes
1answer
36 views

Automatically adjust height of `\tikzpicture` to match height of `minipage` environment

Is there a way to scale the tikzpicture so that the two minipage environments have the same height? Code: \documentclass[8pt]{article} \usepackage{tikz} \begin{document} ...
0
votes
0answers
26 views

included pdfs won't rotate using pdflscape

As far as I know pdflscape is able to rotate pages* horizontally if you use the landscape option. However, this won't work with included pdfs for me. Is there a syntax I have overseen? turn=false ...
0
votes
0answers
9 views

Minipages missing pagenumbering and no rotation [duplicate]

I am able to include pdfs within my document. However, the page numbering isn't shown. I clear the whole headers/footers and start counting in Roman for my appendix. The page number is only shown on ...
1
vote
0answers
16 views

Acmsmall and referencing subfloats [duplicate]

This question is following almost directly this one : acmsmall and subfigures I managed to insert subfigures using minipage but I'm now wondering how I can refer to these subfigures. My MWE: ...
2
votes
1answer
24 views

Turn off floats temporally

I have written a command which puts content into a minipage to measures its height. It uses this information to insert "intelligent" pagebreaks, newpages, clearpages and warnings. To do the ...
2
votes
2answers
54 views

How do I draw a horizontal line without adding space

I divided my latex page into 3 using minipage. \documentclass[a4paper,12pt]{article} \usepackage[left=2cm,right=2cm,top=0cm,bottom=0cm]{geometry} \usepackage{lipsum} \setlength\parindent{0pt} ...
0
votes
1answer
25 views

twoside breaks spacing

I'm using minipages to keep related questions together on a test that I'm writing. When I make a 2-sided document some of my spacing gets messed up before the section break. It works fine if I leave ...
5
votes
1answer
114 views

Why is my minipage in beamer foreach environment moving horizontally?

I am preparing a presentation with several very similar slides so I would like to use a \foreach loop with \only to generate them. The frames also contains minipages and these minipages seem to cause ...
2
votes
1answer
45 views

Wrapping tables with minipages?

Say I have the following table: \documentclass{report} \usepackage[intlimits]{amsmath} \usepackage{floatflt} \usepackage{caption} \usepackage{listliketab} \usepackage{booktabs} ...
1
vote
1answer
117 views

minipage with page break

I'm using LaTeX for writing math tests. Every task I wrap into an environment, which I defined like this: \NewEnviron{beispiel}[1]{\begin{minipage}[t]{0.76\textwidth} \BODY \end{minipage} ...
1
vote
2answers
49 views

text alongside figure using minipage

I need to place 2 images with captions in a minipage one below the other, in the second minipage alongside there is the description. I cannot use \begin{figure} ... \end{figure} I looked at this, ...