3k views

### Avoid repeating [hbt] and \centering for every table

In a document I'm writing, I'm using the familiar [hbt] option for my floating tables, and I center them. I'd like to avoid repeating that every time I'm creating a table. I assume it's easy to add ...
33k views

### How can I get rid of the LaTeX warning: Float too large for page?

In my document, I have figures that have a rather long caption. The code I use to include them looks like this: \begin{figure} \begin{center} \includegraphics[width=\textwidth]{../fig.pdf} \...
24k views

### Align Note below table

My question concerns the "Note" below the table. This is my code: \begin{table} \begin{center} \caption{ Descriptive statistics of total sample based on modified data set}\label{table:descrtotal} \...
10k views

### How can I properly align the line numbers of a source code listing with the margin?

I want to include a code snippet in a document using the listings package. In my document, I have the following: \begin{figure}[!htbp] \setlength{\fboxsep}{0pt}% \setlength{\fboxrule}{0pt}% \begin{...
9k views

### How can I center all tables in a document?

Background Would like to center all tables within floats, without having to add \centering to each table. Ideas Tried the following: \let\originaltabular\tabular \renewcommand\tabular{\centering\...
3k views

### Difference between \begin{theorem}…\end{theorem} and {\theorem …}

I see that both attempts to display a theorem in the following code generates similar output. \documentclass{article} \usepackage{amsthm} \newtheorem{theorem}{Theorem} \begin{document} \begin{...
23k views

### tikzpicture alignment and centering

I have several very similar images except some have some extra graphics that enlarge them slightly. This causes some pictures to be offset and not aligned visually when it's clear they should be. How ...
7k views

### Table caption very skinny

I have a table like this: \begin{table} \centering \begin{center} \begin{tabular}{c|c|c|c} Data set & Image size & Hole size (pix) & Total time\\ \hline Mailbox & 459 $\times$ 489 &...
97k views

### Include graphics in LaTeX

I am newbie to LaTeX and I have a simple problem including graphics to the text. When I run \documentclass[10pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage{...
13k views

### How to draw a multirow table?

I am new to Latex and need help drawing tables. Here is what I have right now: and here is the code for it: \begin{center} \begin{tabular}{|c|c|c|c|} \hline Topology & Average Delay(s) & ...
23k views

### Merge columns in LaTeX

I would like to merge column in LaTeX. I can make that but this line is incomplete because it still open on the left. Perhaps you will not understand what I mean, but this is the code that I wrote \...
6k views

### Input a figure between title and body in twocolumn form

I'm using a LaTeX to write a small paper using CVPR template. I'd like to put a figure between my title+name and body(which consists with two columns) like many CVPR papers do, but I don't find the ...
8k views

### Trying to put a box around a collection of subfigures

I'm trying to have a bounding box around the following figure: \begin{figure}[htp] \begin{center} \subfigure[Process with no error]{\label{noerror}\includegraphics[width=1.5in]{noerror-process}} \...