summaryrefslogtreecommitdiff
path: root/usergrps/uktug/baskervi/6_2/tub-bits.sty
blob: 294d07bd44eea6b53a517205f2902bae8397460c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
% 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}\@}

\renewcommand\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}