# deckblatt: cover pages for self-archiving from BibTeX data

Version 1.0, 2026-11-23

`deckblatt` (German for "cover page") is a LuaLaTeX package that creates a
cover page for a self-archived publication. The cover page gives the
bibliographic details of the original publication, taken from an entry of a
BibTeX or biblatex file.

## Features

- Two designs: `banner` (authors and title on a band across the top of the
  page) and `sidebar` (stripe at the left or right edge, details of the
  original publication in a table).
- The bibliography file is read directly by Lua. No BibTeX or Biber run is
  needed.
- Suggested citation, QR code for the DOI, BibTeX code of the entry and an
  optional note on self-archiving.
- German and English texts, chosen automatically from the document language.
- Colours (default: black, white and grey), fonts and all texts can be
  adjusted.
- The PDF file of the publication can be appended directly.
- Title, authors and source are written to the PDF metadata.

## Example

```latex
\documentclass[a4paper]{article}
\usepackage[british]{babel}
\usepackage[variant=sidebar]{deckblatt}
\deckblattsetup{
  bibfile = publications.bib,
  key     = Muster2024,
  note,
}
\begin{document}
\deckblatt[file=Muster2024.pdf]
\end{document}
```

## Requirements

LuaLaTeX with a LaTeX kernel dated 2022-06-01 or later. The package loads
xcolor, graphicx, qrcode and pdfpages, and at the end of the preamble csquotes
and hyperref unless the document has loaded them.

## Files

| File | Content |
| --- | --- |
| `deckblatt.sty`, `deckblatt.lua` | the package |
| `deckblatt-en.pdf`, `deckblatt-en.tex` | documentation in English |
| `deckblatt-de.pdf`, `deckblatt-de.tex` | documentation in German |
| `deckblatt-example.bib` | invented bibliography entries for the examples |
| `deckblatt-example-*.tex`, `deckblatt-example-*.pdf` | example documents and their output |

The documentation includes the example PDFs. To rebuild it, compile the
examples first and then the documentation, each twice with `lualatex`.

## Installation

Use the package manager of your TeX distribution if it provides `deckblatt`.
For a manual installation, copy
`deckblatt.sty` and `deckblatt.lua` to `TEXMF/tex/lualatex/deckblatt/` and
refresh the file name database if your TeX distribution needs it.

## Licence

Copyright (C) 2026 Daniel Tibi

This work may be distributed and/or modified under the conditions of the
LaTeX Project Public License, either version 1.3c of this license or (at your
option) any later version. The latest version of this license is in
<https://www.latex-project.org/lppl.txt> and version 1.3c or later is part of
all distributions of LaTeX version 2008 or later.

This work has the LPPL maintenance status `maintained`.
The Current Maintainer of this work is Daniel Tibi.

## Author

Daniel Tibi, <daniel.tibi@plus.ac.at>

## Kurzbeschreibung (Deutsch)

`deckblatt` erzeugt mit LuaLaTeX Deckblätter für Zweitveröffentlichungen
(Self-Archiving). Die bibliografischen Angaben stammen aus einem Eintrag einer
BibTeX- oder biblatex-Datei. Zwei Gestaltungen, deutsche und englische Texte,
einstellbare Farben und Schriften. Die Dokumentation liegt auch auf Deutsch vor
(`deckblatt-de.pdf`).
