# Creating a LaTeX newsletter template

• Tags :

This week a short guide on how to build a newsletter template in LaTeX. After the post on how to build a CV with LaTeX, your readers gave me positive feedback so I decided to write some kind of guide for this weeks template too. In short, I will explain the newsletter LaTeX template I created. The newsletter is pretty basic: it includes a fancy title, top post and some main content. In my eyes, this is all an (online) newsletter needs.

What you’ll be creating

## Documentclass

This time we’ll use the article documentclass. Additionally, we’ll add the following options:

\documentclass[10pt,a4paper]{article}

## Geometry

As we’re building a newsletter template, we need to adjust the geometry of the document. Personally, I’m not really into the geometry package although it is the easiest way. Instead, I’ll define the geometry manually:

\setlength\topmargin{-48pt} \setlength\headheight{0pt} \setlength\headsep{25pt} \setlength\marginparwidth{-20pt} \setlength\textwidth{7.0in} \setlength\textheight{9.5in} \setlength\oddsidemargin{-30pt} \setlength\evensidemargin{-30pt}

These commands are pretty straight forward. But again, the same can be done with the geometry package.

Also, I’d like to enable french spacing. This is just a personal preference. As we’ll be using a two column layout, this type of spacing fits nicer. So I added

\frenchspacing

## Packages

To see what packages are used, have a look at the .tex file of the template. Most important is the multicol package, which will be used to create the two column layout. Also, note that I make use of the datetime package to customize the date in the document.

## Separators

We need to define two separators: to separate the different section in the newsletter. The first separator will separate the header from the rest of the template. It will be defined in such a way that the thickness of the rule can be adjusted. Let’s call it \HorRule:

\newcommand{\HorRule}[1]{\noindent\rule{\linewidth}{#1}}

The second separator will be a rule to separate the main post from the rest of the content. The thickness of this one doesn’t need to be adjusted. Let’s define \SepRule:

\newcommand{\SepRule}{\noindent \begin{center} \rule{250pt}{1pt} \end{center} }

## Definitions

Lastly, we’ll define some commands that make our life easier. First of all, we won’t be using the \maketitle command to create the title. Instead, we’ll define a command \JournalName

\newcommand{\JournalName}[1]{% \begin{center} \Huge \usefont{T1}{augie}{m}{n} #1% \end{center} \par \normalsize \normalfont}

Again, I think this command is pretty straight forward. Note that the augie font is called. This is the font that will be used for the newsletter title (it will also be used later on).

Next, a command \JournalIssue is created to define the current issue of the newsletter.

\newcommand{\JournalIssue}[1]{% \hfill \textsc{\mydate \today, No #1} \par \normalsize \normalfont}

In here, the \mydate command is called. This is for the custom date format that was created with the datetime package. The format is similar to the one described in this post.

Thirdly, we’ll define a command \NewsItem to insert a new post in the newsletter:

\newcommand{\NewsItem}[1]{% \usefont{T1}{augie}{m}{n} \large #1 \vspace{4pt} \par \normalsize \normalfont}

Again the augie font is used.

Lastly, a command is defined for the name of the author of the posts in the newsletter. Let’s call it \NewsAuthor:

\newcommand{\NewsAuthor}[1]{% \hfill by \textsc{#1} \vspace{4pt} \par \normalfont}

The writing itself is pretty basic and I refer to the LaTeX code to have a look at it yourself. In short, the multicols environment is called to define the two column layout. Before that, the wrapfig and minipage environments are used to construct the main post. The sample text is made with the blindtext package. Furthermore, have a look at the .tex file and if you don’t understand what it says, feel free to contact me!

## The result

Download ZIP. This zip-archive contains the PDF, TEX and two images that were used in the newsletter.

## Want more?

If there are any templates you like me to add to this section, feel free to contact me.

1. Tom says:

Hello,
I use this nice template but I am still struggling to
– use the \begin{figure} \label{blablabla} \end{figure}
– place a footnote on the first page, which is different from the ones of all the other pages.

It would be great if somebody could help me with this.