1k views

### Width of minipages inside enumerate environments [duplicate]

How can I determine the available width inside an enumerate environment? In particular, what width argument can I pass to the minipages in the example below so that the minipages take up all of the ...
116 views

### Line spanning across page inside list [duplicate]

I need a horizontal line to span across the page, up to the right margin (where the text would end). This works: \rule{\hsize}{0.4pt} But, when inside a list, the line goes over the margin because ...
41 views

### Horizontal alignment of multiple images [duplicate]

In the current scenario, the images are arranged in a vertical sense, however I wanted to align the subfigures in a horizontal sense. This is the code that I'm using. Also I'm working on a template, ...
358k views

### Is there a way to slightly shrink a table, including font size, to fit within the column boundaries?

I have a table that is just a little too wide for a 3.33" column. Is there a way to simply shrink the table a little to make it fit? I'm OK if the 10pt font becomes 9pt-something. Here is an example. ...
291k views

### Scale figure to a percentage of \textwidth

I would like to change my figure's width to a precentage of my \textwidth: \textwidth /2 would scale to 50% of the \textwidth. What is the proper syntax (if any) to do this ?
39k views

### Nopagebreak nopagebreak nopagebreak - why won't LaTeX listen to me?

Fun times, I'm making a (manual) index of the lecture slides for class (which are nowhere near latex, ppt files yay) and of course Latex insists on placing pagebreaks willie nillie through my items. ...
12k views

### My table doesn't fit; what are my options?

I have a table that I want to insert on a page, but at least one (perhaps both) of the following conditions are met: The table is too wide to fit within the text block or page. That is, I'm exceeding ...
62k views

### How to center the minipage?

The left margin is too wide if I set 1.5\textwidth: \begin{document} \noindent\begin{minipage}{1.5\textwidth} test \end{minipage} \end{document}
43k views

### Text wrap in tables (multirow package loaded)

I searched a bit, but I could not find a reliable way to wrap text in tables with columns spanning more than one row. Any ideas on how to fit this table in the page?: \documentclass[12pt,a4paper]{...
3k views

20k views

### Customizing caption in side-by-side figures

How do I customize my caption that follows this article's setting of the captions on page 26. The following is my attempt to do that, but still doesn't work. Obviously, what I want to achieve is to ...
15k views

### What is the default length of \hrule?

When used without parameters, what varfiable controls the length of \hrule? I.e., how can I change the default length of \hrule, other than adding parameters to each instance -- say, to affect ...
4k views

### Best Practice for nice layout with tikzDevice

R+tikDevice+LaTex+knitr is (as I understand it) the most efficient way to get relly nice looking publications from R, with maximum layout-support from LaTeX. I'm using R+LaTex+knitr now, but would ...
10k views

### Can't place figures side by side

I'm trying to place two TiKz pictures side by side in a two-column document (IEEEtrans style). I've looked at various solutions, but each one that claims to place figures side by side only manages to ...
31k views

I was trying to create a custom abstract environment with minipages and adjusted margins. Everything works fine, except for that the right margin changes according to the left. I could'n find solution....
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} \...
664 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. \...