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.

Old Ex Libris of R.F. Smith

In 2014 I updated the design, using TeX Gyre Pagella for the text and Latin Modern Roman for the logo.

Ex Libris of R.F. Smith

The following LaTeX code produced this image.

% file: exlibris.tex
% vim:fileencoding=utf-8
%
% Author: R.F. Smith <rsmith@xs4all.nl>
% Created: 2003

\documentclass[a4paper,12pt]{article}
\usepackage[T1]{fontenc}
\usepackage{tgpagella}
\usepackage[dutch]{babel}
\usepackage{rotating}
\usepackage[newdimens]{labels}
\usepackage{anyfontsize}
%\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
% For the monogram
\newfont{\LMR}{cs-lmr10 at 10pt}
\newcommand{\RFS}{\LMR\reflectbox{R}\hspace{-4pt}F%
\hspace{-1.55pt}\raisebox{-0.25pt}{\reflectbox{S}}}

\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
    \scalebox{5}{\rotatebox{90}{\RFS}}
}
\parbox{40mm}{
    {\large Roland Smith}\\
    \rule{0mm}{6mm}\\
    \large\monthyear
}
}
%%%%%%%%%%%%%% End of the document contents %%%%%%%%%%%%%%%%%%%
\end{document}

For comments, please send me an e-mail.


Related articles


←  Downloading photos from a Canon digital IXUS 970 IS Installing Plone via the unified installer  →