Units Commands Only - Maple Help

Access the commands from the Units package while staying in the default Units environment

Description

 • Loading a package, using the with command, makes the short form of its commands available. Loading the Units package additionally loads one of its three subpackages, corresponding to the currently selected mode (by default the Units[Simple] subpackage). This enables one of the three units environments - the simple, standard, or natural units environment. If you want to access the short form of the commands in the Units package, but stay in the default units environment rather than the simple, standard, or natural units environments, then you can load the Units[CommandsOnly] package.

Examples

Without loading any package, you can use the long form of Units package commands.

 > $\mathrm{Units}\left[\mathrm{GetUnits}\right]\left(\mathrm{dimension}=\mathrm{length}\right)$
 ${{\mathrm{ångström}}}_{{\mathrm{standard}}}{,}{{\mathrm{arpent}}}_{{\mathrm{PQ_length}}}{,}{{\mathrm{astronomical_unit}}}_{{\mathrm{standard}}}{,}{{\mathrm{barleycorn}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{barleycorn}}}_{{\mathrm{standard}}}{,}{{\mathrm{bicron}}}_{{\mathrm{standard}}}{,}{{\mathrm{bohr}}}_{{\mathrm{Atomic}}}{,}{{\mathrm{cable}}}_{{\mathrm{UK_nautical}}}{,}{{\mathrm{cable}}}_{{\mathrm{US_nautical}}}{,}{{\mathrm{calibre}}}_{{\mathrm{standard}}}{,}{{\mathrm{chain}}}_{{\mathrm{Gunter}}}{,}{{\mathrm{chain}}}_{{\mathrm{Gunter_US_survey}}}{,}{{\mathrm{chain}}}_{{\mathrm{Ramsden}}}{,}{{\mathrm{chain}}}_{{\mathrm{Ramsden_US_survey}}}{,}{{\mathrm{chain}}}_{{\mathrm{UK_nautical}}}{,}{{\mathrm{cubit}}}_{{\mathrm{Sacred}}}{,}{{\mathrm{cubit}}}_{{\mathrm{Talmudic}}}{,}{{\mathrm{cubit}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{cubit}}}_{{\mathrm{standard}}}{,}{{\mathrm{digit}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{digit}}}_{{\mathrm{standard}}}{,}{{\mathrm{ℓ}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{ℓ}}}_{{\mathrm{standard}}}{,}{{\mathrm{fathom}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{fathom}}}_{{\mathrm{standard}}}{,}{{\mathrm{fermi}}}_{{\mathrm{standard}}}{,}{{\mathrm{finger}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{finger}}}_{{\mathrm{standard}}}{,}{{\mathrm{foot}}}_{{\mathrm{PQ}}}{,}{{\mathrm{foot}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{foot}}}_{{\mathrm{standard}}}{,}{{\mathrm{furlong}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{furlong}}}_{{\mathrm{standard}}}{,}{{\mathrm{hand}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{hand}}}_{{\mathrm{standard}}}{,}{{\mathrm{handbreadth}}}_{{\mathrm{Sacred}}}{,}{{\mathrm{handbreadth}}}_{{\mathrm{Talmudic}}}{,}{{\mathrm{hubble}}}_{{\mathrm{Julian}}}{,}{{\mathrm{hubble}}}_{{\mathrm{tropical}}}{,}{{\mathrm{inch}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{inch}}}_{{\mathrm{standard}}}{,}{{\mathrm{league}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{league}}}_{{\mathrm{nautical}}}{,}{{\mathrm{league}}}_{{\mathrm{standard}}}{,}{{\mathrm{light_year}}}_{{\mathrm{Julian}}}{,}{{\mathrm{light_year}}}_{{\mathrm{tropical}}}{,}{{\mathrm{line}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{line}}}_{{\mathrm{standard}}}{,}{{\mathrm{link}}}_{{\mathrm{Gunter}}}{,}{{\mathrm{link}}}_{{\mathrm{Gunter_US_survey}}}{,}{{\mathrm{link}}}_{{\mathrm{Ramsden}}}{,}{{\mathrm{link}}}_{{\mathrm{Ramsden_US_survey}}}{,}{{\mathrm{marathon}}}_{{\mathrm{standard}}}{,}{{\mathrm{meter}}}_{{\mathrm{SI}}}{,}{{\mathrm{microinch}}}_{{\mathrm{standard}}}{,}{{\mathrm{micron}}}_{{\mathrm{standard}}}{,}{{\mathrm{mil}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{mil}}}_{{\mathrm{standard}}}{,}{{\mathrm{mile}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{mile}}}_{{\mathrm{nautical}}}{,}{{\mathrm{mile}}}_{{\mathrm{standard}}}{,}{{\mathrm{nail}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{nail}}}_{{\mathrm{standard}}}{,}{{\mathrm{nautical_mile}}}_{{\mathrm{SI}}}{,}{{\mathrm{pace}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{pace}}}_{{\mathrm{standard}}}{,}{{\mathrm{palm}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{palm}}}_{{\mathrm{standard}}}{,}{{\mathrm{parsec}}}_{{\mathrm{standard}}}{,}{{\mathrm{perch}}}_{{\mathrm{PQ_length}}}{,}{{\mathrm{perch}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{perch}}}_{{\mathrm{standard}}}{,}{{\mathrm{pica}}}_{{\mathrm{TeX}}}{,}{{\mathrm{pica}}}_{{\mathrm{computer}}}{,}{{\mathrm{pica}}}_{{\mathrm{printer}}}{,}{{\mathrm{planck_length}}}_{{\mathrm{planck}}}{,}{{\mathrm{point}}}_{{\mathrm{TeX}}}{,}{{\mathrm{point}}}_{{\mathrm{computer}}}{,}{{\mathrm{point}}}_{{\mathrm{printer}}}{,}{{\mathrm{pole}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{pole}}}_{{\mathrm{standard}}}{,}{{\mathrm{quadrant}}}_{{\mathrm{electrical}}}{,}{{\mathrm{quadrant}}}_{{\mathrm{standard}}}{,}{{\mathrm{rod}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{rod}}}_{{\mathrm{standard}}}{,}{{\mathrm{span}}}_{{\mathrm{Sacred}}}{,}{{\mathrm{span}}}_{{\mathrm{Talmudic}}}{,}{{\mathrm{span}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{span}}}_{{\mathrm{standard}}}{,}{{\mathrm{spat}}}_{{\mathrm{standard}}}{,}{{\mathrm{step}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{step}}}_{{\mathrm{standard}}}{,}{{\mathrm{x_unit}}}_{{\mathrm{copper}}}{,}{{\mathrm{x_unit}}}_{{\mathrm{molybdenum}}}{,}{{\mathrm{yard}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{yard}}}_{{\mathrm{standard}}}$ (1)

