-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from corvus-ch/titlepage
Add titlepage
- Loading branch information
Showing
10 changed files
with
142 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
\documentclass[twoside]{scrartcl} | ||
|
||
\usepackage{freitag} | ||
\usepackage{tikz} | ||
\usepackage{color} | ||
|
||
\newcommand{\griddim}{5mm} | ||
|
||
\newcommand{\dottedpage}{% | ||
\begin{tikzpicture}[gray, ultra thin] | ||
\draw [step=\griddim, line cap=round, dash pattern=on 0pt off \griddim, thin] (0,0) grid (\width-\margin-\margininner,\height-\margin-\margin); | ||
\draw [dashed] (5mm,0) -- (5mm,\height-\margin-\margin); | ||
\end{tikzpicture} | ||
} | ||
|
||
\begin{document} | ||
\pagestyle{empty} | ||
\enlargethispage{\margin} | ||
\dottedpage | ||
\dottedpage | ||
\dottedpage | ||
\dottedpage | ||
\end{document} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,7 @@ | ||
\documentclass[9pt,twoside]{scrartcl} | ||
\documentclass{scrartcl} | ||
|
||
\usepackage{freitag-inlay} | ||
\usepackage{tikz} | ||
\usepackage{color} | ||
|
||
\newcommand{\griddim}{5mm} | ||
|
||
\newcommand{\dottedpage}{% | ||
\begin{tikzpicture}[gray, ultra thin] | ||
\draw [step=\griddim, line cap=round, dash pattern=on 0pt off \griddim, thin] (0,0) grid (\width-\margin-\margininner,\height-\margin-\margin); | ||
\draw [dashed] (5mm,0) -- (5mm,\height-\margin-\margin); | ||
\end{tikzpicture} | ||
} | ||
\usepackage{inlay} | ||
|
||
\begin{document} | ||
\pagestyle{empty} | ||
\enlargethispage{\margin} | ||
\dottedpage | ||
\dottedpage | ||
\dottedpage | ||
\dottedpage | ||
\inlay{Dotted}{dotted-inlay.pdf} | ||
\end{document} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
\documentclass[twoside]{scrartcl} | ||
|
||
\usepackage{freitag} | ||
\usepackage{tikz} | ||
\usepackage{color} | ||
|
||
\newcommand{\griddedpage}{% | ||
\begin{tikzpicture}[gray, very thin] | ||
\draw [xstep=10mm,ystep=4mm] (0,0) grid (\width-\margin-\margininner,\height-\margin-\margin); | ||
\draw [dashed] (\margintext,0) -- (\margintext,\height-\margin-\margin); | ||
\end{tikzpicture} | ||
} | ||
|
||
\begin{document} | ||
\pagestyle{empty} | ||
\enlargethispage{\margin} | ||
\griddedpage | ||
\griddedpage | ||
\griddedpage | ||
\griddedpage | ||
\end{document} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,7 @@ | ||
\documentclass[9pt,twoside]{scrartcl} | ||
\documentclass{scrartcl} | ||
|
||
\usepackage{freitag-inlay} | ||
\usepackage{tikz} | ||
\usepackage{color} | ||
|
||
\newcommand{\griddedpage}{% | ||
\begin{tikzpicture}[gray, very thin] | ||
\draw [xstep=10mm,ystep=4mm] (0,0) grid (\width-\margin-\margininner,\height-\margin-\margin); | ||
\draw [dashed] (\margintext,0) -- (\margintext,\height-\margin-\margin); | ||
\end{tikzpicture} | ||
} | ||
\usepackage{inlay} | ||
|
||
\begin{document} | ||
\pagestyle{empty} | ||
\enlargethispage{\margin} | ||
\griddedpage | ||
\griddedpage | ||
\griddedpage | ||
\griddedpage | ||
\inlay{Gridded}{gridded-inlay.pdf} | ||
\end{document} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
%!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{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,nup=2x1,booklet=true,pages=-]{#2} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
#!/bin/sh | ||
# Copyright 2015 Brent Longborough | ||
# Part of gitinfo2 package Version 2 | ||
# Release 2.0.7 2015-11-22 | ||
# Please read gitinfo2.pdf for licencing and other details | ||
# ----------------------------------------------------- | ||
# Post-{commit,checkout,merge} hook for the gitinfo2 package | ||
# | ||
# Get the first tag found in the history from the current HEAD | ||
FIRSTTAG=$(git describe --tags --always --dirty='-*' 2>/dev/null) | ||
# Get the first tag in history that looks like a Release | ||
RELTAG=$(git describe --tags --long --always --dirty='-*' --match 'v*' 2>/dev/null) | ||
# Hoover up the metadata | ||
git --no-pager log -1 --date=short --decorate=short \ | ||
--pretty=format:"\usepackage[% | ||
shash={%h}, | ||
lhash={%H}, | ||
authname={%an}, | ||
authemail={%ae}, | ||
authsdate={%ad}, | ||
authidate={%ai}, | ||
authudate={%at}, | ||
commname={%cn}, | ||
commemail={%ce}, | ||
commsdate={%cd}, | ||
commidate={%ci}, | ||
commudate={%ct}, | ||
refnames={%d}, | ||
firsttagdescribe={$FIRSTTAG}, | ||
reltag={$RELTAG} | ||
]{gitexinfo}" HEAD > .git/gitHeadInfo.gin |