Access the commands from the Units package while staying in the default Units environment
Description
Examples
Compatibility
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.
Without loading any package, you can use the long form of Units package commands.
Units:-GetUnits⁡dimension=length
ångströmstandard,arpentPQ_length,astronomical_unitstandard,barleycornUS_survey,barleycornstandard,bicronstandard,bohrAtomic,cableUK_nautical,cableUS_nautical,calibrestandard,chainGunter,chainGunter_US_survey,chainRamsden,chainRamsden_US_survey,chainUK_nautical,cubitSacred,cubitTalmudic,cubitUS_survey,cubitstandard,digitUS_survey,digitstandard,ℓUS_survey,ℓstandard,fathomUS_survey,fathomstandard,fermistandard,fingerUS_survey,fingerstandard,footPQ,footUS_survey,footstandard,furlongUS_survey,furlongstandard,handUS_survey,handstandard,handbreadthSacred,handbreadthTalmudic,hubbleJulian,hubbletropical,inchUS_survey,inchstandard,leagueUS_survey,leaguenautical,leaguestandard,light_yearJulian,light_yeartropical,lineUS_survey,linestandard,linkGunter,linkGunter_US_survey,linkRamsden,linkRamsden_US_survey,marathonstandard,meterSI,microinchstandard,micronstandard,milUS_survey,milstandard,mileUS_survey,milenautical,milestandard,nailUS_survey,nailstandard,nautical_mileSI,paceUS_survey,pacestandard,palmUS_survey,palmstandard,parsecstandard,perchPQ_length,perchUS_survey,perchstandard,picaTeX,picacomputer,picaprinter,planck_lengthplanck,pointTeX,pointcomputer,pointprinter,poleUS_survey,polestandard,quadrantelectrical,quadrantstandard,rodUS_survey,rodstandard,spanSacred,spanTalmudic,spanUS_survey,spanstandard,spatstandard,stepUS_survey,stepstandard,x_unitcopper,x_unitmolybdenum,yardUS_survey,yardstandard
If you want to use the short form, you can load the Units package. This enables the Simple units environment by default.
with⁡Units:
Automatically loading the Units[Simple] subpackage
GetUnits⁡dimension=length
2⁢Unit⁡m+5⁢Unit⁡ft
881250⁢m
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.
restart
with⁡Units:-CommandsOnly:
Automatically loading the Units package
2⁢m+5⁢ft
The Units[CommandsOnly] subpackage was introduced in Maple 2018.
For more information on Maple 2018 changes, see Updates in Maple 2018.
Download Help Document