16

According to the IEEE transactions information (tar file here contains IEEEtran_HOWTO.pdf along with the class files)

Axel Sommerfeldt’s modern and actively maintained subcaption.sty package [23] can not be recommended at this time because it does not provide an option to prevent the underlying caption.sty from taking control of main caption formatting away from IEEEtran.

Instead they recommend using subfig invoked like this \usepackage[caption=false]{subfig}

Are there any plans to add a caption=false flag to subcaption? It seems that subfig has not been touched since 2005, so I would rather stick with subcaption if possible.

EDIT: There is a workaround posted here, but it involves re-defining how captions should be formatted, which seems to partially defeat the purpose of using a supplied style file.

3
  • Welcome to TeX.SX! A tip: You can use backticks ` to mark your inline code as I did in my edit.
    – Adam Liter
    Jan 16 '14 at 16:58
  • 5
    subcaption depends heavily on caption; there's no way to make it work without it. In my opinion IEEE should rewrite their styles with caption and not reinvent the wheel.
    – egreg
    Jan 16 '14 at 16:58
  • Thanks for the replies, and for the formatting help Adam. I guess I'll keep using subcaption and include the manual corrections.
    – LeftyAce
    Jan 16 '14 at 22:41
15

An answer provided by Michael Shell gives this workaround:

\makeatletter
\let\MYcaption\@makecaption
\makeatother

\usepackage[font=footnotesize]{subcaption}

\makeatletter
\let\@makecaption\MYcaption
\makeatother
1
  • 2
    absolutely saved my day, thank you very much Aug 14 '17 at 19:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.