{captions} is about captions for figures, tables and other, custom-defined floats or non-floating illustrations which are formatted to look identical to these floats. A popular package is caption.

learn more… | top users | synonyms

3
votes
1answer
749 views

How can you place a figure caption inside a table using LyX?

I have 3 graphs I would like to use in a LyX document. In order to save space I have placed the 3 graphs into a 2x2 table and in the final box I have inserted the figure caption. When I try and ...
23
votes
4answers
30k views

How to add line break to caption without using caption package

I wish to add a line break to a caption, but I would wish to avoid adding of caption package. Is it possible? \documentclass{article} \usepackage[format=plain, ...
7
votes
1answer
20k views

Setting font size for caption package

I wish to set the font size for caption package, how should I do it, now I have this in my preamble \usepackage[skip=2pt]{caption}
7
votes
3answers
319 views

\autoref doesn't work correctly when used in tufte-book

i want to use the \autoref command (from the hyperref package) in the document-class tufte-book. mini-example: \documentclass{tufte-book} \usepackage{hyperref} \begin{document} ...
4
votes
1answer
6k views

pgfplot — label, referencing and caption

I've the following pgfplot: \begin{center} \begin{tikzpicture} \begin{axis}[ xlabel = Number of threads (\#), ylabel = Task completion time (seconds), ...
2
votes
1answer
141 views

Smash table footnotes of floatrow

I am using the smashcaption redefinition for small images and tables with their caption situated in the margin. It smashes the caption but not additional footnotes. Furthermore, since the caption is ...
1
vote
2answers
1k views

Caption format changing

I want my captions of figures to be formated like this: 1 pav. First Caption 2 pav. Second Caption Furthermore, I need my captions to be centered. How can I redefine this?
5
votes
1answer
482 views

Error when using \BC (from abbrevs) in \caption

I'm using the abbrevs package to provide nicer formatting of BC/AD in dates, but when I use one of the commands in a caption I get an error. Example document: \documentclass{article} ...
1
vote
1answer
470 views

Different captions for float and non float figures

I use following code for nonfloat figures.. \begin{minipage}[c]{\textwidth} \centering \includegraphics[width=3.0in]{myimage.eps} \captionof{figure}{Caption for image} ...
9
votes
1answer
725 views

Block quote in figure caption

I need to put a multi-line quote in a figure caption. I've put code together that does this correctly if I override several errors, but I'd like the document to compile without errors. The code: ...
10
votes
3answers
11k views

Centering figure captions in IEEEtran

I am working on a paper using the IEEEtran template in LyX. I have run into a problem: While the contents (in this case, a table) of the figure float are centered, the caption is aligned to the left ...
4
votes
2answers
760 views

Common style for global TOC, LOF, LOT and titletoc partial TOCs (with hyperref & caption)

I am currently writing my PhD thesis, and I have trouble defining a common style for my global TOC and the partial TOCs generated by titletoc. Basically if you check the following MWE, I like the ...
4
votes
2answers
367 views

Table of 2x2 tikzpictures

I'm attempting to condense 4 tikzpictures into a smaller space in my document. The solution I have is as follows: \documentclass{article} \usepackage[paperwidth=6in, paperheight=4in]{geometry} ...
6
votes
1answer
29k views

How to remove space after image caption? [duplicate]

I am writing one article in which i need to write one image and its caption. I found space after caption seems to be more than normal. \begin{figure}[!ht] \centering ...
2
votes
1answer
310 views

Horizontal margincaption alignment using floatrow

I want to switch from sidecap to floatrow in putting figure captions in the margin. When using sidecapthe text is perfectly positoned within the margin. When i use floatrow there is a slight shift. ...
3
votes
1answer
2k views

How to control line spacing and subscript location in captions?

I just started using mhchem and am having problems with captions. Subscripts from mchem overlap with superscripts. I can think of two possible solutions (and trivially not using mchem in captions): ...
4
votes
3answers
2k views

Can listoffigures use the long caption instead?

Throughout my document I have figures with captions set like this example: \caption[Surface elevation change for Antarctica and Greenland]{Rate of change of surface elevation for Antarctica and ...
5
votes
2answers
4k views

Horizontally shifting subfloat captions in figure environement!

When using subfloat, the caption centers with regards to the figure width. However I want to center it with regards to the axes. How to horizontally shift the captions (manually) for all the ...
5
votes
1answer
475 views

Command to insert filename in caption of a listing

I would like to have a command to insert listings that contain the filename in the caption. This works well as long as there is no "_" etc. in the filename. I also tried the suggestion from a ...
2
votes
1answer
483 views

Customize the position of a figure [duplicate]

Hello although this question has been asked several times, I still can't position my figures at the right place. I have installed the float and the here packages. and the code is as follow: ...
5
votes
1answer
226 views

color an entry in the list of figures

I have a command that prints an image and will be used inside a certain environment. First I run a test if the file exists and is a valid image file (see this question for the definition of ...
0
votes
2answers
98 views

personal caption name [duplicate]

I have a table that I would like to insert like a figure, and I want that in the caption appears "Table 1" instead of "Figure 1". This in one example of what I did: ...
4
votes
2answers
738 views

Over wide figure with caption of the same width that both spill out of the right margin and are aligned flush left

This question is similar to that question, but instead I want to place a figure caption flush left aligned to an overwide figure so that it spills out of the right margin. MWE ...
1
vote
0answers
271 views

The text 'figure' being printed under captions in IEEEtran [closed]

Under \documentclass[conference]{IEEEtran}, whenever I include a caption under a figure, right below the caption, the text 'figure' is printed. This does not happen under \documentclass{article}. ...
4
votes
1answer
130 views

automatic nomenclature breaks with subfigure

I am using the method recommended in List of symbols/abbreviations and macros to automatically generate an entry to the nomenclature (nomencl package) when I first use a command, i.e. ...
3
votes
0answers
178 views

How to vertically align the captions for sub figures in subfigure? [duplicate]

This is my tikz code: \documentclass{article} \usepackage{tikz} \usetikzlibrary{shapes,shapes.geometric,arrows,fit,calc,positioning,automata,} \usepackage{amsmath} \usepackage{caption} ...
0
votes
2answers
16k views

Caption of an image doesn't follow flushleft

Hello I want to place a photograph in a page so i write: \begin{figure}[h] \caption{H Feistel Function } \begin{flushleft} \includegraphics[scale=0.7]{func} \end{flushleft} \end{figure} I face 2 ...
9
votes
2answers
655 views

Consecutive caption numbers without chngcntr?

As many before me I need consecutive caption numbers for figures and tables instead of chapter-based numbers like Figure 1.2. I use scrreprt and the caption-package for my document. I also need roman ...
2
votes
1answer
195 views

Caption on the side of a table

I tried to use the floatrow package together with the approach from the accepted answer from (Caption on the side of a figure) to put my table caption to the right top hand side of my table. However, ...
0
votes
0answers
63 views

Figure counter and figure label issues [duplicate]

i ve got an issue with Figure counting and, i think, labeling. Though I set the counter for figures at 0, my first figure, that I d like to have counted as 'Fig.1' and that is labeled as ...
11
votes
1answer
166 views

Using a caption label as a title

I have done some searching but not had much luck. I would like to be able to see and use the label of my caption as a 'title' for the caption text. An example: \documentclass[11pt]{article} ...
5
votes
2answers
1k views

How to remove “Algorithm #” caption prefix but keep list of algorithms?

I am using the algorithm-package and would like to name my algorithms without any generated prefix. So I would like to remove "Algorithm #" as prefix from my caption, but still keep the list of ...
4
votes
1answer
1k views

longtable list of tables caption problem

I am writing a MS dissertation, and using a long table in my thesis. I have a problem related with the caption of the long table in list of tables(LoT). Table 4.1 which is seen below, is a long table ...
4
votes
1answer
352 views

longtable captions in marginpar

I used floatrow to put all my captions (figure, table, listing) into the margin. The only captions left that i'm unable to put there belong to the longtable environment. Is there a way to put the ...
0
votes
0answers
60 views

Reducing vertical space between figure and caption [duplicate]

Possible Duplicate: How to reduce space between image and its caption? How do I reduce the space below figures and above their captions, without changing the parameters for tables? For ...
0
votes
0answers
39 views

Continued 'figure' after 'table' Error [duplicate]

Possible Duplicate: ContinuedFloat, and Subfloat The error is associated to the addition of a Caption in a Table when, in the same section, there is a figure split between two pages using ...
1
vote
2answers
644 views

How can I edit the caption of a LaTeX table

I have a problem with the caption of LaTeX tables. Is there any way to edit the caption of my LaTeX tables so that not all captions start with “Table1” Can I edit the second file into displaying ...
3
votes
2answers
1k views

Framed floats and background colors for captions

i wanted to edit my floats. Found the package floatrow and got the desired frames easily for them. Now i would like to add a backgroundcolor to the captions. The problem is that the \parbox, i ...
1
vote
1answer
76 views

How can I set this template so that lengthy code doesn't overshoot the page?

I actually asked the exact question here: http://tex.stackexchange.com/questions/87646/problem-formatting-java-code-in-my-latex-document-overshooting-the-page However I have tried using the ...
0
votes
1answer
317 views

Margincaption (floatrow) in outer margin (twoside)

I'm using Want figure height to ignore side caption height to place a caption into the outer margin. Unfortunately, i can get it only to work with left pages. On right pages i can't muster bringing ...
22
votes
1answer
57k views

How to center a specific caption?

I'm having a problem with centering my figure captions. Particuarly, I know that we can use \usepackage[justification=centering]{caption} to center captions, however, I'm interested in just centering ...
6
votes
2answers
16k views

Add source to figure caption

How can I add a source to a figure? I need to add \ref, \cite or just free text. Something like that: \begin{figure} [ht] \centering \includegraphics[width=0.95\textwidth]{res/figure.pdf} ...
2
votes
1answer
216 views

Getting lbr frame lines in a listing up to the caption box above it

I have a document similar to this: \documentclass[twoside,11pt,titlepage,a4paper]{report} %unterscheidung zwischen gerade und ungerade seite, 11pkt, kp, kp \usepackage[T1]{fontenc} %inputcodierung ...
4
votes
1answer
4k views

Space between table and caption in Beamer

I am making a slide using Stockton beamer theme. I have added a table to a frame, however as you can see in the screenshot, that space between caption and table is too much. I made some search and ...
1
vote
0answers
93 views

Why is there a large gap between imported png and caption? [duplicate]

Why the spacing between the caption and image is large and why it is not where I wanted it but somewhere else? How to make it next to it as I would normally expect a caption to be? I placed the png ...
7
votes
1answer
422 views

Using siunitx in captions?

I am using pdflatex(texlive 2011) to compile a document. Unfortunately it does not compile. ! Undefined control sequence. \metre ->\ERROR l.69 ...feld \num{6}{\metre} mal \num{6}{\metre}} ...
4
votes
1answer
250 views

Recreate position of subfigures in a table above figure caption

I need to recreate a particular style of captioning a "figure". Main characteristics of this style are: No subcaptions included in the subfigures. The position of the subfigures is recreated in a ...
11
votes
2answers
34k views

Resize table and caption

I usually apply a \scalebox to resize things, but I always stumble upon the fact that I cannot simply include a \caption{...} in the \scalebox. As an alternative to \scalebox, I found I may use ...
3
votes
2answers
6k views

How to remove space between table and caption? [duplicate]

Possible Duplicate: How to reduce space between image and its caption? I am working on one example in which i need to draw one table and its caption. How can i control the space between ...
19
votes
1answer
32k views

How to reduce space between image and its caption?

I m importing one image in latex document. But caption has bigger font than my normal text on page. \documentclass{article} \usepackage{graphicx} \begin{document} Some text... ...