-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rewrite original 3-column template to use article class so it's more flexible. Create new 4-column template based on the new template. Add separate paginator TeX files to compile the single pages produced by those templates.
- Loading branch information
Showing
4 changed files
with
285 additions
and
23 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,248 @@ | ||
\documentclass[10pt]{article} | ||
% paperwidth must be for each panel, thus 14/4=3.5 | ||
\usepackage[paperwidth=3.5in, paperheight=8.5in, margin=.2in]{geometry} | ||
|
||
\usepackage{url} % for URL formatting | ||
\usepackage{graphicx} % for images | ||
\usepackage{tabularx} % for Primary assignments table | ||
\usepackage{paralist} % for "compactitem" list type | ||
\usepackage{csquotes} % for smart quotes | ||
\usepackage{wallpaper} % for image watermarks | ||
% example: \ThisCenterWallPaper{0.75}{../images/bike-wheel2.png} | ||
\usepackage{multirow} % for multi-row cells in tabularx \multirow{2}{*}{hi} | ||
|
||
% The following were taken care of automatically by leaflet package: | ||
\usepackage{parskip} % disable paragraph indents when using article class | ||
\usepackage[compact]{titlesec} % reduce space after headings | ||
\setlength{\parskip}{1ex} | ||
|
||
\MakeOuterQuote{"} | ||
\renewcommand{\familydefault}{\sfdefault} % use a sans-serif font | ||
|
||
\begin{document} | ||
|
||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||
\begin{center} | ||
{\huge \textbf{Anywhere First Ward}} \\ | ||
\vspace{1.5ex} | ||
{\LARGE Anywhere Somewhere Stake} \\ | ||
\vspace{2.5ex} | ||
{\Large $bulletin_date} \\ | ||
\end{center} | ||
\vspace{\fill} | ||
% trim is l b r t | ||
\includegraphics[width=\linewidth, clip=true, trim=$image_trim_l $image_trim_b $image_trim_r $image_trim_t ]{$image_src} | ||
\vspace{2ex} | ||
\vspace{\fill} | ||
$front_quote | ||
\clearpage | ||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||
\section*{Sacrament Meeting} | ||
\renewcommand{\arraystretch}{1.75} % increase space between table rows | ||
\begin{tabular}{ p{.4\linewidth} p{.5\linewidth} } | ||
\textbf{Presiding} & $presiding \\ | ||
\textbf{Conducting} & $conducting \\ | ||
\textbf{Music Director} & $music_director \\ | ||
\textbf{Organist} & $organist \\ | ||
& \\ | ||
\hline | ||
& \\ | ||
\textbf{Opening Hymn} & $opening_hymn \\ | ||
\textbf{Invocation} & $invocation \\ | ||
\textbf{Sacrament Hymn} & $sacrament_hymn \\ | ||
& \\ | ||
\multicolumn{2}{c}{\textit{\large{Administration of the Sacrament}}} \\ | ||
& \\ | ||
#if $has_testimonies | ||
\multicolumn{2}{c}{\textit{\large{Bearing of Testimonies}}} \\ | ||
& \\ | ||
#else | ||
#for $speaker in $speakers_before | ||
\textbf{$speaker.type} & $speaker.name \\ | ||
#end for | ||
#if $has_musical_num | ||
\textbf{Musical Number} & $mn_title \newline | ||
\textit{$mn_group} | ||
#if $mn_director | ||
\newline \textit{Directed by $mn_director} | ||
#end if | ||
#if $mn_accompanist | ||
\newline \textit{Accompanied by $mn_accompanist} | ||
#end if | ||
\\ | ||
#end if | ||
#if $has_rest_hymn | ||
\textbf{Intermediate Hymn} & $rest_hymn \\ | ||
#end if | ||
#for $speaker in $speakers_after | ||
\textbf{$speaker.type} & $speaker.name \\ | ||
#end for | ||
#end if | ||
\textbf{Closing Hymn} & $closing_hymn \\ | ||
\textbf{Benediction} & $benediction \\ | ||
\end{tabular} \\ | ||
\clearpage | ||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||
\section*{Calendar} | ||
\renewcommand{\arraystretch}{1.75} % increase space between table rows | ||
\begin{tabular}{ p{.25\linewidth} p{.65\linewidth}} | ||
\textbf{Date/Time} & \textbf{Event} \\ | ||
\hline | ||
\multicolumn{2}{c}{\textbf{This week}} \\ | ||
\hline | ||
#for $event in $calendar['this_week'] | ||
#if 'date_override' in $event | ||
$event['date_override'] | ||
#else | ||
$event['date'] | ||
#end if | ||
#if $event['time'] | ||
\newline @ $event['time'] | ||
#end if | ||
& \textbf{$event['title']} | ||
#if $event['place'] | ||
\newline \textit{$event['place']} | ||
#end if | ||
#if $event['descr'] | ||
\newline $event['descr'] | ||
#end if | ||
\\ | ||
#end for | ||
\hline | ||
\multicolumn{2}{c}{\textbf{Next week}} \\ | ||
\hline | ||
#for $event in $calendar['next_week'] | ||
#if 'date_override' in $event | ||
$event['date_override'] | ||
#else | ||
$event['date'] | ||
#end if | ||
#if $event['time'] | ||
\newline @ $event['time'] | ||
#end if | ||
& \textbf{$event['title']} | ||
#if $event['place'] | ||
\newline \textit{$event['place']} | ||
#end if | ||
#if $event['descr'] | ||
\newline $event['descr'] | ||
#end if | ||
\\ | ||
#end for | ||
\hline | ||
\end{tabular} | ||
\clearpage | ||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||
Use this panel for weekly or monthly content | ||
\clearpage | ||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||
Use this panel for weekly or monthly content | ||
\clearpage | ||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||
\section*{Primary} | ||
$primary['next_week']['theme'] | ||
\vspace{2em} | ||
\subsection*{This Week} | ||
\renewcommand{\arraystretch}{1.3} % decrease space between table rows | ||
\begin{tabular}{ p{.3\linewidth} p{.6\linewidth} } | ||
\hline | ||
\multicolumn{2}{c}{\textbf{Junior Primary}} \\ | ||
\hline | ||
Prayer & $primary['this_week']['junior_o_prayer'] \\ | ||
Scripture & $primary['this_week']['junior_scripture'] \\ | ||
Talk & $primary['this_week']['junior_talk'] \\ | ||
\hline | ||
\multicolumn{2}{c}{\textbf{Senior Primary}} \\ | ||
\hline | ||
Opening Prayer & $primary['this_week']['senior_o_prayer'] \\ | ||
Scripture & $primary['this_week']['senior_scripture'] \\ | ||
Talk & $primary['this_week']['senior_talk'] \\ | ||
Closing Prayer & $primary['this_week']['senior_c_prayer'] \\ | ||
\hline | ||
\end{tabular} | ||
\vspace{2em} | ||
\subsection*{Next Week} | ||
\renewcommand{\arraystretch}{1.3} % decrease space between table rows | ||
\begin{tabular}{ p{.3\linewidth} p{.6\linewidth} } | ||
\hline | ||
\multicolumn{2}{c}{\textbf{Junior Primary}} \\ | ||
\hline | ||
Prayer & $primary['next_week']['junior_o_prayer'] \\ | ||
Scripture & $primary['next_week']['junior_scripture'] \\ | ||
Talk & $primary['next_week']['junior_talk'] \\ | ||
\hline | ||
\multicolumn{2}{c}{\textbf{Senior Primary}} \\ | ||
\hline | ||
Opening Prayer & $primary['next_week']['senior_o_prayer'] \\ | ||
Scripture & $primary['next_week']['senior_scripture'] \\ | ||
Talk & $primary['next_week']['senior_talk'] \\ | ||
Closing Prayer & $primary['next_week']['senior_c_prayer'] \\ | ||
\hline | ||
\end{tabular} | ||
\clearpage | ||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||
\section*{Today at Church} | ||
\subsection*{Gospel Doctrine} | ||
$sunday_school.this_week | ||
\subsection*{Priesthood and Relief Society} | ||
$priesthood_rs.this_week | ||
\vspace{2em} | ||
\section*{Next Week at Church} | ||
\subsection*{Gospel Doctrine} | ||
$sunday_school.next_week | ||
\subsection*{Priesthood and Relief Society} | ||
$priesthood_rs.next_week | ||
\vspace{\fill} | ||
\textbf{Appointments with the bishop} Contact John Doe at 801-555-1212 or | ||
\url{john@example.com}. | ||
\textbf{Temple recommend interviews} \textit{Ward:} Sundays right after church. | ||
\textit{Stake:} Tuesdays @ 7:00 pm | ||
\textbf{Bulletin information} Please send all bulletin information by Friday | ||
evening to \url{example@example.com}. | ||
Find last week's bulletin at \url{lds.org/member-news}. | ||
\clearpage | ||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||
\section*{Organizations} | ||
#for $org in $orgs | ||
\subsection*{$org['name']} | ||
$org['descr'] | ||
#end for | ||
\clearpage | ||
\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,8 @@ | ||
\documentclass{article} | ||
\usepackage[legalpaper,landscape]{geometry} | ||
\usepackage{pdfpages} | ||
|
||
\begin{document} | ||
\includepdf[pages={5,6,1},nup=3x1]{bulletin} | ||
\includepdf[pages={2,3,4},nup=3x1]{bulletin} | ||
\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,8 @@ | ||
\documentclass{article} | ||
\usepackage[legalpaper,landscape]{geometry} | ||
\usepackage{pdfpages} | ||
|
||
\begin{document} | ||
\includepdf[pages={7,8,1,2},nup=4x1]{bulletin} | ||
\includepdf[pages={3,4,5,6},nup=4x1]{bulletin} | ||
\end{document} |