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

learn more… | top users | synonyms

2
votes
1answer
41 views

Two sets of minipages not aligned

I have two minipages side by side, the first defined at width 5cm, the second, width 6cm. I then have some text below these two. Following this text I have another two minipages with the same ...
1
vote
1answer
72 views

Figures and text side by side

I'm struggling to put a series of five graphics side by side with the normal text. The figures are put as subfloat and placed inside a common figure environment to be able to give them a common ...
0
votes
1answer
77 views

Getting bold text in ntheorem environment containing tikz picture and minipage environment

I'm getting bold text in ntheorem environment where I put tikz picture beside arabic text in minipage environement. Deleting AutoFakeBold=1.05 option from the \setmaincommand let me get regular text, ...
4
votes
1answer
82 views

Floating placement of figure in minipage

Is there a way to place a figure automatically within a minipage. The figure should have the textwidth of the minipage. My first experiments with \begin{minipage}[0mm]{\boxwidthtotal}% Some text ...
1
vote
0answers
38 views

Include changes the layout [closed]

Maybe this question is a bit specific, but it's an issue I have ran into recently. So I have a larger document with multiple sections from different tex files. I simply include those files in the ...
3
votes
1answer
59 views

How to adjust position of minipage

In my MWE below, developed from the template found here, how do I change the position of the minipage? Say for example that I wanted to move the minipage further down the page, how do I do that? ...
0
votes
0answers
53 views

Two figure side by side (I know question is duplicate but I have different problem

I have put two figures side by side using minipage as given in solution of How do I put two different pictures side by side? but after doing this my references are overlapping the figure how to get ...
3
votes
0answers
25 views

Poblems with minipages in LyX in main pdf file

I am writing my thesis in LyX. It is in the report class and have two chapters as child documents. Both chapters have objects on mini pages. Both chapters produce fine pdf independently. But in the ...
2
votes
2answers
72 views

minipage breaks bidi

I am using XeTex and polyglossia for two languages {arabic and english}. The main language is arabic. When I set a minipage and put some mixed language paragraphs inside it, the left-to-right ...
7
votes
1answer
76 views

Compute depth of paragraph

I need to compute the distance from the current baseline to the bottom of the next/current paragraph. (Eventually this is going to wind up in \everypar.) Is there an easier way to do this precisely? ...
2
votes
2answers
277 views

How to make minipage spanning multiple pages

I'm using this resume template: https://github.com/deedydas/Deedy-Resume This template uses minipage to build a layout like : +-----------------+ | Header | +------+----------+ | | ...
3
votes
1answer
511 views

minipage across two columns

I am trying to align a graph and its corresponding equations in a \twocolumn environment. The minipage part works as expected when we have one column text. However, when we have it in the twocolumn ...
1
vote
1answer
28 views

Re-position of contents after uncover of other contents

Updated: Considering the following latex document: \documentclass{beamer} \usepackage{listings} \begin{document} \begin{frame}[t,fragile] \frametitle{Implementing FA} ...
1
vote
1answer
57 views

Split equation problem in cheatsheet?

I was trying to prepare a cheat sheet using the template posted by xport (Preparing cheat sheets) However when I try to use "\begin{split}" I get an error \begin{split} on input line...ended by ...
2
votes
1answer
65 views

Why won't [t] option align minipage text at top?

When I compile the following, the text in the second minipage of the figure is typeset with center vertical alignment despite the fact that I've specified the t option for minipage. Is there ...
2
votes
1answer
123 views

moderncv - two column entry with minipage and multicols => multicols error “ther's no line to end here”

\documentclass[10cm,a4paper]{moderncv} \moderncvstyle{casual} \moderncvcolor{blue} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[ngerman]{babel} \usepackage{layout} ...
3
votes
2answers
63 views

Text left spacing (local “margin”) [duplicate]

How can I add left space to a block of text? (see the attempts and pictures below) I can think of two ways: minipage \documentclass{article} \usepackage{lipsum} \begin{document} \lipsum[1] ...
0
votes
0answers
48 views

Nested environments: is sequence important?

In the MWE right at the bottom, I define a new environment called teacheronly which wraps text inside two environments. The first environment is a polyglossia language setting, and the second is a ...
5
votes
1answer
57 views

How do I make text raggedright inside all miniboxes?

I have been looking at re-defining minipage so that it is always raggedright but that looks problematic because of the optional arguments. I have a long document which uses lots of minipages. I ...
0
votes
1answer
32 views

outer boxedminipage environment cancelling inner environment

I am using boxedminipage2e to create a framed box with some text in it. I am also using polyglossia, since sometimes this text is in Arabic, sometimes in English. The language environment within ...
3
votes
2answers
56 views

Misaligned caption and table when positioned side-by-side

I wanted to put the caption of a table to its left, so I tried taking the approach suggested in this answer. As pointed out in the only comment to there, I had a misalignment issue as well. The ...
2
votes
1answer
42 views

Unexpected change in pagination when 'no' change in contents, using `boxedmini2e`

I am using the package boxedminipage2e to produce several framed boxes with some text inside. Because these boxes have a fixed height and width, I am expecting that whether or not these boxes contain ...
1
vote
0answers
33 views

Mini Pages to child tex document

I am trying to make minipages work in lyx. I have a tex(1.tex) file, which contains the body of the minipages with the float figures I have, which goes like this \begin{figure} ...
1
vote
0answers
32 views

Foonotes in multlined equations inside minipages

I am having the exact same problem as describe in this question. Unfortunately, however, the solutions listed there do not seem to work for the multlined environment as well. A MWE is the following. ...
1
vote
1answer
38 views

Chapter heading vertical shift on page with multiple minipages

Im trying to create a document with only minipages to not break the content over different pages. But when the minipages reach the 2nd page of a chapter, the chapter heading layout is shifted ...
2
votes
2answers
56 views

Framed minipage and `comments` package

I am preparing a classroom workbook with two versions: one with answers and one without. The student version has big, empty, framed boxes to handwrite their answers. The teacher version has suggested ...
3
votes
1answer
164 views

Table and figure side by side with minipages

How do I put a table and a figure side by side with minipage? I have made it work, but then the figure's caption is table, because table was the surrounding tag. \begin{table}[ht] ...
2
votes
2answers
71 views

How to make the minipages continue after each other in one page?

I am not sure how to make these two minipages to follow right after each other rather than showing in two different pages while still there's space in the first page: ...
4
votes
1answer
63 views

Enumerate Minipages inside a figure environment

At the moment I'm working with the figure environment to display two graphs side by side using minipage which works fine. I want to use one caption for both and enumerate the minipages with a small ...
4
votes
5answers
142 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
71 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
74 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
96 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
95 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
154 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
91 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
54 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
37 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
57 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
56 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
57 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
71 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
94 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
377 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 ...
3
votes
2answers
81 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
76 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
162 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
68 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
266 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 ...