diff options
Diffstat (limited to 'info/latex-doc-ptr/dash.sty')
-rw-r--r-- | info/latex-doc-ptr/dash.sty | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/info/latex-doc-ptr/dash.sty b/info/latex-doc-ptr/dash.sty new file mode 100644 index 0000000000..3654dd2d69 --- /dev/null +++ b/info/latex-doc-ptr/dash.sty @@ -0,0 +1,11 @@ +% Dash code stolen from tugboat.dtx +\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} |