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

texblog

because LaTeX matters

Author: tom

Tidy and compact table of contents with multitoc

14. August 2013 by tom Leave a Comment

The multitoc package provides an easy and clean way to save space when producing a table of contents. It allows for two or more columns. Similarly, list of figures and list of tables can be compressed.   The basics To produce a multi-column table of contents like the one above you’ll have to do the … [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: LaTeX, listoffigures, listoftables, multicol, multitoc, tableofcontent, usepackage

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

LaTeX heatmap using tabular

13. June 2013 by tom 4 Comments

Inspired by a question in the latex-community.org forum and on the basis of a solution to a similar question on tex.SX, I came up with some code to plot a heatmap based on matrix in form of a standard tabular environment.   Single color example I will first consider a more basic case where the … [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: collcell, color, color grid, column, heatmap, LaTeX, tabular

Tiny leaves for official LaTeX announcements

7. May 2013 by tom 15 Comments

Seth Godin mentioned in his recent blog post on simple typography that certain fonts remind us of something. I’m not a professional. But for to fun it, I tried to reproduce Seth’s first example using PGF/TikZ. And here is the result (using LaTeX’s standard font Computer Modern). Below is the code. Just copy and paste … [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: LaTeX, Tips & tricks Tagged: film, LaTeX, laurel leaves, leaves, movie award, movies, official, TikZ

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
« Previous 1 … 9 10 11 … 35 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
  • Greek letters in text without changing to math mode
  • Multi-column and multi-row cells in LaTeX tables
  • Changing the font size in LaTeX
  • LaTeX documentclass options illustrated

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