Decorators and Notations
In Corca, a decoration stays attached to the expression it modifies. You can edit the expression, remove the decoration, or replace it with another one without breaking the mathematical structure.
Most decorations are applied from the right panel after selecting an expression.
Applying decorators
Decorators are applied to selected expressions. In practice, the workflow is straightforward. You select the expression, open the right panel, and choose a decorator. The change appears immediately, and the expression remains editable.
For example, selecting the expression
Brackets and delimiters
Brackets and delimiters group expressions and define structure. They control order of operations and make formulas easier to read.
Delimiter | Example |
|---|---|
Parentheses | |
Square brackets | |
Curly braces | |
Angle brackets | |
Absolute value |
Delimiters automatically adjust to match the size of the enclosed expression. This prevents layout problems in large formulas.
Hats and tildes
Hats and tildes are commonly used to mark estimates, approximations, unit vectors, or transformed values.
Decoration | Example |
|---|---|
Hat | |
Hat | |
Hat | |
Tilde | |
Tilde | |
Tilde |
Arrows
Expression | Meaning |
|---|---|
Vector | |
Mapping | |
Limit |
Norms and absolute values
Norms and absolute values represent magnitude. Absolute value applies to scalar quantities, while norms apply to vectors or functions.
Notation | Meaning |
|---|---|
Absolute value | |
Euclidean norm | |
Manhattan norm | |
Maximum norm |
Group decorators
Group decorators apply a visual mark to an entire expression or group of elements.
They are commonly used in derivations, proofs, and teaching materials to show relationships between terms or identify intermediate steps.
Group decorators are applied from the right panel or the suggest, when the entire expression is selected.
Decorator | Example |
|---|---|
Overbrace | |
Underbrace | |
Group bracket |
Cancelled decorators
Cancelled decorators place a visual strike-through on an expression. They are used to indicate removed terms, cancelled factors, or simplification steps. This makes transformations easier to follow, especially in teaching or documentation.
Decorator | Example | Use |
|---|---|---|
Cancel | Standard cancellation | |
Reverse cancel | Alternate direction | |
Cross cancel | Strong elimination |
Boxed decorator
A boxed decorator places a visible border around an expression. It is commonly used to highlight final answers, important identities, or key results.
The boxed decorator does not change the mathematical meaning. It only emphasizes the result.
Previous: Supported Object Symbols |