• About
    • Cookie Policy
  • Code Snippets
    • Beamer (presentation)
    • Figures
    • Lists
    • Standard classes
    • Tables
  • Consulting
  • LaTeX Installation
  • Posting Questions
  • TeX/LaTeX Resources

texblog

because LaTeX matters

subfloat

Sub-caption above subfigures and subtables

23. January 2014 by tom 6 Comments

I was recently asked an interesting question about how to place a sub-caption on top of a sub-figure. By default, sub-captions are produced below sub-figures. When using the subfigure package, the answer is reasonably easy. The package has an option to move the sub-captions on top of the figure. However, I was curious how other … [Read more…]

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to email a link to a friend (Opens in new window) Email
Posted in: Figure & table, LaTeX, Package, Tips & tricks Tagged: above, caption, figure, LaTeX, position, subcaption, subfig, subfigure, subfloat, subtable, table, top, usepackage

R: Controlling size and placement (subfig) of Sweave-generated figures

1. December 2011 by tom 4 Comments

I’ve been writing quite a bit of R code recently for my gene expression analysis. Also, I use Sweave (manual) which allows embedding R code “chunks” into TeX documents. When the code is being evaluated, the output (code, calculation results, plots, tables, etc.) will automatically integrated into the document as TeX syntax, making it an … [Read more…]

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to email a link to a friend (Opens in new window) Email
Posted in: Figure & table, Introduction, LaTeX, Package, R, Sweave/knitr, Tips & tricks Tagged: eps, figure, graphicx, includegraphics, LaTeX, pdf, png, r, subfig, subfloat, Sweave/knitr, SweaveOpts, usepackage

Placing figures/tables side-by-side (\subfig)

24. May 2011 by tom 34 Comments

The subfigure package was replace by the subfig package quite a while ago. I therefore decided to replace my old post on that topic (Placing figures/tables side-by-side with subfigure) with an introduction to the subfig package. The package simplifies the positioning, captioning (I wonder if that’s a word) and labeling of small “sub” figures and … [Read more…]

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to email a link to a friend (Opens in new window) Email
Posted in: Figure & table, Introduction, LaTeX, Package, Tips & tricks Tagged: caption, figure, graphicx, includegraphics, label, LaTeX, listoffigures, listoftables, lofdepth, lotdepth, subfig, subfigure, subfloat, subref, subtable, table, tableofcontent, usepackage




Consulting

Need help with your thesis or book project? Let’s discuss.

Join 6,570 other subscribers
doi2bib




Top Posts & Pages

  • Control the width of table columns (tabular) in LaTeX
  • Big O and related notations in LaTeX
  • Multi-column and multi-row cells in LaTeX tables
  • Cleveref, a clever way to reference in LaTeX
  • Changing the font size in LaTeX

Tags

addcontentsline array article bibliography Bibtex & biblatex book caption chapter citation cite code color definecolor description documentclass draft enumerate equation fancyhdr figure graphicx hyperref includegraphics item itemize label landscape LaTeX letter listoffigures listoftables math minipage reference renewcommand report section subfigure table tableofcontent tabular text TikZ usepackage xcolor

Copyright © 2025 texblog.

Omega Child WordPress Theme by ThemeHall