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

texblog

because LaTeX matters

Author: tom

Quick note on line spacing

30. September 2011 by tom 23 Comments

There are two different ways to change line spacing in LaTeX. One is simpler, the other requires a package, but is more flexible. Let’s start easy. The linespread-command: To change the line spacing for the entire document, you can use the linespread command in your preamble: The factor is somewhat confusing. For double-spacing you have … [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 Tagged: doublespace, doublespacing, LaTeX, linespread, onehalfspace, onehalfspacing, setspace, singlespace, singlespacing, spacing

10 ways to customize toc/lof/lot

9. September 2011 by tom 144 Comments

I put together this list of 10 ways to customize the Table of Contents, List of Figures and List of Tables. Some of them are pretty common, some may be new to you. Hope you enjoy the list… Some pieces of code below require the tocloft package which provides extensive customization functionality for table of … [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: addcontentsline, figure, hyperref, LaTeX, listoffigures, listoftables, lof, lot, minitoc, table, tableofcontent, toc, tocloft, usepackage

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:

  • 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: definecolor, LaTeX, r, rowcolors, table, tabular, usepackage, xcolor

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

Printing multiple pages on one with pgfpages

6. July 2011 by tom 10 Comments

Your operating system can print several pages on one. Sometimes however you may want to have the PDF showing several slides on a single page, e.g. for handouts of a presentation. On a Linux system, psnup/pdfnup are extremely flexible if you are familiar with these commands and their options. But it’s definitely faster and more convenient … [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: 2 on 1, 4 on 1, a4paper, landscape, LaTeX, letterpaper, nofiles, pgfpages, pgfpagesuselayout, usepackage
« Previous 1 … 20 21 22 … 35 Next »




Consulting

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

Join 6,570 other subscribers
doi2bib




Top Posts & Pages

  • Multi-column and multi-row cells in LaTeX tables
  • Control the width of table columns (tabular) in LaTeX
  • Big O and related notations in LaTeX
  • Cleveref, a clever way to reference 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