summaryrefslogtreecommitdiff
path: root/usergrps/uktug/baskervi/6_3/tub-bits.sty
blob: 154abf2999b50dac99cce7c14edff0cd2ae8eef8 (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
% This is a package containing things that are provided by the TUGboat
% macros; use of these things ought to make the transition to a
% TUGboat paper easier than one might otherwise fear...
%\setcounter{errorcontextlines}{999}
%\RequirePackage{relsize}

%\DeclareRobustCommand\acro[1]{\textsmaller{#1}\@}

%changed from newcommand to providecommand, because of problems. CRH.
%\providecommand\CTAN{\acro{CTAN}}
%\providecommand\UKTUG{\acro{UK\,TUG}}

% Ye merry dashes; the code here may look horrible, but the results
% aren't bad...
\def\thinskip{\hskip 0.16667em\relax}
\def\endash{--}
\def\emdash{\endash-}
\def\d@sh#1#2{\unskip#1\thinskip#2\thinskip\ignorespaces}
\def\dash{\d@sh\nobreak\endash}
\def\Dash{\d@sh\nobreak\emdash}
\def\ldash{\d@sh\empty{\hbox{\endash}\nobreak}}
\def\rdash{\d@sh\nobreak\endash}
\def\Ldash{\d@sh\empty{\hbox{\emdash}\nobreak}}
\def\Rdash{\d@sh\nobreak\emdash}