~ubuntu-branches/debian/wheezy/texlive-extra/wheezy

« back to all changes in this revision

Viewing changes to texmf-dist/tex/latex/geomsty/geombk10.sty

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Preining
  • Date: 2009-01-15 09:56:54 UTC
  • mfrom: (1.3.1 upstream) (11.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20090115095654-71ev5rcx4pi5loe1
Tags: 2007.dfsg.15-1
upgrade bibleref to version from upstream which changes the license
to LPPL (Closes: #511843) RC->medium

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
% $Header: /u/levy/texts/geombook/RCS/geombk10.sty,v 1.2 1993/12/21 05:16:58 levy Exp levy $
2
 
 
3
 
%
4
 
% This is the geom style bk10 file, by Silvio Levy.
5
 
% It contains modifications to bk10.sty of <24 Nov 89>.
6
 
%
7
 
% \typeout{Reading geombk10.sty $Revision: 1.2 $ (changes to bk10.sty)}
8
 
 
9
 
% make the \parsep 0pt
10
 
 
11
 
\def\small{\@setsize\small{11pt}\ixpt\@ixpt
12
 
  \abovedisplayskip 8pt plus 2pt minus 4pt%
13
 
  \belowdisplayskip \abovedisplayskip
14
 
  \abovedisplayshortskip \z@ plus 1pt%
15
 
  \belowdisplayshortskip 4pt plus 2pt minus 2pt
16
 
  \def\@listi{\leftmargin\leftmargini %% Added 22 Dec 87
17
 
  \parsep 0pt
18
 
  \topsep 4pt plus 2pt minus 2pt
19
 
  \itemsep 2pt plus 1pt minus 1pt}}
20
 
 
21
 
\def\footnotesize{\@setsize\footnotesize{9.5pt}\viiipt\@viiipt
22
 
  \abovedisplayskip 7.2pt plus 2pt minus 4pt%
23
 
  \belowdisplayskip \abovedisplayskip
24
 
  \abovedisplayshortskip \z@ plus 1pt%
25
 
  \belowdisplayshortskip 4pt plus 2pt minus 2pt
26
 
  \def\@listi{\leftmargin\leftmargini %% Added 22 Dec 87
27
 
  \parsep 0pt
28
 
  \topsep 4pt plus 2pt minus 2pt
29
 
  \itemsep 2pt plus 1pt minus 1pt}}
30
 
 
31
 
% Make chapter and section heads less huge 
32
 
 
33
 
\let\chapheadsize=\LARGE
34
 
\let\huge=\Large
35
 
\let\Large=\large
36
 
 
37
 
% Increase the page size 
38
 
 
39
 
\textwidth 5.5in \oddsidemargin .6in \evensidemargin .4in 
40
 
 
41
 
\textheight = 44\baselineskip \advance\textheight by \topskip \topmargin -.25in
42
 
 
43
 
% Increase the parindent
44
 
 
45
 
\parindent 20pt 
46
 
 
47
 
% Extra vertical space, in addition to 
48
 
% \parskip and \topsep, added when user
49
 
% leaves blank line before environment.
50
 
% (Changed from 3 +2 -2)
51
 
 
52
 
\partopsep 2pt plus 1pt minus 1pt 
53
 
 
54
 
% Replaced \Huge by \chapheadsize, added +10pt at end
55
 
 
56
 
\def\@makechapterhead#1{             % Heading for \chapter command
57
 
  \vspace*{50pt}                     % Space at top of text page.
58
 
  { \parindent 0pt \raggedright 
59
 
    \ifnum \c@secnumdepth >\m@ne     % IF secnumdepth > -1 THEN
60
 
      \huge\bf \@chapapp{} \thechapter % Print 'Chapter' and number.
61
 
      \par 
62
 
      \vskip 20pt \fi                  % Space between number and title.
63
 
    \chapheadsize \bf                        % Title.
64
 
    #1\par 
65
 
    \nobreak                         % TeX penalty to prevent page break.
66
 
    \vskip 40pt plus 10 pt           % Space between title and text.
67
 
  } }
68
 
 
69
 
\def\@makeschapterhead#1{             % Heading for \chapter* command
70
 
  \vspace*{50pt}                     % Space at top of page.
71
 
  { \parindent 0pt \raggedright 
72
 
    \chapheadsize \bf                        % Title.
73
 
    #1\par 
74
 
    \nobreak                         % TeX penalty to prevent page break.
75
 
    \vskip 40pt plus 10pt            % Space between title and text.
76
 
  } }
