• 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

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

(Semi-)automatic directory-tree in LaTeX

7. August 2012 by tom 16 Comments

The dirtree package produces really nice directory trees. The input follows a predefined structure. Manually typing all directories and files in a root directory is painful, even for a relatively short number of items. I wrote a short perl script that outputs the file structure in the right format. It works on Linux and Mac … [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: automatic, bash, directory tree, dirtree, LaTeX, Linux, Mac OS X, perl, terminal, usepackage, Windows

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

Fancy LaTeX chapter styles

3. July 2012 by tom 73 Comments

Many books, theses and reports are written in LaTeX using the report or book document classes. Often, the authors make use of the default chapter style. There are, however, a great number of alternative styles available, some of which being very fancy or playful. This post is a collection of alternative chapter styles available, some … [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: book, chapter, chapter style, fancy chapter, fncychap, LaTeX, memoir, report, title format, titlesec, usepackage

Adding lines for taking handwritten notes in LaTeX

25. June 2012 by tom 11 Comments

I recently wanted to add a few empty lines to a document for taking handwritten notes on a printed copy. Somewhat similar to a package available for slides created with the document class beamer (see handoutWithNotes). However, I couldn’t find a package that allows me to do that. So I wrote a few lines 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: Introduction, LaTeX, Package, Tips & tricks Tagged: document, handwritten notes, LaTeX, lines, notes, usepackage
« Previous 1 … 14 15 16 … 31 Next »




Consulting

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

Join 6,570 other subscribers
doi2bib




Top Posts & Pages

  • Multi-column and multi-row cells in LaTeX tables
  • Greek letters in text without changing to math mode
  • Control the width of table columns (tabular) in LaTeX
  • Big O and related notations in LaTeX
  • Changing the font size in LaTeX

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