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

texblog

because LaTeX matters

Package

Carry over titles in table of contents, list of figures, and list of tables

1. December 2015 by tom 7 Comments

In a recent comment, I was asked if there is a way to carry over the table of contents heading in the report document class. In other words, reproduce the heading on every page of the table of contents.   The atbegshi package offers a solution. The package provides a hook, which allows execution 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, Package, Tips & tricks Tagged: carry over, chapter, heading, LaTeX, listoffigures, listoftables, repeat, report, reproduce, tableofcontents, title

Automated sub-figure generation using a loop in LaTeX

9. October 2015 by tom 9 Comments

Consider the following scenario: By changing one or more parameters in an experimental method, we produce a series of figures. We then want to include these figures in a research report, manuscript, or thesis. It is often possible to reduce the amount of code/typing through automation of subfigure generation. More specifically, one sub-figure environment is … [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: appendix, automate, figure, for, includegraphics, LaTeX, loop, multiple figures, subcaption, subfigure

Combining sub-figures to a single figure for submission to journal

7. October 2015 by tom 12 Comments

While preparing a manuscript for publication, it may become necessary to combine several sub-figure to a single figure outside the main LaTeX document. A possible reason may be package conflicts with the journal’s class- or style-file. Therefore, a journal might disallow usage of LaTeX packages such as subfigure, subfig, or subcaption. Another reason may be … [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: combine figures, documentclass, figure, journal, LaTeX, manuscript, pdfcrop, standalone, subcaption, subfigure, submission guidelines

Fancy boxes for theorem, lemma, and proof with mdframed

30. September 2015 by tom 56 Comments

The mdframed package implements a box environment that automatically breaks boxes across multiple pages. Moreover, it allows flexible box designs. An example from the documentation that I particularly like is titled: “Theorem with separate header and the help of TikZ (complex)”. In this article, I use the example to create environments for theorems, lemmas, 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: Introduction, LaTeX, math, Package, Tips & tricks Tagged: box, color, design, fancy box, frame, LaTeX, lemma, mdframed, page break, proof, theorem

Drawing trees with TikZ/PGF and LuaLaTeX

16. September 2015 by tom 14 Comments

TikZ/PGF is a flexible and powerful package for creating graphics in LaTeX. It’s syntax can be somewhat overwhelming at the beginning. In this post I show the basics of tree drawing using TikZ and LuaLaTeX.   The following code only works with LuaLaTeX. Make sure you use the lualatex engine rather than standard tex/latex for … [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: directed, edge, graph, LaTeX, node, pgf/TiKZ, TikZ, tree, usepackage
« Previous 1 … 3 4 5 … 24 Next »




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
  • Big O and related notations in LaTeX
  • LaTeX documentclass options illustrated
  • Cleveref, a clever way to reference in LaTeX
  • Fancy LaTeX chapter styles

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