4
votes
1answer
65 views

side effect of caption package with custom counter

--- update --- Any comments, is this a bug in the caption package or do have have to protect \refstepcounter somehow? --- \update --- I have the following MWE: \documentclass{book} ...
2
votes
1answer
140 views

Eliminate reference to chapter in table caption (memoir class)

I'm editing a book using the memoir class. Each chapter has a different author, and I restart numbering of all elements at the start of each chapter. So far, so good. However, I want to eliminate the ...
1
vote
0answers
53 views

Caption numbering missing in beamer class when adding subfig package

I am having a problem with the beamer class and subfig package. Once I add the subfig package (for subfloats) the numbering of all my captions disappear. Please see the following minimial working ...
3
votes
1answer
329 views

Change Table Caption Numbering

I want to change the caption number from 2.1 to 2.3.1 as my section is 2-3. I got try to use \usepackage{chngcntr} and \counterwithin{table}{section} but due to my section title is 2-3. It will label ...
3
votes
1answer
68 views

Two figures side by side with two captions and alphanumeric counting [duplicate]

How can I have two figure side by side with two captions and in the floating format, like fig. 10A. some caption fig. 10B. some caption
4
votes
2answers
51 views

Inadvertent effect of figure numbering style change

I need to insert (above) or (below) between some figure numbers and the following colon, to produce, e.g., Table 0.1 (above): instead of the more usual Table 0.1: (there’s a good typographic reason). ...
1
vote
2answers
105 views

Can someone help revise the style file to make captions of figures as Figure 1.1, 1.2…2.1,2.2 …3.1,3.2?

