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

texblog

because LaTeX matters

math

Normal text in math mode

24. September 2012 by tom 17 Comments

The font type LaTeX uses in math mode is somewhat special since it is optimized for writing mathematical formulas. Letters are printed in italics, with more space left in-between, spaces are ignored. In certain cases it may be desirable to include “normal text” within an equation. There is a simple way to add “normal 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: amsmath, LaTeX, math, math mode, mathit, normal text, text, textrm

Strict inequalities (greater/less than) in text-mode

10. January 2012 by tom 3 Comments

Strict inequalities are widely used in math equations as well as within text for comparisons. They can be produced using the ordinary (inline) math-mode ($…$) without loading a specific package. In order to omit the math-mode within a text-paragraph, LaTeX knows text-mode commands for these symbols. Greater than (>): Less than (<): Non-strict inequalities ( … [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: LaTeX, math, Tips & tricks Tagged: >, <, ge, geq, greater than, LaTeX, le, leq, less than, math, text, textgreater, textless

Generating dummy text/blindtext with LaTeX for testing

26. February 2011 by tom 9 Comments

I was often using any of the available “lorem ipsum” generators on the web while testing different things in LaTeX until I discovered that the Latex distribution provides packages generating blind text, which is definitely more convenient. With just a few lines of code, these packages will generate paragraphes, even whole documents with sections, paragraphs … [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, Package, Tips & tricks Tagged: babel, blinddescription, blinddocument, blindenumerate, blinditemize, blindlist, blindmathfalse, blindmathtrue, blindtext, code, description, dummy text, enumerate, itemize, LaTeX, lipsum, list, math, text, usepackage

Displaying text inside the math-environment

1. October 2008 by tom 12 Comments

By default, Latex will print text within formulas in italics, omitting white spaces. Now if you need to add normal text into a formula or even write a formula using words, you can do this with the text-command inside the math-environment: Example: \text{velocity} = \frac{\text{distance}} {\text{unit of time}} Btw. The “text-command” will also take care 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: LaTeX, math, Tips & tricks Tagged: formula, LaTeX, mat, text

Math-formulas with LaTeX on WordPress

1. April 2008 by tom 4 Comments

WordPress supports the basic LaTeX math mode. How does it work? Simply type $latex …$, where you replace … with the LaTeX math code. Here is an example formula, $latex f(x_1,x_2)=x_1^2+x_2^2$ which translates to: The original post on the official WordPress blog can be found here.

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: LaTeX, math, Tips & tricks Tagged: formula, LaTeX, math
« Previous 1 2 3 Next »




Consulting

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

Join 6,570 other subscribers
doi2bib




Top Posts & Pages

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

Omega Child WordPress Theme by ThemeHall