CTAN Comprehensive TeX Archive Network

Direc­tory macros/latex/contrib/dashrule

               |   DASHRULE: Dashed rules in LaTeX    |
               | By Scott Pakin, scott+dash@pakin.org |


The dashrule package makes it easy to draw a huge variety of dashed
rules (i.e., lines) in LaTeX.  dashrule provides a command,
\hdashrule, which is a cross between LaTeX's \rule and PostScript's
setdash command.  \hdashrule draws horizontally dashed rules using the
same syntax as \rule, but with an additional, setdash-like parameter
that specifies the pattern of dash segments and the space between
those segments.  Because dashrule's rules are constructed internally
using \rule (as opposed to, e.g., PostScript \specials) they are fully
compatible with every LaTeX back-end processor.


There's nothing special about building dashrule:

    latex dashrule.ins     <== Generate dashrule.sty
    latex dashrule.dtx     <== Produce the documentation (dashrule.dvi)
    makeindex -s gind.ist dashrule    <== Generate an index
    latex dashrule.dtx     <== Incorporate the index into the document

If you're new to this, see
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=instpackages for more
information on installing packages.

Copyright and license

Copyright (C) 2013 Scott Pakin, scott+dash@pakin.org

This package 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:


and version 1.3c or later is part of all distributions of LaTeX version
2006/05/20 or later.

Down­load the con­tents of this pack­age in one zip archive (233.5k).

dashrule – Draw dashed rules

The dashrule pack­age makes it easy to draw a huge va­ri­ety of dashed rules (i.e., lines) in . dashrule pro­vides a com­mand, \hdashrule, which is a cross be­tween 's \rule and PostScript's set­dash com­mand. \hdashrule draws hor­i­zon­tally dashed rules us­ing the same syn­tax as \rule, but with an ad­di­tional, set­dash-like pa­ram­e­ter that spec­i­fies the pat­tern of dash seg­ments and the space be­tween those seg­ments. Be­cause dashrule's rules are con­structed in­ter­nally us­ing \rule (as op­posed to, e.g., PostScript \spe­cials) they are fully com­pat­i­ble with ev­ery back-end pro­ces­sor.

Li­censesThe Project Public Li­cense
Main­tainerScott Pakin
TDS archivedashrule.tds.zip
Con­tained inTeX Live as dashrule
MiKTeX as dashrule
TopicsLine pat­tern
Guest Book Sitemap Contact Contact Author