Commands/preloaded
nsk@E
Inline expression evaluation in Neural Sketch using the `\e` macro.
Overview
The \e command provides a concise way to expand and evaluate arithmetic expressions directly within your code. It supports both integer and floating‑point operations, returning a decimal representation of the result.
Use \e whenever you need to compute numeric values on the fly, for example to calculate offsets, spacing, or loop‑based calculations in diagrams.
Syntax
expression: An arithmetic expression enclosed in angle brackets, using standard operators (+,-,*,/) and parentheses.
Examples
Basic Arithmetic
In TikZ Options
In Neural Sketch Loops
From the rqt.tex example:
Reference Table
| Prop | Type | Default |
|---|---|---|
| expression | math expression | {} |
