• 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

\the command

7. May 2011 by tom Leave a Comment

Frankly speaking, I don’t know what this might be useful for. \the in front of any length command displays its value (in pt): displays their actual length in points. E.g. \textwidth in my case is translated to: . A list of length “macros” can be found on wikibooks. Use the layouts package to convert pt … [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: LaTeX, layouts, paperwidth, printinunitsof, prntlen, textwidth, the, usepackage

Beamer: An introduction to LaTeX presentations

3. May 2011 by tom 2 Comments

Beamer is a LaTeX document class that provides extensive functionality to create presentations. Here, I will only show the basics and after reading this guide you will be able to create a simple presentation in LaTeX. I am aware there are a lot of tutorials available out there and this is not different from any … [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: beamer, color, documentclass, figure, frame, frametitle, graphicx, includegraphics, item, itemize, LaTeX, section, usetheme

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
« Previous 1 … 22 23 24 … 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
  • Big O and related notations in LaTeX
  • Control the width of table columns (tabular) in LaTeX
  • 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