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