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

texblog

because LaTeX matters

xcolor

Coloring every alternate table row

2. September 2011 by tom 12 Comments

In one of my previous posts I describe how to color or shade every other row in a LaTeX table. However, there is a much nicer, cleaner and simpler way to color every odd/even row, making tables much more readable. First load the xcolor package in the preamble: and define any color you like, e.g. … [Read more…]

Share this:

  • Twitter
  • Facebook
  • Reddit
  • LinkedIn
  • Skype
  • Email

Like this:

Like Loading...
Posted in: Figure & table, LaTeX, Package, Tips & tricks Tagged: definecolor, LaTeX, r, rowcolors, table, tabular, usepackage, xcolor
« Previous 1 2




Join 6,531 other subscribers

Consulting

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

doi2bib




Top Posts & Pages

  • Changing the font size in LaTeX
  • Multi-column and multi-row cells in LaTeX tables
  • Control the width of table columns (tabular) in LaTeX
  • Normal text in math mode
  • 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 © 2021 texblog.

Omega Child WordPress Theme by ThemeHall

loading Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.
%d bloggers like this:
    This site uses cookies: Find out more.