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

texblog

because LaTeX matters

Introduction

Using colors in a LaTeX document

20. May 2015 by tom 9 Comments

Guest post by Qutub Sajib While preparing a document in LaTeX, you may want to use colors for different purposes. Those purposes might be to color text or highlight text by changing its background color. You may even want to do both, highlight colored text. In this tutorial, we’re going to discuss how to color … [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: cmyk, color, definecolor, highlight, LaTeX, rgb, text, textcolor, usepackage, xcolor

Free ebook LaTeX Beginner’s Guide (today only)

4. March 2015 by tom 1 Comment

This offer has expired! The author of LaTeX Beginner’s Guide, Stefan Kottwitz, just notified me that his book is freely available for download as ebook. This offer is only valid for today. If you are interested, you can get a copy from the publisher’s website through this link. For more information on the book, see 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 Tagged: beginners guide, ebook, free, LaTeX

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

Undefining a command in LaTeX

5. August 2014 by tom 5 Comments

I was editing a poster and didn’t know whether or not to include a bibliography. I had already added \cite commands and wanted to get an idea of what it looks like without bibliography. So I commented out \printbiliography to get rid of the bibliography, but the numbers were still in the text. Removing all … [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, Tips & tricks Tagged: cite, empty, LaTeX, let, nirvana, renewcommand, undefined

ifdraft: a package that extends document class options draft and final

8. July 2014 by tom 2 Comments

The document class options draft is extremely useful to speed up typesetting and visualize overfull \hbox warnings. Even more so, when you work on a large document. I previously introduced the draft and final options here and here. The ifdraft package adds more flexibility to the draft and final options. It implements three commands with … [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: documentclass, draft, final, ifdraft, LaTeX, line spacing, option, todo, todonotes, two column, usepackage, watermark
« Previous 1 … 3 4 5 … 23 Next »




Consulting

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

Join 6,570 other subscribers
doi2bib




Top Posts & Pages

  • Changing the font size in LaTeX
  • Multi-column and multi-row cells in LaTeX tables
  • Big O and related notations in LaTeX
  • Cleveref, a clever way to reference in LaTeX
  • 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