-
Notifications
You must be signed in to change notification settings - Fork 2
/
template.tex
234 lines (195 loc) · 6.68 KB
/
template.tex
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
\documentclass[10pt]{article}
% paperwidth must be for each panel, thus 14/3=4.66
\usepackage[paperwidth=4.66in, paperheight=8.5in, margin=.3in]{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*{Today at Church}
\subsection*{Gospel Doctrine}
$sunday_school.this_week
\subsection*{Priesthood and Relief Society}
$priesthood_rs.this_week
\subsection*{Primary}
The following children have assignments in Opening Exercises:
\renewcommand{\arraystretch}{1} % decrease space between table rows
\begin{tabularx}{\linewidth}{ r X | r X }
\hline
\multicolumn{2}{c|}{\textbf{Junior Primary}} &
\multicolumn{2}{c}{\textbf{Senior Primary}} \\
Prayer & $primary['this_week']['junior_o_prayer']
& O Prayer & $primary['this_week']['senior_o_prayer'] \\
Scripture & $primary['this_week']['junior_scripture']
& Scripture & $primary['this_week']['senior_scripture'] \\
Talk & $primary['this_week']['junior_talk']
& Talk & $primary['this_week']['senior_talk'] \\
& & C Prayer & $primary['this_week']['senior_c_prayer'] \\
\hline
\end{tabularx}
\vspace{\fill}
\section*{Next Week at Church}
\subsection*{Gospel Doctrine}
$sunday_school.next_week
\subsection*{Priesthood and Relief Society}
$priesthood_rs.next_week
\subsection*{Primary}
The following children will have assignments in Opening Exercises:
\renewcommand{\arraystretch}{1} % decrease space between table rows
\begin{tabularx}{\linewidth}{ r X | r X }
\hline
\multicolumn{2}{c|}{\textbf{Junior Primary}} &
\multicolumn{2}{c}{\textbf{Senior Primary}} \\
Prayer & $primary['next_week']['junior_o_prayer']
& O Prayer & $primary['next_week']['senior_o_prayer'] \\
Scripture & $primary['next_week']['junior_scripture']
& Scripture & $primary['next_week']['senior_scripture'] \\
Talk & $primary['next_week']['junior_talk']
& Talk & $primary['next_week']['senior_talk'] \\
& & C Prayer & $primary['next_week']['senior_c_prayer'] \\
\hline
\end{tabularx}
$primary['next_week']['theme']
\clearpage
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Use this panel for weekly or monthly content
\clearpage
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section*{Organizations}
#for $org in $orgs
\subsection*{$org['name']}
$org['descr']
#end for
\vspace{\fill}
\textbf{Appointments with the bishop} Contact John Doe at 801-555-1212 or
\url{[email protected]}.
\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{[email protected]}.
Find last week's bulletin at \url{lds.org/member-news}.
\clearpage
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section*{Sacrament Meeting}
\renewcommand{\arraystretch}{1.75} % increase space between table rows
\begin{tabular}{ p{.25\linewidth} p{.65\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 and 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
\end{document}