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

texblog

because LaTeX matters

Introduction

How to add extra space to the table of contents, list of figures and tables

16. July 2013 by tom 25 Comments

The tocloft package implements a number of commands to customize the table of contents, list of figures and list of tables. One of these commands provided by the package adds whitespace before entries. This is particularly neat for short documents, but might also improve the readability in longer content lists. However, it has its limitations … [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: addtocontents, cftbeforeXskip, cftXafterpnum, conditional space toc, etoolbox, LaTeX, listoffigures, listoftables, tableofcontents, tocloft

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

LaTeX table of contents, list of figures/tables and some customizations

29. April 2013 by tom 116 Comments

I wrote a somewhat short post on list of figures and list of tables a few years ago. Nevertheless, it gets quite a bit of traffic, possibly due to the large number of comments. For that reason, I decided to put together another, more informative post on the same topic that includes table of contents. … [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: addcontentsline, hyperref, LaTeX, list of figures, list of tables, lof, lot, table of contents, table of contents depth, toc, tocbibind

Simple Smiley faces with TiKZ in LaTeX

22. April 2013 by tom Leave a Comment

I recently wrote an article on side-by-side figures in LaTeX (TUGboat 34:1), based on a series of posts on this blog. For illustration of the code samples, I created a series of very basic Smileys faces for which I publish the code here. Let me know below if you have suggestions for improvement or ideas … [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, Tips & tricks Tagged: code, emoticon, LaTeX, Smiley, Smiley faces, TikZ

Reverse numbering for chapters, sections, etc.

3. April 2013 by tom 1 Comment

I was recently asked if there is a way to reverse the numbering of chapters in a report from n to 1. I didn’t find an easy way to do it which is why I decided to write a short post. Here is the minimal example used to produce the above output. I will explain … [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: Introduction, LaTeX, Package, Tips & tricks Tagged: chapter, count down, descending, header, LaTeX, regtotcounter, reverse, section, thechapter, thesection, totcount
« Previous 1 … 7 8 9 … 23 Next »




Consulting

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

Join 6,570 other subscribers
doi2bib




Top Posts & Pages

  • LaTeX documentclass options illustrated
  • Control the width of table columns (tabular) in LaTeX
  • Multi-column and multi-row cells in LaTeX tables
  • Big O and related notations 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