-
MathType
-
WirisQuizzes
-
Nubric
-
CalcMe
-
MathPlayer
-
Store FAQ
-
MathFlow
-
BF FAQ
-
Miscellaneous
-
Wiris Integrations
MathType Hand parameters
Reading time: 1minReference for the configuration parameters supported by MathType Hand.
Summary
This reference describes the parameters that control the appearance, behavior, and recognition capabilities of MathType Hand. Parameters are configured in the frontend during Hand initialization.
Configuration
| Configuration method | Location |
|---|---|
| Frontend | hand.setParams() |
Parameters
Style parameters
| Parameter | Description | Values | Default |
|---|---|---|---|
lineWidth |
Width of the handwriting stroke. | Number (pixels) | 3 |
lineColor |
Handwriting color. | CSS color | #284283 |
previewZoom |
Zoom factor applied to the recognized expression preview. | Number | 1.5 |
Additional visual customization can be achieved by applying CSS to the container element.
Behaviour parameters
| Parameter | Description | Values | Default | Notes |
|---|---|---|---|---|
detectHand |
Enables Hand recognition in the editor. |
true, false
|
true |
|
readOnly |
Enables read-only mode. |
true, false
|
false |
Disables handwriting input and recognition. |
deletionGesture |
Enables the deletion gesture. |
true, false
|
true |
|
toolbarHidden |
Hides the Hand toolbar. |
true, false
|
false |
|
recognitionDelay |
Delay before recognition starts after writing stops. | Milliseconds | 500 |
|
handPath |
Path to the Hand server components. | URL or path | /hand |
Recognition constraints
The constraints parameter limits the symbols and mathematical structures that Hand recognizes. It contains two properties:
| Property | Description | Values | Default |
|---|---|---|---|
symbols |
Symbols that Hand is allowed to recognize. | Array of Unicode strings | No constraint |
structure |
Mathematical structures that Hand is allowed to recognize. | Array of structure names | No constraint |
Use constraints to improve recognition accuracy for a specific mathematical domain.
See Configure Hand for a specific mathematical domain for configuration examples.
Supported symbols
Hand currently recognizes the following symbols.
| 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
| a | A | α | b | B | β | c | C | . | · |
| , | ; | … | : | cos | cm | d | D | dm | δ |
| Δ | ÷ | / | e | E | ξ | = | ≡ | ≈ | ∃ |
| f | F | ∀ | g | G | γ | Γ | ≥ | > | h |
| H | i | I | ∈ | ∞ | ∫ | j | J | k | K |
| κ | l | L | λ | Λ | ≤ | lim | log | { | [ |
| ( | < | m | M | mol | μ | n | N | η | ≠ |
| o | O | p | P | ρ | φ | Φ | π | Π | ψ |
| Ψ | ± | ′ | q | Q | r | R | → | ← | ⇌ |
| ⇄ | } | ] | ) | s | S | σ | Σ | sin | √ |
| ∑ | ∏ | t | T | τ | tan | θ | Θ | u | U |
| v | V | ν | w | W | ω | Ω | x | X | χ |
| × | y | Y | z | Z | ζ | frac | | | - | ! |
| + | ~ | ^ | ° | € | $ | £ | % | ‰ | ∂ |
| ∇ | ε | ∅ | ∪ | ∩ | ⊂ | ⊃ | ⊆ | ⊇ | ℙ |
| ℕ | ℤ | ℚ | ℂ | ℝ | ⇒ | ∧ | ∨ | ∆ | # |
We expect this list to gradually increase in the number of symbols recognized.
Notes
- Recognition constraints are optional. If no constraints are configured, Hand recognizes all supported symbols and structures.
- Restricting the recognition domain can significantly improve accuracy for specialized use cases.