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.
>
|
|
| (1) |
If you want to use the short form, you can load the Units package. This enables the Simple units environment by default.
Automatically loading the Units[Simple] subpackage
| |
>
|
|
| (2) |
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.
>
|
|
Automatically loading the Units package
| |
>
|
|
| (4) |
|
|
Compatibility
|
|
•
|
The Units[CommandsOnly] subpackage was introduced in Maple 2018.
|
|
|