linebreak
元素
元素函数可以通过 set 和 show 规则进行样式自定义。
元素函数可以通过 set 和 show 规则进行样式自定义。
插入换行符。
将段落前进到下一行。段落末尾的单个换行符将被忽略,多次使用会创建额外的空行。
Example
*Date:* 26.12.2022 \
*Topic:* Infrastructure Test \
*Severity:* High \

Syntax
此函数还具有一个专用语法:要插入换行符,只需输入一个反斜杠加空格。这总是会造成不合理的中断。
参数
参数是函数的输入,它们在函数名称后面的括号中传入。
参数是函数的输入,它们在函数名称后面的括号中传入。
justify
是否在断行前进行对齐。
如果在对齐文本时发现比 Typst 做的更好的换行机会,这会很有用。
默认:false
查看示例
#set par(justify: true)
#let jb = linebreak(justify: true)
I have manually tuned the #jb
line breaks in this paragraph #jb
for an _interesting_ result. #jb