Now it seems that the captions are numbered from 1,2,3,...... I want it numbered as Figure 2.1, Figure 2.2,... Figure 3.1, ... The style file is as follows: \@ifundefined{DeclareOption}{}{% LaTeX2e ...
0
votes
1answer
381 views

figure numbering (via `\ref{fig-label-name}`) when using user defined `myCaption`

I want to change the font of Figure, and the caption text. I tried caption package. But \usepackage[labelfont=bf,font=it]{caption} raises an error Command \caption@ContinuedFloat already defined.. ...
8
votes
2answers
106 views

Custom counter steps twice when invoked from caption using caption package

I made a custom counter with a custom command that steps the counter and sets an automatic label for it. However, when invoking this from a caption AND using the caption package, my counter steps two ...
15
votes
2answers
4k views

Beamer Presentation: Figure has no number?

I am giving a presentation and therefore I am using the beamer class. I have included some figures and it works, but there is no number after "Figure". My code: \documentclass{beamer} ...
2
votes
0answers
336 views

LaTeX incorrect figure numbering [closed]

I have several figures and subfigures in a LaTeX file, but only the first few are numbered correctly. Here is the part of the code that is giving me problems: \documentclass[11pt]{article} ...
2
votes
2answers
397 views

Change caption number of an algorithm

I am wondering if I can manually set the caption number of an algorithm, or let the caption number of the algorithms in an article start from 2. The following is a MWE. ...
9
votes
2answers
1k views

Figure subnumbering 1a

I'm wondering how to give subnumberings like "2a" and "2b" for separate floats. I know both the subfigure and subcaption packages do the subnumbering but they demand the subfigures be in a single ...
3
votes
1answer
196 views

Continuous numbering of custom float with caption package

I defined a custom environment that allows me to define mathematical problem statements and puts them in a box. Since I have quite a few of them in my report, I decided to properly caption them, which ...
4
votes
2answers
200 views

Custom name & justification, single line spread and “within chapter” numbering of figure captions [closed]

I now know how to add images with captions but still need help how to tweak the captions. \begin{figure}[h] \begin{center} \includegraphics[width=100mm]{01.jpg} \caption*{\textbf{Bild 2.1:} Curtiss ...
4
votes
2answers
157 views

Assign numbering of theorems to figures

How can I assign numbering of theorems to numbering of figures? I have a certain figure and instead of it being called Figure 2.1: Figure for Theorem 2.2, it would be much batter to have it simply ...
0
votes
1answer
138 views

How can different numbering style be used for nested subfigures?

I want to display a figure demonstrating 3 cases. The case1 and case2 are shown using single images each. But case 3 needs 3 images. I have used nested subfigure as follows: However the captions go as ...
3
votes
1answer
196 views

Subfloatrow: Omitted incrementation in figure numbering when using subfigures

I suspect this question is slighty related to another question found in subfloatrow: incorrect continued numbering. Trying out the MWE below, the incrementation of the figure number of figure two is ...
3
votes
1answer
231 views

subfloatrow: incorrect continued numbering

I am using the subfloatrow environment (provided by the floatrow package) to organise the layout of figures for my thesis. For the MWE provided below, the numbering of the sub-figures in the second ...
8
votes
2answers
298 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 ...
0
votes
0answers
53 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 ...
6
votes
1answer
144 views

Caption number increases by two for every inclusion

I am trying to typeset my captions in margin using marginpar and captionof. Here is what I get by the MWE. Note the wrong caption numbers. The first caption is included using macro \fixedmarginpar ...
3
votes
1answer
300 views

subfloatrow and tabularx, wrong numbering of figure

I wanted to "group" a figure and a table to get one figure. It has been proposed to use floatrow for this, with the possibility to remove the subcaptions later on (subfloatrow of package floatrow does ...
1
vote
1answer
282 views

Setting parent of a counter and removing counter from caption

I guess, I have two questions. My very concrete problem is that I want \caption{xyz} to not print a table counter within a table. By now it prints “Table 0.1: xyz“. How would I remove that? But ...
6
votes
1answer
1k views

Captioning nested subfigures with subcaption

The following creates a figure with three images arranged appropriately. If I remove the two \caption{} lines, it numbers the main subfigures as I'd like, and keeping the two \caption{} lines puts ...
7
votes
1answer
743 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{} ...
4
votes
1answer
211 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 ...
4
votes
2answers
261 views

How do I number appendix longtables and include them in the *ToC*?

I am writing my PhD dissertation. I have many appendices (like 6?), mostly tables. As it happens automatically for tables and figures, I'd like to get a label plus progressive number before I ...
3
votes
1answer
790 views

Change separator between caption label and number

I've tried to accomplish this for some time with the caption package, but with no result. What I want to do is change the following: Figure 1: text into Figure-1: text I.e. replace the space with ...
4
votes
1answer
760 views

Table numbers restart using \ContinuedFloat

Okay, I am really new at LaTeX so I may be screwing up terribly, but here's my problem. I'm writing a paper with several tables, one of which is in three parts, so I'm using \ContinuedFloat from the ...
5
votes
1answer
3k views

Algorithm Caption

I want algorithm to NOT show the number in caption. How can i do that? Below is the code: \begin{algorithm} \begin{algorithmic} \caption{ My Algorithm} \IF \ELSE \end{algorithmic} \end{algorithm} ...
3
votes
1answer
398 views

Numbering new environment with chapter/section

If I have a new environment defined (with, say, trivfloat), is it possible to get that section to number with chapter/section? I use \numberwithin for equations, figures, and tables. For example, my ...
3
votes
1answer
948 views

Figure numbering with minipages (memoir)

I have the following figure, where I can't seem to get the numbering right. The numbers next to the captions comes out as Figure 1, Figure 2, and Figure 3, but I want them to be (a), (b), and Figure 1 ...
5
votes
2answers
446 views

How do I suppress the counter for figures?

I am including some illustrations in the figure environment so that they float properly and so I can caption them, but I don't want the counter. Is there a way to suppress this? ...
8
votes
1answer
3k views

Put text to the right of figures

How can I display text to the right of figure, vertically centered? "Caption" is only displaying text below it, as it seems to me.
1
vote
0answers
72 views

Changed style of caption numbering [duplicate]

Possible Duplicate: Appendix changes sections and figures numbering I have a problem with some captions in a document I am currently working on. Usually when I compile the main file, all ...
7
votes
1answer
359 views

Aberrant footnote numbering behavior with footnoted captions

I don't have an explanation for the behavior shown by the following two MWEs. Clearly, the footnote number is altered by the length of text in the caption. Please advise me as to why this strange ...
2
votes
1answer
546 views

how do I remove “Listing 1” from my lstlistings code?

This is my latex code: \documentclass[12pt]{article} \usepackage{listings} \begin{document} \begin{lstlisting}[caption=Figure 3] Source | SS df MS Number of obs ...
8
votes
2answers
3k views

Ignore citations in captions in list of figures when numbering

When using the \cite command in figure captions and the ieeetr bibliography style, then BibTeX numbers the citations as appearing earlier than they do in reality (i.e. the first citation in the ...
4
votes
1answer
532 views

Running figure numbering

I want to use running figure numbering so I used a trick form this website http://www.tex.ac.uk/cgi-bin/texfaq2html?label=running-nos. \documentclass[a4paper, 11pt]{scrbook} \usepackage{chngcntr} ...
6
votes
3answers
2k views

Longtable caption numbering

I am trying to prevent a table from showing up in the list of tables. I used long table to create the table. This is the first table in my document. I know \caption*{} command should do the trick but ...
4
votes
3answers
2k views

How to create an unnumbered algorithm with a caption?

I want to do something like: \begin{algorithm*} \caption{My unnumbered algorithm} % etc. etc. \end{algorithm*} or \begin{algorithm} \nonumbercaption{My unnumbered algorithm} % etc. etc. ...
3
votes
2answers
2k views

'longtable' caption without incrementing 'table'?

For reasons both complex and confusing, I would like to caption a longtable without incrementing the table counter in the process. I want to have two consecutive longtable environments to be ...
33
votes
2answers
2k views

Why does an environment's label have to appear after the caption?

\documentclass{article} \usepackage{algorithm} \begin{document} \setcounter{section}{54} \section{A section with no label} \begin{algorithm} \label{myalg} \caption{An algorithm with the label ...
2
votes
3answers
4k views

Figure and table numbers in caption are terminated by a period and semicolon

I'd like help redefining the Table and Figure captions. Currently both Table and Figure numbers are terminated by a period and colon. For example, \caption{Foo bar} Produces the text, Table 1.: ...
7
votes
2answers
10k views

How to suppress caption numbering in a table?

How can the auto-numbering on table captions be suppressed? For example, I have a table: \section{Data} \begin{table}[h] \setlength{\arrayrulewidth}{1.5px} \centering \begin{tabular}{lcccc} ...
7
votes
2answers
5k views

Table numbering mismatch in caption and in text

I have created 2 tables in my LaTeX document \begin{table}[hb] \centering \begin{tabular}{|c|c|r|} \hline ... not important... \end{tabular} \label{tab:2} \caption{Določanje prioritet mojstrov ...
7
votes
1answer
1k views

How to change “Listing 1. Caption” to “Figure 1. Caption”?

I have a listing like so: \lstset{language=Python,caption={Caption}} \begin{lstlisting} some Python code goes here \end{lstlisting} In the PDF this appears as Listing 1. Caption. How can I make it ...
4
votes
1answer
2k views

(Beamer) Numbering captions by section in beamer

I'm writing-up a lecture course in Latex with an essentially identical set of slides in beamer. I'd like to have the figure numbering in the beamer slides to match those of the lecture notes, for the ...
9
votes
1answer
7k views

ContinuedFloat, and Subfloat

In my thesis I have a lot of figures with a common caption and multiple subfigures (a,b,c..etc). I wanted to split them between the pages because I don't want to fit them all in one page, therefore I ...