Adobe framemaker 6.0 Manuale Utente

Pagina di 323
211
ADOBE FRAMEMAKER 6.0
MIF Equation Statements
Custom operators
The following expressions allow you to use custom operators that have been defined on a math reference 
page:
The expressions that insert new custom operators must include the name of the custom operator from the 
reference page. For example, suppose a document has a custom operator MyFunction that is added to the 
DMathCatalog statement as follows:
<DMathCatalog
<DMathNew
<DMathOpName `MyFunction'> # Names the new operator
<DMathNewType Function>
# Specifies the operator type
> # end of DMathNew
> # end of DMathCatalog
The corresponding MathFullForm statement appears as follows:
<MathFullForm `newfunction[(*T"MyFunction"T*)[char[x]]]'>
You do not use one of the custom operator expressions to insert a redefined math operator in an equation. 
Instead, you use the expression for the built-in operator, but force a FrameMaker product to use the new 
symbol from the reference page. For example, suppose you redefine the built-in operator asin and add it 
to the Math Catalog as follows:
<DMathCatalog
<DMathOpOverrides
<DMathOpName `asin'>
# Names the built-in operator
<DMathOpTLineOverride Yes>
# Forces lookup from reference page
> # end of DMathOpOverrides
> # end of DMathCatalog
<MathFullForm `matrix[3,2,num[1,"1"],num[2,"2"],num[3,"3"],
num[4,"4"],num[5,"5"],num[6,"6"]]'>
Expression
Definition
newinfix[x,y]
Inserts custom infix operator
newprefix[x]
Inserts custom prefix operator
newpostfix[x]
Inserts custom postfix operator
newfunction[x]
Inserts custom function operator
newlarge[x,y,z]
Inserts custom large element
newdelimiter[x]
Inserts custom delimiter
newlimit[x,y]
Inserts custom limit function
newvlist[x,y,z]
Inserts custom vertical list
Example
MathFullForm statement
1 2
3 4
5 6