AZ logo

CTAN directory: /macros/latex/contrib/piano

You can get the contents of this directory bundled as a zip file.

Packages in this directory:

Identifier Caption
piano Typeset a basic 2-octave piano diagram.

Files

Name Size* Date UTC Notes
README 429 bytes 2011-Mar-01 Shown below
piano.sty 14 KiB 2011-Mar-01

  *File sizes in kibibytes.

Contents of README

This package adds the \keyboard[1][2]..[7] command to your
project. When used, it draws a small 2 octaves piano keyboard on your
document, with up to 7 keys highlighted.

Keys go : Co, Cso, Do, Dso, Eo, Fo, Fso, Go, Gso, Ao, Aso, Bo, Ct,
Cst, Dt, Dst, Et, Ft, Fst, Gt, Gst, At, Ast and Bt.

Suggested use :
\begin{figure}[thpb]\
  \centering
  \keyboard[Co][Eo][Gso][Ct][Et]
  \caption{C aug chord}
  \label{Chord1}
\end{figure}