| bio | website | sf.net/p/latex-caption |
|---|---|---|
| location | Braunschweig, Germany | |
| age | ||
| visits | member for | 2 years, 5 months |
| seen | 2 hours ago | |
| stats | profile views | 527 |
Author and maintainer of the LaTeX caption package bundle
|
15h |
comment |
Continuous numbering of custom float with caption package @MarcoDaniel Thanks. I just added an addendum about the documentation of \DeclareCaptionType, however I see that the current situation is some kind of confusing. (I'll try to make it better in the next version of the doc.) |
|
15h |
revised |
Continuous numbering of custom float with caption package Addendum about documentation of \DeclareCaptionType added |
|
15h |
comment |
Continuous numbering of custom float with caption package @Ingo No, because this question is closed. |
|
15h |
comment |
Continuous numbering of custom float with caption package I do not see that this is a duplicate because tex.stackexchange.com/questions/28333/… is a question about changing existing counters while in this case the question is "How to define the "problem" counter is a way I want". Defining it wrongly first, and correct it afterwards with the help of an additional package do not look very straight-ahead to me... |
|
15h |
comment |
Continuous numbering of custom float with caption package Why using the chngcntr package if using \DeclareCaptionType with option within=none would be sufficient? |
|
1d |
comment |
listings caption gray box meaning of code @pegasus As already written in my answer the option "box=" needs v3.3 (or newer) of the caption package, so updating your TeX distribution should help. (And caption2 is a dead smelly fish ;-)) |
|
May 18 |
comment |
What's the difference between \newcommand and \newcommand*? The starred variant of \newcommand wasn't introduced by Lamport but by the LaTeX2e team with the LaTeX2e release 1994/12/01. (see usrguide) |
|
May 16 |
comment |
Caption parbox 6.0 pt too wide Since v3.3 of the caption package the option box=colorbox is available to make things easier. See tex.stackexchange.com/a/88206/2574 |
|
May 16 |
comment |
Background color for the caption of a listing Since v3.3 of the caption package the option box=colorbox is available to make things easier. See tex.stackexchange.com/a/88206/2574 |
|
May 16 |
revised |
listings caption gray box meaning of code Link to answer of mine regardings "colorbox" feature added |
|
May 16 |
answered | listings caption gray box meaning of code |
|
May 12 |
comment |
Add list of figures / tables only when content @egreg \newcommand\check@list[2]{\setbox\z@=\vbox{\makeatletter\@input{\jobname.#1}}\ifdim\ht\z@>\z@\relax#2\else\if@filesw\expandafter\newwrite\csname tf@#1\endcsname\immediate\openout \csname tf@#1\endcsname \jobname.#1\relax\fi\fi}\newcommand\ifchecklist[1]{\check@list{\@nameuse{ext@#1}}} - hopefully this makes it more clear what I had in mind. |
|
May 12 |
comment |
Add list of figures / tables only when content @egreg I do not see how counters, reset at new sections, do affect my idea about your solution, since (still) no counters are used at all? I'm confused... |
|
May 12 |
comment |
Add list of figures / tables only when content @egreg Why not offering something like \ifchecklist{<counter>}{<code>} so one could use \ifchecklist{figure}{\listoffigures}. (The file extension could be found in \ext@<counter>, e.g. \ext@figure is defined as lof.) As opposite to your solution this approach would not be dependent on the document class used anymore since no patching of \listoffigures etc. is needed here. |
|
May 12 |
comment |
Add list of figures / tables only when content @ADP ...I just have found tex.stackexchange.com/a/113679/2574 However, this solution (from Werner) does use own lists but not own counters for the newly defined environments, so in this case you need to use the solution offered by egreg since it checks for the content of the lists while the totalcount package is dependent on (separate) counters. |
|
May 12 |
comment |
Add list of figures / tables only when content @ADP How do you actually define new listing environments? At least the one defined with \lstnewenvironment do use the same counter (lstlistings), so there should be no problem. |
|
May 12 |
answered | Add list of figures / tables only when content |
|
May 11 |
comment |
Caption placement for new float in tufte-book class ...resolved with newfloat v1.1-91 (will be uploaded to CTAN today) |
|
May 11 |
revised |
Problem with tufte-book and subfigure `subfigure` replaced by `subfig` since the `subfigure` package does not load `caption` |
|
May 11 |
comment |
Caption placement for new float in tufte-book class sourceforge.net/p/latex-caption/tickets/12 |