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 x+y x plus y and applying an absolute value produces: |x+y| the absolute value of x plus y. The expression itself does not change — only its interpretation and presentation.

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

(x+y) open paren x plus y close paren

Square brackets

[x+y] open bracket x plus y close bracket

Curly braces

{x+y} open brace x plus y close brace

Angle brackets

⟨x+y⟩ left angle bracket x plus y right angle bracket

Absolute value

|x| the absolute value of x

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

v^ v hat

Hat

θ^ theta hat

Hat

y^ y hat

Tilde

x~ x tilde

Tilde

ƒ~ f with hook tilde

Tilde

y~ y tilde

\widetilde{} and \widehat{} span a whole expression rather than a single character, and are recognized on LaTeX import.

Arrows

Expression

Meaning

v→ v right arrow

Vector

ƒ:A→B f with hook colon A right arrow B

Mapping

x→0 x right arrow 0

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

|x| the absolute value of x

Absolute value

‖x‖2 the metric of x sub 2

Euclidean norm

‖x‖1 the metric of x sub 1

Manhattan norm

‖x‖∞ the metric of x sub infinity

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

a+b+c⏞ a plus b plus c top brace

Underbrace

x1+x2+x3⏟ x sub 1 plus x sub 2 plus x sub 3 with bottom brace below

Group bracket

[x+y+z¯] open bracket x plus y plus z bar close bracket

Overline and underline span the selection, as do overbrace and underbrace.

Dot decorators can be applied to a grouped expression, not only to a single variable.


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

x crossed out x

Standard cancellation

Reverse cancel

x crossed out x

Alternate direction

Cross cancel

x enclosed with updiagonalstrike downdiagonalstrike x

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.

(x=-b±b2-4⁢a⁢c2⁢a) enclosed with box open paren x equals the fraction with numerator negative b plus or minus the square root of b squared minus 4 a c and denominator 2 a close paren

The boxed decorator does not change the mathematical meaning. It only emphasizes the result.