Skip to content

Commit

Permalink
Make room for cover design variants
Browse files Browse the repository at this point in the history
  • Loading branch information
cdlm committed Mar 1, 2018
1 parent 9a02364 commit 60bb10f
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@
.auctex/
/auto/
sbabook*.pdf
cover-*.pdf
17 changes: 17 additions & 0 deletions cover-pharotech.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
\documentclass[english,twoside,openany,showtrims]{sbabook}

\pagelayout{\paperbackpage}

\usepackage[maketitle,horizon]{pharo-titlepage}
\usepackage{hyperref}

\title{Book cover\titlebreak{}
Technology series}
\author{Damien Pollet}
\date{\today\titlebreak[\smallskip]{ -- }(version info)}

\begin{document}

\maketitle

\end{document}
9 changes: 7 additions & 2 deletions pharo-titlepage.sty
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
\ProvidesFile{pharo-titlepage.sty}
[2017/05/10 0.1 title page design for SBA booklets]

% default titlepage appearance
\newcommand\pharotitle@maketitle{\horizontitle}

\DeclareOption{maketitle}{%
\renewcommand{\maketitle}{\pharotitle}}
\renewcommand{\maketitle}{\pharotitle@maketitle}}
\DeclareOption{horizon}{%
\renewcommand\pharotitle@maketitle{\horizontitle}}
\ProcessOptions

\RequirePackage{xcolor}
Expand Down Expand Up @@ -44,7 +49,7 @@
\pgfdeclarelayer{background}
\pgfsetlayers{background,main}

\newcommand\pharotitle{
\newcommand\horizontitle{
\thispagestyle{empty}

\begin{tikzpicture}[remember picture,overlay,line width=0mm]
Expand Down

0 comments on commit 60bb10f

Please sign in to comment.