
Calling Sequence


Settings(arg1, arg2, ...)
Settings(all)


Parameters


argN



either of the form name = value or simply name. Possible values for name are autoatomic, dot, functionassign, globalderivs, italicizesuppressedfunctions, numberfunctions, numericalderivs, prime, primenotationbound, striptrailing, tolerance, typesetdot, typesetprime, used, usedot, useprime, or userep





Description


•

The Settings command queries and sets general settings in the Typesetting package.

•

An argument of the form name returns the current value of the named variable. An argument of the form name = value returns the current value of the named variable and sets the named variable to value. The special argument all returns all current settings in equation form.

•

Each setting, its allowable values, and its effect on typesetting and parsing is described here.


autoatomic = true or false


Specifies whether simple decorated expressions (single level scripts) that do not otherwise parse are automatically assumed to be atomic variables. Examples include an $x$ with an arrow over it, or a $y$ with ${\$}}$ as an exponent. By default, this is set to true. Setting it to false will instead result in a parsing error when these expressions are input. Note that the setting of this option does not affect expressions that are explicitly made atomic (Format>Convert To>Atomic Variable).


Specifies the variable to which dot derivatives correspond. By default this value is $t$.


As with the usedot option, the effect of this option is identical to that of prime for prime derivatives.


functionassign = true or false


Specifies whether the notation $f\left(\mathrm{args}\right)\u2254\mathrm{expression}$ corresponds to creation of the function $f\u2254\left(\mathrm{args}\right)\to \mathrm{expression}$ (true), or a remember table assignment (false). The latter is the only option in 1D input mode.


By default this option is true.


When a function is created for the first time using this syntax, the generated procedure will contain the option function_assign. This results in any subsequent assignments involving $f\left(\mathrm{args}\right)$ to be interpreted as function assignments. If f has already been defined as a procedure but does not have option function_assign, then any assignment with $f\left(\mathrm{args}\right)$ on the lefthand side is interpreted as a remembertable assignment regardless of the functionassign setting.


globalderivs = true or false


Specifies whether global information is used when typesetting derivatives. Normally, derivatives are examined individually to determine if partial or total derivative symbols should be used in the typeset output. Setting this option to true will cause the entire expression to be examined. This option is useful for ensuring that partial derivatives are used for every component of a partial differential equation. By default this option is false.


italicizesuppressedfunctions = true or false


By default, functions that have dependencies suppressed on display using Suppress are displayed in upright font, in order to provide a visual difference from identifiers, which are displayed in italic font. Setting this option to true will cause suppressed functions to display in italics, meaning that there will be no visual difference between the identifier 'f' and a suppressed function 'f(x,y,z)' displayed as 'f'.


numberfunctions = true or false


Specifies whether the notation $\u27e8\mathrm{number}\u27e9\left(\u27e8\mathrm{args}\u27e9\right)$ corresponds to the operator $\u27e8\mathrm{number}\u27e9$ applied to the arguments $\u27e8\mathrm{args}\u27e9$ (true) or represents the implicit multiplication $\u27e8\mathrm{number}\u27e9\u27e8\mathrm{args}\u27e9$ (false).


By default this option is false, which is in contrast to 1D input mode for which this is always true.


numericalderivs = true or false


Specifies whether a superscript containing either a positive integer or a simple name, that also possesses a redundant set of brackets, is interpreted as a numerical notation differentiation with respect to the prime variable.


By default this option is true.


Note that this option does not apply to exponents attached to the base name of a function. Parsing of known functions always uses the internal rules of the parser. For unknown functions this can be controlled by the useprime setting. When set to true then functions are parsed as though numericalderivs = true, and when set to false functions are parsed as though numericalderivs = false.


Specifies the variable to which prime derivatives correspond. By default this value is $x$.


Parsing of a function with a prime and an explicit dependence other than the prime variable assumes that what is meant is the derivative of the function considered as a function of $x$ evaluated at another value. For example, if $\mathrm{prime}=x$, then $f\'\left(0\right)$ is parsed as $\mathrm{D}\left(f\right)\left(0\right)$ or $\genfrac{}{}{0ex}{}{\left(\frac{\ⅆ}{\ⅆx}\phantom{\rule[0.0ex]{0.4em}{0.0ex}}f\left(x\right)\right)}{\phantom{x=0}}\genfrac{}{}{0ex}{}{\phantom{\left(\frac{\ⅆ}{\ⅆx}\phantom{\rule[0.0ex]{0.4em}{0.0ex}}f\left(x\right)\right)}}{x=0}$.


