-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinlay.sty
42 lines (38 loc) · 868 Bytes
/
inlay.sty
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
%!TEX encoding = UTF-8 Unicode
\ProvidesPackage{inlay}
% Fonts
% -----
\RequirePackage{ifxetex}
\ifxetex
\RequirePackage{fontspec}
\RequirePackage{xltxtra}
\RequirePackage{xunicode}
\else
\RequirePackage[utf8]{inputenc}
\RequirePackage[T1]{fontenc}
\fi
% Titlepage
% ---------
\RequirePackage{hyperref}
\RequirePackage{pdfpages}
\RequirePackage{gitinfo2}
\RequirePackage[
type={CC},
modifier={by-sa},
version={4.0},
]{doclicense}
\newcommand{\inlay}[2]{%
\begin{titlepage}
\subject{Freitag Agenda Inlay}
\title{#1}
\author{Christian Häusler}
\date{\gitFirstTagDescribe~\gitAuthorIsoDate}
\publishers{https://github.com/corvus-ch/freitag-inlay}
\clearpage
\maketitle
\thispagestyle{empty}
\vfill
\doclicenseThis
\end{titlepage}
\includepdf[angle=90,noautoscale=true,nup=2x1,booklet=true,pages=-]{#2}
}