• 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 line numbers to documents

8. February 2012 by tom 17 Comments

There is a really nice package, lineno, which provides line-numbering and various options for customization, some of which I will discuss further below. The most common use is continuous line numbering throughout the document. The following two lines in the preamble will do the trick:   Options Some of the options the package provides include: … [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: blindtext, LaTeX, line numbers, linelabel, lineno, linenomath, linenumber, linenumberfont, linenumbers, lineref, usepackage

Using footnotes in tables

3. February 2012 by tom 49 Comments

Have you ever tried to add a footnote to a table inside the tabular environment? Even though the index is printed, the search for the actual footnote will be in vain. One way to overcome this issue is by using longtable. The package handles footnotes really well. But it may be an overkill if your … [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: caption, footnote, LaTeX, longtable, minipage, table, tabular, 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

Setting PDF meta information

13. January 2012 by tom 7 Comments

PDFs have meta document information which usually can be read and modified using standard PDF viewers such as Acrobat Reader or Preview (Mac). In Acrobat Reader search for “Properties” in the file-menu. When creating a document using LaTeX, the hyperref package helps setting some of these information, including: Title Author Subject Creator Producer Keywords and many … [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: hyperref, pdfauthor, pdfcreator, pdfkeywords, pdfproducer, pdfsubject, pdftitle, usepackage

Strict inequalities (greater/less than) in text-mode

10. January 2012 by tom 3 Comments

Strict inequalities are widely used in math equations as well as within text for comparisons. They can be produced using the ordinary (inline) math-mode ($…$) without loading a specific package. In order to omit the math-mode within a text-paragraph, LaTeX knows text-mode commands for these symbols. Greater than (>): Less than (<): Non-strict inequalities ( … [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, math, Tips & tricks Tagged: >, <, ge, geq, greater than, LaTeX, le, leq, less than, math, text, textgreater, textless
« Previous 1 … 18 19 20 … 31 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
  • Greek letters in text without changing to math mode
  • Multi-column and multi-row cells in LaTeX tables
  • LaTeX documentclass options illustrated
  • 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