注意 / Info
本站经 Typst GmbH 许可,提供 Typst v0.10.0+后期随缘更新 官方文档的翻译,由中文社区维护。建议与官方文档一同阅读,因为可能存在错译、漏译或过时信息。如有意改进翻译内容或网站本身,可在GitHub上提出 Issue、发起 Pull Requests。此外,也欢迎加入「Typst 非官方中文交流群」(QQ 793548390)
This site provides a Chinese translation of the Typst v0.10.0+后期随缘更新 documentation maintained by the “Typst Chinese Community” with permission from Typst GmbH. We recommend using this alongside the official documentation. We welcome contributions through Issues and Pull Requests on our GitHub repository for both translation improvements and website enhancements. Feel free to join our QQ chat group “Typst 非官方中文交流群” (793548390).
Typst文档简体中文版
v0.10.0+后期随缘更新

基础

基础类型和函数。

在这里,您将找到有关基本数据类型(如 整数字符串)以及核心计算功能的详细信息。

定义

  • 捕获到函数的参数。
  • 一系列值。
  • 确保条件得到满足。
  • 具有两种状态的类型。
  • 字节序列。
  • 用于计算和处理数字值的模块。
  • 文档内容的一部分。
  • 表示日期、时间或两者的组合。
  • 从字符串键到值的映射。
  • 表示正或负的时间跨度。
  • 将字符串作为 Typst 代码进行评估。
  • 浮点数。
  • 从参数值到返回值的映射。
  • 整数。
  • 元素的标签。
  • 已评估的模块,可以是内置的或来自文件的结果。
  • 失败并显示错误。
  • WebAssembly 插件。
  • 正则表达式。
  • 返回值的字符串表示。
  • 用于选择文档中的元素的过滤器。
  • Unicode 代码点序列。
  • 提供对活动样式的访问。
  • 用于系统交互的模块。
  • 描述一种值的类型。
  • 具有任意数量组件的版本。
转到官方文档(英文)

搜索