💻 The SMath Cheat Sheet: How to Actually Type It
SMath Studio looks like a text editor, but it behaves like a visual math canvas. If you just type normally, you will get errors. Here is the exact shorthand formula to make everything look like the screenshot:
-
How to insert Units of Measurement (km/hr, hr, m)
Do not just type the text. SMath needs to know it's a physical unit.-
The Secret: Type a single quote
'right before the unit. -
Example for Velocity: Type
v:60*'km/hr. SMath will instantly shade the unit in blue, meaning it recognizes it dynamically.
-
The Secret: Type a single quote
-
The Difference Between
:and=-
The Assignment (:=): Press the colon key
:when you want to store a value or formula inside a variable (e.g.,v:60). -
The Evaluation (=): Press the standard equals key
=only when you want SMath to calculate and show you the final result (e.g.,d=).
-
The Assignment (:=): Press the colon key
-
How to create the if/else block
- Type
f(x): - Look at the right sidebar panel called "Functions" (or press
Ctrl + Eif it's hidden). - Click on the if button. It will automatically generate the logical branch structure with the placeholders on your canvas.
- For the "greater than or equal to" sign (≥), simply type
>=on your keyboard.
- Type
-
How to spawn the Graph
- Click on an empty space on your grid.
- Press the
@key (Shift + 2 on most keyboards). This is the universal shortcut that instantly creates the 2D plot box. - Type
f(x)in the bottom-left input field and press Enter.

Top comments (0)