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

texblog

because LaTeX matters

table

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

Rotate an image, table or paragraph in LaTeX

1. October 2013 by tom 2 Comments

The rotating package provides easy-to-use functionality to rotate content. The float environments sidewaystable and sidewaysfigure introduce landscape tables and figures, respectively. The package automatically takes care of the rotation direction for twoside documents. Besides 90 degrees rotation, the package also provides a command and environment to rotate content at an arbitrary angle.   Sidewaysfigure example … [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 Tagged: figure, landscape, LaTeX, rotating, sidewaysfigure, sidewaystable, table, turn, usepackage

Cleveref, a clever way to reference in LaTeX

6. May 2013 by tom 20 Comments

Using standard cross-referencing in LaTeX only produces the label number, a name describing the label such as figure, chapter or equation has to be added manually. The cleveref package overcomes this limitation by automatically producing the label name and number. It further allows cross-referencing ranges of labels and multiple labels of the same or different … [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: cleveref, cref, cross-reference, figure, hyperref, label, LaTeX, ref, reference, refstyle, table, usepackage

Hidden text with LaTeX colored multi-row tables

9. April 2013 by tom 1 Comment

When multirow cells in LaTeX tables are colored, the text is partially hidden as illustrated by the example below. This happens because the color of the second row is added after typesetting the text of the first row.   Solution: There is a simple solution to this problem. If the multirow command is placed in … [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, Tips & tricks Tagged: alternate, color, hidden, LaTeX, multirow, rowcolor, table, tabular

Side-by-side content in beamer presentations

21. January 2013 by tom 4 Comments

There are two ways (and possibly more) to place content side-by-side in a beamer presentation, the columns and the minipage environments. The first is a beamer-specific environment and is therefore only available in a beamer presentation. Whereas the latter has other applications and is available in all document-classes.   General considerations In any LaTeX document, … [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 Tagged: beamer, column, columns, figure, itemize, LaTeX, linewidth, minipage, table, textwidth
« Previous 1 2 3 4 … 8 Next »




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
  • Multi-column and multi-row cells in LaTeX tables
  • LaTeX documentclass options illustrated
  • Greek letters in text without changing to math mode
  • 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