Linked Questions

5
votes
1answer
14k views

Caption out of float error when using caption [duplicate]

I'm adding captions for pictures but it shows this error : \caption outside float. } My code is like this \begin{center} \href{http://m.technologijos.lt/cat/7994/article/S-18917}{ \...
1
vote
2answers
2k views

How to make table with caption appearing on \listoftables without \begin{table} environment? [duplicate]

Possible Duplicate: Label and caption without float Create caption without float AND without caption-package? Here is an example of LaTeX document being compiled with pdflatex having table ...
119
votes
5answers
245k views

How to rotate a table?

I have a table and I want to rotate it. The table has 3 rows and 4 columns, and I want to rotate the text inside this table as well. How can I do this?
80
votes
3answers
135k views

How to add caption for a TikZ picture?

I'm drawing a automaton figure, and I want to name it says 'M1' below the figure? A minimal example would be greatly appreciated. Thank you. \begin{tikzpicture}[shorten >=1pt,node distance=2cm,on ...
42
votes
3answers
11k views

Code spanning over two pages with minted, inside listing with caption

I am trying using minted to display some code in my document, but the code is long and spans over two pages, this works fine, however when I place my code inside \begin{listing} \inputminted{java}{...
21
votes
5answers
98k views

Center table on page

I would like to center a table on the page, not only the content. But I can't find the right keyparameter or command. I have follwing table \documentclass[11pt]{scrartcl} \usepackage{multirow} \...
3
votes
3answers
3k views

Create caption without float *and* without caption package?

In the appendix of my thesis, there is a large number of tables and longtables which does not need to float, as they shall appear one after the other just how they fit on the pages (and it is no ...
12
votes
2answers
4k views

Splitting a float with code listings

Using the floats and listings packages, I have defined a float for code listings and a shortcut for using it as follows: \usepackage{floats} \usepackage{listings} \newfloat{program}{tbphH}{lop}[...
9
votes
2answers
3k views

Framed text with a float in it

I'd like to frame the text between \startfoo and \stopfoo, but there is a float in it. \documentclass{article} \begin{document} \startfoo \begin{figure}[h] some float with a \caption{...} \end{...
4
votes
1answer
2k views

Figure filled with longtable

I am currently creating a figure which is filled by longtable inside, why I do this is because I need the caption to be figure, while on the other hand, I need the table environment. The thing is, ...
1
vote
1answer
4k views

Images in two columns in beamer

I need to divide a frame into two columns and in each column i put two image taht one above the other. \documentclass[compress,red]{beamer} \usepackage{etex} \mode<presentation> \usetheme{...
4
votes
1answer
858 views

Figures in appendix are not referenced correctly (or not the way I want them to :) )

In my document, I have some figures in my appendix I want to reference in my text but the output of \ref{} is only "Figure .2 shows...". It should be something like "Figure B.2". Here's my minimal ...
1
vote
0answers
7k views

\FloatBarrier behaving like a \clearpage

The \FloatBarrier command from the placeins package is frequently used before a section in order to certify that any floats from previous sections have been properly flushed. Such is not my case. I ...
4
votes
2answers
140 views

How can I render a large number of tables in succession?

In the following code an error !h' float specifier changed to !ht` I think because my tables span multiple pages. How can I get them to display properly one after the other? \documentclass{article}...
1
vote
1answer
789 views

Renew command begin figure? [duplicate]

Possible Duplicate: Macro for figure position? Is it possible to make change that changes all instances of \begin{figure} into \begin{figure}[h] ?

15 30 50 per page