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

texblog

because LaTeX matters

LaTeX

Changing the font size in LaTeX

29. August 2012 by tom 60 Comments

Changing the font size in LaTeX can be done on two levels, either affecting the whole document or parts/elements of it. Using a different font size on a global level will affect all normal-sized text as well as the size of headings, footnotes, etc. By changing the font size locally, however, a single word, a … [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: anyfontsize, article, book, extsizes, font, font size, footnotesize, huge, large, LaTeX, moresize, normalsize, report, scriptsize, small, tiny

Cross-referencing toc/lof/lot page numbers with content in LaTeX

24. August 2012 by tom 6 Comments

The hyperref package is extensive. Besides clickable hyperlinks, it provides an option to cross-reference page numbers in table-of-contents, list-of-figures and list-of-tables with the actual page. By default, the option is set to false. Loading the hyperref package without the linktopage option makes the list-entries clickable but not the page numbers.   Finally, always load hyperref … [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: cross-reference, hyperref, LaTeX, linktocpage, listoffigures, listoftables, page number, tableofcontent, 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

(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
« Previous 1 … 15 16 17 … 34 Next »




Consulting

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

Join 6,570 other subscribers
doi2bib




Top Posts & Pages

  • LaTeX documentclass options illustrated
  • 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
  • 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