Roland's homepage

My random knot in the Web

Making Ex Libris booklabels

It has been my custom to mark books that I buy with my name and date of purchase. Initially I wrote these, but that became tedious. Since I'm not much of a graphic artist, I decided on creating a simple booklabel in LaTeX, as shown below. I'm using TeX's Latin Modern fonts. These may look a bit gaunt in pictures since they are optimized for print. The Dunhill font (the Latern Modern version) is used to create the monogram.

Ex Libris of R.F. Smith

The following LaTeX code produced this image.

% -*- latex -*-
%
% LaTeX sourcecode file for printing 89x36 mm stickers (four on a page) for
% marking books.
%
% Written by R.F. Smith <rsmith@xs4all.nl> in 2003 and placed in the
% public domain
%
\documentclass[a4paper,12pt]{article}
\usepackage{lmodern}
\usepackage[dutch]{babel}
\usepackage{rotating}
\usepackage[newdimens]{labels}
%\LabelGridtrue
%\LabelInfotrue
% Settings for the label package; 4 89x36 stickers.
\LabelCols=1
\LabelRows=4
\LeftPageMargin=60.5mm
\RightPageMargin=60.5mm
\TopPageMargin=1mm
\BottomPageMargin=150mm
\InterLabelRow=4mm
\TopLabelBorder=4mm
\BottomLabelBorder=3mm
\numberoflabels=4
% Fonts for the logo
\newfont{\duf}{rm-lmdunh10 at 15pt}
\newfont{\xlf}{rm-lmdunh10 at 60pt}

\def\monthyear{\ifcase\month\or
  januari\or februari\or maart\or april\or mei\or juni\or
  juli\or augustus\or september\or oktober\or november\or
  december\fi
  \space \number\year}

%%%%%%%%%%%%%%%%%%%%%% Start of the document %%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\genericlabel{%
  \parbox{8mm}{
    \begin{sideways}
      \Large Ex Libris
    \end{sideways}
  }
  \parbox{15mm}{% Logo
    \setlength{\unitlength}{1mm}
    \begin{picture}(15,24)
      \put(0,2){\xlf S}
      \put(4,15.5){\duf R}
      \put(4,4.5){\duf F}
    \end{picture}
  }
  \parbox{40mm}{
    {\large Roland Smith}\\
    \rule{0mm}{3mm}\\
    \monthyear
  }
}
%%%%%%%%%%%%%% End of the document contents %%%%%%%%%%%%%%%%%%%
\end{document}