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

texblog

because LaTeX matters

Figure & table

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

Replacing repetitive values in a table column by an arrow

10. April 2015 by tom 2 Comments

Ideally, tables are quickly and easily readable. Removing repetitive content helps the reader to grasp the essential result quicker and makes tables more readable. A possible option to make a table more readable is to replace repetitive content across a column with an arrow.   Preparations We will use TikZ to draw an arrow from … [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, Tips & tricks Tagged: arrow, column, LaTeX, readable, repeat, repetitive, table, tabular, TikZ

Continuous figure/table numbering in LaTeX

4. December 2014 by tom 16 Comments

In the standard document classes report and book, figure and table counters are reset after every chapter. On the other hand, article does not reset these counters when a new section is started. The chngcntr package provides the \counterwithin and \counterwithout commands to redefine a counter, by adding or removing a dependency. Through these commands, … [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: article, book, chngcntr, continuous, counter, counterwithin, counterwithout, figure, LaTeX, report, table, usepackage

Removing/hiding a column in a LaTeX table

24. October 2014 by tom 3 Comments

It’s easy to add, remove, or shift rows. Just copy-and-paste or delete the corresponding line in the table. Removing columms is a different story. You might be able to come up with some sophisticated regular expression, which removes the right value in every row. Otherwise, the only way is to use another program or 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: Figure & table, Introduction, LaTeX, Package, Tips & tricks Tagged: array, hide column, LaTeX, newcolumntype, remove column, table, tabular, usepackage
« Previous 1 2 3 4 … 13 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
  • Multi-column and multi-row cells in LaTeX tables
  • Changing the font size in LaTeX
  • Fancy boxes for theorem, lemma, and proof with mdframed

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