77
 
 
78
 
% Don't skip page if proofing
79
 
 
80
 
\def\chapter{\ifproofing\clearpage\else\cleardoublepage\fi 
81
 
   \thispagestyle{chapter}   % Page style of chapter page is 'plain'
82
 
   \global\@topnum\z@        % Prevents figures from going at top of page.
83
 
   \@afterindentfalse        % Suppresses indent in first paragraph.  Change
84
 
   \secdef\@chapter\@schapter}   % to \@afterindenttrue to have indent.
85
 
 
86
 
% Define \object@type
87
 
% stepcounter section so subsidiary counters (e.g. theorems) get reset
88
 
% don't \typeout
89
 
% mess with \addcontentsline
90
 
% no need for \protect before \addvspace
91
 
% automatic label
92
 
 
93
 
\def\@chapter[#1]#2{%
94
 
 \ifnum \c@secnumdepth >\m@ne \def\object@type{chapter}
95
 
 \refstepcounter{section}\refstepcounter{chapter}
96
 
       \def\@tempa{\addcontentsline{toc}{chapter}}%
97
 
       \edef\@tempb{\noexpand\numberline{\thechapter}}%
98
 
       \expandafter\@tempa\expandafter{\@tempb #1}%
99
 
 \else\addcontentsline{toc}{chapter}{#1}\fi
100
 
 \chaptermark{#1}%
101
 
 \addtocontents{lof}{\addvspace{10pt}}
102
 
 \addtocontents{lot}{\addvspace{10pt}} 
103
 
 \if@twocolumn \@topnewpage[\@makechapterhead{#2}]%
104
 
  \else \@makechapterhead{#2}\@afterheading \fi
105
 
 \ifautolabel\label*{#2}\fi}
106
 
 
107
 
% add mark and table of contents line
108
 
 
109
 
\def\@schapter#1{%
110
 
 \schaptermark{#1}
111
 
 \ifstarredcontents\addcontentsline{toc}{chapter}{#1}\fi
112
 
 \addtocontents{lof}{\addvspace{10pt}}
113
 
 \addtocontents{lot}{\addvspace{10pt}} 
114
 
 \if@twocolumn \@topnewpage[\@makeschapterhead{#1}]
115
 
  \else \@makeschapterhead{#1}\@afterheading\fi}
116
 
 
117
 
% Normalize according to \parindent
118
 
 
119
 
\leftmargini\parindent
120
 
\listparindent .8\parindent
121
 
\leftmarginii .8\parindent
122
 
\leftmarginiii .8\parindent
123
 
\leftmarginiv .8\parindent
124
 
\leftmarginv .8\parindent
125
 
\leftmarginvi .8\parindent
126
 
\leftmargin\leftmargini
127
 
\labelwidth\leftmargini\advance\labelwidth-\labelsep
128
 
 
129
 
% Make \parsep 0
130
 
 
131
 
\def\@listI{\leftmargin\leftmargini
132
 
  \topsep 6pt plus 3pt minus 3pt
133
 
  \itemsep 3pt plus 2pt minus \p@
134
 
  \parsep \z@}
135
 
\let\@listi\@listI
136
 
\@listi 
137
 
 
138
 
\def\@listii{\leftmargin\leftmarginii
139
 
 \labelwidth\leftmarginii\advance\labelwidth-\labelsep
140
 
 \topsep 5pt plus 2.5pt minus \p@
141
 
 \itemsep 2.5pt plus \p@ minus \p@
142
 
 \parsep \z@}
143
 
 
144
 
\def\@listiii{\leftmargin\leftmarginiii
145
 
 \labelwidth\leftmarginiii\advance\labelwidth-\labelsep
146
 
 \topsep 2.5pt plus \p@ minus \p@ 
147
 
 \parsep \z@ \partopsep \p@ plus \z@ minus \p@
148
 
 \itemsep \topsep}
149
 
 
150
 
% $Log: geombk10.sty,v $
151
 
%Revision 1.2  1993/12/21  05:16:58  levy
152
 
%corrected \footnotesize
153
 
%
154
 
%Revision 1.1  92/07/11  22:35:33  levy
155
 
%Initial revision
156
 
%
157