Merge pull request #11 from How-To-Build-a-Commons/kh/addImageToFrontPage

Kh/add image to front page
This commit is contained in:
Kevin Harrington 2025-11-01 20:40:20 -04:00 committed by GitHub
commit 455bd87ae5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 184 additions and 48 deletions

View file

@ -46,6 +46,9 @@ jobs:
- name: Generate PDF
run: pdflatex -jobname=HowToBuildACommons-${{ github.ref_name }} ScopeSequencing.tex
- name: Generate Checkbook
run: pdflatex -jobname=MakerCheckBook-${{ github.ref_name }} MakerCheckBook.tex
- name: Generate Folding PDF
run: pdflatex ConsensusPocketReference.tex
@ -61,7 +64,7 @@ jobs:
- name: Create or Update Release
uses: softprops/action-gh-release@v1
with:
files: Consensus-Pocket-Booklet-${{ github.ref_name }}.pdf,HowToBuildACommons-${{ github.ref_name }}.pdf,HowToBuildACommons-${{ github.ref_name }}-booklet.pdf,how-to-consensus-zine.svg
files: MakerCheckBook-${{ github.ref_name }}.pdf,Consensus-Pocket-Booklet-${{ github.ref_name }}.pdf,HowToBuildACommons-${{ github.ref_name }}.pdf,HowToBuildACommons-${{ github.ref_name }}-booklet.pdf,how-to-consensus-zine.svg
draft: false
prerelease: false
name: ${{ github.ref_name }}

View file

