### Evaluate First Equation Source: https://github.com/snlxnet/eqrun/blob/main/README.md Write and pass an equation to the runner. Optionally specify the unit for the result. This example calculates the area of a rectangle. ```typst #eqrun($A = w dot h$, unit: $m^2$) ``` -------------------------------- ### Evaluate Equation with Powers and Superscript Source: https://github.com/snlxnet/eqrun/blob/main/README.md Demonstrates the support for mathematical operations like powers and superscripts within equations. This example uses a combination of division and square root. ```typst #eqrun($b^n = 2^sqrt(A div 6)$) ``` -------------------------------- ### Retrieve All Variables from Runner Source: https://github.com/snlxnet/eqrun/blob/main/README.md Get all currently stored variables from the runner. This is useful for inspecting the state or using the results in external contexts. ```typst #let state = eqrun() #context [ A: #state.A A half sqrt that: #state.A-half-sqrt-tau ] ``` -------------------------------- ### Initialize eqrun Builder Source: https://github.com/snlxnet/eqrun/blob/main/README.md Create the runner by providing initial input variables. This sets up the environment for subsequent equation evaluations. ```typst #import "@preview/eqrun:0.1.1": eqrun-builder #let init = ( w: 6, h: 7, ) #let eqrun = eqrun-builder(init) ``` -------------------------------- ### Initialize eqrun Builder in Debug Mode Source: https://github.com/snlxnet/eqrun/blob/main/README.md Create the runner with the debug mode enabled. This can be helpful for troubleshooting and understanding the internal workings of the equation runner. ```typst #let eqrun = eqrun-builder(init, debug: true) ``` -------------------------------- ### Evaluate Subsequent Equation with Chained Variable Source: https://github.com/snlxnet/eqrun/blob/main/README.md Use a variable generated by a previous equation as input for a new equation. This demonstrates the chaining capability of the runner. ```typst #eqrun($A^tau_"half sqrt" = sqrt(A) / 2$) ``` -------------------------------- ### Evaluate Equation with Custom Precision Source: https://github.com/snlxnet/eqrun/blob/main/README.md Specify a custom precision for the equation evaluation. The default precision is 2, but it can be overridden during builder initialization or for individual equation runs. ```typst #eqrun($tau = 2.019 / 2$, precision: 4) ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.