The value `` is a special value that tells the parser to always parse prime derivatives as D operators.


primenotationbound = posint


Specifies the bound, after which differentiations of a univariate function of the prime variable are displayed with numbers instead of primes. By default this value is 4.


striptrailing = true or false


Specifies whether floatingpoint numbers with extra trailing significant zeros should have those zeros stripped on display. By default this option is false.


tolerance = true or false


Specifies whether the +/ symbol is interpreted as an option selection (unary operator that parses similar to '+' or '') for false, or as a tolerance (binary operator with strong precedence) for true. In any case, the +/ symbol parses to the $\mathrm{\&+}$ function.


Note that this has a significant effect on the parsing of an expression. For example, if set to false, the expression $a\pm bc$ will parse to $a+\left(\pm b\right)c$, and if set to true the same expression will parse to $a\pm \left(bc\right)$.


typesetdot = true or false


Specifies whether dot notation is used in the typesetting of derivatives of univariate functions in the dot variable (see dot above). This setting is false by default and can be set to true only if the usedot setting is also true.


typesetprime = true or false


Specifies whether prime notation is used in the typesetting of derivatives of univariate functions in the prime variable (see prime above). This setting is false by default and can be set to true only if the useprime setting is also true.


Specifies whether the identifier $d$ can be used when entering Leibniz notation derivatives. The alternative is to use the $\mathrm{DifferentialD}$ or $\mathrm{PartialD}$ operators available in the palette or via completion for all $d$s in a Leibniz notation derivative.


By default this option is false. When set to true, use of identifier $d$ is allowed.


Specifies the use of dot notation in the parsing of derivatives of univariate functions in the dot variable (see dot above).


The rules for use of dot notation are identical to those for use of prime notation, except that dot differentiation only applies to functions and names, and not to expressions. When set to true (the default) and when typesetdot is also set to true, then derivatives of functions of the dot variable are displayed using dot notation.


Specifies the use of prime notation in the parsing of derivatives of univariate functions in the prime variable (see prime above).


When set to true (the default) and when typesetprime is also set to true, then derivatives of functions of the prime variable (for example, $x$) are displayed using prime notation (for example, $f\'\left(x\right)$ ). Furthermore, use of a prime on an identifier without an explicit dependence assumes a univariate dependence on the prime variable during parsing (for example, $f\'$ parses to $f\'\left(x\right)$ ). Finally, use of a prime on a mathematical expression corresponds to differentiation of that expression by the prime variable.


When set to false, use of prime notation for unknown functions is disabled, though it may still be used for typesetting and parsing of special functions. In this case a prime does not correspond to a derivative, and if present on input will likely give a parse error.


Specifies use of repeated index notation for derivatives of multivariate functions that have dependency suppression enabled with the Suppress command.


By default this option is false. Examples of the use of this option can be found in the Suppress help page.


Note that in order to be able to use repeated index notation derivatives this option must be set to true, and the function for which the repeated index derivatives are to be displayed/entered must be declared via Suppress.



Examples


Check a setting
>

$\mathrm{with}\left(\mathrm{Typesetting}\right)\:$

>

$\mathrm{Settings}\left(\mathrm{useprime}\right)$

Check multiple settings
>

$\mathrm{Settings}\left(\mathrm{useprime}\,\mathrm{prime}\,\mathrm{primenotationbound}\right)$

${\mathrm{true}}{,}{x}{,}{4}$
 (2) 
Check and adjust settings
>

$\mathrm{Settings}\left(\mathrm{useprime}\,\mathrm{prime}\=t\,\mathrm{primenotationbound}\=5\right)$

${\mathrm{true}}{,}{x}{,}{4}$
 (3) 
>

$\mathrm{Settings}\left(\mathrm{useprime}\,\mathrm{prime}\,\mathrm{primenotationbound}\right)$

${\mathrm{true}}{,}{t}{,}{5}$
 (4) 
>

$\mathrm{Settings}\left(\mathrm{useprime}\=\mathrm{false}\,\mathrm{useprime}\=\mathrm{true}\right)$

${\mathrm{true}}{,}{\mathrm{false}}$
 (5) 


Compatibility


•

The Typesetting[Settings] command was updated in Maple 2017.

•

The typesetdot and typesetprime options were introduced in Maple 2017.



