summaryrefslogtreecommitdiff
path: root/macros/latex209/contrib/bigsign/bigsign.doc
blob: 7289623031da93fd3acbde762b92cf4c5537def2 (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
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
\def\fileversion{v1.0a}
\def\filedate{92/09/04}
\def\docdate{92/09/04}

%% \CheckSum{37}
%% \CharacterTable
%%  {Upper-case    \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%%   Lower-case    \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
%%   Digits        \0\1\2\3\4\5\6\7\8\9
%%   Exclamation   \!     Double quote  \"     Hash (number) \#
%%   Dollar        \$     Percent       \%     Ampersand     \&
%%   Acute accent  \'     Left paren    \(     Right paren   \)
%%   Asterisk      \*     Plus          \+     Comma         \,
%%   Minus         \-     Point         \.     Solidus       \/
%%   Colon         \:     Semicolon     \;     Less than     \<
%%   Equals        \=     Greater than  \>     Question mark \?
%%   Commercial at \@     Left bracket  \[     Backslash     \\
%%   Right bracket \]     Circumflex    \^     Underscore    \_
%%   Grave accent  \`     Left brace    \{     Vertical bar  \|
%%   Right brace   \}     Tilde         \~}
%%
%
%\iffalse   % this is a METACOMMENT !
%% Style-option `bigsign' to use with LaTeX v2.09
%% Copyright (C) 1991, 1992 by Anselm Lingnau, all rights reserved.
%
% Copying of this file is authorized only if either
% (1) you make absolutely no changes to your copy, including name, or
% (2) if you do make changes, you name it something other than
%     bigsign.doc.
% This restriction helps ensure that all styles developed here
% remain identical.
%\fi
%
% \DoNotIndex{\@ifundefined,\@spaces,\baselineskip,\begin,\docdate,\end}
% \DoNotIndex{\endinput,\filedate,\fileversion,\newcommand,\newenvironment}
% \DoNotIndex{\newfont,\pagestyle,\relax,\wlog}
%
% \title{Big Signs: A Quickie\thanks{%
%        This file has version number \fileversion{} dated \filedate.
%        The documentation was last revised on \docdate.
%       }}
% \def\rtitlex{Big Signs: A Quickie (\fileversion)}
% \thispagestyle{plain}
%
% \author{Anselm Lingnau}
% \address{Buchenweg 1\\
%         D-6239 Eppstein\\
%         Federal Republic of Germany}
% \netaddress[\network{Internet}]{lingnau@math.uni-frankfurt.de}
%
% \date{September 4, 1992}
%
% \maketitle
%
% \begin{abstract}
%   With this style option one can easily create big signs
%   for showing directions and the like.
%   ``Portrait'' and ``landscape'' signs are supported.
%   This style option needs Hubert Partl's {\tt portland} style.
% \end{abstract}
%
% \section{Introduction}
%
% Our University's yearly ``Open House'' day will take place tomorrow,
% and my boss is going to give his famous talk on supercomputers.
% Of course we need some signs to guide the audience to the lecture theater,
% and I volunteered (sort of) to help create these signs.
%
% This is what came out of it, and I thought I might as well write it up.
% Maybe it'll come in useful to somebody somewhere sometime. Remember
% that I'm basically shooting from the hip here, so no flames please.
% (Constructive criticism will, as always, be gladly accepted.)
%
% To use this style option, you need Dr.\ Hubert Partl's {\tt portland}
% style, available from a good server near you. A printer that can actually
% print landscape is necessary for genuine landscape signs. Also, you will
% need a working \MF\ installation to create the huge fonts that this style
% insists on using.
% 
% \section{The User Interface}
%
% The {\tt bigsign} style option revolves around two environments,
% {\tt signl} and {\tt signp}. The former is for making landscape signs,
% the latter for signs in portrait format. The signs will be printed in a
% rather huge version of Computer Modern Sans Serif Demibold Condensed
% ({\tt cmssdc10}) which we found quite readable even from a distance.
%
% There's probably no need to examine all the commands and environments
% (the four of them) individually. Here's a simple example of a complete
% sign:
% \begin{verbatim}
% \documentstyle[a4,portland,bigsign]{article}
% \begin{document}
%   \begin{signl}
%   Department of Mathematics\\
%   Open House\\
%   \vspace{\fill}
%   {\Giant Room 110\\}
%   \vspace{\fill}
%   \end{signl}
% \end{document}
% \end{verbatim}
% As you can see, liberal use of \verb|\vspace{\fill}|s is encouraged.
% The {\tt signl} and {\tt signp} environments start out using the
% \verb|\Medium| font, namely {\tt cmssdc10} at 50~points.
% The \verb|\Giant| font is {\tt cmssdc10} at 100~points.
%
% Note that you will have to take care of switching your printer to
% landscape mode for this document. It is possible to hack {\tt portland.sty}
% to do this automatically, see its documentation.
%
% \StopEventually{\makesignature\PrintIndex}
%
% \section{The Implementation}
%
% As usual, the file identifies itself in the log file.
% But only if this file's macros aren't yet defined.
%    \begin{macrocode}
\@ifundefined{signl}{}{\endinput}
\wlog{Style-Option: `bigsign' \fileversion \space <\filedate>  (AL)}
\wlog{English Documentation \@spaces \@spaces <\docdate>  (AL)}
%    \end{macrocode}
% First of all, we must define the fonts that this style will be using.
% Use \MF\ to create the fonts themselves if you need to; at our installation
% the output drivers automagically take care of that.
%    \begin{macrocode}
\newfont{\fMedium}{cmssdc10 at50pt}
\newfont{\fGiant}{cmssdc10 at100pt}
%    \end{macrocode}
% \begin{macro}{\Medium} \begin{macro}{\Giant}
% Now we define commands to switch over to the fonts we just loaded.
% There's a hard-coded baselineskip here which of course depends on the font.
% This is not pretty but workable. I would have liked to use \verb|\Large|
% or \verb|\Huge| in place of \verb|\Giant|, but these were already taken.
%    \begin{macrocode}
\newcommand{\Medium}{\fMedium\baselineskip60pt\relax}
\newcommand{\Giant}{\fGiant\baselineskip120pt\relax}
%    \end{macrocode}
% \end{macro} \end{macro}
% \begin{macro}{signl} \begin{macro}{signp}
% And now for the environments. These are actually quite straightforward,
% switching to the appropriate page format and enabling centering
% before moving to the \verb|\Medium| font.
%    \begin{macrocode}
\newenvironment{signl}{\begin{landscape}\begin{center}\Medium}%
    {\end{center}\end{landscape}}
\newenvironment{signp}{\begin{portrait}\begin{center}\Medium}%
    {\end{center}\end{portrait}}
%    \end{macrocode}
% \end{macro} \end{macro}
% One usually doesn't need page numbers on signs. That's why we're switching
% them off here.
%    \begin{macrocode}
\pagestyle{empty}
%    \end{macrocode}
% That's all there is to it!
% Arrows at the appropriate size would be nice, too. Well, not now.
% Maybe some other time
% I'll feel like fooling around with \MF\ for a bit\dots
%
% \section{Acknowledgment}
%
% Thanks to Volker Kurz for helping with the fine tuning.
% \Finale
\endinput