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

texblog

because LaTeX matters

renewcommand

Undefining a command in LaTeX

5. August 2014 by tom 5 Comments

I was editing a poster and didn’t know whether or not to include a bibliography. I had already added \cite commands and wanted to get an idea of what it looks like without bibliography. So I commented out \printbiliography to get rid of the bibliography, but the numbers were still in the text. Removing all … [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: cite, empty, LaTeX, let, nirvana, renewcommand, undefined

Adding additional structure to the list of figures/tables

18. January 2012 by tom 68 Comments

In large documents, you may end up with a pretty long list of figures or tables. In this post, I will show how to nicely structure these lists by adding subtitles. The whole thing turned out to be more tricky than I first thought, but more on that later. The my examples, I will show … [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: addcontentsline, addtocontents, caption, chapter, contentsline, etoolbox, figure, LaTeX, listoffigures, listoftables, newcommand, renewcommand, table, thechapter, usepackage

Date and time

2. May 2011 by tom Leave a Comment

I’m sure most of you have used \date{…} to print a date in a title (\maketitle) or letter. Probably you also know the more dynamic command \today to produce today’s date. Setting the date dynamically is not recommended (or even prohibited by some compilers) for usage in letters (i.e. \date{\today} or simply \date), since it … [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: currenttime, date, datetime, LaTeX, renewcommand, scrtime, thistime, time, today, usepackage

Header/Footer in LaTeX with Fancyhdr

7. November 2007 by tom 174 Comments

Creating headers and footers in Latex can be done by using the package “fancyhdr”. This is a short introduction, showing the most important features of the package. If you know “fancyhdr” and are looking for something particular, refer to the fancyhdr-documentation. First of all, you need to tell Latex to use the package: and change … [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: article, book, fancy, fancyfoot, fancyhdr, fancyhead, LaTeX, pagestyle, renewcommand, report, usepackage

Counters in LaTex

25. July 2007 by tom 127 Comments

The following is a summary of counter usage and manipulations available in LaTex. The following commands have a counter associated with it: part chapter section subsection subsubsection paragraph subparagraph page equation figure table footnote mpfootnote enumi enumii enumiii enumiv You have several possibilities to manipulate counters in LaTex: \addtocounter {counter} {value} increments the specified counter … [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 Tagged: addtocounter, alph, arabic, counter, fnsymbol, LaTeX, newcounter, renewcommand, roman, setcounter, usecounter, value




Consulting

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

Join 6,570 other subscribers
doi2bib




Top Posts & Pages

  • Control the width of table columns (tabular) in LaTeX
  • Multi-column and multi-row cells in LaTeX tables
  • Changing the font size in LaTeX
  • Greek letters in text without changing to math mode
  • 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