Debian Codegraph @

texmf-dist/doc/latex/labels/test/door.tex

raw
1 % LaTeX2e source file for 3.5" by 5" doorcard
2 %
3 \documentclass[12pt]{article}
4 \usepackage{labels}
5 \LabelInfotrue
6 \LabelRows=1\LabelCols=1
7 \LeftBorder=1in\RightBorder=1in
8 \TopBorder=3.25in\BottomBorder=3.25in
9 \fboxsep=10pt\fboxrule=2pt
10 %
11 % Definitions of door card contents that change every term
12 %
13 \def\TERM{Spring 1995}
14 \def\SCHEDULE{\begin{tabular}{llll}
15 251-1 & 9:55--10:45 & MWF & PAB 103\\
16 251-2 & 11:00-11:50 & MWF & AEB 320\\
17 252-1 & 1:10-2:00 & MWF & JWB 335\\
18 OFFICE & MWF 4:00 & T-TH 5:00 & by appointment
19 \end{tabular}}
20 %
21 % Definitions of door card contents that don't change much
22 %
23 \def\NAME{GRANT B. GUSTAFSON}
24 \def\TITLE{Professor of Mathematics}
25 \def\PHONE{581--6879. Messages 581--6841 (Secretary)}
26 \def\EMAIL{InterNet: {\tt [email protected]}}
27 %
28 \begin{document}
29 \genericlabel{%
30 \fbox{
31 \begin{minipage}{5in}
32 \raggedright \normalsize\sf
33 \begin{center}
34 {\Large\bfseries \NAME}\\[5pt]
35 \TITLE\\[5pt] \TERM\\[5pt] \large\sf\SCHEDULE\\[1em]
36 \PHONE\\[2pt] \EMAIL
37 \end{center}
38 \end{minipage}
39 }
40 }
41 \end{document}