I need to produce a club Roster. I was going to use the {labels} package, which permits reading an external file and formatting labels for the roster pages very well. I had that all worked out. Problem: I have to put a header on either every page or the odd pages. \usepackage{labels} and \usepackage{fancyhdr} do not seem to work together, even though the labels package documentation suggests using it for just what I want. Just putting those 2 packages into the preamble destroys the header. It appears that the labels package will always overwrite the header.
Also, I have investigated building my labels with a tabular environment. Possible, but the lack of newline in a tabular environment has caused me to look everywhere before reinventing the wheel. If this isn't clear enough, I can provide a MWE but it isn't the shortest one ever. There is also an older pkg called EnvLab. I couldn't tell if it would make pages of labels with a header or not.
Requirements:
- Paper size must be 5.5 x 8 inches, printed both sides and intended for booklet. Actual photocopy paper is 5.5 x 8 pre-cut. Printer will print both sides
- Every right side page except the title page will have a header containing a logo and the club name(like a banner across the top of the page)
- Every page except the title page will have a page number.
- It will have a title page
- Officers Page - 8 names with linked email addresses.
- Many pages of members, 6 per page organized in 2 columns - exactly like mailing labels. Each pair of members is alloted about 13 lines(rows).
- A list sorted by boat names - these are not labels
- A list sorted by Marina names - these are not labels
\documentclass{article}
\usepackage{parskip}
\usepackage{tgtermes} %The TeX Gyre Termes family of fonts is based on the Nimbus Roman family, but heavily extended. Math support is available in OpenType format.
\usepackage[T1]{fontenc} %for unicode
\usepackage[utf8]{inputenc}
\usepackage[paperwidth=5.5in,paperheight=8in, top=25mm
, left=20mm]{geometry} %for paper size
\usepackage{xcolor}
\usepackage{graphicx}
\definecolor{navy}{RGB}{0,0,150}
\definecolor{green}{RGB}{0, 150, 0}
\usepackage[colorlinks=false,
allbordercolors={0 0 1},
pdfborderstyle={/S/U/W 1}]{hyperref}
\usepackage{fancyhdr}
\setlength{\headheight}{33pt}
\pagestyle{fancy}
\fancyhf{} %clear header and footer
\chead{\scalebox{1.5}{ \raisebox{2.5mm}{\color{navy}{Great Sailing Association}}}}
\lhead{\includegraphics[width=1.5cm]{Swedish_Flag.png}}
\rhead{\scalebox{1.5}{ \raisebox{2.5mm}{\color{navy}{\thepage}}}}
\usepackage{setspace} %needed for double spacing officers
\renewcommand{\familydefault}{\sfdefault} %sans serif
\usepackage{helvet}
%DISABLE THIS PACKAGE TO SEE ALL ELSE WORKING
\usepackage[newdimens]{labels}
%\LabelGridtrue
\LabelCols=2%Number of columns of labels per page
\LabelRows=3%Number of rows of labels per page
\LeftPageMargin=.5in% Gutter
\RightPageMargin=.5in%
\InterLabelRow=0.1in% Gap between rows of labels
\TopPageMargin=25mm%
\BottomPageMargin=5mm%
\InterLabelColumn=5mm% Gap between columns of labels
%%%%%%%%%%%%%%%%%%%%%% Start of the document %%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\begin{titlepage}
\thispagestyle{empty}
\setcounter{page}{0}
\begin{center}
\rmfamily
\vspace*{4\baselineskip}
\includegraphics[width=4cm]{Swedish_Flag.png}
\vspace{2\baselineskip}
\scalebox{8}{\color{navy}{GSA}}
\vspace*{1\baselineskip}
\scalebox{8}{\color{navy}{Roster}}
\vspace*{\fill}
{\scalebox{2}{\color{navy}{May 2021}}}
\end{center}
\end{titlepage}
%\vspace{4\baselineskip}
\begin{center}
\textbf{\textcolor{blue}{\LARGE{}Officers}}
\vspace{1\baselineskip}
\end{center}
{\Large{}Commodore: \href{http://email@gmail.com}{\textcolor{navy}{Adam One}}}
\vspace*{1\baselineskip}
{\Large{}Past Commodore: \href{http://email@gmail.com}{\textcolor{navy}{Adam Two}}}
\vspace*{1\baselineskip}
{\Large{}Vice Commodore: \href{http://email@gmail.com}{\textcolor{navy}{Robert Three}}}
\vspace*{1\baselineskip}
{\Large{}Rear Commodore: \href{http://email@gmail.com}{\textcolor{navy}{Tony Four}}}
\vspace*{1\baselineskip}
{\Large{}Treasurer: \href{http://email@gmail.com}{\textcolor{navy}{Billy Jack}}}
\vspace*{1\baselineskip}
{\Large{}Portsmouth Captain: \href{http://email@gmail.com}{\textcolor{navy}{David Six}}}
\vspace*{1\baselineskip}
{\Large{}PHRF Captain: \href{http://email@gmail.com}{\textcolor{navy}{Sarah Seven}}}
\vspace*{1\baselineskip}
{\Large{}Secretary: \href{http://email@gmail.com}{\textcolor{navy}{Laura Eight}}}
\vspace*{1\baselineskip}
{\Large{}Senior Member: \href{http://email@gmail.com}{\textcolor{navy}{Evelyn Nine}}}
\pagebreak
{\Large{}Just another page}
\vspace*{1\baselineskip}
{\Large{}With Two Lines. It should have a header too. But doesn't}
\pagebreak
\begin{labels}
Ann P Adams
1200 Pine Heights Ave.
Metropolis, TX 21229
Cell: 410-111-3990c
emailaddr@gmail.com
Joined: 1990
Richard & Sandra Allen III
2120 Tred Avon Rd.
Metropolis, TX 21221
Home: 410-111-3069
Cell: 410-111-6407c
emailaddr@gmail.com
Marina: Home
Boat: DRAGON LADY
Type: Vagabond 47
Joined: 2006
Matthew & Mary Beaty
13406 Blythenia Rd.
Phoenix, MD 21131
Home: 443-111-6474
Work: 443-111-6474
Cell: 443-111-6474c
emailaddr@gmail.com
Joined: 1986
Chris Bero
5020 Shetland Ct
Metropolis, PA 17050
Home: 717-111-1338
Work: 717-111-1929 x247
Cell: 717-111-0458
emailaddr@gmail.com
email2@gmail.com
Marina: Bowleys Marina
Boat: SEOUL MATES
Type: Hunter 36
Joined: 2015
Barry Bilson
3617 Bay Drive
Metropolis, TX 21220
Home: 410-111-0207
Cell: 410-111-1568c
emailaddr@gmail.com
Marina: Bowleys Marina
Boat: EXPRESSWAVE
Type: Express 30
Joined: 1982
Gregory & Donna Bincarowsky
2751 Druck Valley Rd.
Metropolis, PA 17406
Work: 717-111-2234
Cell: 717-111-8681c
emailaddr@gmail.com
Marina: Magothy River
Boat: CHAMPAGNE
Type: Catalina 34
Joined: 2004
Joe & Elaine Borrison
4 Lantern Circle
Parkton, MD 21120
Home: 410-111-9449
Cell: 410-111-5151
emailaddr@gmail.com
Marina: Private Mooring
Boat: TIPSY TURTLE
Type: IC24
Joined: 2017
Brian Bashears
2122 Rosalie Ave
Metropolis, MD 21221
Home: 410-111-5356
Cell: 410-111-5356
emailaddr@gmail.com
Marina: Home
Joined: 2020
Tom & Alma Brown
122 Union Rd.
Metropolis, PA 19320
Home: 610-111-1372
Cell: 484-111-4825c
emailaddr@gmail.com
Marina: Bowleys Marina
Boat: ORIONS CHILD
Type: Hunter 33.5
Joined: 2001
Tom & Joann Calvert
115 Shetland Hills Dr.
Metropolis, TX 21093
Home: 410-111-9275
Work: 410-111-4788
Cell: 443-111-5360
emailaddr@gmail.com
Marina: Windy Hill Marina
Boat: STILL a GORILLA
Type: S-2 9.1
Joined: 1977
Chris Carrino
112 Bridgewater Dr
Metropolis, PA 18938
Home: 202-111-3683
emailaddr@gmail.com
Marina: Bowleys Marina
Boat: LEAPFROG
Type: J 30
Joined: 2019
Ed & Gloria Cilumbrello
1306 3rd Road
Metropolis, TX 21220
Home: 410-111-2181
Work: 410-111-3060
Cell: 410-111-2181c
emailaddr@gmail.com
Marina: Wilson Point Mens Club
Boat: CARROT
Type: Mull 46 Custom
Joined: 1985
\end{labels}
%%%%%%%%%%%%%% End of the document contents %%%%%%%%%%%%%%%%%%%
\end{document}
