• 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

Latex page, line and font settings

1. March 2012 by tom 17 Comments

I was recently asked to write a three page assignment/case study using the following page, line and font settings: Arial, size 12 1.5 line spacing 2.5cm margin all round Let’s do one by one.   Font type and size Font types are actually a bit of a pain in Latex and so far, I have … [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: Arial, font, font size, fontspec, geometry, Helvetica, LaTeX, margin, onehalfspacing, setspace, usepackage, XeLaTeX

Watermarks: Draft, Review, Approved, Confidential

17. February 2012 by tom 33 Comments

The draftwatermark package implements a few simple commands for adding watermarks to documents. It provides some flexibility that is sufficient in most cases.   A basic example: The following 5 properties of a watermark can be modified through commands defined by the package.   Text (default DRAFT): The following command controls the watermark text: To … [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: approved, confidential, draft, draftwatermark, LaTeX, under review, usepackage, watermark

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

R: Controlling size and placement (subfig) of Sweave-generated figures

1. December 2011 by tom 4 Comments

I’ve been writing quite a bit of R code recently for my gene expression analysis. Also, I use Sweave (manual) which allows embedding R code “chunks” into TeX documents. When the code is being evaluated, the output (code, calculation results, plots, tables, etc.) will automatically integrated into the document as TeX syntax, making it an … [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, R, Sweave/knitr, Tips & tricks Tagged: eps, figure, graphicx, includegraphics, LaTeX, pdf, png, r, subfig, subfloat, Sweave/knitr, SweaveOpts, usepackage

Reverse enumerate or etaremune

29. November 2011 by tom 2 Comments

I stumbled across this package recently thanks to a comment by ofer. Basically, the etaremune package inverses the enumerate counter, making the indices decreasing rather than increasing. Basic example: Furthermore, to make the package more flexible, it offers different customizations. Starting number: The start option, lets you begin with an arbitrary number. In case the … [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, Package, Tips & tricks Tagged: decreasing, enumerate, etaremune, inverse, item, LaTeX, usepackage
« Previous 1 … 13 14 15 … 23 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