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
Parameters
Description
Examples
Compatibility
EnableTypesetRule(rule)
DisableTypesetRule(rule)
QueryTypesetRule(rule)
rule
-
rule name (string) or set or list of rule names
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 BesselJ⁡v,x 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).
with⁡Typesetting:
Show the results of enabling and disabling the "AiryAi" rule. Reset to the former status when done.
t≔QueryTypesetRule⁡AiryAi
t≔AiryAi=false
EnableTypesetRule⁡AiryAi
∅
AiryAi⁡x
Ai⁡x
DisableTypesetRule⁡AiryAi
ifrhs⁡op⁡t=truethenEnableTypesetRule⁡AiryAiendif:
Examine the setting for the list of special-function rule names.
QueryTypesetRule⁡SpecialFunctionRules
AiryAi=false,AiryAi2=false,AiryBi=false,AiryBi2=false,AngerJ=false,BesselI=false,BesselJ=false,BesselK=false,BesselY=false,Beta=false,Dirac=false,Dirac2=false,GAMMA=false,GAMMA2=false,HeunB=false,HeunC=false,HeunD=false,HeunG=false,HeunT=false,JacobiP=false,KummerM=false,KummerU=false,Psi=false,Psi2=false,StruveH=false,StruveL=false,WeberE=false,Zeta=true,Zeta2=true,Zeta3=true,ZetaH=false,ZetaH3=false,euler=false,eulerN=false,lnGAMMA=false,polylog=false,AppellF1=false,AppellF2=false,AppellF3=false,AppellF4=false,ChebyshevT=false,ChebyshevU=false,CoulombF=false,CylinderD=false,CylinderU=false,CylinderV=false,EllipticCE=false,EllipticCK=false,EllipticCPi=false,EllipticE=false,EllipticE2=false,EllipticF=false,EllipticK=false,EllipticModulus=false,EllipticNome=false,EllipticPi=false,EllipticPi3=false,FresnelC=false,FresnelS=false,Fresnelf=false,Fresnelg=false,GegenbauerC=false,HankelH1=false,HankelH2=false,Heaviside=false,HermiteH=false,HeunBPrime=false,HeunCPrime=false,HeunDPrime=false,HeunGPrime=false,HeunTPrime=false,InverseJacobiAM=false,InverseJacobiCD=false,InverseJacobiCN=false,InverseJacobiCS=false,InverseJacobiDC=false,InverseJacobiDN=false,InverseJacobiDS=false,InverseJacobiNC=false,InverseJacobiND=false,InverseJacobiNS=false,InverseJacobiSC=false,InverseJacobiSD=false,InverseJacobiSN=false,JacobiAM=false,JacobiCD=false,JacobiCN=false,JacobiCS=false,JacobiDC=false,JacobiDN=false,JacobiDS=false,JacobiNC=false,JacobiND=false,JacobiNS=false,JacobiSC=false,JacobiSD=false,JacobiSN=false,JacobiTheta1=false,JacobiTheta2=false,JacobiTheta3=false,JacobiTheta4=false,JacobiZeta=false,KelvinBei=false,KelvinBer=false,KelvinHei=false,KelvinHer=false,KelvinKei=false,KelvinKer=false,LaguerreL=false,LaguerreL3=false,LambertW=false,LambertW2=false,LegendreP=false,LegendreP3=false,LegendreQ=false,LegendreQ3=false,LerchPhi=false,LommelS1=false,LommelS2=false,MathieuA=false,MathieuB=false,MathieuC=false,MathieuCE=false,MathieuCEPrime=false,MathieuCPrime=false,MathieuS=false,MathieuSE=false,MathieuSEPrime=false,MathieuSPrime=false,MeijerG_Tbl=false,SphericalY=false,Stirling1=false,Stirling2=false,WeierstrassP=false,WeierstrassZeta=false,WhittakerM=false,WhittakerW=false,Wrightomega=false,bernoulli=false,bernoulliN=false,harmonic=false,harmonicN=false,hypergeom=false,pochhammer=false,stirling1=false,stirling2=false,WeierstrassPPrime=false,WeierstrassSigma=false
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.
For more information on Maple 2017 changes, see Updates in Maple 2017.
See Also
interface
Typesetting[RuleAssistant]
Download Help Document