diff options
author | Karl Berry <karl@freefriends.org> | 2008-04-29 17:17:47 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2008-04-29 17:17:47 +0000 |
commit | 1cd62a262eb0789c37a72a517c82fe276b360e6f (patch) | |
tree | a3e1a63840670fb586278da80ea47b0e7413c1e9 /Master/texmf-dist/tex/latex/dashrule | |
parent | b0848e696cbfe0fe258b59ec13d7ba5db493cb05 (diff) |
dashrule update (28apr08)
git-svn-id: svn://tug.org/texlive/trunk@7721 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/dashrule')
-rw-r--r-- | Master/texmf-dist/tex/latex/dashrule/dashrule.sty | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/Master/texmf-dist/tex/latex/dashrule/dashrule.sty b/Master/texmf-dist/tex/latex/dashrule/dashrule.sty index 826407dd13b..bc0d0919d0e 100644 --- a/Master/texmf-dist/tex/latex/dashrule/dashrule.sty +++ b/Master/texmf-dist/tex/latex/dashrule/dashrule.sty @@ -8,21 +8,21 @@ %% %% This is a generated file. %% -%% Copyright (C) 2001 Scott Pakin <pakin@uiuc.edu> -%% ------------------------------------------------------- +%% Copyright (C) 2008 by Scott Pakin <scott+dash@pakin.org> +%% +%% This file may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License, either version 1.3c of this license +%% or (at your option) any later version. The latest version of this +%% license is in: %% -%% This package may be distributed and/or modified under the -%% conditions of the LaTeX Project Public License, either version 1.2 -%% of this license or (at your option) any later version. -%% The latest version of this license is in %% http://www.latex-project.org/lppl.txt -%% and version 1.2 or later is part of all distributions of LaTeX -%% version 1999/12/01 or later. %% -%% File: dashrule.dtx Copyright (C) 2001 Scott Pakin <pakin@uiuc.edu> -\NeedsTeXFormat{LaTeX2e} +%% and version 1.3c or later is part of all distributions of LaTeX +%% version 2006/05/20 or later. +%% +\NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesPackage{dashrule} - [2001/04/23 v1.00 Dashed rules (SDP)] + [2008/04/27 v1.1 Dashed rules] \def\hdr@do@rule[#1]#2#3{% \rule[#1]{#2}{#3}% \let\hdr@do@something=\hdr@do@skip @@ -36,10 +36,10 @@ \ifx#1!% \else \addtocounter{hdr@segments}{1}% - \expandafter\hdr@tally@segments% + \expandafter\hdr@tally@segments \fi } -\DeclareRobustCommand{\hdashrule}{\@testopt{\hdashrule@i}{0pt}} +\DeclareRobustCommand{\hdashrule}{\mbox{}\@testopt{\hdashrule@i}{0pt}} \def\hdashrule@i[#1]{\@testopt{\hdashrule@ii[#1]}\empty} \def\hdashrule@ii[#1][#2]#3#4#5{% \let\hdr@do@something=\hdr@do@rule @@ -47,20 +47,20 @@ \ifx##1!% \else \hdr@do@something[#1]{##1}{#4}% - \expandafter\hdr@parse@dash% + \expandafter\hdr@parse@dash \fi }% \setcounter{hdr@segments}{0}% \hdr@tally@segments#5 ! \ifodd\c@hdr@segments - \csname#2leaders\endcsname% + \csname#2leaders\endcsname \hbox{\hdr@parse@dash#5 #5 ! }% \hskip#3\relax \else - \csname#2leaders\endcsname% + \csname#2leaders\endcsname \hbox{\hdr@parse@dash#5 ! }% \hskip#3\relax - \fi% + \fi } \endinput %% |