• 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

Counting the total number of…

16. April 2012 by tom 11 Comments

…sections, chapters, pages, theorems, equations, references, etc. There are numerous potential commands in LaTeX one may consider counting in order to automatically output their total number of appearances in a document. The totcount package provides a simple way to do that. We will to consider two different cases, single commands (cite, section, chapter, etc.) and … [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, Package, Tips & tricks Tagged: bibliography, cite, counter, equation, label, LaTeX, mathtools, totcount, usepackage

Left equation numbering

5. April 2012 by tom 5 Comments

By default, equation numbers are place on the right side of an equation for any numbered math environment, such as equation, eqnarray, and align. Surprisingly, the equation number position can is changed through the optional documentclass argument leqno: Left numbering Right numbering (by default and therefore usually skipped): Here is a minimal working example: Align … [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: align, amsmath, documentclass, equation, LaTeX, left number, leqno, math, reqno, usepackage

Cross-referencing list items

21. March 2012 by tom 6 Comments

List items of numbered lists (enumerate) can be cross-referenced using the standard \label{} and \ref{} command pair. Cross-referencing description items is not supported by default, but can be done with a few additional lines of code in the preamble. Enumerate Ordered or numbered lists are cross-referenced with the label-ref command pair similar to figures, tables … [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: description, enumerate, enumitem, item, itemize, label, LaTeX, list, ref, usepackage

Greek letters in text without changing to math mode

15. March 2012 by tom 17 Comments

You don’t need to change to math mode every time you want to type a greek letter in normal text. Loading the textgreek package allows typesetting greek letters, generally just by adding a text-prefix to the letter name, e.g. for it would be: The letters will adapt to the font style you are using (bold, … [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: alpha, beta, euler, gamma, greek letters, LaTeX, mu, symbols, textgreek, usepackage

Writing a memo in LaTeX

7. March 2012 by tom 9 Comments

I was recently looking for a memorandum template when I came across a neat memo class, texMemo, written by Rob Oakes. It is based on the article documentclass and provides the following five commands: To: \memoto{}, From: \memofrom{}, Subject: \memosubject{}, Date: \memodate{}, and Logo: \logo{}. The usage is very simple, here is an example: 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: date, from, graphicx, includegraphics, LaTeX, logo, memo, memodate, memofrom, memorandum, memosubject, memoto, subject, texMemo, to, usepackage
« Previous 1 … 8 9 10 … 15 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
  • Changing the font size in LaTeX
  • Big O and related notations in LaTeX
  • Control the width of table columns (tabular) 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