LaTeX Description Lists with Dot Leaders

Datasheets for electronic components frequently present maximum ratings and other such specifications in the form of lists where a label, “Operating Temperature Range” for example, is separated from a value, say “-55 to 125 C”, by a dot leader, or row of dots intended to make it obvious which value belongs to which label. Maxim Integrated does this (page two), as does Microchip (page three), among many others. Here's a way to implement it in LaTeX.

A good choice semantically for representing this kind of information is LaTeX's description list, which has the following syntax:

    \item[Color] Blue
    \item[Shape] Round

I changed the presentation of this list to look like the datasheet examples by defining a new environment (“specifications”) that extends the description list and redefines the \item command to insert a \dotfill, which produces the row of dots itself.

\documentclass[12pt, letter]{article}



    \item[Input Voltage Range] 36-72 V DC
    \item[Input Current] 80 mA
    \item[Power over Ethernet] 802.3af-compliant Powered Device


Here's the result of this example:

The output looks like what I wanted and works just as expected inside multicol or minipage enviroments as well. Hopefully someone else can get some use out of it as well.

One Comment So Far

October 14, 2013
Steve says:
Very helpful, thanks!

Add a Comment