CTAN Comprehensive TeX Archive Network

Directory macros/latex/contrib/piano

README.md

This package adds the following commands:

\keyboardtwooctaves[1][2]..[7]

When used, it draws a small 2 octaves piano keyboard on your document, with up to 7 keys highlighted.

\keyboardftwooctaves[1][2]..[7]

When used, it draws a small 2 octaves piano keyboard on your document, with up to 7 keys highlighted starting with the F key.

\keyboardf

When used, it draws a small 1 octave piano keyboard on your document, with up to 7 keys highlighted.

\keyboard

When used, it draws a small 1 octave piano keyboard on your document, with up to 7 keys highlighted and starting with F key.

\keyboardoneandahalfoctaves

When used, it draws a small 1 and half octave piano keyboard on your document, with up to 7 keys highlighted.

\keyboardoneandahalfoctavesf

When used, it draws a small 1 and half octave 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}

License

This package is released under LPPL Version 1.3c

Maintainer

Package maintainer:

Ruslan López Carro https://ctan.org/home/javatlacati

Download the contents of this package in one zip archive (125.7k).

piano – A package for drawing piano diagrams

This package provides commands to …

  • draw a small 2 octaves piano keyboard with up to 7 keys highlighted,
  • draw a small 2 octaves piano keyboard starting with the F key, with up to 7 keys highlighted,
  • draw a small 1 octave piano keyboard with up to 7 keys highlighted,
  • draw a small 1 octave piano keyboard starting with the F key, with up to 7 keys highlighted,
  • draw a small 1 and half octave piano keyboard with up to 7 keys highlighted.

Packagepiano
Bug tracker
Repository
Developers
Version1.2 2026-07-10
LicensesThe Project Public License 1.3c
MaintainerRuslan López Carro
Émile Daneault (inactive)
Contained inTeX Live as piano
MiKTeX as piano
TopicsMusic
Tagged PDF – partially compatible
...
Guest Book Sitemap Contact Contact Author