Refer to the following syntaxes for using layer names, text, numbers, color values and variables in the formula input field.
Use backticks around the layer name.
Use double quotation marks around the text.
Text with multiple lines
Add a \n to add a line break between characters or words.
Use Arabic numbers only; other symbols are not allowed.
Colors must be expressed in the #FFFFFF format (Hex color code).
Use variable names that do not have any symbols in the name.
The four basic arithmetic operations (+, -, *, /) and remainder calculations are supported.
Remainder calculations (%)
Remainder calculations are done to derive the remainder of a division operation by using the % operative. For example, 5%2 would result in 1 as the remainder in that operation is 1.
While arithmetic operations apply to numbers only in most cases, addition can be done with texts. When a text is "added" to another text, the end result is a new text with the two texts combined together. For example, adding "2" to "1" would result in the new text "12".
Text + Text
Text + Number