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

texblog

because LaTeX matters

array

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

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

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

Change font size of a table column

18. August 2011 by tom Leave a Comment

I recently edited a table with data. One column contained a text description which was rather long. So I wondered if there is a way to reduce the font size of the whole column rather than for each cell individually. And this is what I figured out: Using the column type b{width} it is further … [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: array, caption, hline, LaTeX, table, tabular, usepackage




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
  • Greek letters in text without changing to math mode
  • 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