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

texblog

because LaTeX matters

spacing

Whitespace in math mode

9. April 2014 by tom 1 Comment

There are a number of predefined commands to add whitespace in LaTeX math mode. These are summarized in the list below.   Example usage of medium space \: Here, we use whitespace to separate symbols from regular text. Whitespace commands are available by default. Additional packages are necessary to produce natural number symbol and \text … [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, math, Tips & tricks Tagged: enspace, hfill, hspace, LaTeX, math mode, qquad, quad, spacing, thinspace, whitespace

Correctly typesetting paragraphs in LaTeX

7. November 2012 by tom 4 Comments

In LaTeX, paragraphs are ended by leaving a blank line between the end of the previous and the beginning of the next paragraph, never through a combination of end-line (\\) and new-line (\newline) commands.   A standard paragraph   Changing the standard behavior The new paragraph automatically gets indented a little with no extra vertical … [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: baselineskip, LaTeX, newline, paragraph, parindent, parskip, rubber length, setlength, spacing, usepackage

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




Consulting

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

Join 6,570 other subscribers
doi2bib




Top Posts & Pages

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