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:
- Polyhedral compilation: part 1
- a distill-style blog post
- How to set up a website like this part 2
- a post with custom blockquotes
- How to set up a website like this
- CIBuildWheel is DA BOMB!
- Why you can't just remove OpenMP pragmas
- Continuous benchmarking on supercomputers
- a post with code
- MPI4py under Slurm
- a post with plotly.js