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

texblog

because LaTeX matters

usepackage

LaTeX pseudo random number generator

19. April 2011 by tom 5 Comments

A random generator might come in handy at some point. The lcg package provides exactly that. All you have to do is load the package with options if needed. Available options: first: lower bound (), last: upper bound (), counter: name of the random number (overwritten if existing), seed: starting value for reproducibility, and quiet: … [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: LaTeX, lcg, pseudo random number generator, random, table, usepackage

Making page margins visible

4. April 2011 by tom 7 Comments

The package showframe makes the page margins visible and hence is a handy tool if you have problems with the document margins. It will display a box showing the margins as well as lines for the header and footer. If you only need to show margins for a particular page, use: and at the page: … [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: footer, header, LaTeX, margin, showframe, usepackage

Generating dummy text/blindtext with LaTeX for testing

26. February 2011 by tom 9 Comments

I was often using any of the available “lorem ipsum” generators on the web while testing different things in LaTeX until I discovered that the Latex distribution provides packages generating blind text, which is definitely more convenient. With just a few lines of code, these packages will generate paragraphes, even whole documents with sections, paragraphs … [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, math, Package, Tips & tricks Tagged: babel, blinddescription, blinddocument, blindenumerate, blinditemize, blindlist, blindmathfalse, blindmathtrue, blindtext, code, description, dummy text, enumerate, itemize, LaTeX, lipsum, list, math, text, usepackage

Check syntax only, save time typesetting!

2. February 2011 by tom 4 Comments

Working on a large document? Producing output can take quite some time, but with the following tricks you can save some of it… Add the following two lines to your preamble and Latex will not produce any output pages, while still checking that your syntax is correct and working. Just comment out the second line … [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: code, LaTeX, preamble, syntaxonly, syntonly, typeset, usepackage

Add todo notes to your document

31. January 2011 by tom 9 Comments

This is amazing, easily add todo notes to your Latex file while you are still working on it. They will show up as a bubble on the right side of the PDF file, with a line pointing to the actual position in the text. Usage is as simple as that, include the package: Add todos: … [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: margin notes, tasks, todo, todonotes, usepackage
« Previous 1 … 13 14 15 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