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

texblog

because LaTeX matters

Tips & tricks

Page number with total number of pages: Page 4 of 65

15. October 2008 by tom 3 Comments

Showing the total number of pages in addition to the actual page number is straight forward using the lastpage package. Now you can simply access the number of pages using: Note: You will have to typeset the DVI/PDF twice in order to get the number right. Example: Note: See this recent comment on how 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: LaTeX, Package, Tips & tricks Tagged: fancyhdr, lastpage, LaTeX, page, page number, pageref, total, total number of pages

“umlaut” in Latex using inputenc

2. October 2008 by tom 1 Comment

Some Latex editors (like WinEdt) internally convert your umlauts to Lamport’s umlaut format, e.g. ä \"a Now, if your editor is not doing it automatically (like Vim 🙂 ), you basically have two possibilities Use Lamport’s umlaut format: \"{} Use a package that can handle umlauts and all characters having a code > 127 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: ansinew, applemac, cp437, cp850, inputenc, Lamport, LaTeX, latin1, latin9, macce, umlaut, utf8, winedt

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

Margin notes in LateX

26. September 2008 by tom 3 Comments

Adding margin notes to a document is more convenient and better noticable than comments between the lines. Latex provides a very easy way to add margin notes without changing the margins of your document. You can add anything you like, e.g. a formula in the math environment, etc. And you don’t even need to use … [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: LaTeX, margin, margin notes

LaTeX for Chemists, Chefs, Managers and Paparazzi

17. September 2008 by tom 6 Comments

This post is not to be taken too seriously, but to show that Latex is not only used by mathematicians and engineers, but actually has a very broad field of application with its thousands of packages available. LaTeX for Chemists: Helping chemists type their chemical symbols. chemsym LaTeX for Chefs: Helping chefs type their recipies. … [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: chemistry, cooking, LaTeX, management, photography, psychology
« Previous 1 … 25 26 27 … 31 Next »




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