summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/texlive/texlive-en/archive/bvoutln.sty
blob: 92f19fd027b70aefe2f890870da9f46126c3681a (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
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
% extracts of baskerville.cls for use with the tex-live documentation
% when we're producing a bv issue with it.

%  ****************************************
%  *            PAGE LAYOUT               *
%  ****************************************
%
% SIDE MARGINS:
\oddsidemargin -2.5pc \evensidemargin -2.5pc
\marginparwidth      4pc       % don't use marginal notes...
\marginparsep      0.5pc       % ...in the UK TUG newsletter

% VERTICAL SPACING:
\topmargin -3pc
\headheight 12\p@
\headsep    15\p@
\topskip    10\p@
\footskip   15\p@

% DIMENSION OF TEXT:

\textheight        250mm      % height of text on a page (A4 paper)
\textwidth         180mm      % total width of a page
\columnseprule     0.5\p@     % width of line in the inter-column gutter
\columnsep         10mm       % space between columns
\tolerance         9999       % make those columns justify

% FOOTNOTES:
\footnotesep 6\p@
\skip\footins 19.5\p@ plus 12\p@ \@minus 1\p@

% FLOATS:
\floatsep 12\p@ plus 5.5\p@ \@minus 1\p@
\textfloatsep 15\p@ plus 4.5\p@ \@minus 3\p@
\intextsep 12\p@ plus 5.5\p@ \@minus 2\p@
\dblfloatsep 12\p@ plus 5.5\p@ \@minus 2\p@
\dbltextfloatsep 15\p@ plus 4.5\p@ \@minus 3\p@
\@fptop 0\p@ plus 0fil
\@fpsep 12\p@ plus 0fil
\@fpbot 0\p@ plus 3fil
\@dblfptop 0\p@ plus 0fil
\@dblfpsep 12\p@ plus 0fil
\@dblfpbot 0\p@ plus 3fil
\marginparpush 5\p@

%  ****************************************
%  *         TITLES AND ABSTRACT           *
%  ****************************************
%

%% Volume Number (ie Year - 1990)
\def\BASKvol#1{\gdef\BASK@vol{#1}}
\BASKvol{?}

%% Issue Number (ie Month/2, roughly)
\def\BASKno#1{\gdef\BASK@no{#1}}
\BASKno{?}

% Editor, Star form for Guest editor
\def\BASKed{\@ifstar{\BASK@ed{Guest }}{\BASK@ed{}}}
\def\BASK@ed#1#2{\gdef\BASK@editor{#1Editor: #2}}
\BASKed{????????}

%% Year (4 digits)
\def\BASKyear#1{\gdef\thisyear{#1}}
\BASKyear{????}

% Month (as a Word)
\def\BASKmonth#1{\gdef\thismonth{#1}}
\BASKmonth{?????}

\def\makeBSKtitle{\par
 \begingroup
  \vspace*{-\headheight}%
   \@maketitle
   \bigskip\hrule\bigskip
  \thispagestyle{plain}
 \endgroup
 \let\maketitle\relax
 \let\@maketitle\relax
}
\newbox\BSKbox
\def\@maketitle{%
  \centerline{\BASK@titleline}%
  \medskip
  \hbox to \textwidth{\bfseries The Annals of the UK \TeX\ Users
  Group\hfill \BASK@editor\hfill Vol.~\BASK@vol\ No.~\BASK@no}%
  \smallskip\hbox to \textwidth{\bfseries ISSN 1354--5930
  \hfill \thismonth\ \thisyear}%
  \medskip
  \noindent\ignorespaces
  \BASK@headparone}

% The Journal title command.
% You probably only want to change this if you want to use a design-size
% font rather than let \scaletowidth scale for some special issue.
\def\BASKtitle#1{\gdef\BASK@titleline{#1}}
\let\scaletowidth=\resizebox% added by Sean K. Harbour for Textures
\BASKtitle{%
  \fontfamily{mbvx}\bfseries
  \scaletowidth{\textwidth}{!}{% modified by Sean K. Harbour
    B\,a\,s\,k\,e\,r\,v\,i\,l\,l\,e}}


% The first paragraph. Needs to be reset if a special issue used a
% different font set.
\def\BASKheadparone#1{\gdef\BASK@headparone{#1}}
\BASKheadparone{%
This issue of \BV\ is set in \@BASKfonts, and printed on a Xerox Docutech. Production and distribution is
undertaken in Cambridge by Robin Fairbairns. }


\def\BASKfonts#1{\gdef\@BASKfonts{#1}}
\BASKfonts{Monotype Baskerville, with Computer Modern Typewriter for
  literal text}

%
% for \Dings
\RequirePackage{pifont}
%
% available for inter-article dinglines 
%
\def\Dings{\nopagebreak{\footnotesize\dingline{167}}}

%
% hack representation of appendices
\let\BV@@appendix\appendix
\renewcommand{\appendix}{\BV@@appendix
  \renewcommand\@seccntformat[1]{\@ifundefined{@seccnt@##1}%
    {\csname the##1\endcsname\quad}%
    {\csname @seccnt@##1\endcsname}}
  \newcommand\@seccnt@section{Appendix~\thesection~}
}

%
% page styles
%
% \ps@empty defined in LATEX.TEX
%
\def\ps@plain{\let\@mkboth\markboth
 \def\@oddhead{}
 \def\@evenhead{}
 \def\@oddfoot{\rm \hfil --\thepage--\hfil}
 \def\@evenfoot{\rm \hfil --\thepage--\hfil}
}
\def\ps@headings{\let\@mkboth\markboth
 \def\@oddhead{\hfill\emph{\@title}\hfill}
 \def\@oddfoot{\rm \hfil --\thepage--\hfil}
 \def\@evenhead{\it Baskerville \hfill 
                    Volume \BASK@vol, Number \BASK@no}
 \def\@evenfoot{\rm \hfil --\thepage--\hfil}
}

%
% allow setting of pagehead title
\def\title{\@ifnextchar [{\@titletwo}{\@titleone}}
\def\@titletwo[#1]#2{\gdef\@title{#1}\gdef\@longtitle{#2}}
\def\@titleone#1{\gdef\@title{#1}\gdef\@longtitle{#1}}

%
% more exciting page parameters
\@twosidetrue
\pagestyle{headings}

\providecommand{\ukt}{UK \acro{TUG}}

\newcommand{\standardtitles}{%
  \def\section{%\typeout{** section!}%
    \@startsection {section}{1}{\z@}
    {-12\p@ \@plus -6\p@ \@minus -.1\p@}
    {6\p@}
    {\raggedright\large\bfseries}}
  \def\subsection{\@startsection{subsection}{2}{\z@}
    {-4\p@ \@plus -2\p@ \@minus -.1\p@}
    {0.1\p@ \@plus 2\p@}
    {\raggedright\normalsize\itshape}}
  \def\subsubsection{\@startsection{subsubsection}{3}{\z@}
    {-6\p@ \@plus -3\p@ \@minus -1\p@}
    {0.1\p@ \@plus 2\p@}
    {\raggedright\normalsize\it}}
  \def\paragraph{\@startsection{paragraph}{4}{\z@}
    {12\p@ \@plus 2.25\p@ \@minus -1\p@}
    {-0.5em}
    {\normalsize\bfseries}}
  \def\subparagraph{\@startsection{subparagraph}{5}{\z@}
    {12\p@ \@plus 2.25\p@ \@minus 1\p@}
    {-0.5em}
    {\normalsize\it}}
  \setcounter{secnumdepth}{-1}
}

\endinput