Typesetting - Maple Programming Help

Home : Support : Online Help : Configure Maple : Customize the Maple System : 2-D Mathematics Display : Typesetting Package : Typesetting/EnableTypesetRule

Typesetting

 EnableTypesetRule
 enable use of rule for typesetting extended output
 DisableTypesetRule
 disable use of rule for typesetting extended output
 QueryTypesetRule
 query status of rule for typesetting extended output

 Calling Sequence EnableTypesetRule(rule) DisableTypesetRule(rule) QueryTypesetRule(rule)

Parameters

 rule - rule name (string) or set or list of rule names

Description

 • The EnableTypesetRule command turns on the specified typeset rule(s) in the Typesetting package for use in extended mode output, while the DisableTypesetRule command turns off the specified parse rule(s) in the Typesetting package for use in extended mode output. The QueryTypesetRule command shows whether a rule is enabled or not. It returns a set of elements a=b where a is a rule name and b is true if a is enabled and false otherwise.
 Note: These options have no effect if interface(typesetting) is set to standard.
 • There are too many rules to be able to list them all here, but all are available in the Rules area of the interactive Typesetting Assistant.
 • As a simple example, the rule $"BesselJ"$ corresponds to the capability of typesetting the function $\mathrm{BesselJ}\left(v,x\right)$ as a function $J$ with subscript $v$ as a function of $x$.
 • The variable SpecialFunctionRules is the set of Special Function rule names. These are disabled by default. You can enable all of them at once with the command EnableTypesetRule(SpecialFunctionRules).

Examples

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

Show the results of enabling and disabling the "AiryAi" rule. Reset to the former status when done.

 > $t≔\mathrm{QueryTypesetRule}\left("AiryAi"\right)$
 ${t}{≔}\left\{{"AiryAi"}{=}{\mathrm{false}}\right\}$ (1)
 > $\mathrm{EnableTypesetRule}\left("AiryAi"\right)$
 ${\varnothing }$ (2)
 > $\mathrm{AiryAi}\left(x\right)$
 ${\mathrm{Ai}}{}\left({x}\right)$ (3)
 > $\mathrm{DisableTypesetRule}\left("AiryAi"\right)$
 ${\varnothing }$ (4)
 > $\mathrm{AiryAi}\left(x\right)$
 ${\mathrm{AiryAi}}{}\left({x}\right)$ (5)
 > $\mathbf{if}\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}\mathrm{rhs}\left(\mathrm{op}\left(t\right)\right)=\mathrm{true}\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}\mathbf{then}\phantom{\rule[-0.0ex]{0.0em}{0.0ex}}\phantom{\rule[-0.0ex]{2.0em}{0.0ex}}\mathrm{EnableTypesetRule}\left("AiryAi"\right)\phantom{\rule[-0.0ex]{0.0em}{0.0ex}}\mathbf{end}\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}\mathbf{if}:$

