• 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

Control the width of table columns (tabular) in LaTeX

3. June 2019 by tom 1 Comment

Motivation LaTeX offers great functionality to create professionally looking tables. The default column types (left-aligned l; center-aligned c; and right-aligned r) adjust to the text size, rather than wrapping text automatically. This works well as long as the content in each cell is short and of similar length. However, often you want to display several … [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: align, array, fixed, linebreak, multi-row, table, tabular, width, wrap

Color Table Series Part 3 : The Colortab package

12. March 2018 by Xavier Leave a Comment

Series overview Introduction to colors The colortbl package The xcolor package The colortab package   4. The colortab package The colortab package is another package to color table cells and rules (lines). It is the only alternative to colortbl/xcolor, as xcolor requires colortbl. It is a somewhat complicated package that tends to be buggy. Also, … [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, booktabs, color, colortab, colortbl, double border, LaTeX, table, tabular, xcolor

Color Table Series Part 2: Xcolor Package

15. January 2018 by Xavier Leave a Comment

Series overview Introduction to colors The colortbl package The xcolor package The colortab package   3. The xcolor package While coloring tables, the xcolor package provides the same commands as <a href="https://www.ctan.org/pkg/colortbl">colortbl</a>. The reason is that loading the xcolor package with the table option loads the colortbl package in the background. On top to 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, Package, Tips & tricks Tagged: color, colortab, colortbl, LaTeX, rowcolors, table, tabu, tabular, taburowcolors, usepackage, xcolor

Color Table Series Part 1: Introduction & Colortbl Package

12. December 2017 by Xavier Leave a Comment

Series overview Introduction to colors The colortbl package The xcolor package The colortab package   1. Introduction to colors Colors constitute the human visual interpretation of light waves of different wavelengths.   Color models There exist several models to represent colors. We will examine the three that are provided by the <a href="https://ctan.org/pkg/color" target="_blank" rel="noopener">color</a> … [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: color, colortab, colortbl, introduction, LaTeX, makecell, multirow, red, table, tabular, xcolor

Professional and clean tables with LaTeX

6. February 2017 by tom 10 Comments

Tables are great to visualize data in a structured way. Unfortunately, too often I see tables which are cluttered and difficult to read and interpret. It takes little to make them more presentable and easier to read. This post advocates tidy and lean tables, to the benefit of the reader. 1. Add a caption which … [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: array, book, booktabs, editor, LaTeX, style, table, tabular, typesetting
1 2 … 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
  • Changing the font size in LaTeX
  • Big O and related notations in LaTeX
  • Greek letters in text without changing to math mode

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