summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/labels/test/door.tex
blob: 1f590d075523621fcf17dbf089f49e636acfb58f (plain)
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
% LaTeX2e source file for 3.5" by 5" doorcard
%
\documentclass[12pt]{article}
\usepackage{labels}
\LabelInfotrue
\LabelRows=1\LabelCols=1
\LeftBorder=1in\RightBorder=1in
\TopBorder=3.25in\BottomBorder=3.25in
\fboxsep=10pt\fboxrule=2pt
%
% Definitions of door card contents that change every term
%
\def\TERM{Spring  1995}
\def\SCHEDULE{\begin{tabular}{llll}
251-1    & 9:55--10:45      & MWF    & PAB 103\\
251-2    & 11:00-11:50      & MWF    & AEB 320\\
252-1    & 1:10-2:00       & MWF    &  JWB 335\\
OFFICE  & MWF 4:00 & T-TH 5:00 & by appointment
\end{tabular}}
%
% Definitions of door card contents that don't change much
%
\def\NAME{GRANT B. GUSTAFSON}
\def\TITLE{Professor of Mathematics}
\def\PHONE{581--6879. Messages 581--6841 (Secretary)}
\def\EMAIL{InterNet: {\tt gustafson@math.utah.edu}}
%
\begin{document}
\genericlabel{%
\fbox{
\begin{minipage}{5in}
\raggedright \normalsize\sf
\begin{center}
{\Large\bfseries \NAME}\\[5pt]
\TITLE\\[5pt] \TERM\\[5pt] \large\sf\SCHEDULE\\[1em]
\PHONE\\[2pt] \EMAIL
\end{center}
\end{minipage}
}
}
\end{document}