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

texblog

because LaTeX matters

usepackage

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

Fancy Labels and References in LaTeX

17. December 2017 by uweziegenhagen Leave a Comment

The referencing functions in LaTeX are pretty powerful. In this article we want to illustrate some of those features and present packages that extend on them. The basic functionality is easy to understand: place a \label{key} behind a chapter, sectioning command or an image or table and assign a unique (!) key to it. Then … [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: Introduction, LaTeX, Package, Tips & tricks Tagged: cleverref, label, LaTeX, pageref, prettyref, ref, reference, showlabels, usepackage, varioref, vref

Chapter numbers as words in LaTeX

11. April 2017 by tom 1 Comment

I was asked more than once how to produce words instead of numbers in the chapter heading. This is fairly straight forward, but requires patching the chapter macro. I will show how to do this for chapter. However, this works similarly for part, section, and subsection.   Loading the required packages First we load 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: Introduction, LaTeX, Package, Tips & tricks Tagged: chapter, fmtcount, heading, LaTeX, number word, one, report, section, three, title, two, usepackage

Adding references from an external file

23. August 2016 by tom 3 Comments

When writing a scientific paper, one often provides supplementary materials together with the main manuscript. Supplementary materials can be additional figures, tables, or other materials not included in the main manuscript. However, since these materials are usually kept in a different physical file, they can not be referenced in the main manuscript using the standard … [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: external reference, figure, label, LaTeX, multiple documents, ref, scientific writing, supplementary material, table, usepackage, xr

How to define custom colors in LaTeX

8. December 2015 by tom 2 Comments

There are different ways to define a specific color in LaTeX. Often, I just choose a predefined color from the xcolor package or define a color using the RGB color model. However, I personally like the red!40!blue notation best. This creates purple with 40% red and 60% blue. In this post, I will introduce these … [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: Introduction, LaTeX, Package, Tips & tricks Tagged: color, colorlet, custom, definecolor, design, LaTeX, mix, red, shiny, style, usepackage, xcolor
1 2 … 15 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