lineShowableShowable functions can be customized with
A line from one point to another.
#set page(height: 100pt) #line(end: (50%, 50%))
ParametersParameters are the inputs to a function. They are specified in parentheses after the function name.
The start point of the line. Must be an array of exactly two relative lengths.
The end point of the line. Must be an array of exactly two relative lengths.
The line's length. Mutually exclusive with
The angle at which the line points away from the origin. Mutually
How to stroke the line. This can be:
- A length specifying the stroke's thickness. The color is inherited, defaulting to black.
- A color to use for the stroke. The thickness is inherited, defaulting
- A stroke combined from color and thickness using the
+operator as in
2pt + red.
#line(length: 100%, stroke: 2pt + red)