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

texblog

because LaTeX matters

Introduction

Date and time

2. May 2011 by tom Leave a Comment

I’m sure most of you have used \date{…} to print a date in a title (\maketitle) or letter. Probably you also know the more dynamic command \today to produce today’s date. Setting the date dynamically is not recommended (or even prohibited by some compilers) for usage in letters (i.e. \date{\today} or simply \date), since it … [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: currenttime, date, datetime, LaTeX, renewcommand, scrtime, thistime, time, today, usepackage

Highlight table rows/columns with color

19. April 2011 by tom 21 Comments

The following post will show you how to better present your data in tables through coloring rows/columns or even single cells to highlight important data. You will need the following two packages, the first to define new colors and the latter to actually color the table: Let me first show you how to define 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: Figure & table, Introduction, LaTeX, Package, Tips & tricks Tagged: cellcolor, color, colortbl, columncolor, definecolor, LaTeX, lcg, newcolumntype, rowcolor, table, tabular

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
« Previous 1 … 16 17 18 … 23 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
  • Control the width of table columns (tabular) in LaTeX
  • LaTeX documentclass options illustrated
  • Big O and related notations in LaTeX
  • Adding line numbers to documents

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