summaryrefslogtreecommitdiff
path: root/macros/latex209/contrib/misc/dblitem.sty
blob: 778f5fae679585106d6d7fed14eeada74e7fd0d7 (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
\topmargin -.5in
\oddsidemargin -.1in
\textheight 8.9in
\textwidth 6.5in
\overfullrule=0pt
\def\header#1#2{\parindent0em {#1 \hfill #2} \vskip.2in \parindent1.7em}
\def\@oddfoot{\rm SYNCH User's Guide \hfil \thepage \hfil \today} 
\def\section{\@startsection {section}{1}{\z@}{+3.5ex plus +1ex minus
    +.2ex}{2.3ex plus .2ex}{\normalsize\rm}}
\def\nbrlineone{\par\smallskip \noindent
\verb=----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8= \\}
\def\nbrlinetwo{\verb=----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8= \\ }
\def\char{{\sf (CHAR) }}
\def\int{{\sf (INTEGER) }}
\def\flpt{{\sf (FL PT) }}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                                                                 %
%	Macros for "double items"                                 %
%	Modified version of \item macro and context on            %
%       p. 355 of TeXBook                                         %
%                                                                 %
%	Norman J. Richert	March 1990                        %
%	Univ. of Houston-Clear Lake                               %
%       e-mail:  richert@cl.uh.edu                                %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\newskip\dblskip		% Box register w/dblskip width
\dblskip=5pc			% Dblskip width of 6 picas
\newskip\firstdbl		% Box register w/firstdbl width
\firstdbl=4pc			% Firstdbl width of 4 picas
\newskip\seconddbl		% Box register w/seconddbl width
\seconddbl=2pc			% Seconddbl width of 1 picas
\def\dblhang{\hangindent\dblskip}	% Indent width of dblskip
\def\dbltextindent#1#2{\noindent\hskip\dblskip 				
				% No indent, horiz. skip of dblskip
\llap{\hbox to\dblskip{\hbox to\firstdbl{#1\hfil}%
				% left lap with 2 hbox spreads to arg1
\hbox to \seconddbl{#2\hfil}}}\ignorespaces}
				% hbox spread to arg2
\def\dblitem{\vskip6pt\dblhang\dbltextindent}
\def\dblitemi{\vskip-.1pc\dblhang\dbltextindent}
				% Definition of dblitem 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%