{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

9
votes
3answers
367 views

Uppercase until end of group

In LaTeX, all font commands have two versions, one requires an argument (\textbf, \textit, \textsc etc), other changes the font until the end of group (\bfseries, \itshape, \scshape etc). The latter ...
7
votes
1answer
1k views

How to layout four figures with floatrow, two of them vertically?

how can I get a layout like the one below in my document? _____________ _____________ _______________ |Big Picture1| |Big Picture2| |Small Picture1| | | | | |______________| | ...
6
votes
2answers
1k views

Indenting the first line of figure captions

I want to create a small indentation in the first line of figure captions, similar to the way LaTeX indents the first line of paragraphs. The caption package does not seem to support this. Is it ...
2
votes
1answer
2k views

Swedish characters, but english captions

I am writing thesis in english but I want to be able to use swedish letters. I use \usepackage[swedish]{babel} \usepackage[T1]{fontenc} \usepackage[latin1]{inputenc} This works fine, I thought, ...
2
votes
1answer
122 views

How shoud I manage captions and sub captions with float and non float items?

I am currently writing my PhD thesis and I am using this code to put some figures or tables on the left page. So, I have two kinds of figures, some are in a float, some are not. In both cases, I often ...
4
votes
1answer
155 views

Use float counter in a section title

I defined a new float environment for examples \usepackage{float \newfloat{example}{htp}{example} \floatname{example}{Example} that I the use throughout the document \begin{example} ... ...
3
votes
1answer
395 views

How to suppress caption numbering in a figwindow

\documentclass[a4paper]{article} \usepackage{picinpar} \usepackage{graphicx} \begin{document} \begin{figwindow}[1,l,{\mbox{% \includegraphics[width=80pt]{g/tiger.png}}},{\label{fig:leadfield}\TeX{} ...
2
votes
1answer
218 views

Using (redefined) macro in \caption doesn't work, but it works in another environment

My problem is strange behavior my command \vec{} in \caption. I used this construction: \renewcommand{\vec}[1]{\accentset{\rightarrow}{#1}} See my code: \documentclass[12pt, a4paper, czech, ...
4
votes
1answer
446 views

Caption formatting with babel French

I have a problem override the default formatting of float captions when using babel’s French option. When babel’s francais setting is chosen, captions are formatted with the label (“Figure X”) in ...
3
votes
1answer
426 views

Combining the caption and fltpage package when using twopage setting in book class

I have run into a strange problem when using the caption package and the fltpage package in the book documentclass with the twoside setting. After eliminating all kinds of variable it turned out that ...
5
votes
1answer
139 views

indent of custom float

In my preamble I defined a custom float to use it for my equations like this \newfloat{formula}{ht}{frm} \floatname{formula}{Formel} then I use it like this \begin{formula} \begin{equation} ...
4
votes
3answers
308 views

Center table and align caption over table

I have a small table that I want to center in a document. I can do this but the caption then is left justified rather than aligning with the centered table. I'd like to center the table and make the ...
1
vote
1answer
462 views

Left/Center/Right references to subfigures

I have a figure with three subfigures shown in the code sample below. How can I change the reference to a subfigure so that I have Figure 1 (left), Figure 1 (center), and Figure 1 (right) instead of ...
5
votes
1answer
2k views

Error using subcaption

I've used the subcaption package in the past without any problem. But now, i can't use it, which makes it impossible to compile some important documents. If i try to compile \documentclass{article} ...
2
votes
0answers
236 views

\caption* does not work properly [closed]

I have a problem with using the command \caption* (from the caption package) together with the algorithm environment. Instead of parsing the \caption* as a single command, it is parsed like \caption ...
2
votes
1answer
1k views

How can I repeat the header but not the caption with longtable?

I am trying to set up a longtable where the header is repeated on every new page but the caption only appears once at the top of the page. The table is defined as follows: \begin{longtable}{|l|l|l|} ...
4
votes
1answer
2k views

Extending the width of caption for subfigure

The caption of the subfigure follows the size of the figure/table. Is it possible to stretch the width so that it does not follow the size. \documentclass[11pt,a4paper]{report} \usepackage{ ...
6
votes
1answer
686 views

using [] in the caption of the subfigure

The subfigure caption uses []. Because of that, I am unable to use [] in its caption. \subfigure[ This [] is important] How do I use the brackets in the caption of the subfigure?
4
votes
1answer
2k views

elsarticle table and figure caption

I want to change the caption of elsarticle in LyX for table to be and for figures to be Mine is the following: I use the caption package in document preamble ...
7
votes
1answer
817 views

How not to show a label under a graph using subfloat — restart numbering of labels

I have this code: \documentclass{beamer} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} \usepackage[caption=false]{subfig} \graphicspath{{/folder/images/}} \title{} ...
2
votes
2answers
692 views

How to decrease space height (margin) between equations

I want to decrease spaces(margin) height before and after equations because I found big space when text end and display formula appears or between equations each in separate line. Also I want to do ...
2
votes
1answer
939 views

Writing Pseudocode in LaTeX

I cannot seem to get any of the LaTeX pseudocode packages to work correctly on my computer. For example, if I run this block of code: \documentclass{article} \usepackage{algorithm}% ...
4
votes
1answer
982 views

achemso single-column-abstract and Helvetica captions

I am currently writing a paper with the achemso style package, as required by the American Chemical Society. I can produce the very nice two-column format by just doing ...
2
votes
0answers
239 views

Page break before caption in lstlisting [closed]

I have the following settings for a lstlisting: \lstset{ language=XML, numbers=left, numberstyle=\tiny\color{gray}, stepnumber=1, numbersep=5pt, ...
3
votes
1answer
495 views

Two Captions for the table

I got tables working based on MWE. It was provided by @Yiannis Lazarides How to create new table environment How can I create two captions one on the top and one on the bottom. ...
4
votes
1answer
158 views

Special Command and Caption

I use the following code excessivle, \makeatletter \def\ifinstr#1#2{% \def\@ifinstr##1#2##2\@nil{% \ifstrempty{##2}{\@secondoftwo}{\@firstoftwo}}% \@ifinstr#1\@@nil#2\@nil } ...
5
votes
1answer
409 views

autonum does not like \ref in a \caption

The following is a minimal non-working example of a reference to some label within a caption while using the autonum package. \documentclass{article} \usepackage{autonum} \begin{document} ...
9
votes
2answers
481 views

Why are my Images not correctly centered?

First of all this is my first posting here on tex.stackexchange.com. I'm new to the tex world and I need a little bit of your help. I am trying to align text relative to a figure. How it should look ...
0
votes
1answer
817 views

Threeparttable and longtabu with consistent topskip

I am trying to have a big table (break across pages) with footnotes and a column with adjustable width. The MWE is the following. \documentclass{scrartcl} \usepackage{blindtext} ...
2
votes
1answer
2k views

Subfigure float - caption above, and how to break figure over two pages

Firstly, thanks a lot in advance for your help with this problem. I've looked long and hard but not found a solution anywhere. I am writing my PhD thesis in Lyx and love how it makes the formatting ...
3
votes
1answer
2k views

Strange problem with `longtabu`

I would like to share with you a quite simple example LaTeX is not able to compile. I use the longtabu environment provided by tabu package. I am using commands from booktabs as recommended in the ...
4
votes
1answer
218 views

Different type of captions

I have four tables. The first table has a caption of Table A: Title. The other three tables have captions of Table 1: Title, Table 2: Title, and Table 3: Title. When I use \caption{Title} it ...
5
votes
1answer
1k views

\spacedlowsmallcaps in caption label

How i can make the labelfont also in \spacedlowsmallcaps in addition to sans serif and small ? \documentclass{article} \usepackage{microtype} \usepackage{caption} ...
3
votes
1answer
775 views

Beamer footcite citation appears twice if used in long caption

I noticed strange behaviour of the \footcite command when used in captions within beamer. In the working example provided the first frame has a \footcite on an itemize item, this works as expected. ...
0
votes
1answer
1k views

Cite in caption beamer

\documentclass{beamer} \usepackage[latin1]{inputenc} \usepackage{graphicx} \usepackage{tikz} \usepackage{wasysym} \usetheme{CambridgeUS} \title{Beamer o Beamer} \author{mishr} \begin{document} ...
2
votes
1answer
726 views

Figure style with memoir class

I'm trying to modify the defaut figure style with the memoir class. More precisely, I would like to have the Figure X.Y part in bold. To get X.Y in bold isn't a problem, as the ...
1
vote
1answer
156 views

Making figure captions wider

I have the working sample below: \documentclass[a4paper,11pt,twoside]{report} \usepackage[left=2.5cm,right=2cm,top=2cm,bottom=2cm]{geometry} \usepackage[T1]{fontenc} \usepackage{amsmath, graphicx, ...
7
votes
4answers
6k views

Table with foot note

I have a table and some of the number inside has some symbol like * and ** which should be explianed as footer ( at the end of the table not the page) I dont know how to do that and I dont want to ...
1
vote
1answer
646 views

footnotesize not working with longtable and landscape

I can get \footnotesize to work when I'm using landscape & longtable. However, my table is landscape with table-->longtable in the environment, and when I do this I can't get the \footnotesize ...
1
vote
1answer
108 views

Order of `float` and `caption` packages in preamble

I am using float and caption packages in my document, and also packages like tabularx, listings, algorithm... that (as far as I know) define floating elements or elements that have captions ...
4
votes
1answer
825 views

Caption at foot of long tables ('longtable' package)

I would like to ask a question about longtable package. I've already posted it in other forums. I have a long table (a several-pages-long one) using longtable package and I would like to add a table ...
1
vote
2answers
942 views

How to change the position of the caption in a “narrow” and “minipage” environment?

I have some huge figures to include in Latex. Therefore I use the "minipage" and "narrow" environment to place it right at the desired position and to move it to the left until it looks centered. ...
3
votes
1answer
5k views

Setting default distance between subfigures

I use a lot of subfigures in my thesis. What I realize now is that the captions between adjacent subfigures are very close together, which makes them hard to read. My two questions are therefore: ...
4
votes
1answer
3k views

How to set font size for \caption* (but not \caption)

I need to change the font size from \caption* to 10pt.However, using \captionsetup the \caption font size changes as well. How can I solve that?
5
votes
3answers
2k views

Remove citation from List of Figures

I have list of figures page. Some of these figures' captions have citation. How can I remove the citation from the list of figures page and keep the citation on the normal pages ? Regards ...
1
vote
0answers
70 views

Adding Text to Caption via Style File [closed]

I am trying to add text to a caption via a sty file. With the following code: \ifthenelse{\equal{#1}{caption}}{% {Sample Tex \\ Added Here} }{}% The style file will add "Sample TexAdded Here" ...
9
votes
2answers
2k views

how to reduce the distance between the picture caption and the picture?

I found that the distance between the picture caption and the picture is a little large, as we can see in the picture I use the code as follows, thus, how to reduce the distance between the caption ...
11
votes
2answers
9k views

Problem with command \captionsetup from package caption

The following MWE: \documentclass[11pt]{memoir} \usepackage{caption} \captionsetup[table]{ listformat=empty, tablename=Table, justification=justified, ...
1
vote
1answer
562 views

Interaction of hyperref, capt-of and redefinition of @makecaption [duplicate]

Possible Duplicate: Remove colon in the caption of a figure without using caption package This is a very tough question and I have posted minimum example below. Because I don't want my ...
1
vote
1answer
3k views

Adjust the caption to figures on minipage

Using minipage, is posible to split the (a) (b) letters above any figures, in order to perfectly center them? \begin{figure}[tpb] \subfloat[]{ ...