If you want to use the short form, you can load the Units package. This enables the Simple units environment by default.

 > $\mathrm{with}\left(\mathrm{Units}\right):$
 > $\mathrm{GetUnits}\left(\mathrm{dimension}=\mathrm{length}\right)$
 ${{\mathrm{ångström}}}_{{\mathrm{standard}}}{,}{{\mathrm{arpent}}}_{{\mathrm{PQ_length}}}{,}{{\mathrm{astronomical_unit}}}_{{\mathrm{standard}}}{,}{{\mathrm{barleycorn}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{barleycorn}}}_{{\mathrm{standard}}}{,}{{\mathrm{bicron}}}_{{\mathrm{standard}}}{,}{{\mathrm{bohr}}}_{{\mathrm{Atomic}}}{,}{{\mathrm{cable}}}_{{\mathrm{UK_nautical}}}{,}{{\mathrm{cable}}}_{{\mathrm{US_nautical}}}{,}{{\mathrm{calibre}}}_{{\mathrm{standard}}}{,}{{\mathrm{chain}}}_{{\mathrm{Gunter}}}{,}{{\mathrm{chain}}}_{{\mathrm{Gunter_US_survey}}}{,}{{\mathrm{chain}}}_{{\mathrm{Ramsden}}}{,}{{\mathrm{chain}}}_{{\mathrm{Ramsden_US_survey}}}{,}{{\mathrm{chain}}}_{{\mathrm{UK_nautical}}}{,}{{\mathrm{cubit}}}_{{\mathrm{Sacred}}}{,}{{\mathrm{cubit}}}_{{\mathrm{Talmudic}}}{,}{{\mathrm{cubit}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{cubit}}}_{{\mathrm{standard}}}{,}{{\mathrm{digit}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{digit}}}_{{\mathrm{standard}}}{,}{{\mathrm{ℓ}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{ℓ}}}_{{\mathrm{standard}}}{,}{{\mathrm{fathom}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{fathom}}}_{{\mathrm{standard}}}{,}{{\mathrm{fermi}}}_{{\mathrm{standard}}}{,}{{\mathrm{finger}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{finger}}}_{{\mathrm{standard}}}{,}{{\mathrm{foot}}}_{{\mathrm{PQ}}}{,}{{\mathrm{foot}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{foot}}}_{{\mathrm{standard}}}{,}{{\mathrm{furlong}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{furlong}}}_{{\mathrm{standard}}}{,}{{\mathrm{hand}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{hand}}}_{{\mathrm{standard}}}{,}{{\mathrm{handbreadth}}}_{{\mathrm{Sacred}}}{,}{{\mathrm{handbreadth}}}_{{\mathrm{Talmudic}}}{,}{{\mathrm{hubble}}}_{{\mathrm{Julian}}}{,}{{\mathrm{hubble}}}_{{\mathrm{tropical}}}{,}{{\mathrm{inch}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{inch}}}_{{\mathrm{standard}}}{,}{{\mathrm{league}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{league}}}_{{\mathrm{nautical}}}{,}{{\mathrm{league}}}_{{\mathrm{standard}}}{,}{{\mathrm{light_year}}}_{{\mathrm{Julian}}}{,}{{\mathrm{light_year}}}_{{\mathrm{tropical}}}{,}{{\mathrm{line}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{line}}}_{{\mathrm{standard}}}{,}{{\mathrm{link}}}_{{\mathrm{Gunter}}}{,}{{\mathrm{link}}}_{{\mathrm{Gunter_US_survey}}}{,}{{\mathrm{link}}}_{{\mathrm{Ramsden}}}{,}{{\mathrm{link}}}_{{\mathrm{Ramsden_US_survey}}}{,}{{\mathrm{marathon}}}_{{\mathrm{standard}}}{,}{{\mathrm{meter}}}_{{\mathrm{SI}}}{,}{{\mathrm{microinch}}}_{{\mathrm{standard}}}{,}{{\mathrm{micron}}}_{{\mathrm{standard}}}{,}{{\mathrm{mil}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{mil}}}_{{\mathrm{standard}}}{,}{{\mathrm{mile}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{mile}}}_{{\mathrm{nautical}}}{,}{{\mathrm{mile}}}_{{\mathrm{standard}}}{,}{{\mathrm{nail}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{nail}}}_{{\mathrm{standard}}}{,}{{\mathrm{nautical_mile}}}_{{\mathrm{SI}}}{,}{{\mathrm{pace}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{pace}}}_{{\mathrm{standard}}}{,}{{\mathrm{palm}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{palm}}}_{{\mathrm{standard}}}{,}{{\mathrm{parsec}}}_{{\mathrm{standard}}}{,}{{\mathrm{perch}}}_{{\mathrm{PQ_length}}}{,}{{\mathrm{perch}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{perch}}}_{{\mathrm{standard}}}{,}{{\mathrm{pica}}}_{{\mathrm{TeX}}}{,}{{\mathrm{pica}}}_{{\mathrm{computer}}}{,}{{\mathrm{pica}}}_{{\mathrm{printer}}}{,}{{\mathrm{planck_length}}}_{{\mathrm{planck}}}{,}{{\mathrm{point}}}_{{\mathrm{TeX}}}{,}{{\mathrm{point}}}_{{\mathrm{computer}}}{,}{{\mathrm{point}}}_{{\mathrm{printer}}}{,}{{\mathrm{pole}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{pole}}}_{{\mathrm{standard}}}{,}{{\mathrm{quadrant}}}_{{\mathrm{electrical}}}{,}{{\mathrm{quadrant}}}_{{\mathrm{standard}}}{,}{{\mathrm{rod}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{rod}}}_{{\mathrm{standard}}}{,}{{\mathrm{span}}}_{{\mathrm{Sacred}}}{,}{{\mathrm{span}}}_{{\mathrm{Talmudic}}}{,}{{\mathrm{span}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{span}}}_{{\mathrm{standard}}}{,}{{\mathrm{spat}}}_{{\mathrm{standard}}}{,}{{\mathrm{step}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{step}}}_{{\mathrm{standard}}}{,}{{\mathrm{x_unit}}}_{{\mathrm{copper}}}{,}{{\mathrm{x_unit}}}_{{\mathrm{molybdenum}}}{,}{{\mathrm{yard}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{yard}}}_{{\mathrm{standard}}}$ (2)
 > $2\mathrm{Unit}\left(m\right)+5\mathrm{Unit}\left(\mathrm{ft}\right)$
 $\frac{{881}}{{250}}{}⟦{m}⟧$ (3)

