{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
21 views

\ref{figures} goes to the part, not the figure [duplicate]

I'm using Latex for a Report about signal processing and I've a lot of figures. SoI putted them into minipages to display them side by side. It's fine but the references doesn't work. Here is an ...
2
votes
1answer
994 views

Wrap around text inside frame (minipage) in Lyx

I want to insert a number of drop-shadowed frame inside a document and place (the same) graphic in the top left hand corner of each box. I would like the text in the rest of the box to wrap around ...
4
votes
1answer
310 views

Line numbering with Lineno within Minipage

I am trying to add line numbers to a reading passage. The issue is that I can't get them to display when I try to number lines within a minipage environment. Can anyone answer what seems to be a ...
2
votes
1answer
2k views

Left margin minipage two figures

I have a minipage with two figures, the problem is, that I want to have them shifted to the left, so the left margin should be smaller, the code of my minipage: \begin{figure}[H] ...
3
votes
1answer
136 views

Chemfig reaction to wide for twocolumn

For a paper I have to describe certain reactions. I am using the chemfig package to do this. The paper has to be two columns and this is where it goes wrong. When I compile this reaction: ...
2
votes
1answer
744 views

Spacing problem while using itemize in minipage

I am using itemize in minipage and observe unexpected spacing among items. \documentclass[11pt,table,a4paper]{article} \usepackage[framemethod=TikZ]{mdframed} \usepackage[top=.5cm, bottom=2cm, ...
5
votes
1answer
298 views

How can I express \begin{minipage}{\linewidth-2ex}?

I am working on a poster template with a not so easy to reproduce style with nested blocks. To that end, I have to create a minipage whose width depends on \linewidth minus some fixed value. In a ...
4
votes
1answer
1k views

Align the top of two tables horizontally (side-by-side with minipage)

I'm using \minipage to put two tables side by side. But when the two tables are not of equal length, the shorter of the two is vertically centered with respect to the other. I would like both tables ...
1
vote
2answers
484 views

Create an exceptional A3 page within an A4-based report

I created a picture within a tool that fits exactly in an A3 page. However I need to place this picture within an report that has A4 pages by default. The picture contains lots of information so I ...
1
vote
0answers
37 views

How to implement a floating text box? [duplicate]

I'm trying to write an environment that creates a new float type for text boxes. These are used for example in some books to provide interesting tidbits that aren't really part of the main line of ...
2
votes
0answers
136 views

How to do a small box synchronized translation? [closed]

I would like to do something similar to the Artscroll Bibles, with a Hebrew text and a small box on the top with a synchronized translation. In the following picture, the box in question is the upper ...
7
votes
1answer
656 views

How can I determine the height of a minipage?

If I have a minipage \begin{minipage}{5cm} content \end{minipage} How can I determine its height and save this value as a length?
4
votes
2answers
252 views

Table of 2x2 tikzpictures

I'm attempting to condense 4 tikzpictures into a smaller space in my document. The solution I have is as follows: \documentclass{article} \usepackage[paperwidth=6in, paperheight=4in]{geometry} ...
3
votes
1answer
144 views

Placing a tikzpicture next to an align

I have a tikzpicture with an accompanying explanation in a math align environment. The tikzpicture is small enough that I'd like the explanation to appear next to (specifically, to the right) the ...
1
vote
1answer
206 views

Problem with sizing side-by-side minipages

I've been writing up my resume in LaTeX (for the flashiness and also to get better with LaTeX), and I've been having some trouble with one of the macros I wrote, called \nrccolstring. \nrccolstring ...
2
votes
1answer
978 views

About figure in minipage

How to hide "Figure 3:" and "Figure 4:", and let "Figure 5" shows as "Figure 3"? (i.e. subfigure not taking the figure number) \begin{figure}[htbp] \hspace{-4mm} \begin{minipage}{0.5\linewidth}] ...
4
votes
1answer
1k views

Two-column itemization with title in each column

I'd like to make a two-column list with some kind of titles, with "normal" text before and after. I tried it with the package "multicol" an with "minipage", neiter turned out well. Since the problem ...
4
votes
1answer
1k views

Ruled Algorithms in columns/minipages

I'm using Benoit Guillon's algo styles for Lyx (at http://bgu.perso.libertysurf.fr/) in 2.0 to get nice algorithms ruled with line numbers. This is just a wrapper for the algorithm and algorithmic ...
7
votes
1answer
258 views

General question on floating and non-floating objects in LaTeX

I am wondering when you place a non-floating object such as a minipage into a floating environment such as a table or figure if this construction as a whole is then a floating or a non-floating ...
1
vote
2answers
1k views

Positioning equation and figure side by side fails [duplicate]

I have been trying to position an equation and a figure side by side for quite some time and an equation allways mooves down for some reason. Here is the code that i use. What am i doing wrong? ...
1
vote
1answer
132 views

How to indent a specific line in a mini page

This is in a mini-page format: I want to write the following but have all the lines that are started by $'s be indented by a set amount that I would like to play with until it looks right. I'd also ...
2
votes
1answer
559 views

llncs and caption - underfull hbox

I'm using the llncs document class and try to get two figures side-by-side. I found a solution, but I get a hbox underflow if my captions have a bad length. Here is a minimal example: ...
1
vote
1answer
178 views

Minipage won't format properly

I need help with this. Why Block B is being printed below Block A? I need to have it right to Block A. \documentclass[10pt]{article} % Font size - 10pt, 11pt or 12pt. \usepackage[hmargin=1.25cm, ...
4
votes
2answers
905 views

\raggedright behavior with minipage and tabbing

In the following 3 examples a minipage with a nested tabbing environment is used to show several aligned lines of text. (This is part of a larger example.) Output of pdflatex : The first example ...
6
votes
1answer
624 views

Alignment inside minipage with flushright

Please help me to figure out how to produce with that: I have the following code: \begin{flushright} \begin{minipage}{0.5\textwidth} {\bfseries Допущен к защите: }\hrulefill \\ {\bfseries ...
2
votes
1answer
279 views

Figures are not visible inside minipage

I am a novice in Latex. Recently I am trying to use minipage to show some figures. The code I am using is as following: \begin{figure}[t] \begin{minipage}[t]{\linewidth} \centering ...
4
votes
1answer
249 views

How can I make an environment so that I can reserve space for text next to a figure?

I'm working on a layout for a custom textbook class, and I'm having issues getting this environment to work as I like. Here's a shot of my current working layout: I'd like to be able to make an ...
2
votes
1answer
422 views

How to limit the width of equations?

I want to control the width of the equations so they don't exceed a predefined width. Firstly I used minipage environment and put the eqnarray within that. This does not produce the line breaks before ...
2
votes
1answer
438 views

How to left align footnotes under tabularx in a minipage

I am new to LaTeX, trying to create a table using a tabularx in a two column format. I am creating the table in a minipage so that footnotes can appear at the bottom. Everything works out fine, but ...
4
votes
2answers
173 views

settototalheight issue with empty lines

I am using \settototalheight to calculate the height of the text in order to use needspace correctly. This is the code i am using : \documentclass[12pt]{article} \usepackage{graphicx} ...
4
votes
3answers
357 views

Inserting three minipages in the same line

I'm trying to insert three minipages, side by side, in a line, but I'm failing miserably. Here's what I've been able to do so far: % ...
3
votes
2answers
1k views

Minipage spreading to multiple page

\documentclass[12pt]{article} \usepackage{graphicx} \usepackage[parfill]{parskip} \usepackage[none]{hyphenat} \sloppy \usepackage[usenames,dvipsnames]{xcolor} ...
3
votes
1answer
500 views

Tables: Automatic adjustment of columnwidth to its content gives error “Misplaced \noalign” at \toprule

I am trying to put two tables next to each other, vertically aligned top, with some below listed adjustments I unfortunately can't get together. First, I'd like to know if/how I can avoid the error ...
1
vote
2answers
183 views

Minipage for two descriptions

I am attempting to use minipage to put two descriptions side by side. I have successfully used minipages for figures and tables, but for some reason this one won't work. Here is the code. ...
2
votes
1answer
1k views

twocolumn with minipage over full width

I'm trying to make something similar to http://ww1.microchip.com/downloads/en/appnotes/00734b.pdf I'm using the twocolumn option, and have defined my own \showtitle command: \newcommand{\showtitle}{ ...
4
votes
1answer
181 views

Laying out subfigures with minipages

I want to place 3 subfigures in a figure with two columns. There is one big subfigured placed to the right. The two subfigures on the left should be aligned so that the first is aligned with the top ...
4
votes
4answers
405 views

\fbox around type area

I'm trying to put a border around multiple lines. Here's a MWE with what I've achieved so far: \documentclass[a4paper]{scrartcl} \usepackage{calc} \begin{document} \setlength{\parindent}{0cm} text ...
1
vote
1answer
130 views

Subsection, subsubsection, etc. title outside (left of) the subsection, subsubsection, etc. content block

How could I get subsections, subsubsections, paragraphs, and subparagraphs (which I'll call "sections" from now on) that look like the one in this PDF file ? In this PDF example, the indentation ...
1
vote
1answer
2k views

Four Arranged Figures are offset

How can I ensure that the four plots (which are all the same size pdfs) appear with the same spacing: see they are offset here: % Actual versus predicted plots \begin{figure}[H] ...
5
votes
2answers
219 views

Getting the interlinear spacing correct within a paragraph when using minipages

Let me start by saying that this is very similar to a previously posted question, How to keep a constant baselineskip when using minipages (or \parboxes)?, for which egreg gave a very nice solution. ...
2
votes
1answer
120 views

help with my kludges — manipulating whitespace in minipages

I'm using captionof to kludge some sidecap-like figures. sidecap wouldn't let me use my other kludge to get the horizontal rules. I like the first example figure but I don't like how the whitespace ...
4
votes
2answers
2k views

table positions within a minipage

I have the following code, it should generate 2 side-by-side tables. However, the left table is too left that its last half is there, and the right table thereafter. How can I position them properly? ...
2
votes
2answers
1k views

remove box borders

I have the following code, in which I fit three logos into a box: \setlength\fboxsep{0pt} \setlength\fboxrule{0.5pt} \fbox{ \begin{minipage}{14em} ...
4
votes
1answer
752 views

Customizing \maketitle output with \minipage's inside \titlehead => Alignment problems

I am trying to customize the title of my scrreprt class document. The \titlehead looks like this (basically, three 'columns' created with three instances of \minipage): \titlehead{ \large ...
8
votes
2answers
305 views

minipage is wider than I wanted

Occasionally, the width of a minipage environment seems to be ignored. I've not kept accurate records of when this has happened. But below is purely illustrative code that shows the issue. ...
7
votes
1answer
243 views

Why does this code give me a badbox?

Why does this code give me a badbox? \documentclass[a4paper, 10pt, notitlepage]{article} \begin{document} \begin{minipage}[t]{1.0 \textwidth} aaaaaaaaaaaaaaaaaaaaaaa \end{minipage} \end{document} ...
4
votes
1answer
5k views

Align text in minipage at same height

I need to put some text at the same height in my page, and I'm trying to do it with a minipage, but I'm not able to do it since they get centre-aligned. This is the LaTeX for the figure I've ...
2
votes
1answer
155 views

adding vertical space conflicts with inputenc using utf8x only

For context, this question was raised by the answer to a previous question. I'm trying to design a title page for a beamer presentation, although this could be a more general issue. I use the ...
2
votes
1answer
230 views

Minipage: trouble getting figures at top of page

I'm trying to fit these to flowcharts in one page. This is what I got so far, not so nicely done I think. Any suggestions how I can get the flowcharts at the top of the page, nicely next to each other ...
4
votes
1answer
141 views

Minipages in macros for ConTeXt

In LaTex I build the following macro "kum" for translating arabic to german. The result are two minipages, left one with german, right one with arabic (the other two minipages were for design-issues). ...