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

learn more… | top users | synonyms

3
votes
1answer
60 views

Managing spacing around \section inside a minipage with titlesec

I'm having some trouble getting proper padding around my section headers inside minipages. \documentclass{article} \usepackage[explicit]{titlesec} \newcommand\Vhrulefill{\leaders\hrule height 0.7ex ...
1
vote
1answer
49 views

Horizontal alignment in minipage

My CODE: \documentclass[12pt, letterpaper]{article} \usepackage[ a4paper,top=1in,bottom=1in,left=0.7in,right=0.7in,headheight=14.5pt,]{geometry} \usepackage[utf8]{inputenc} \usepackage[misc]{ifsym} ...
0
votes
1answer
28 views

Redefining and minipaging of standard environments in preamble

When integrating standard LaTeX output from a database or from software like pandoc, the actual content cannot be changed. To still be able to layout the document, it is important to have ...
1
vote
0answers
22 views

Overfull warning for a minipage [duplicate]

What is wrong with this code (I get an overfull \hbox warning in the line 5)? \documentclass[final]{scrreprt} \usepackage{graphicx} \usepackage{blindtext} \begin{document} ...
2
votes
1answer
36 views

problem with minipages

I would like to have two minipages in the same row. One of them has a picture. There is an error in the compilation. Can you correct the code? Thank you. \documentclass[addpoints]{exam} ...
1
vote
1answer
67 views

error using lstlisting inside minipage inside align*

I am trying to use a lstlisting environment inside a minipage, inside an align* (fromo amsmath)... However, lualatex throws an error. This is the minimum working examp \documentclass{article} ...
3
votes
2answers
45 views

minipage environment keep parskip

I've tried to create a new environment using minipage, which has the same vertical space between paragraphs as would be there when not using the minipage. What I have so far is: ...
1
vote
1answer
48 views

Some Extra Space in the beginning of second line

Refer what i have done so far. Question: Very simple question why there is some extra blank space in the starting of the second line indicated by red below arrows. I have already asked this question ...
2
votes
1answer
43 views

Blank space in Minipage

