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

texblog

because LaTeX matters

tabular

Replacing repetitive values in a table column by an arrow

10. April 2015 by tom 2 Comments

Ideally, tables are quickly and easily readable. Removing repetitive content helps the reader to grasp the essential result quicker and makes tables more readable. A possible option to make a table more readable is to replace repetitive content across a column with an arrow.   Preparations We will use TikZ to draw an arrow from … [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: arrow, column, LaTeX, readable, repeat, repetitive, table, tabular, TikZ

Removing/hiding a column in a LaTeX table

24. October 2014 by tom 3 Comments

It’s easy to add, remove, or shift rows. Just copy-and-paste or delete the corresponding line in the table. Removing columms is a different story. You might be able to come up with some sophisticated regular expression, which removes the right value in every row. Otherwise, the only way is to use another program or to … [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: array, hide column, LaTeX, newcolumntype, remove column, table, tabular, usepackage

Coloring multi-row tables in LaTeX

19. May 2014 by tom 14 Comments

Since Apple introduced alternately colored rows in their lists in Mac OS X, it has become more and more popular to color tables in LaTeX in a similar fashion. Usually, this can be achieved fairly easily, see my post on the topic here. However, when using multirow, things become slightly more complicated. In this post, … [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: alternating, cell, color, gray, LaTeX, multirow, row, table, tabular, usepackage

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

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
« Previous 1 2 3 … 5 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
  • Changing the font size in LaTeX
  • LaTeX documentclass options illustrated
  • Big O and related notations 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