summaryrefslogtreecommitdiff
path: root/usergrps/uktug/baskervi/6_2/tub-bits.sty
diff options
context:
space:
mode:
Diffstat (limited to 'usergrps/uktug/baskervi/6_2/tub-bits.sty')
-rw-r--r--usergrps/uktug/baskervi/6_2/tub-bits.sty23
1 files changed, 23 insertions, 0 deletions
diff --git a/usergrps/uktug/baskervi/6_2/tub-bits.sty b/usergrps/uktug/baskervi/6_2/tub-bits.sty
new file mode 100644
index 0000000000..294d07bd44
--- /dev/null
+++ b/usergrps/uktug/baskervi/6_2/tub-bits.sty
@@ -0,0 +1,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}