436 views

### Why is there an overfull box with $…$

\documentclass{article} \begin{document} \hsize 200pt %A wonderful serenity has taken possession of my entire soul, like these sweet %mornings of spring which I enjoy with my whole heart. \[ e=mc^2 \...
19k views

### Overfull hbox warning when including graphics

I'm getting the error: Overfull \hbox (14.34999pt too wide) in paragraph at lines 374--375 [][] | when including graphics files. The files are in EPS format. Below is an example: \begin{figure} \...
665 views

### Why the sum of columns width in a table is less than 1?

Tell me please, why the sum of columns width in a table is less than 1? That is my code: \begin{tabular} {p{0.15\textwidth}p{0.12\textwidth}p{0.17\textwidth}p{0.17\textwidth}p{0.27\textwidth}} ... \...
17k views

### Force a block of text to be impervious to page breaks [duplicate]

Possible Duplicate: Unbreakable block I have a block of text (possibly comprising many paragraphs) near the end of a page. The page break is being inserted in the middle of this block--how do I ...
22k views

### \centering not working in latex

This is my code, but my picture is on the left!!! Can anyone share a better code? thanks a lot \begin{figure}[H] \centering \includegraphics[width=25cm,height=25cm,keepaspectratio]{1.eps} \caption{...
8k views

### Two subfigures in two rows

I would like to have two subfigures but on two rows. I tried with this code: \documentclass[11pt,a4paper,titlepage]{report} \usepackage[T1]{fontenc} \usepackage[latin9]{inputenc} \usepackage{...
10k views

### Subfigure widths in two-column layout

I want both figures side by side in one column of a two-column LaTeX document, but the result is both the figures are one below another. \begin{figure}[H] \begin{subfigure}[b]{0.4\textwidth} \...
4k views

### Can't get this caption right (wrapfig + floatrow)

I'm trying to get a caption to span the figure width on a wrapfig environment. But for some reasons it just won't go. Here is my code and a graphical representation: \begin{wrapfigure}{R}{0.3\...
3k views

### How do I typeset a table with a caption within a tabularx within another table with a caption?

Unfortunately, it keeps bugging me with forgotten \endgroup, float(s) lost, not in outer par mode and so on. In other words, why can't I do something like this (the actual table is significantly more ...
625 views

### How to use the package cutout in beamer?

I am making presentations using beamer, I included the package \usepackage{cutwin}, but what does the parameters specify in \begin{cutout}{1}{2pt}{3\linewidth}{4}? I want to make the text left of a ...
1k views

### Exclude listings from LoL

Is there a way to exclude a specific listing from being printed in the LoL? I put one in a figure environment for the sake of not being printed on two seperate pages. But now I have the figure as well ...
2k views

### Subfigures, long caption side by side

Hello I have really big problems with positioning my sub figures. I have long caption text and I think that is the reason why they don't fit side by side. What can I do for solving this problem. [t] ...
1k views

### How can I draw a line from margin to margin, if the text width has been adjusted using the changepage package?

I have a problem with drawing a line across the page (from margin to margin). I had to change default margins for title page (only for this page) and to do that I used changepage package. \...