@ -1,6 +1,6 @@
\documentclass{article}
\usepackage{geometry}
\usepackage{eso-pic} % allows background placement
\geometry{
paperwidth=2.75in,
paperheight=4.25in,
@ -81,21 +81,33 @@
\newpage
% Add background image
\AddToShipoutPictureBG*{%
\AtPageLowerLeft{%
\includegraphics[width=\paperwidth,height=\paperheight]{src/how-to-consensus-zine/border-edited.png}%
}%
}
\begin{center}
{\Huge\textbf{Intro to}}\\[0.3cm]
{\Huge\textbf{Achieving}}\\[0.3cm]
{\Huge\textbf{Consensus}}\\[1cm]
{\Large Consensus Decision Making (CDM)}\\[0.2cm]
{\Large Intro and Reference}\\[2cm]
{\Large Intro and Reference}\\[1cm]
\emph{``The commons are those things\\
that we all own together,\\
that are neither privately owned,\\
nor managed by the government.''}
\vspace{1cm}
\end{center}
\thispagestyle{empty}
\end{document}

59
MakerCheck.tex Normal file
View file

@ -0,0 +1,59 @@
\newcommand{\linedpagetwo}{%
\noindent
\foreach \n in {1,...,15}{%
\rule{\textwidth}{0.4pt}\\[\baselineskip]
}
}
\newcommand{\verticallines}{%
\noindent%
\begin{tikzpicture}[remember picture, overlay]
\coordinate (TL) at (current page.north west);
\coordinate (BR) at (current page.south east);
\pgfmathsetmacro{\spacing}{0.8} % 8mm spacing in cm
\pgfmathsetmacro{\pagewidth}{8.5*2.54} % 8.5 inches converted to cm
\pgfmathsetmacro{\nlines}{int(\pagewidth/\spacing)}
\foreach \i in {0,1,...,\nlines}{
\draw[gray] ([xshift=\i*\spacing cm]TL) -- ([xshift=\i*\spacing cm]current page.south west);
}
\end{tikzpicture}%
}
\newcommand{\makercheck}{
\begin{turn}{90}
\dbox{%
\begin{minipage}[t][2in]{6.7in}
\begin{minipage}[t][0.4in]{\textwidth}
\vfill
I \rule{2in}{1pt} promise to work for \rule{0.5in}{1pt} hours and \rule{0.5in}{1pt} minutes.
\end{minipage}%
\noindent
\begin{minipage}[t][1.5in]{0.7\textwidth}
\vfill
\makebox[0.8in][l]{Signed On:} \shortstack{\small Year\\[0.4cm]\rule{0.5in}{0.4pt}} / \shortstack{\small Month\\[0.4cm]\rule{0.5in}{0.4pt}} / \shortstack{\small Day\\[0.4cm]\rule{0.5in}{0.4pt}}
\makebox[0.8in][l]{Expires On:} \shortstack{\small Year\\[0.4cm]\rule{0.5in}{0.4pt}} / \shortstack{\small Month\\[0.4cm]\rule{0.5in}{0.4pt}} / \shortstack{\small Day\\[0.4cm]\rule{0.5in}{0.4pt}}
\makebox[0.8in][l]{Done On:} \shortstack{\small Year\\[0.4cm]\rule{0.5in}{0.4pt}} / \shortstack{\small Month\\[0.4cm]\rule{0.5in}{0.4pt}} / \shortstack{\small Day\\[0.4cm]\rule{0.5in}{0.4pt}}
\end{minipage}%
\hfill
\begin{minipage}[t][1.5in]{0.4\textwidth}
\vfill
\shortstack{\small Notes / Type of Work\\[0.6cm]\rule{1.5in}{0.4pt}}
\shortstack{\small Signature\\[0.6cm]\rule{1.5in}{0.4pt}}
\vspace{0.2cm}
\end{minipage}
% --- Add this block at the end of the minipage ---
\vspace{0pt}
\hfill
\raisebox{0pt}[0pt][0pt]{%
\includegraphics[width=1.2cm]{CornerDetail.png}%
}%
\end{minipage}%
}
\end{turn}
}

83
MakerCheckBook.tex Normal file
View file

@ -0,0 +1,83 @@
\documentclass{article}
\usepackage{helvet}
\renewcommand{\familydefault}{\sfdefault}
\usepackage{enumitem,amssymb}
\usepackage{lipsum} % for filler text
\usepackage{geometry}
\geometry{
paperwidth=8.5in,
paperheight=11in,
top=0.25in,
bottom=0.5in,
left=0.25in,
right=0.2in,
footskip=20pt % Reserve space for footer
}
\usepackage{qrcode}
\newlist{todolist}{itemize}{2}
\setlist[todolist]{label=$\square$}
\usepackage{easylist}
\usepackage{fancyhdr}
\fancyfoot{} % clear all footer fields
\usepackage{hyperref}
\usepackage{tikz}
\usepackage{rotating}
\usepackage{dashbox}
\usepackage{graphicx}
\usepackage{eso-pic} % allows background placement
\pagestyle{fancy}
\usepackage{sectsty}
\sectionfont{\centering}
% Set the value
\newlength{\mylen}
\setlength{\mylen}{0.25in}
\usepackage{lmodern}
\usepackage{tikz}
\usepackage{multicol}
\usepackage{ifthen}
\usepackage{atbegshi}
\usetikzlibrary{calc}
\input{MakerCheck.tex}%
\begin{document}
\vspace{1cm}
\begin{turn}{-90}
\centering
\makercheck
\end{turn}
\vspace{1cm}
\begin{turn}{-90}
\centering
\makercheck
\end{turn}
\vspace{1cm}
\begin{turn}{-90}
\centering
\makercheck
\end{turn}
\vspace{1cm}
\begin{turn}{-90}
\centering
\makercheck
\end{turn}
\pagebreak
\verticallines
\end{document}

View file

@ -43,6 +43,7 @@
% --- Add corner image depending on odd/even page ---
\newcommand{\AddCornerImage}{%
\AddToShipoutPictureBG{%
\ifnum\value{page}>1 % Only add corners if page number > 1
% === Bottom Corner ===
\AtPageLowerLeft{%
\ifodd\value{page}
@ -71,6 +72,7 @@
}%
\fi
}%
\fi % End of page number check
}%
}
@ -81,12 +83,7 @@
}
}
\newcommand{\linedpagetwo}{%
\noindent
\foreach \n in {1,...,15}{%
\rule{\textwidth}{0.4pt}\\[\baselineskip]
}
}
\input{MakerCheck.tex}%
\usepackage{multicol}
@ -97,11 +94,25 @@
\fontsize{8}{9}\selectfont
% Add background image
\AddToShipoutPictureBG*{%
\AtPageLowerLeft{%
\includegraphics[width=\paperwidth,height=\paperheight]{src/how-to-consensus-zine/border-edited.png}%
}%
}
\vspace*{\fill}
{\centering \huge \textbf{Building A Common}\par}
{\centering
\huge \textbf{Building A Common}\par
\vspace{1em} % Space between title and subtitle
\Large Security and Stability Comes
From Working Together\par % Add your subtitle
}
\vspace*{\fill}
\thispagestyle{empty} % put this right after \begin{document} or after your title page
\pagebreak
@ -130,7 +141,7 @@
\item \textbf{"Violence Vouchers: a descriptive account of property" by Matt Bruenig}
\qrcode[height=30mm]{https://mattbruenig.com/2014/03/28/violence-vouchers-a-descriptive-account-of-property/}
\qrcode[height=30mm]{https://web.archive.org/web/20250426111925/https://mattbruenig.com/2014/03/28/violence-vouchers-a-descriptive-account-of-property/}
\item \textbf{Source Of This Document}
@ -348,40 +359,8 @@ Within a Commons, once the external entity has been assigned Private Property ri
\begin{minipage}[t]{2.3in}
\vspace{0pt}
\centering
\begin{turn}{90}
\dbox{%
\begin{minipage}[t][2in]{6.7in}
\begin{minipage}[t][0.4in]{\textwidth}
\vfill
I \rule{2in}{1pt} promise to work for \rule{0.5in}{1pt} hours and \rule{0.5in}{1pt} minutes.
\end{minipage}%
\noindent
\begin{minipage}[t][1.5in]{0.7\textwidth}
\vfill
\makebox[0.8in][l]{Signed On:} \shortstack{\small Year\\[0.4cm]\rule{0.5in}{0.4pt}} / \shortstack{\small Month\\[0.4cm]\rule{0.5in}{0.4pt}} / \shortstack{\small Day\\[0.4cm]\rule{0.5in}{0.4pt}}
\makebox[0.8in][l]{Expires On:} \shortstack{\small Year\\[0.4cm]\rule{0.5in}{0.4pt}} / \shortstack{\small Month\\[0.4cm]\rule{0.5in}{0.4pt}} / \shortstack{\small Day\\[0.4cm]\rule{0.5in}{0.4pt}}
\makebox[0.8in][l]{Done On:} \shortstack{\small Year\\[0.4cm]\rule{0.5in}{0.4pt}} / \shortstack{\small Month\\[0.4cm]\rule{0.5in}{0.4pt}} / \shortstack{\small Day\\[0.4cm]\rule{0.5in}{0.4pt}}
\end{minipage}%
\hfill
\begin{minipage}[t][1.5in]{0.4\textwidth}
\vfill
\shortstack{\small Notes / Type of Work\\[0.6cm]\rule{1.5in}{0.4pt}}
\shortstack{\small Signature\\[0.6cm]\rule{1.5in}{0.4pt}}
\vspace{0.2cm}
\end{minipage}
% --- Add this block at the end of the minipage ---
\vspace{0pt}
\hfill
\raisebox{0pt}[0pt][0pt]{%
\includegraphics[width=1.2cm]{CornerDetail.png}%
}%
\end{minipage}%
}
\end{turn}
\makercheck
\vspace{0.1cm}
{\footnotesize Cut along the dotted line}