Skip to main content

New answers tagged

1 vote
Accepted

adjustbox gives "Undefined control sequence" error only in a figure caption, but not in a subcaption or normal text

This is because the argument of regular \captions are fragile in the sense that they move; they eventually end up in the List of Figures (or Tables), and therefore need to be written to the .lof (or ....
Werner's user avatar
  • 607k
0 votes

Font size of Figure Caption Header

The reason that sciposter's code isn't working is that in more pedantic systems it requires: \usepackage[font={small},labelfont={bf}]{caption}
TheStumps's user avatar
4 votes

Create a new math symbol

Old question, but the given answer has the defect of forcing MnSymbol which is rarely desired. \documentclass{article} \usepackage{amsmath} \usepackage{graphicx} \NewDocumentCommand{\triangleLeft}{}{%...
egreg's user avatar
  • 1.1m
0 votes

Problem compiler error about figure/subfigure ' caption using latex IEEE ACCESS template

I think the best approach is to just use caption and subcaption and configure those packages to create captions that look like IEEE Access preferred style. Here is how I do it: \usepackage{caption} \...
Gaslight Deceive Subvert's user avatar
0 votes

Tabular: title above and caption below?

There are already great solutions on this page, though they are a bit too complex for my taste. Here is a very simple solution that delivers most of what you asked for but not all: \usepackage{caption}...
Foad's user avatar
  • 983
0 votes

Aligning legend with figure width memoir class

I don't think that \legend is the right tool: it just uses the \caption mechanism, without adding a label. \documentclass{memoir} \usepackage{graphicx} \NewDocumentCommand{\simonincludegraphics}{O{}...
egreg's user avatar
  • 1.1m
3 votes
Accepted

Whether bookmarks duplicates or not is dependent on engine and `caption` package

A bit late to the party, but I just came across this question. The behaviour is engine dependant as xelatex uses a \special to create a bookmark and that does nothing when you do only trial ...
Ulrike Fischer's user avatar
2 votes
Accepted

Caption of a figure aligned to right-hand margin with `minipage`

It's not really clear what you are asking for, I added babel so that Italian hyphenation rules are used and you have a chance of reasonable line breaking, then in the second example I added \...
David Carlisle's user avatar
3 votes

Underfull \hbox with image

Underfull or overfull box issues are most commonly solved by rewording. In your case, “Montage dosage pHmétrique” has no really good place for line breaking is a very narrow column. In my opinion, two ...
egreg's user avatar
  • 1.1m
3 votes

Underfull \hbox with image

"Badness" is a measure of how much white space has been stretched. There are user-settable tolerances on this and if you look at the caption You can see its first line has been over-...
David Carlisle's user avatar
1 vote
Accepted

Black captions are CMYK, not RGB

The problem in this case was the figures themselves. I used PNGs in an RGBA configuration, which had the unintentional effect of adding color coding on the black caption text. I am not sure why this ...
Henrik Hillestad Løvold's user avatar

Top 50 recent answers are included