• 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

Cropping the output file to its content in LaTeX

12. September 2012 by tom 4 Comments

The documentclass options a4paper or letterpaper are certainly not the right choices when creating a set of equations or vector graphics using TiKZ for embedding in another document or standalone usage. Ideally, the output file is automatically set to fit its content, possibly with some whitespace around it. The following post describes two possible ways: … [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: crop, crop page, documentclass, figure, fit page to content, LaTeX, pgf/TiKZ, preview, standalone, usepackage

Adding a shadow to a figure in LaTeX

13. August 2012 by tom 2 Comments

I recently wrote about cropping figures using the graphics bundle. Here is another fancy way to get more out of your figures. The fancybox package implements commands for various boxes such as a box with round corners. The command shadowbox creates a black box with a shadow. It works with normal text, in math mode … [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: code, fancybox, figure, graphicx, LaTeX, math, shadow, shadowbox, usepackage

Wide figure/table in a twocolumn/multi-column document

30. July 2012 by tom 11 Comments

The floating environments figure* and table* allow adding wide, single-column tables or figures in a two- or multicolumn document. Here is an example.   Wide figure in a 3-column-document The example makes use of the multicol package. For two columns, it is sufficient to use the documentclass-option twocolumn. The starred version of figure, figure*, 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: Figure & table, LaTeX, Tips & tricks Tagged: dblfloatfix, figure, fixltx2e, LaTeX, multicol, single column, table, usepackage, wide figure

Crop figures with includegraphics

23. February 2012 by tom 18 Comments

Imagine having a beautiful picture, but the subject is very small or not centered. What if you want to place several graphs side-by-side with subfig, but all or some of the graphs have a white border taking up a lot of space. So how to trim pictures and eliminate unwanted margins of graphs? The graphics … [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: clip, crop, figure, graphicx, LaTeX, trim, usepackage

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
« Previous 1 … 3 4 5 … 7 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
  • Multi-column and multi-row cells in LaTeX tables
  • LaTeX documentclass options illustrated
  • Changing the font size 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