If you want to use the short form of the Units package commands, but stay in the default units environment, you can load the Units[CommandsOnly] package.

 > $\mathrm{restart}$
 > $\mathrm{with}\left(\mathrm{Units}\left[\mathrm{CommandsOnly}\right]\right):$
 > $\mathrm{GetUnits}\left(\mathrm{dimension}=\mathrm{length}\right)$
 ${{\mathrm{ångström}}}_{{\mathrm{standard}}}{,}{{\mathrm{arpent}}}_{{\mathrm{PQ_length}}}{,}{{\mathrm{astronomical_unit}}}_{{\mathrm{standard}}}{,}{{\mathrm{barleycorn}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{barleycorn}}}_{{\mathrm{standard}}}{,}{{\mathrm{bicron}}}_{{\mathrm{standard}}}{,}{{\mathrm{bohr}}}_{{\mathrm{Atomic}}}{,}{{\mathrm{cable}}}_{{\mathrm{UK_nautical}}}{,}{{\mathrm{cable}}}_{{\mathrm{US_nautical}}}{,}{{\mathrm{calibre}}}_{{\mathrm{standard}}}{,}{{\mathrm{chain}}}_{{\mathrm{Gunter}}}{,}{{\mathrm{chain}}}_{{\mathrm{Gunter_US_survey}}}{,}{{\mathrm{chain}}}_{{\mathrm{Ramsden}}}{,}{{\mathrm{chain}}}_{{\mathrm{Ramsden_US_survey}}}{,}{{\mathrm{chain}}}_{{\mathrm{UK_nautical}}}{,}{{\mathrm{cubit}}}_{{\mathrm{Sacred}}}{,}{{\mathrm{cubit}}}_{{\mathrm{Talmudic}}}{,}{{\mathrm{cubit}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{cubit}}}_{{\mathrm{standard}}}{,}{{\mathrm{digit}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{digit}}}_{{\mathrm{standard}}}{,}{{\mathrm{ℓ}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{ℓ}}}_{{\mathrm{standard}}}{,}{{\mathrm{fathom}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{fathom}}}_{{\mathrm{standard}}}{,}{{\mathrm{fermi}}}_{{\mathrm{standard}}}{,}{{\mathrm{finger}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{finger}}}_{{\mathrm{standard}}}{,}{{\mathrm{foot}}}_{{\mathrm{PQ}}}{,}{{\mathrm{foot}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{foot}}}_{{\mathrm{standard}}}{,}{{\mathrm{furlong}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{furlong}}}_{{\mathrm{standard}}}{,}{{\mathrm{hand}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{hand}}}_{{\mathrm{standard}}}{,}{{\mathrm{handbreadth}}}_{{\mathrm{Sacred}}}{,}{{\mathrm{handbreadth}}}_{{\mathrm{Talmudic}}}{,}{{\mathrm{hubble}}}_{{\mathrm{Julian}}}{,}{{\mathrm{hubble}}}_{{\mathrm{tropical}}}{,}{{\mathrm{inch}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{inch}}}_{{\mathrm{standard}}}{,}{{\mathrm{league}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{league}}}_{{\mathrm{nautical}}}{,}{{\mathrm{league}}}_{{\mathrm{standard}}}{,}{{\mathrm{light_year}}}_{{\mathrm{Julian}}}{,}{{\mathrm{light_year}}}_{{\mathrm{tropical}}}{,}{{\mathrm{line}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{line}}}_{{\mathrm{standard}}}{,}{{\mathrm{link}}}_{{\mathrm{Gunter}}}{,}{{\mathrm{link}}}_{{\mathrm{Gunter_US_survey}}}{,}{{\mathrm{link}}}_{{\mathrm{Ramsden}}}{,}{{\mathrm{link}}}_{{\mathrm{Ramsden_US_survey}}}{,}{{\mathrm{marathon}}}_{{\mathrm{standard}}}{,}{{\mathrm{meter}}}_{{\mathrm{SI}}}{,}{{\mathrm{microinch}}}_{{\mathrm{standard}}}{,}{{\mathrm{micron}}}_{{\mathrm{standard}}}{,}{{\mathrm{mil}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{mil}}}_{{\mathrm{standard}}}{,}{{\mathrm{mile}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{mile}}}_{{\mathrm{nautical}}}{,}{{\mathrm{mile}}}_{{\mathrm{standard}}}{,}{{\mathrm{nail}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{nail}}}_{{\mathrm{standard}}}{,}{{\mathrm{nautical_mile}}}_{{\mathrm{SI}}}{,}{{\mathrm{pace}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{pace}}}_{{\mathrm{standard}}}{,}{{\mathrm{palm}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{palm}}}_{{\mathrm{standard}}}{,}{{\mathrm{parsec}}}_{{\mathrm{standard}}}{,}{{\mathrm{perch}}}_{{\mathrm{PQ_length}}}{,}{{\mathrm{perch}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{perch}}}_{{\mathrm{standard}}}{,}{{\mathrm{pica}}}_{{\mathrm{TeX}}}{,}{{\mathrm{pica}}}_{{\mathrm{computer}}}{,}{{\mathrm{pica}}}_{{\mathrm{printer}}}{,}{{\mathrm{planck_length}}}_{{\mathrm{planck}}}{,}{{\mathrm{point}}}_{{\mathrm{TeX}}}{,}{{\mathrm{point}}}_{{\mathrm{computer}}}{,}{{\mathrm{point}}}_{{\mathrm{printer}}}{,}{{\mathrm{pole}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{pole}}}_{{\mathrm{standard}}}{,}{{\mathrm{quadrant}}}_{{\mathrm{electrical}}}{,}{{\mathrm{quadrant}}}_{{\mathrm{standard}}}{,}{{\mathrm{rod}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{rod}}}_{{\mathrm{standard}}}{,}{{\mathrm{span}}}_{{\mathrm{Sacred}}}{,}{{\mathrm{span}}}_{{\mathrm{Talmudic}}}{,}{{\mathrm{span}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{span}}}_{{\mathrm{standard}}}{,}{{\mathrm{spat}}}_{{\mathrm{standard}}}{,}{{\mathrm{step}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{step}}}_{{\mathrm{standard}}}{,}{{\mathrm{x_unit}}}_{{\mathrm{copper}}}{,}{{\mathrm{x_unit}}}_{{\mathrm{molybdenum}}}{,}{{\mathrm{yard}}}_{{\mathrm{US_survey}}}{,}{{\mathrm{yard}}}_{{\mathrm{standard}}}$ (4)
 > $2\mathrm{Unit}\left(m\right)+5\mathrm{Unit}\left(\mathrm{ft}\right)$
 ${2}{}⟦{m}⟧{+}{5}{}⟦{\mathrm{ft}}⟧$ (5)