My bag of LaTeX tips and tricks

This post will be updated

I plan to keep this post as a constantly updating webpage of tips and tricks I’ve encountered while writing papers.

Subfigures for IEEE template

Use the Subcaption

\usepackage{subcaption

with these settings:

%%IEEE%% The following block of 4 lines makes subcaption behave the way IEEEtran expects it to behave.
\DeclareCaptionLabelSeparator{periodspace}{.\quad} %%IEEE%%
\captionsetup{font=footnotesize,labelsep=periodspace,singlelinecheck=false} %%IEEE%%
\captionsetup[sub]{font=footnotesize,singlelinecheck=true} %%IEEE%%
\renewcommand\thesubfigure{\alph{subfigure}} %%IEEE%%

Officially, subcaption is not supported by IEEE, but these settings make it appear as it should.

References




    Enjoy Reading This Article?

    Here are some more articles you might like to read next:

  1. Polyhedral compilation: part 1
  2. a distill-style blog post
  3. How to set up a website like this part 2
  4. How to set up a website like this
  5. CIBuildWheel is DA BOMB!