\documentclass[document,12pt,landscape,twocolumn]{article} \usepackage{etoolbox} \usepackage{datenumber} \usepackage{graphicx} \usepackage{etex} \usepackage{ifthen} \pagenumbering{gobble} % Gets rid of page numbering % --------------------FILL THESE OUT ------------------------------- %Front %The date of the next Sunday is calculated for you %Opening Headers \newcommand{\presiding}{Bishop Pratt} \newcommand{\conducting}{Brother Smith} \newcommand{\chorister}{Mack Wilberg} \newcommand{\organist}{Richard Elliot} %Speakers \newcommand{\speakerOne}{George Smith} \newcommand{\speakerTwo}{Spencer Kimball} \newcommand{\speakerThree}{Gordon Hinckley} %Leave speaker four name empty if there are only 3 speakers \newcommand{\speakerFour}{} %HYMNS %For musical numbers, you can change the header to 'Musical Number %You can also change the hymn number to a name in that case %Note - you can remove the \# to get rid of the number sign if you are writing in a name instead %Opening \newcommand{\openingHymnHeader}{Opening Hymn} \newcommand{\openingHymnNumber}{\#92} \newcommand{\openingHymnName}{For the Beauty of the Earth} %Sacrament \newcommand{\sacramentHymnHeader}{Sacrament Hymn} \newcommand{\sacramentHymnNumber}{\#169} \newcommand{\sacramentHymnName}{As Now We take the Sacrament} %Worship \newcommand{\worshipHymnHeader}{Worship Hymn} \newcommand{\worshipHymnNumber}{\#96} \newcommand{\worshipHymnName}{Dearest Children God is Near You} %Closing \newcommand{\closingHymnHeader}{Closing Hymn} \newcommand{\closingHymnNumber}{\#301} \newcommand{\closingHymnName}{I Am a Child of God} %Prayers \newcommand{\invocation}{Elder Ulisses Soares} \newcommand{\benediction}{Elder Gerrit W. Gong} \newif\ifIsFastSunday %\/\/\/\/\/ FOR FAST SUNDAY - change false to true \/\/\/\/\/\/ %otherwise keep false \IsFastSundayfalse % \IsFastSundaytrue %If it is break the fast, you may adjust the time here %If its not, don't worry about it \newcommand{\breakTheFastTime}{4:30PM} %Back % Main Sunday School Classes \newcommand{\gospelPrinciplesRoom}{Stage} \newcommand{\gospelPrinciplesLesson}{Chapter 13: The Priesthood} \newcommand{\gospelDoctrineRoom}{Upstairs East and West} \newcommand{\gospelDoctrineLesson}{Chapter 12: "Fruitful in the Land of My Affliction"} %To uncomment and comment a section - highlight and press Control+Slash (Cntrl+/) %Make sure that it is highlighted to comment/uncomment %Classes Set 1 % \newcommand{\classOne}{Mission Prep} % \newcommand{\classOneRoom}{Room 102} % \newcommand{\classTwo}{Marriage Prep} % \newcommand{\classTwoRoom}{Room 103} %Classes Set 2 \newcommand{\classOne}{Temple Prep} \newcommand{\classOneRoom}{Basement} \newcommand{\classTwo}{Family History} \newcommand{\classTwoRoom}{Room 103} % Announcements \newcommand{\announcementlist} { \begin{itemize} \ifIsFastSunday \item Break the Fast at \breakTheFastTime \fi \item Remember to arrive at Sacrament Meeting early to listen to the prelude music \item Full Time Missionaries (xxx) xxx - xxxx \item Contact xxx at (xxx) xxx - xxxx to make an appointment with Bishop %\item to add more items \end{itemize} } % --------------------END OF FILLING OUT ------------------------------- % Overly complicated steps to obtain this Sunday's date: \newcount\dayofweek % create some "counters" to do simple math \newcount\diff \dayofweek=\thedatedayname\relax % gives timer the value of day of week (1-7) \diff=7\relax % we will be subtracting the current day of week from 7 \advance\diff-\dayofweek % this produces the number of days between now and Sunday \setdatetoday \addtocounter{datenumber}{\diff} % that way we can increment the counter of datenumber by the number of days between now and Sunday \setdatebynumber{\thedatenumber} % to bring us to the date of the next Sunday % Now \datedate will produce the date of the next Sunday % End Obtaining this Sunday's date \newcommand{\ts}{\textsuperscript} %For the 2nd superscript % Set format - landscape, margin size, column size, column separation \usepackage[margin=0.5in,landscape]{geometry} \setlength{\columnsep}{1in} %This needs to be 2 times the margin \setlength{\columnwidth}{10cm} \thispagestyle{empty} %Spacing \ifIsFastSunday \newcommand{\spacing}{0.55cm} \else \newcommand{\spacing}{0.4cm} \fi %Formatting Commands %Handles program sections separated by dots \newcommand{\dottedElement}[2] { \ifthenelse{\equal{#2}{}} {}%Empty {%NotEmpty #1\dotfill#2\\ \vspace\spacing } } %Handles adding hymns \newcommand{\addHymn}[3] { \dottedElement{#1}{#2} \textit#3\\ \vspace{\spacing} } %Add plain heading \newcommand{\addHeading}[1] { #1\\ \vspace{\spacing} } %Decoration \newcommand{\swirl} { % \includegraphics[width=1.75cm, height=0.5cm]{decoritive_swirl.png} } %Front to be mirrored \newcommand{\programFront} { \centering \Huge\addHeading{Happy Valley 1\ts{st} Ward} \normalsize \addHeading{\datedate} %Next Sunday's date - calculated in document \dottedElement{Presiding}{\presiding} \dottedElement{Conducting}{\conducting} \dottedElement{Chorister}{\chorister} \dottedElement{Organist}{\organist} \addHymn{\openingHymnHeader}{\openingHymnNumber}{\openingHymnName} \dottedElement{Invocation}{\invocation} \addHeading{Stake and Ward Business} \addHymn{\sacramentHymnHeader}{\sacramentHymnNumber}{\sacramentHymnName} \textbf{\addHeading{\swirl Administration of the Sacrament\swirl}} %Fast Sunday Toggle \ifIsFastSunday \addHeading{Sharing of Testimonies} \else %These are the items for non-fast Sundays \dottedElement{Speaker}{\speakerOne} \dottedElement{Speaker}{\speakerTwo} \addHymn{\worshipHymnHeader}{\worshipHymnNumber}{\worshipHymnName} \dottedElement{Speaker}{\speakerThree} \dottedElement{Speaker}{\speakerFour} \fi %End Fast Sunday Toggle \addHymn{\closingHymnHeader}{\closingHymnNumber}{\closingHymnName} \dottedElement{Benediction}{\benediction} } %back page spacing \newcommand{\bspacing}{0.3cm} %back page indenting \newcommand{\bindent}{1cm} %back headings \newcommand{\bheading}[1] { \underline{\textbf{#1:}}\\ \vspace{\bspacing} } \newcommand{\addClassAndChapter}[3] { \textbf{#1 (#2)}\\ \vspace{\bspacing} \hspace{\bindent}#3\\ \vspace{\bspacing} } \newcommand{\addClass}[2] { \textbf{#1 (#2)}\\ \vspace{\bspacing} } %Back to be mirrored \newcommand{\programBack} { \raggedright \bheading{SUNDAY SCHOOL CLASS SCHEDULE} \addClassAndChapter{Gospel Principles}{\gospelPrinciplesRoom}{\gospelPrinciplesLesson} \addClassAndChapter{Gospel Doctrine}{\gospelDoctrineRoom}{\gospelDoctrineLesson} \addClass{\classOne}{\classOneRoom} \addClass{\classTwo}{\classTwoRoom} \vspace{\bspacing} \bheading{ANNOUNCEMENTS} % Have to move up slightly \vspace{-\bspacing} \announcementlist } \begin{document} %Adds front then switches to the next column and adds the front again \programFront \vfill\eject \programFront \newpage %Adds back then switches to the next column and adds the back again \programBack \vfill\eject \programBack \end{document}