In late 2016, the ACM published its 2017 ACM Master Article Template. This document class breaks a lot of LaTeX code one might have written using earlier ACM document classes, specifically the sig-alternate
class.
Specifically, I've been having trouble captioning tables, and using subfigures (captioned or otherwise), with the new class. The user's guide says nothing about this, specifically not in Section 2.5, dealing with figures and tables.
Instead of asking about something specific which did not work for me, what I'd like to know is the common, idiomatic if you will, approach to this issue:
- Which combination(s) of packages to use with the class (
subfigure
,subcaption
,subfig
,floatrow
etc.)? - Is there some special initialization,
\patchcmd
ing or other voodoo incantation I should include in my preamble? - Are there specific figure/subfigure layouts I should avoid, or be careful about? Ditto w.r.t. captioning.
Best Answer
Just to expand Boris’ answer, here's how you can (and should) do with
subcaption
. Instead of\autoref
I believe it's better to use\cref
from\cleveref
.