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

learn more… | top users | synonyms

0
votes
0answers
15 views

Get two tables without extra caption with different row length in one line [duplicate]

Code procuding "problem" (tables not in one line): .... \usepackage{tabularx} \newcolumntype{R}{>{\raggedleft\arraybackslash}X} .... \begin{document} .... \begin{table}[htb] \begin{flushleft} ...
2
votes
2answers
54 views

Get two tables with different row length in one line

Code: \begin{table}[htb] \begin{flushleft} \begin{minipage}{.55\textwidth} {\tiny{table1}\newline\newline} \input{"/path/to/table1.txt"} \end{minipage} \hfill \begin{minipage}{.4\textwidth} ...
2
votes
1answer
40 views

Why does a minipage in Beamer affect list spacing, and how do I fix it?

I'm experimenting with a parallel form of nested itemize items in Beamer, using minipages to separate parent and child list items. Here's my MWE: \documentclass{beamer} \usetheme{Madrid} ...
2
votes
2answers
32 views

Vertical alignment in new macro

I have the following macro: \newcommand{\mycommand}[4]{ \begin{tabbing} \hspace{2cm} \= \kill \textbf{#1} \> {#3} \\ \textbf{#2} \> ...
1
vote
1answer
39 views

minipages in bidi-longtable

I have a bidi-longtable in a mixed language document (mainlanguage Arabic). I am using minipages in each cell of the table because I will need to do some complicated things later like footnotes. The ...
0
votes
0answers
48 views

Picture wrapped using minipage affects next page text

I am new to LaTeX, with help of some other. I found the following LaTeX code to wrap a figure into a paragraph. \pichskip{15pt}% Horizontal gap between picture and text \parpic[l][b]{% ...
2
votes
1answer
34 views

Redefinition of \- (discretionary hyphen): does not apply to a minipage?

I would like to redefine \- (discretionary hyphen) as part of several shortcuts for arrows, like \-> = \rightarrow or \<- = \leftarrow, especially useful for the often used equivalence arrow ...
3
votes
1answer
40 views

Split the selection area of two columns (tabular, or minipage, or whatever works)

I use a tabular environment to do this 2x2 table: These are input and output samples of a program. In a PDF viewer, I wanna be able to select only one of the sides of this table, but my viewer ...
1
vote
1answer
176 views

Two figures side by side - Alignment & Size Problem

There are some ways to put the figures side by side such as subfig (which is not recommended), subfigure, subcaption, subcaptionbox and minipage. I tried minipage and subcaption and here the codes and ...
3
votes
2answers
42 views

Place minipage next to an enumerate environment

I would like to float a minipage next to an enumerate. I am looking to get this effect: Here is code that was developed from posts found draw-a-simple-figure-with-arrows and here: ...
0
votes
1answer
85 views

vertically align cell in table that includes minipages

In the following table (code included below), how can I vertically center the text RowName1? (note that each bulleted list must be within a minipage environment). Code: ...
2
votes
2answers
42 views

Minipage environment

I am using minipage environment in one slide of my beamer presentation. Basically, what I would like to have is the following: top of the slide: a picture on the left and some description on the ...
0
votes
1answer
33 views

Two `minipage` inside command

I want two minipages side-by-side. I can do this easily. But then I want to turn it into a command, and the minipages don't line up any more, even thought the code looks identical. What is wrong? ...
0
votes
1answer
59 views

need to Adjust latex table horizontally or vertically (landscape) on multiple pages

Latex tables in ladscape or portarait format has been widly discussed here. I have almost tried all solutions presented here. However, I still face one issues. I have a table with more than 40 rows ...
6
votes
2answers
123 views

Custom two column text

I have a problem that can be seen in the below picture. Basically, I want to have one line on the left side of the page, and a description on the right side. The way I have tried to do this, is by ...
4
votes
2answers
38 views

after minipage like afterpage

Is it possible to define a command that works like \afterpage, but only applies to minipage environments? The usage I have in mind is as follows \begin{minipage} See the graph in Figure~\ref{foo}. ...
4
votes
1answer
34 views

Framed mini pages with shared inside border?

So I have been trying to get two mini pages, side by side, in one box with a shared center border. The best I have gotten is \documentclass[12pt]{report} \usepackage[paperwidth = 8.5in, ...
1
vote
1answer
63 views

Minipage odd format problem

I have a matematic LaTex Document, and the only way I can reconstruct the problem is to give you guys a full example. https://www.sharelatex.com/project/55f1978b6332182b2e6ca3b8 My problem is that i ...
3
votes
3answers
96 views

Automatic vertical spacing after minipage when used in tabulator environment

I encountered some issues with the minipage package combined with the tabulator options. For clarity, I provide a MWE: \documentclass[10pt, a4paper]{article} \usepackage{multicol} ...
4
votes
1answer
121 views

Matching alignment of two minipages

I want two minipages side by side, aligned to the margins and the tops aligned to each other. I have read this previous answer but I think my problem is different and related to bidi. In the MWE ...
2
votes
1answer
45 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
112 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
91 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
129 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
42 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
91 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
55 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
28 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
75 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
95 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
3answers
811 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
1k 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
36 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
64 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
106 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
233 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
92 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
59 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
86 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
37 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
73 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
51 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
35 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
1answer
47 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
46 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 ...
3
votes
2answers
77 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
461 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
81 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
73 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
171 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\\ ...