Code: \documentclass[12pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{makeidx} \usepackage{tkz-euclide} \usetkzobj{all} ...
3
votes
1answer
43 views

Two captions under four figures wrapped in minipages

I have four figures, and I'd like to have two captions centered under each group of two figures rather than one caption under all four figures (see image below). If I try inserting a caption after the ...
2
votes
1answer
48 views

Indentation in floating minipages

I'm writing a two-column document, and I want to add some floating text boxes. I can do this with minipage environments nested in a figure* environment. However, this breaks indentation: ...
1
vote
1answer
51 views

Large space on page after inserting tikz figures wrapped in minipage

I'm trying to insert four tikz figures inline with minipages, but there's an unexpected space between the figures and the title. This happens regardless of how many figures I put or how large the ...
3
votes
2answers
240 views

Force latex to put a figure and a table in the same page

I have tried both to use floating properties and static alignment to force latex to put a figure and a table next to each other with no success. Also, when I use \noindent\begin{minipage}{\linewidth} ...
5
votes
2answers
182 views

Minipage and multicols, vertical alignment

I want to create two columns next to each other. The left side contains a text in two columns using the multicol package. On the left side is some other content. I've tried minipage, but in ...
2
votes
0answers
50 views

How to fix figures on specific pages at bottom over page width?

I am layouting a program book (using book class and multicols{2}). I have a number of ads from sponsors that are not related to the text. They are pdfs. I need to bind them in at fix places ...
11
votes
5answers
933 views

Left and right aligned on same line

I am currently busy typesetting my thesis in LaTeX, but I am stuck on something with my cover/title page. At the bottom of the page, I need to type my name and my supervisor's name. This is a rough ...
0
votes
0answers
40 views

How to change geometry and remove page number from page containing one large figure only without automatically inserted blank page?

I want to have a large figure with its label at the very end of the previous page. The figure is very large so I want to set top margin to 0 and remove page number from the page with figure. Figures ...
2
votes
2answers
74 views

Figure caption appears on the side instead below

I am using beamer class to make a presentaation. I am using minipage to get 4 figures in 2 by 2 arrangement. When I give captions to the figures 2 problems arise: The caption starts right from the ...
2
votes
0answers
32 views

Text and Figure side by side inside a minipage?

I have a two column CV. I made the columns using minipage. In the second minipage (second column), I want my picture and some info in two columns. How do I do this? This is the relevant section of ...
2
votes
3answers
128 views

How to make fbox around minipage fit the whole minipage inside it?

I have long equation, Ax=b that I want to put a frame around. I can't use mdframed since I need to also compile this with tex4ht, which still does not support mdframed. So I use this trick setup: ...
2
votes
2answers
37 views

Minipages parallel with included image

Bonjour! I created two columns with information using \itemize in two different \minipage environments. Now I want to include an image parallel to these two 'columns'. I tried to include the ...
4
votes
1answer
39 views

Aligning minipages with new margins

I've extended the page margins using geometry, but when I create a minipage for my headings the right aligned minipage aligns with the original margin. How can I make it so that it aligns with the ...
3
votes
2answers
126 views

How to make text and table in the same level?

I have a text and a table and it should be on the same level. Right now I have a table and a text below it. How to make it correctly? create a table and than hide borders of the left column? ...
1
vote
1answer
72 views

Alternative to a Minipage page breaks

I would like to have a replacement for my minipage design of this exercise environment. I recently learned that minipages are unbreakable across page boundaries. And as a novice to the TeX/LaTeX ...
2
votes
4answers
91 views

minipage wrapping tabularx overfull box

The line Zur Erläuterung der... should introduce the following list. This produces an underfull hbox and I just can't get rid of it. To keep the content together on one page I found the solution in ...
16
votes
5answers
458 views

Help needed to create a relatively complex page for the cover of a textbook

I would like to be able to create a page like the following: I am using PDFLaTeX, by the way. I tried playing around with the minipage environments, but while I get somewhere, there are always ...
1
vote
1answer
40 views

How do I format images that are of different sizes?

I am writing a report for class and I cannot figure out how to format multiple images (specifically 4 images) in a nicer way. Can I get some help? Here is my code: \begin{figure}[H] ...
1
vote
1answer
47 views

Problem with horizontal alignment in minipage environment

This may be a very stupid question, but it is driving me crazy. I have three tcolorbox linked by arrows. The second line of boxes are in a minipage environment, and I want one flushleft and one in ...
2
votes
1answer
37 views

Typeset a biblatex bibliography in a cv4tw CV

I'm using the cv4tw package to produce a CV. This package provides a \story command for typesetting individual CV entries; one of its arguments is a label which appears on the left, and most of the ...
1
vote
1answer
54 views

How to put footnotes inside table inside minipages in the same page as the tables?

I have footnotes inside tables that are inside minipages (to put two tables in the same row in a two-column article). I use \addtocounter{footnote}{1} \footnotetext[\value{footnote}]{ blah blah} ...
3
votes
4answers
92 views

Two large sideways tables on one page

I'm new to Latex and I've got two very large sideways tables. I want to put them into one page and used the minipage environment. But the result is way too large for the page and now I'm a bit ...
0
votes
0answers
21 views

How can I pit a \footnote within \itemize within \minipage in Tufte class?

I'm writing up lecture notes using the Tufte-class book, and I've been getting this constant error in reference to using a footnote within an itemize environment within a minipage. I would post a ...
2
votes
2answers
20 views

Content overlapped in minipages in frame

I use minipage environments for my frame. But the contents overlap and do not shrink even though I use [shrink] for my frame. How do I fix this? MWE: \documentclass{beamer} \usepackage{amsmath} ...
0
votes
1answer
85 views

Front Cover for document part 3

This cover page is building from the solution posted in Front Cover or document part 2. I am now trying to place a minipage and a logo with a blur shadow on the cover page like this: Here is the ...
2
votes
1answer
116 views

shaded theorem in minipage

I am typing up handouts using Beamer. In the handouts, I need a slide that shows a theorem and a figure next to it. All theorems in the handout are shaded using the package shadetheorem. But this ...
3
votes
1answer
68 views

Natural width when centering a minted environment

I'm writing a report in which I have some code snippets. Using the following code, I'm able to create, and centre, a good-looking minted environment: \documentclass{article} % Required for minted ...
1
vote
0answers
41 views

Minipage vertical allignment

Hey guy I am fairly new to Latex and I have to get this work done. Earlier I asked some for help in formatting my header for my work. He did I am very thankful to him unfortunately he might be away ...
1
vote
1answer
33 views

Manually position caption inside a figure

How can I place my caption in the indicated arbitrary box in the below figure. This is what I am using for now for my usual figures: \begin{figure}[h] \centering ...
1
vote
1answer
69 views

Including TikZ picture in Sweave gets me an overfull box error

I have some difficulties in R Sweave so I hope someone could help me. I want to include two TikZ pictures using minipage and figure to the R Sweave but I get an error: Overfull \hbox (2.43085pt too ...
0
votes
1answer
130 views

minipage has overfull hbox

I'm struggling with this piece of LaTeX code: \begin{minipage}{0.5\textwidth} \begin{tabu} to \textwidth {>{\itshape}r c} Foo:&\makebox[5cm]{}\\ \cline{2-2}\\[-0.5em] ...
3
votes
2answers
148 views

How to draw over minipage in tikz?

I've got a code snippet, that I'd like to annotate with arrows, boxes, and bubbles pointing to the various parts of the code. Right now, I've got the code in a minted environment, inside a minipage, ...
7
votes
2answers
135 views

How to put horizontal space between two side by side figures, then automatically scale the pictures to that new width?

I've been working on how to put side by side figures with captions for a book but haven't managed to find a way to put a horizontal space in between the two figures. There has been some troubles ever ...
3
votes
1answer
105 views

How to have a figure right next to an itemize environment, aligned?

I'm transcribing lecture notes, and I typically need to have an image to the left, with an itemize to the right (aligned!) I would like to try getting these to work, with no avail. ...
2
votes
2answers
60 views

Insert tabular with caption inside itemize environment

I am trying to insert a table with a caption inside an itemize environment. However I can't find a way to align the caption nor the table itself to the border of the outer environment. I already ...
2
votes
0answers
23 views

Minipage inside framebox creates an undesired horizontal spacing [duplicate]

In the following MWE I'd like the second framebox to look the same as the first one (see the image below). \documentclass[10pt]{article} \begin{document} \setlength{\fboxsep}{0pt} ...
1
vote
1answer
58 views

Conflict between footnote and tikz

It seems that the tikz package prevents the footnote package to function properly within a minipage. \documentclass[11pt]{memoir} \usepackage{footnote} \usepackage{tikz} \begin{document} ...
1
vote
1answer
41 views

Note does not appear in the minipage and the minipage exceeds the margin boundary

\documentclass{article} \usepackage{booktabs,threeparttable} \hyphenpenalty=2000 \exhyphenpenalty=2000 \begin{document} \begin{minipage}{\marginparwidth} \centering \begin{tabular}{r r r} ...
4
votes
1answer
67 views

How to draw exact layout

I am trying to create a latex template to match exact style of some document so that I can programmatically fill it and create pdf documents with it. What I want is bordered box with 19.5cm witdh, ...
5
votes
3answers
131 views

How to get two figures beside each other, and have them outside the margins?

I have googled forever and tried to find the answer to my question, but I can't seem to find an answer to this. I have two figures that I want to place beside each other. The figures are MATLAB plots ...
1
vote
1answer
43 views

Frame title with picture

For my cv I want to create a frame box where I place my name surname and personal info on the left side and my pic on the right. Basically I need to have a frame which width is splitted let say by ...