TypstDocumentation

tan

Calculate the tangent of an angle.

When called with an integer or a float, they will be interpreted as radians.

Example

#calc.tan(1.5) \
#calc.tan(90deg)
Preview

Parameters
Question mark

angle
integerfloatangleRequiredPositional
Question mark

The angle whose tangent to calculate.