Examine the setting for the list of special-function rule names.

 > $\mathrm{QueryTypesetRule}\left(\mathrm{SpecialFunctionRules}\right)$
 $\left\{{"AiryAi"}{=}{\mathrm{false}}{,}{"AiryAi2"}{=}{\mathrm{false}}{,}{"AiryBi"}{=}{\mathrm{false}}{,}{"AiryBi2"}{=}{\mathrm{false}}{,}{"AngerJ"}{=}{\mathrm{false}}{,}{"BesselI"}{=}{\mathrm{false}}{,}{"BesselJ"}{=}{\mathrm{false}}{,}{"BesselK"}{=}{\mathrm{false}}{,}{"BesselY"}{=}{\mathrm{false}}{,}{"Beta"}{=}{\mathrm{false}}{,}{"Dirac"}{=}{\mathrm{false}}{,}{"Dirac2"}{=}{\mathrm{false}}{,}{"GAMMA"}{=}{\mathrm{false}}{,}{"GAMMA2"}{=}{\mathrm{false}}{,}{"HeunB"}{=}{\mathrm{false}}{,}{"HeunC"}{=}{\mathrm{false}}{,}{"HeunD"}{=}{\mathrm{false}}{,}{"HeunG"}{=}{\mathrm{false}}{,}{"HeunT"}{=}{\mathrm{false}}{,}{"JacobiP"}{=}{\mathrm{false}}{,}{"KummerM"}{=}{\mathrm{false}}{,}{"KummerU"}{=}{\mathrm{false}}{,}{"Psi"}{=}{\mathrm{false}}{,}{"Psi2"}{=}{\mathrm{false}}{,}{"StruveH"}{=}{\mathrm{false}}{,}{"StruveL"}{=}{\mathrm{false}}{,}{"WeberE"}{=}{\mathrm{false}}{,}{"Zeta"}{=}{\mathrm{false}}{,}{"Zeta2"}{=}{\mathrm{false}}{,}{"ZetaH"}{=}{\mathrm{false}}{,}{"ZetaH3"}{=}{\mathrm{false}}{,}{"euler"}{=}{\mathrm{false}}{,}{"eulerN"}{=}{\mathrm{false}}{,}{"lnGAMMA"}{=}{\mathrm{false}}{,}{"polylog"}{=}{\mathrm{false}}{,}{"AppellF1"}{=}{\mathrm{false}}{,}{"AppellF2"}{=}{\mathrm{false}}{,}{"AppellF3"}{=}{\mathrm{false}}{,}{"AppellF4"}{=}{\mathrm{false}}{,}{"ChebyshevT"}{=}{\mathrm{false}}{,}{"ChebyshevU"}{=}{\mathrm{false}}{,}{"CoulombF"}{=}{\mathrm{false}}{,}{"CylinderD"}{=}{\mathrm{false}}{,}{"CylinderU"}{=}{\mathrm{false}}{,}{"CylinderV"}{=}{\mathrm{false}}{,}{"EllipticCE"}{=}{\mathrm{false}}{,}{"EllipticCK"}{=}{\mathrm{false}}{,}{"EllipticCPi"}{=}{\mathrm{false}}{,}{"EllipticE"}{=}{\mathrm{false}}{,}{"EllipticE2"}{=}{\mathrm{false}}{,}{"EllipticF"}{=}{\mathrm{false}}{,}{"EllipticK"}{=}{\mathrm{false}}{,}{"EllipticModulus"}{=}{\mathrm{false}}{,}{"EllipticNome"}{=}{\mathrm{false}}{,}{"EllipticPi"}{=}{\mathrm{false}}{,}{"EllipticPi3"}{=}{\mathrm{false}}{,}{"FresnelC"}{=}{\mathrm{false}}{,}{"FresnelS"}{=}{\mathrm{false}}{,}{"Fresnelf"}{=}{\mathrm{false}}{,}{"Fresnelg"}{=}{\mathrm{false}}{,}{"GegenbauerC"}{=}{\mathrm{false}}{,}{"HankelH1"}{=}{\mathrm{false}}{,}{"HankelH2"}{=}{\mathrm{false}}{,}{"Heaviside"}{=}{\mathrm{false}}{,}{"HermiteH"}{=}{\mathrm{false}}{,}{"HeunBPrime"}{=}{\mathrm{false}}{,}{"HeunCPrime"}{=}{\mathrm{false}}{,}{"HeunDPrime"}{=}{\mathrm{false}}{,}{"HeunGPrime"}{=}{\mathrm{false}}{,}{"HeunTPrime"}{=}{\mathrm{false}}{,}{"InverseJacobiAM"}{=}{\mathrm{false}}{,}{"InverseJacobiCD"}{=}{\mathrm{false}}{,}{"InverseJacobiCN"}{=}{\mathrm{false}}{,}{"InverseJacobiCS"}{=}{\mathrm{false}}{,}{"InverseJacobiDC"}{=}{\mathrm{false}}{,}{"InverseJacobiDN"}{=}{\mathrm{false}}{,}{"InverseJacobiDS"}{=}{\mathrm{false}}{,}{"InverseJacobiNC"}{=}{\mathrm{false}}{,}{"InverseJacobiND"}{=}{\mathrm{false}}{,}{"InverseJacobiNS"}{=}{\mathrm{false}}{,}{"InverseJacobiSC"}{=}{\mathrm{false}}{,}{"InverseJacobiSD"}{=}{\mathrm{false}}{,}{"InverseJacobiSN"}{=}{\mathrm{false}}{,}{"JacobiAM"}{=}{\mathrm{false}}{,}{"JacobiCD"}{=}{\mathrm{false}}{,}{"JacobiCN"}{=}{\mathrm{false}}{,}{"JacobiCS"}{=}{\mathrm{false}}{,}{"JacobiDC"}{=}{\mathrm{false}}{,}{"JacobiDN"}{=}{\mathrm{false}}{,}{"JacobiDS"}{=}{\mathrm{false}}{,}{"JacobiNC"}{=}{\mathrm{false}}{,}{"JacobiND"}{=}{\mathrm{false}}{,}{"JacobiNS"}{=}{\mathrm{false}}{,}{"JacobiSC"}{=}{\mathrm{false}}{,}{"JacobiSD"}{=}{\mathrm{false}}{,}{"JacobiSN"}{=}{\mathrm{false}}{,}{"JacobiTheta1"}{=}{\mathrm{false}}{,}{"JacobiTheta2"}{=}{\mathrm{false}}{,}{"JacobiTheta3"}{=}{\mathrm{false}}{,}{"JacobiTheta4"}{=}{\mathrm{false}}{,}{"JacobiZeta"}{=}{\mathrm{false}}{,}{"KelvinBei"}{=}{\mathrm{false}}{,}{"KelvinBer"}{=}{\mathrm{false}}{,}{"KelvinHei"}{=}{\mathrm{false}}{,}{"KelvinHer"}{=}{\mathrm{false}}{,}{"KelvinKei"}{=}{\mathrm{false}}{,}{"KelvinKer"}{=}{\mathrm{false}}{,}{"LaguerreL"}{=}{\mathrm{false}}{,}{"LaguerreL3"}{=}{\mathrm{false}}{,}{"LambertW"}{=}{\mathrm{false}}{,}{"LambertW2"}{=}{\mathrm{false}}{,}{"LegendreP"}{=}{\mathrm{false}}{,}{"LegendreP3"}{=}{\mathrm{false}}{,}{"LegendreQ"}{=}{\mathrm{false}}{,}{"LegendreQ3"}{=}{\mathrm{false}}{,}{"LerchPhi"}{=}{\mathrm{false}}{,}{"LommelS1"}{=}{\mathrm{false}}{,}{"LommelS2"}{=}{\mathrm{false}}{,}{"MathieuA"}{=}{\mathrm{false}}{,}{"MathieuB"}{=}{\mathrm{false}}{,}{"MathieuC"}{=}{\mathrm{false}}{,}{"MathieuCE"}{=}{\mathrm{false}}{,}{"MathieuCEPrime"}{=}{\mathrm{false}}{,}{"MathieuCPrime"}{=}{\mathrm{false}}{,}{"MathieuS"}{=}{\mathrm{false}}{,}{"MathieuSE"}{=}{\mathrm{false}}{,}{"MathieuSEPrime"}{=}{\mathrm{false}}{,}{"MathieuSPrime"}{=}{\mathrm{false}}{,}{"MeijerG_Tbl"}{=}{\mathrm{false}}{,}{"SphericalY"}{=}{\mathrm{false}}{,}{"Stirling1"}{=}{\mathrm{false}}{,}{"Stirling2"}{=}{\mathrm{false}}{,}{"WeierstrassP"}{=}{\mathrm{false}}{,}{"WeierstrassZeta"}{=}{\mathrm{false}}{,}{"WhittakerM"}{=}{\mathrm{false}}{,}{"WhittakerW"}{=}{\mathrm{false}}{,}{"Wrightomega"}{=}{\mathrm{false}}{,}{"bernoulli"}{=}{\mathrm{false}}{,}{"bernoulliN"}{=}{\mathrm{false}}{,}{"harmonic"}{=}{\mathrm{false}}{,}{"harmonicN"}{=}{\mathrm{false}}{,}{"hypergeom"}{=}{\mathrm{false}}{,}{"pochhammer"}{=}{\mathrm{false}}{,}{"stirling1"}{=}{\mathrm{false}}{,}{"stirling2"}{=}{\mathrm{false}}{,}{"WeierstrassPPrime"}{=}{\mathrm{false}}{,}{"WeierstrassSigma"}{=}{\mathrm{false}}\right\}$ (6)

Compatibility

 • The Typesetting[QueryTypesetRule] command was introduced in Maple 2017.
 • The Typesetting[EnableTypesetRule] and Typesetting[DisableTypesetRule] commands were updated in Maple 2017.
 • The SpecialFunctionRules option was introduced in Maple 2017.