孟祥瑞 commited on
上传语料:typst_reference
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- LICENSE +21 -0
- README.md +35 -0
- SExpressions.sublime-syntax +14 -0
- chp01.typ +925 -0
- chp02.typ +0 -0
- chp03.typ +0 -0
- chp04.typ +2579 -0
- chp05.typ +2458 -0
- chp06.typ +0 -0
- chp07.typ +0 -0
- chp08.typ +946 -0
- chp09.typ +2587 -0
- chp10.typ +599 -0
- chp11.typ +487 -0
- chp12.typ +0 -0
- data/data.csv +1171 -0
- data/details.toml +3 -0
- data/example.csv +3 -0
- data/example.xml +17 -0
- data/frame.json +6 -0
- data/monday.json +5 -0
- data/moore.csv +40 -0
- data/moore1.csv +4 -0
- data/readme.md +63 -0
- data/scifi-authors.yaml +10 -0
- data/symbols.csv +1 -0
- data/test.yaml +14 -0
- data/test01.csv +1352 -0
- data/transistors-per-microprocessor.metadata.json +28 -0
- data/transistors-per-microprocessor.zip +3 -0
- data/tuesday.json +6 -0
- example.typ +1 -0
- halcyon.tmTheme +56 -0
- images/1001.png +3 -0
- images/1002.png +3 -0
- images/1003.png +3 -0
- images/1004.png +3 -0
- images/1005.png +3 -0
- images/1006.png +3 -0
- images/1007.png +3 -0
- images/1008.png +3 -0
- images/1009.png +3 -0
- images/1010.png +3 -0
- images/1011.png +3 -0
- images/1012.png +3 -0
- images/1013.png +3 -0
- images/1014.png +3 -0
- images/1015.png +3 -0
- images/1016.png +3 -0
- images/1017.png +3 -0
LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
MIT License
|
| 2 |
+
|
| 3 |
+
Copyright (c) 2026 孟祥瑞
|
| 4 |
+
|
| 5 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 6 |
+
of this software and associated documentation files (the "Software"), to deal
|
| 7 |
+
in the Software without restriction, including without limitation the rights
|
| 8 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
| 9 |
+
copies of the Software, and to permit persons to whom the Software is
|
| 10 |
+
furnished to do so, subject to the following conditions:
|
| 11 |
+
|
| 12 |
+
The above copyright notice and this permission notice shall be included in all
|
| 13 |
+
copies or substantial portions of the Software.
|
| 14 |
+
|
| 15 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 16 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 17 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 18 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 19 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 20 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
| 21 |
+
SOFTWARE.
|
README.md
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Typst 参考手册 · 中文编译版
|
| 2 |
+
|
| 3 |
+
一份把 Typst 官方参考文档逐章转成 Typst 源码的中文手册,共 12 章,编译后约 1452 页。原始文本来自 Typst 官方文档,这里保留的是转换后的 `.typ` 源码与主题文件。
|
| 4 |
+
|
| 5 |
+
## 结构
|
| 6 |
+
|
| 7 |
+
| 文件 | 内容 |
|
| 8 |
+
|---|---|
|
| 9 |
+
| `main.typ` | 入口:导入 `theme.typ` 与 `@preview/theorion`,按顺序 `include` 12 章 |
|
| 10 |
+
| `chp01.typ` … `chp12.typ` | 各章正文;章节之间用 `<label>` 交叉引用,单独编译会报 “label does not exist” |
|
| 11 |
+
| `theme.typ` | 文档主题:标题页、页眉页脚、配色的 `myconf` 配置 |
|
| 12 |
+
| `setpage.typ` | 页面设置辅助函数 |
|
| 13 |
+
| `test.typ`、`example.typ` | 语法试验与最小示例 |
|
| 14 |
+
| `images/`、`data/` | 章节引用的图片与表格数据 |
|
| 15 |
+
| `SExpressions.sublime-syntax`、`halcyon.tmTheme` | 编辑器语法高亮文件 |
|
| 16 |
+
|
| 17 |
+
## 编译
|
| 18 |
+
|
| 19 |
+
```sh
|
| 20 |
+
typst compile --root . main.typ
|
| 21 |
+
```
|
| 22 |
+
|
| 23 |
+
`--root .` 必须加:各章通过相对路径引用 `theme.typ` 与 `images/`,编译单章时相对路径会越出项目根。
|
| 24 |
+
|
| 25 |
+
依赖 `@preview/theorion:0.6.0`(首次编译自动下载)与 `@preview/cetz`。字体使用 TeX Gyre 系列;缺字体时 Typst 会回退并给出 warning。
|
| 26 |
+
|
| 27 |
+
## 代码风格
|
| 28 |
+
|
| 29 |
+
源码按统一规则整理:行尾空白、连续空行、制表符归零,数学间距改用符号名,超长行只在已有空格处折行;含行内代码(反引号)的行不折,避免把一段 inline raw 拆成两行。
|
| 30 |
+
|
| 31 |
+
整理后 `main.typ` 编译通过,1452 页不变,PDF 文本(NFKC + 空白归一化)逐字符多重集一致——差异仅来自 pdftotext 对同一行内并排文本块的读取顺序,不涉及内容或分页。
|
| 32 |
+
|
| 33 |
+
## License
|
| 34 |
+
|
| 35 |
+
MIT
|
SExpressions.sublime-syntax
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#let rtext(content)={
|
| 2 |
+
text(fill: red,content)
|
| 3 |
+
}
|
| 4 |
+
= 语言
|
| 5 |
+
|
| 6 |
+
== 语法(Syntax)<Syntax>
|
| 7 |
+
Typst是一种标记语言。这意味着您可以使用简单的语法来完成常见的布局任务。轻量级标记语法由set和show规则补充,使您可以轻松自动地设置文档样式。所有这些都得到了一种紧密集成的脚本语言的支持,该语言具有内置和用户定义的函数。
|
| 8 |
+
=== 模式(Modes)<Syntax_Modes>
|
| 9 |
+
Typst有三种语法模式:标记、数学和代码。标记模式是Typst文档中的默认模式,数学模式允许您编写数学公式,代码模式允许您使用Typst的脚本功能。
|
| 10 |
+
|
| 11 |
+
您可以在任何时候通过参考下表切换到特定模式:
|
| 12 |
+
#table(
|
| 13 |
+
columns: (0.5fr,1fr,1fr),
|
| 14 |
+
align: (left,left,left),
|
| 15 |
+
[新模式],[语法],[示例],
|
| 16 |
+
[代码],[在代码前加上前缀\#],[数值: \#(1 + 2)],
|
| 17 |
+
[数学],[用\$..\$包围方程式。],[\$-x\$是\$x\$的相反数],
|
| 18 |
+
[标记],[用\[..\]包围的标记。],[let name = \[\*Typst!\*\]],
|
| 19 |
+
)
|
| 20 |
+
一旦你使用\#进入代码模式,你就不需要使用进一步的哈希,除非你在两者之间切换回标记或数学模式。
|
| 21 |
+
=== 标记(Markup)<Syntax_Markup>
|
| 22 |
+
Typst为最常见的文档元素提供了内置标记。大多数语法元素只是相应函数的快捷方式。下表列出了所有可用的标记,并链接到了解其语法和用法的最佳位置。
|
| 23 |
+
#table(
|
| 24 |
+
columns: (1fr,1.5fr,0.5fr),
|
| 25 |
+
align: (left,left,left),
|
| 26 |
+
stroke: none,
|
| 27 |
+
table.header[名称][例子][查看],
|
| 28 |
+
table.hline(),
|
| 29 |
+
[Paragraph break],[Blank line],[#link(<parbreak>)[parbreak]],
|
| 30 |
+
[Strong emphasis],[\*strong\*],[#link(<strong>)[strong]],
|
| 31 |
+
[Emphasis],[_emphasis_],[#link(<Emphasis>)[emph]],
|
| 32 |
+
[Raw text],[\`print(1)\`],[#link(<raw>)[raw]],
|
| 33 |
+
[Link],[https://typst.app/],[#link(<link>)[link]],
|
| 34 |
+
[Label],[\<intro\>],[#link(<label>)[label]],
|
| 35 |
+
[Reference],[\@intro],[#link(<ref>)[ref]],
|
| 36 |
+
[Heading],[\= Heading],[#link(<heading>)[heading]],
|
| 37 |
+
[Bullet list],[\- item],[#link(<list>)[list]],
|
| 38 |
+
[Numbered list],[\+ item],[#link(<enum>)[enum]],
|
| 39 |
+
[Term list],[\/ Term: description],[#link(<terms>)[terms]],
|
| 40 |
+
[Math],[\$x\^2\$],[#link(<math>)[Math]],
|
| 41 |
+
[Line break],[\\],[#link(<linebreak>)[linebreak]],
|
| 42 |
+
[Smart quote],[\'single\' or \"double\"],[#link(<smartquote>)[smartquote]],
|
| 43 |
+
[Symbol shorthand],[\~, \-\-\-],[#link(<symbol>)[Symbols]],
|
| 44 |
+
[Code expression],[\#rect(width: 1cm)],[#link(<Scripting>)[Scripting]],
|
| 45 |
+
[Character escape],[Tweet at us \#ad],[#link(<Syntax_escape_sequences>)[Below]],
|
| 46 |
+
[Comment],[\/\* block \*\/, \/\/ line],[#link(<Syntax_comment>)[Below]],
|
| 47 |
+
)
|
| 48 |
+
=== 数学模式(Math mode)<Syntax_Math_mode>
|
| 49 |
+
数学模式是一种特殊的标记模式,用于排版数学公式。它是通过用\$字符包装一个方程式来输入的。这在标记和代码中都有效。如果方程式以至少一个空格开头和结尾(例如\$x^2\$),则将其排版到自己的块中。内联数学可以通过省略空格(例如\$x\^2\$)来生成。数学模式特有的语法概述如下:
|
| 50 |
+
#table(
|
| 51 |
+
columns: (1fr,1.5fr,0.5fr),
|
| 52 |
+
align: (left,left,left),
|
| 53 |
+
stroke: none,
|
| 54 |
+
table.header[名称][例子][查看],
|
| 55 |
+
table.hline(),
|
| 56 |
+
[Inline math],[\$x^2\$],[#link(<math>)[Math]],
|
| 57 |
+
[Block-level math],[\$ x^2 \$],[#link(<math>)[Math]],
|
| 58 |
+
[Bottom attachment],[\$x_1\$],[#link(<Attach>)[attach]],
|
| 59 |
+
[Top attachment],[\$x^2\$],[#link(<Attach>)[attach]],
|
| 60 |
+
[Fraction],[\$1 + (a+b)\/5\$],[#link(<frac>)[frac]],
|
| 61 |
+
[Line break],[\$x \\ y\$],[#link(<linebreak>)[linebreak]],
|
| 62 |
+
[Alignment point],[\$x &= 2 \\ &= 3\$],[#link(<math>)[Math]],
|
| 63 |
+
[Variable access],[\$\#x\$, \$pi\$],[#link(<math>)[Math]],
|
| 64 |
+
[Field access],[\$arrow.r.long\$],[#link(<Scripting_Fields>)[Scripting]],
|
| 65 |
+
[Implied multiplication],[\$x y\$],[#link(<math>)[Math]],
|
| 66 |
+
[Symbol shorthand],[\$->\$, \$!=\$],[#link(<symbol>)[Symbols]],
|
| 67 |
+
[Text\/string in math],[\$a \"is natural\"\$],[#link(<math>)[Math]],
|
| 68 |
+
[Math function call],[\$floor(x)\$],[#link(<math>)[Math]],
|
| 69 |
+
[Code expression],[\$\#rect(width: 1cm)\$],[#link(<Scripting_Expressions>)[Scripting]],
|
| 70 |
+
[Character escape],[\$x\^2\$],[#link(<Syntax_escape_sequences>)[Below]],
|
| 71 |
+
[Comment],[\$\/\* comment \*\/\$],[#link(<Syntax_comment>)[Below]],
|
| 72 |
+
)
|
| 73 |
+
=== 代码模式(Code mode)<Syntax_Code_mode>
|
| 74 |
+
在代码块和表达式中,新表达式可以在没有前导\#字符的情况下开始。许多句法元素是特定于表达式的。下表列出了代码模式下可用的所有语法:
|
| 75 |
+
#table(
|
| 76 |
+
columns: (1fr,1fr,0.5fr),
|
| 77 |
+
align: (left,left,left),
|
| 78 |
+
stroke: none,
|
| 79 |
+
table.header[名称][例子][查看],
|
| 80 |
+
table.hline(),
|
| 81 |
+
[None],[none],[#link(<none>)[none]],
|
| 82 |
+
[Auto],[auto],[#link(<auto>)[auto]],
|
| 83 |
+
[Boolean],[false,true],[#link(<bool>)[bool]],
|
| 84 |
+
[Integer],[10,0xff],[#link(<Integer>)[int]],
|
| 85 |
+
[Floating-point number],[3.14,1e5],[#link(<float>)[float]],
|
| 86 |
+
[Length],[2pt,3mm,1em,..],[#link(<length>)[length]],
|
| 87 |
+
[Angle],[90deg,1rad],[#link(<angle>)[angle]],
|
| 88 |
+
[Fraction],[2fr],[#link(<fraction>)[fraction]],
|
| 89 |
+
[Ratio],[50%],[#link(<ratio>)[ratio]],
|
| 90 |
+
[String],["hello"],[#link(<String>)[str]],
|
| 91 |
+
[Label],[\<intro\>],[#link(<label>)[label]],
|
| 92 |
+
[Math],[\$x^2\$],[#link(<math>)[Math]],
|
| 93 |
+
[Raw text],[\`print(1)\`],[#link(<raw>)[raw]],
|
| 94 |
+
[Variable access],[x],[#link(<Scripting_Blocks>)[Scripting]],
|
| 95 |
+
[Code block],[{ let x = 1; x + 2 }],[#link(<Scripting_Blocks>)[Scripting]],
|
| 96 |
+
[Content block],[[\*Hello\*]],[#link(<Scripting_Blocks>)[Scripting]],
|
| 97 |
+
[Parenthesized expression],[(1 + 2)],[#link(<Scripting_Blocks>)[Scripting]],
|
| 98 |
+
[Array],[(1,2,3)],[#link(<array>)[Array]],
|
| 99 |
+
[Dictionary],[(a: "hi",b: 2)],[#link(<dictionary>)[Dictionary]],
|
| 100 |
+
[Unary operator],[-x],[#link(<Scripting_Operators>)[Scripting]],
|
| 101 |
+
[Binary operator],[x + y],[#link(<Scripting_Operators>)[Scripting]],
|
| 102 |
+
[Assignment],[x = 1],[#link(<Scripting_Operators>)[Scripting]],
|
| 103 |
+
[Field access],[x.y],[#link(<Scripting_Fields>)[Scripting]],
|
| 104 |
+
[Method call],[x.flatten()],[#link(<Scripting_Methods>)[Scripting]],
|
| 105 |
+
[Function call],[min(x,y)],[#link(<Function>)[Function]],
|
| 106 |
+
[Argument spreading],[min(..nums)],[#link(<arguments>)[Arguments]],
|
| 107 |
+
[Unnamed function],[(x,y) => x + y],[#link(<Function>)[Function]],
|
| 108 |
+
[Let binding],[let x = 1],[#link(<Scripting_BD>)[Scripting]],
|
| 109 |
+
[Named function],[let f(x) = 2 \* x],[#link(<Function>)[Function]],
|
| 110 |
+
[Set rule],[set text(14pt)],[#link(<Styling-set>)[Styling]],
|
| 111 |
+
[Set-if rule],[set text(..) if ..],[#link(<Styling-set>)[Styling]],
|
| 112 |
+
[Show-set rule],[show heading: set block(..)],[#link(<Styling-show>)[Styling]],
|
| 113 |
+
[Show rule with function],[show raw: it => {..}],[#link(<Styling-show>)[Styling]],
|
| 114 |
+
[Show-everything rule],[show: template],[#link(<Styling-show>)[Styling]],
|
| 115 |
+
[Context expression],[context text.lang],[#link(<Context>)[Context]],
|
| 116 |
+
[Conditional],[if x == 1 {..} else {..}],[#link(<Scripting_Conditionals>)[Scripting]],
|
| 117 |
+
[For loop],[for x in (1,2,3) {..}],[#link(<Scripting_Loops>)[Scripting]],
|
| 118 |
+
[While loop],[while x < 10 {..}],[#link(<Scripting_Loops>)[Scripting]],
|
| 119 |
+
[Loop control flow],[break,continue],[#link(<Scripting_Loops>)[Scripting]],
|
| 120 |
+
[Return from function],[return x],[#link(<Function>)[Function]],
|
| 121 |
+
[Include module],[include "bar.typ"],[#link(<Scripting_Modules>)[Scripting]],
|
| 122 |
+
[Import module],[import "bar.typ"],[#link(<Scripting_Modules>)[Scripting]],
|
| 123 |
+
[Import items from module],[import "bar.typ": a,b,c],[#link(<Scripting_Modules>)[Scripting]],
|
| 124 |
+
[Comment],[\/\* block \*\/,\/\/ line],[#link(<Syntax_comment>)[Below]],
|
| 125 |
+
)
|
| 126 |
+
=== 注释(Comments)<Syntax_comment>
|
| 127 |
+
Typst会忽略注释,不会将其包含在输出中。这对于排除旧版本或添加注释非常有用。要注释掉一行,请以\/\/开头:
|
| 128 |
+
#table(
|
| 129 |
+
columns: (0.8fr,1.2fr),
|
| 130 |
+
align: (left,left),
|
| 131 |
+
stroke: none,
|
| 132 |
+
fill: (rgb(250, 250, 250),rgb(220,220,220)),
|
| 133 |
+
[\/\/ our data barely supports\
|
| 134 |
+
\/\/ this claim\
|
| 135 |
+
|
| 136 |
+
We show with \$p < 0.05\$\
|
| 137 |
+
that the difference is\
|
| 138 |
+
significant.],[#image("images/1001.png",width: 11cm)]
|
| 139 |
+
)
|
| 140 |
+
注释也可以被包裹在\/\*和\*\/之间。在这种情况下,注释可以跨越多行:
|
| 141 |
+
#table(
|
| 142 |
+
columns: (1fr,1fr),
|
| 143 |
+
align: (left,left),
|
| 144 |
+
stroke: none,
|
| 145 |
+
fill: (rgb(250, 250, 250),rgb(220,220,220)),
|
| 146 |
+
[Our study design is as follows:\
|
| 147 |
+
\/\* Somebody write this up:\
|
| 148 |
+
\- 1000 participants.\
|
| 149 |
+
\- 2x2 data design. \*\/],[#image("images/1002.png",width: 11cm)]
|
| 150 |
+
)
|
| 151 |
+
=== 转义序列(Escape sequences)<Syntax_escape_sequences>
|
| 152 |
+
|
| 153 |
+
转义序列用于插入在Typst中难以键入或具有特殊含义的特殊字符。要转义字符,请在字符前加一个反斜杠。要插入任何Unicode代码点,可以编写十六进制转义序列:\\u{1f600}。同样的转义序列也适用于#link(<String>)[字符串]。
|
| 154 |
+
#table(
|
| 155 |
+
columns: (1fr,1fr),
|
| 156 |
+
align: (left,left),
|
| 157 |
+
stroke: none,
|
| 158 |
+
fill: (rgb(250, 250, 250),rgb(220,220,220)),
|
| 159 |
+
[I got an ice cream for\
|
| 160 |
+
\\\$1.50! \\u{1f600}
|
| 161 |
+
],[#image("images/1003.png",width: 11cm)]
|
| 162 |
+
)
|
| 163 |
+
=== 标识符(Identifiers)<Syntax_Identifiers>
|
| 164 |
+
变量、函数等的名称(标识符)可以包含字母、数字、连字符(\-)和下划线(\_)。它们必须以字母或下划线开头。
|
| 165 |
+
|
| 166 |
+
更具体地说,Typst中的标识符语法基于#link("https://www.unicode.org/reports/tr31/")[Unicode标准附录\#31],有两个扩展:允许\_作为起始字符,允许\_和\-作为连续字符。
|
| 167 |
+
|
| 168 |
+
对于多词标识符,推荐的大小写惯例是Kebab大小写。在#link("https://en.wikipedia.org/wiki/Letter_case#Kebab_case")[Kebab]的情况下,单词以小写字母书写,并用连字符分隔(如上边)。在开发供他人使用的模块和包时,这一点尤其重要,因为它使事情保持可预测性。
|
| 169 |
+
#table(
|
| 170 |
+
columns:100%,
|
| 171 |
+
fill: rgb(250,250,250),
|
| 172 |
+
stroke: none,
|
| 173 |
+
[
|
| 174 |
+
```typst
|
| 175 |
+
#let kebab-case = [Using hyphen]
|
| 176 |
+
#let _schön = "😊"
|
| 177 |
+
#let 始料不及 = "😱"
|
| 178 |
+
#let π = calc.pi
|
| 179 |
+
|
| 180 |
+
#kebab-case
|
| 181 |
+
#if -π < 0 { _schön } else { 始料不及 }
|
| 182 |
+
// -π means -1 * π,
|
| 183 |
+
// so it's not a valid identifier
|
| 184 |
+
```
|
| 185 |
+
]
|
| 186 |
+
)
|
| 187 |
+
#table(
|
| 188 |
+
columns:100%,
|
| 189 |
+
fill: rgb(240,240,240),
|
| 190 |
+
stroke: none,
|
| 191 |
+
[
|
| 192 |
+
#image("images/1004.png")
|
| 193 |
+
]
|
| 194 |
+
)
|
| 195 |
+
|
| 196 |
+
== 样式(Styling)<Styling>
|
| 197 |
+
Typst包括一个灵活的样式系统,可以自动将您选择的样式应用于您的文档。通过set规则,您可以配置元素的基本属性。通过这种方式,您可以创建最常见的样式。然而,可能并没有一个内置属性可以满足你想要做的一切。因此,Typst进一步支持可以完全重新定义元素外观的显示规则。
|
| 198 |
+
|
| 199 |
+
=== Set规则<Styling-set>
|
| 200 |
+
通过设置规则,您可以自定义元素的外观。它们被编写为对前面有set关键字(或标记中的\#set)的#link(<Function_element>)[元素函数]的#link(<Function>)[函数调用]。只能向设置的规则提供该函数的可选参数。请参阅每个函数的文档,了解哪些参数是可选的。在下面的示例中,我们使用两组规则来更改#link(<text_font>)[字体族]和#link(<heading_numbering>)[标题编号]。
|
| 201 |
+
#table(
|
| 202 |
+
columns: (0.8fr,1.2fr),
|
| 203 |
+
align: (left,left),
|
| 204 |
+
stroke: none,
|
| 205 |
+
fill: (rgb(250, 250, 250),rgb(220,220,220)),
|
| 206 |
+
[
|
| 207 |
+
```typst
|
| 208 |
+
#set heading(numbering: "I.")
|
| 209 |
+
#set text(
|
| 210 |
+
font: "New Computer Modern"
|
| 211 |
+
)
|
| 212 |
+
|
| 213 |
+
= Introduction
|
| 214 |
+
With set rules, you can style
|
| 215 |
+
your document.
|
| 216 |
+
```
|
| 217 |
+
],[#image("images/1005.png",width: 11cm)]
|
| 218 |
+
)
|
| 219 |
+
顶级集规则在文件结束之前一直有效。当嵌套在代码或内容块中时,它只在该块结束之前有效。使用块,您可以将规则的效果限制在文档的特定部分。下面,我们使用内容块将列表样式限定到一个特定的列表。
|
| 220 |
+
#table(
|
| 221 |
+
columns: (1fr,1fr),
|
| 222 |
+
align: (left,left),
|
| 223 |
+
stroke: none,
|
| 224 |
+
fill: (rgb(250, 250, 250),rgb(220,220,220)),
|
| 225 |
+
[
|
| 226 |
+
```typst
|
| 227 |
+
This list is affected: #[
|
| 228 |
+
#set list(marker: [--])
|
| 229 |
+
- Dash
|
| 230 |
+
]
|
| 231 |
+
|
| 232 |
+
This one is not:
|
| 233 |
+
- Bullet
|
| 234 |
+
```
|
| 235 |
+
],[#image("images/1006.png",width: 11cm)]
|
| 236 |
+
)
|
| 237 |
+
有时,您会希望有条件地应用一组规则。为此,您可以使用set-if规则。
|
| 238 |
+
#table(
|
| 239 |
+
columns: (1fr,1fr),
|
| 240 |
+
align: (left,left),
|
| 241 |
+
stroke: none,
|
| 242 |
+
fill: (rgb(250, 250, 250),rgb(220,220,220)),
|
| 243 |
+
[
|
| 244 |
+
```typst
|
| 245 |
+
#let task(body, critical: false) = {
|
| 246 |
+
set text(red) if critical
|
| 247 |
+
[- #body]
|
| 248 |
+
}
|
| 249 |
+
|
| 250 |
+
#task(critical: true)[Food today?]
|
| 251 |
+
#task(critical: false)[Work deadline]
|
| 252 |
+
|
| 253 |
+
```
|
| 254 |
+
],[#image("images/1007.png",width: 11cm)]
|
| 255 |
+
)
|
| 256 |
+
=== Show规则<Styling-show>
|
| 257 |
+
通过Show规则,您可以深度定制一种元素的外观。Show规则的最基本形式是Show集规则。这样的规则被写成show关键字,后面跟着选择器、冒号,然后是set规则。选择器最基本的形式是元素函数。这使得设置的规则仅适用于选定的元素。在下面的示例中,标题变为深蓝色,而所有其他文本保持黑色。
|
| 258 |
+
#table(
|
| 259 |
+
columns: (1fr,1fr),
|
| 260 |
+
align: (left,left),
|
| 261 |
+
stroke: none,
|
| 262 |
+
fill: (rgb(250, 250, 250),rgb(220,220,220)),
|
| 263 |
+
[
|
| 264 |
+
```typst
|
| 265 |
+
#show heading: set text(navy)
|
| 266 |
+
|
| 267 |
+
= This is navy-blue
|
| 268 |
+
But this stays black.
|
| 269 |
+
|
| 270 |
+
```
|
| 271 |
+
],[#image("images/1008.png",width: 11cm)]
|
| 272 |
+
)
|
| 273 |
+
使用show集规则,您可以混合和匹配来自不同功能的属性,以实现许多不同的效果。但它们仍然将您限制在Typst中预定义的范围内。为了获得最大的灵活性,您可以编写一个转换show规则,定义如何从头开始格式化元素。要编写这样的show规则,请将冒号后的设置规则替换为任意#link(<Function>)[函数]。此函数接收有问题的元素,并可以返回任意内容。函数通常被内联定义为它=>..使#link(<Function_unnamed>)[用未命名函数语法]。函数的参数通常按惯例命名。
|
| 274 |
+
|
| 275 |
+
调用给函数的实数#link(<Scripting_Fields>)[类型]与相应定义函数的形参类型匹配。下面,我们定义了一个show规则,用于格式化各种类型论文和书籍的标题。
|
| 276 |
+
|
| 277 |
+
Show规则本身在标题周围添加波浪号字符(这些字符必须用反斜杠转义,否则它们将表示一个不间断的空格),用斜体强调标题,然后在标题后显示标题计数器。
|
| 278 |
+
|
| 279 |
+
对于这个例子,我们还需要中心对齐和不同的字体。虽然我们本可以将这些集合规则添加到现有的show规则中,但我们将它们作为单独的show集规则添加。这是一种很好的做法,因为现在这些规则仍然可以被文档中稍后的show集规则覆盖,从而保持样式的可组合性。相比之下,转型show规则中的既定规则将不再被超越。
|
| 280 |
+
#table(
|
| 281 |
+
columns: (1fr),
|
| 282 |
+
align: (left),
|
| 283 |
+
stroke: none,
|
| 284 |
+
fill: rgb(250, 250, 250),
|
| 285 |
+
[
|
| 286 |
+
```typst
|
| 287 |
+
#set heading(numbering: "(I)")
|
| 288 |
+
#show heading: set align(center)
|
| 289 |
+
#show heading: set text(font: "Inria Serif")
|
| 290 |
+
#show heading: it => block[
|
| 291 |
+
\~
|
| 292 |
+
#emph(it.body)
|
| 293 |
+
#counter(heading).display()
|
| 294 |
+
\~
|
| 295 |
+
]
|
| 296 |
+
|
| 297 |
+
= Dragon
|
| 298 |
+
With a base health of 15, the dragon is the most
|
| 299 |
+
powerful creature.
|
| 300 |
+
|
| 301 |
+
= Manticore
|
| 302 |
+
While less powerful than the dragon, the manticore
|
| 303 |
+
gets extra style points.
|
| 304 |
+
|
| 305 |
+
```
|
| 306 |
+
]
|
| 307 |
+
)
|
| 308 |
+
#table(
|
| 309 |
+
columns: (1fr),
|
| 310 |
+
align: (center),
|
| 311 |
+
stroke: none,
|
| 312 |
+
fill: rgb(220,220,220),
|
| 313 |
+
[#image("images/1009.png",width: 11cm)]
|
| 314 |
+
)
|
| 315 |
+
与set规则一样,show规则一直有效到当前块或文件结束。
|
| 316 |
+
|
| 317 |
+
show规则的右侧也可以采用文字字符串或内容块,而不是函数,直接替换元素。除了一个函数,show规则的左侧还可以接受许多其他选择器,这些选择器定义了将转换应用于什么:
|
| 318 |
+
#set par(hanging-indent: 1.3cm)
|
| 319 |
+
-- Everything: show: rest => ..\
|
| 320 |
+
按照表演规则改变一切。这有助于将更复杂的布局应用于整个文档,而无需将所有内容包装在一个巨大的函数调用中。
|
| 321 |
+
|
| 322 |
+
-- Text: show \"Text\": ..\
|
| 323 |
+
设置样式、转换或替换文本。
|
| 324 |
+
|
| 325 |
+
-- Regex: show regex(\"\w+\"): ..\
|
| 326 |
+
使用正则表达式选择和转换文本,以获得更大的灵活性。有关详细信息,请参阅正则表达式类型的文档。
|
| 327 |
+
|
| 328 |
+
-- 带字段的函数: show heading.where(level: 1): ..\
|
| 329 |
+
仅转换具有指定字段的元素。例如,您可能只想更改一级标题的样式。
|
| 330 |
+
|
| 331 |
+
-- Label: show \<intro\>: ..\
|
| 332 |
+
选择并变换具有指定标签的图元。有关更多详细信息,请参阅#link(<label>)[标签]类型的文档。
|
| 333 |
+
#set par(hanging-indent: 0cm)
|
| 334 |
+
#table(
|
| 335 |
+
columns: (1fr,1fr),
|
| 336 |
+
align: (left,left),
|
| 337 |
+
stroke: none,
|
| 338 |
+
fill: (rgb(250, 250, 250),rgb(220,220,220)),
|
| 339 |
+
[
|
| 340 |
+
```typst
|
| 341 |
+
#show "Project": smallcaps
|
| 342 |
+
#show "badly": "great"
|
| 343 |
+
|
| 344 |
+
We started Project in 2019
|
| 345 |
+
and are still working on it.
|
| 346 |
+
Project is progressing badly.
|
| 347 |
+
```
|
| 348 |
+
],[#image("images/1010.png",width: auto)]
|
| 349 |
+
)
|
| 350 |
+
|
| 351 |
+
== 脚本编程(Scripting)<Scripting>
|
| 352 |
+
Typst嵌入了一种强大的脚本语言。您可以自动化文档,并使用代码创建更复杂的样式。下面是对脚本概念的概述。
|
| 353 |
+
|
| 354 |
+
=== 表达式(Expressions)<Scripting_Expressions>
|
| 355 |
+
在Typst中,标记和代码被融合在一起。除了最常见的元素外,所有元素都是用函数创建的。为了使这尽可能方便,Typst提供了紧凑的语法来将代码表达式嵌入标记中:表达式用哈希(\#)引入,表达式完成后恢复正常的标记解析。如果一个字符将继续表达式,但应被解释为文本,则表达式可以强制以分号(;)结尾。你可以转义一个字面的\#或;带有反斜杠。
|
| 356 |
+
|
| 357 |
+
#table(
|
| 358 |
+
columns: (1fr,1fr),
|
| 359 |
+
align: (left,left),
|
| 360 |
+
stroke: none,
|
| 361 |
+
fill: (rgb(250, 250, 250),rgb(220,220,220)),
|
| 362 |
+
[
|
| 363 |
+
```typst
|
| 364 |
+
#emph[Hello]
|
| 365 |
+
#emoji.face
|
| 366 |
+
#"hello".len()
|
| 367 |
+
```
|
| 368 |
+
],[#image("images/1011.png",width: auto)]
|
| 369 |
+
)
|
| 370 |
+
上面的示例显示了一些可用的表达式,包括函数调用、字段访问和方法调用。本章其余部分将讨论更多类型的表达式。有几种表达式与哈希语法不兼容(例如二进制运算符表达式)。要将这些嵌入到标记中,可以使用括号,如\#(1+2)。
|
| 371 |
+
=== 块(Blocks)<Scripting_Blocks>
|
| 372 |
+
为了构建代码并将标记嵌入其中,Typst提供了两种块:
|
| 373 |
+
#set par(hanging-indent: 1cm)
|
| 374 |
+
-- 代码块:```typc {let x=1;x+2}```
|
| 375 |
+
|
| 376 |
+
在编写代码时,您可能希望将计算拆分为多个语句,创建一些中间变量等等。代码块允许您在需要的地方编写多个表达式。代码块中的各个表达式应由换行符或分号分隔。代码块中各个表达式的输出值被连接以确定块的值。没有有用输出的表达式,如let绑定,不产生任何输出,可以与任何值连接而不产生任何效果。\
|
| 377 |
+
-- 内容块:```typc [*Hey* there!]```
|
| 378 |
+
|
| 379 |
+
使用内容块,您可以将标记/内容作为编程值处理,将其存储在变量中并传递给函数。内容块由方括号分隔,可以包含任意标记。内容块产生内容类型的值。任意数量的内容块可以作为尾随参数传递给函数。也就是说,列表([A],[B])等价于列表[A][B]。
|
| 380 |
+
#set par(hanging-indent: 0cm)
|
| 381 |
+
内容和代码块可以任意嵌套。在下面的例子中,[hello]与a+[the]+b的输出连接,产生[hello from the \*world\*]。
|
| 382 |
+
#table(
|
| 383 |
+
columns: (1fr,1fr),
|
| 384 |
+
align: (left,left),
|
| 385 |
+
stroke: none,
|
| 386 |
+
fill: (rgb(250, 250, 250),rgb(220,220,220)),
|
| 387 |
+
[
|
| 388 |
+
```typst
|
| 389 |
+
#{
|
| 390 |
+
let a = [from]
|
| 391 |
+
let b = [*world*]
|
| 392 |
+
[hello ]
|
| 393 |
+
a + [ the ] + b
|
| 394 |
+
}
|
| 395 |
+
```
|
| 396 |
+
],[#image("images/1012.png",width: auto)]
|
| 397 |
+
)
|
| 398 |
+
=== 绑定和解构(Bindings and Destructuring)<Scripting_BD>
|
| 399 |
+
如上所述,变量可以用let绑定来定义。变量被分配了=符号后面的表达式的值。#link(<Syntax_Identifiers>)[有效的变量名]可以包含-,但不能以-开头。值的赋值是可选的,如果没有赋值,变量将被初始化为none。let关键字也可用于创建#link(<Function_definition>)[自定义命名函数]。可以访问包含块的其余部分(或者如果没有包含块,���访问文件的其余部分)的变量。
|
| 400 |
+
#table(
|
| 401 |
+
columns: (1fr,1fr),
|
| 402 |
+
align: (left,left),
|
| 403 |
+
stroke: none,
|
| 404 |
+
fill: (rgb(250, 250, 250),rgb(220,220,220)),
|
| 405 |
+
[
|
| 406 |
+
```typst
|
| 407 |
+
#let name = "Typst"
|
| 408 |
+
This is #name's documentation.
|
| 409 |
+
It explains #name.
|
| 410 |
+
|
| 411 |
+
#let my-add(x, y) = x + y
|
| 412 |
+
Sum is #my-add(2, 3).
|
| 413 |
+
```
|
| 414 |
+
],[#image("images/1013.png",width: auto)]
|
| 415 |
+
)
|
| 416 |
+
Let绑定也可用于解构#link(<array>)[数组]和#link(<dictionary>)[字典]。在这种情况下,赋值左侧的结构应该反映数组或字典:数组的绑定按位置对应,字典的绑定按键名对应。..运算符可以在模式中使用一次,以收集数组或字典的其余项。
|
| 417 |
+
#table(
|
| 418 |
+
columns: (1fr,1fr),
|
| 419 |
+
align: (left,left),
|
| 420 |
+
stroke: none,
|
| 421 |
+
fill: (rgb(250, 250, 250),rgb(220,220,220)),
|
| 422 |
+
[
|
| 423 |
+
```typst
|
| 424 |
+
#let (x, y) = (1, 2)
|
| 425 |
+
The coordinates are #x, #y.
|
| 426 |
+
|
| 427 |
+
#let (a, .., b) = (1, 2, 3, 4)
|
| 428 |
+
The first element is #a.
|
| 429 |
+
The last element is #b.
|
| 430 |
+
|
| 431 |
+
#let books = (
|
| 432 |
+
Shakespeare: "Hamlet",
|
| 433 |
+
Homer: "The Odyssey",
|
| 434 |
+
Austen: "Persuasion",
|
| 435 |
+
)
|
| 436 |
+
|
| 437 |
+
#let (Austen,) = books
|
| 438 |
+
Austen wrote #Austen.
|
| 439 |
+
|
| 440 |
+
#let (Homer: h) = books
|
| 441 |
+
Homer wrote #h.
|
| 442 |
+
|
| 443 |
+
#let (Homer, ..other) = books
|
| 444 |
+
#for (author, title) in other [
|
| 445 |
+
#author wrote #title.
|
| 446 |
+
]
|
| 447 |
+
```
|
| 448 |
+
],[#image("images/1014.png",width: auto)]
|
| 449 |
+
)
|
| 450 |
+
您可以使用下划线来丢弃破坏模式中的元素:
|
| 451 |
+
#table(
|
| 452 |
+
columns: (1fr,1fr),
|
| 453 |
+
align: (left,left),
|
| 454 |
+
stroke: none,
|
| 455 |
+
fill: (rgb(250, 250, 250),rgb(220,220,220)),
|
| 456 |
+
[
|
| 457 |
+
```typst
|
| 458 |
+
#let (_, y, _) = (1, 2, 3)
|
| 459 |
+
The y coordinate is #y.
|
| 460 |
+
```
|
| 461 |
+
],[#image("images/1015.png",width: auto)]
|
| 462 |
+
)
|
| 463 |
+
解构也适用于函数的参数列表…
|
| 464 |
+
#table(
|
| 465 |
+
columns: (1fr,1fr),
|
| 466 |
+
align: (left,left),
|
| 467 |
+
stroke: none,
|
| 468 |
+
fill: (rgb(250, 250, 250),rgb(220,220,220)),
|
| 469 |
+
[
|
| 470 |
+
```typst
|
| 471 |
+
#let left = (2, 4, 5)
|
| 472 |
+
#let right = (3, 2, 6)
|
| 473 |
+
#left.zip(right).map(
|
| 474 |
+
((a,b)) => a + b
|
| 475 |
+
)
|
| 476 |
+
```
|
| 477 |
+
],[#image("images/1016.png",width: auto)]
|
| 478 |
+
)
|
| 479 |
+
…在正常作业的左侧。这对于交换变量等非常有用。
|
| 480 |
+
#table(
|
| 481 |
+
columns: (1fr,1fr),
|
| 482 |
+
align: (left,left),
|
| 483 |
+
stroke: none,
|
| 484 |
+
fill: (rgb(250, 250, 250),rgb(220,220,220)),
|
| 485 |
+
[
|
| 486 |
+
```typst
|
| 487 |
+
#{
|
| 488 |
+
let a = 1
|
| 489 |
+
let b = 2
|
| 490 |
+
(a, b) = (b, a)
|
| 491 |
+
[a = #a, b = #b]
|
| 492 |
+
}
|
| 493 |
+
```
|
| 494 |
+
],[#image("images/1017.png",width: auto)]
|
| 495 |
+
)
|
| 496 |
+
=== 条件(Conditionals)<Scripting_Conditionals>
|
| 497 |
+
使用条件,您可以根据是否满足某些条件来显示或计算不同的内容。Typst支持if、else if和else表达式。当条件的计算结果为真时,该条件将产生if体产生的值。否则,它将产生由else的body产生的值。
|
| 498 |
+
#table(
|
| 499 |
+
columns: (1fr,1fr),
|
| 500 |
+
align: (left,left),
|
| 501 |
+
stroke: none,
|
| 502 |
+
fill: (rgb(250, 250, 250),rgb(220,220,220)),
|
| 503 |
+
[
|
| 504 |
+
```typst
|
| 505 |
+
#if 1 < 2 [
|
| 506 |
+
This is shown
|
| 507 |
+
] else [
|
| 508 |
+
This is not.
|
| 509 |
+
]
|
| 510 |
+
```
|
| 511 |
+
],[#image("images/1018.png",width: auto)]
|
| 512 |
+
)
|
| 513 |
+
每个分支都可以有一个代码或内容块作为其主体。\
|
| 514 |
+
-- if condition {..}\
|
| 515 |
+
-- if condition [..]\
|
| 516 |
+
-- if condition [..] else {..}\
|
| 517 |
+
-- if condition [..] else if condition {..} else [..]
|
| 518 |
+
=== 循环(Loops)<Scripting_Loops>
|
| 519 |
+
使用循环,你可以重复内容或迭代计算。Typst支持两种循环类型:for循环和while循环。前者遍历指定的集合,后者则在条件成立时持续迭代。与代码块类似,循环会将每次迭代的结果合并为一个值使用循环,你可以重复内容或迭代计算。Typst支持两种循环类型:for循环和while循环。前者遍历指定的集合,后者则在条件成立时持续迭代。与代码块类似,循环会将每次迭代的结果合并为一个值。
|
| 520 |
+
|
| 521 |
+
在下面的示例中,由for循环生成的三个句子合并为一个单一的内容值,而while循环中的长度为1的数组则合并成一个更大的数组。
|
| 522 |
+
#table(
|
| 523 |
+
columns: (1fr,1fr),
|
| 524 |
+
align: (left,left),
|
| 525 |
+
stroke: none,
|
| 526 |
+
fill: (rgb(250, 250, 250),rgb(220,220,220)),
|
| 527 |
+
[
|
| 528 |
+
```typst
|
| 529 |
+
#for c in "ABC" [
|
| 530 |
+
#c is a letter.
|
| 531 |
+
]
|
| 532 |
+
|
| 533 |
+
#let n = 2
|
| 534 |
+
#while n < 10 {
|
| 535 |
+
n = (n * 2) - 1
|
| 536 |
+
(n,)
|
| 537 |
+
}
|
| 538 |
+
```
|
| 539 |
+
],[
|
| 540 |
+
#set align(horizon+center)
|
| 541 |
+
#image("images/1019.png",width: auto)]
|
| 542 |
+
)
|
| 543 |
+
For循环可以迭代各种集合:\
|
| 544 |
+
#set par(hanging-indent: 1.3cm)
|
| 545 |
+
-- for value in array {..}\
|
| 546 |
+
迭代数组中的项。Let绑定中描述的解构语法也可以在这里使用。
|
| 547 |
+
|
| 548 |
+
-- for pair in dict {..}\
|
| 549 |
+
遍历字典的键值对。在dict{..}中使用for(key,value)也可以破坏这些对。它比dict.pairs(){..}中的pair更有效,因为它不会创建所有键值对的临时数组。
|
| 550 |
+
|
| 551 |
+
-- for letter in \"abc\" {..}\
|
| 552 |
+
迭代字符串的字符。从技术上讲,它迭代字符串的字形簇。大多数时候,字形簇只是一个代码点。然而,一个字形簇可以包含多个代码点,比如一个标志表情符号。
|
| 553 |
+
|
| 554 |
+
-- for byte in bytes(\"😀\") {..}\
|
| 555 |
+
对字节进行迭代,字节可以从字符串转换或从文���读取,而无需编码。每个字节值都是0到255之间的整数。
|
| 556 |
+
#set par(hanging-indent: 0cm)
|
| 557 |
+
为了控制循环的执行,Typst提供了break和continue语句。前者提前退出循环,而后者跳到循环的下一次迭代。
|
| 558 |
+
#table(
|
| 559 |
+
columns: (1fr,1fr),
|
| 560 |
+
align: (left,left),
|
| 561 |
+
stroke: none,
|
| 562 |
+
fill: (rgb(250, 250, 250),rgb(220,220,220)),
|
| 563 |
+
[
|
| 564 |
+
```typst
|
| 565 |
+
#for letter in "abc nope" {
|
| 566 |
+
if letter == " " {
|
| 567 |
+
break
|
| 568 |
+
}
|
| 569 |
+
|
| 570 |
+
letter
|
| 571 |
+
}
|
| 572 |
+
```
|
| 573 |
+
],[
|
| 574 |
+
#set align(horizon+center)
|
| 575 |
+
#image("images/1020.png",width: auto)]
|
| 576 |
+
)
|
| 577 |
+
循环的主体可以是代码或内容块:\
|
| 578 |
+
-- for .. in collection {..}\
|
| 579 |
+
-- for .. in collection [..]\
|
| 580 |
+
-- while condition {..}\
|
| 581 |
+
-- while condition [..]
|
| 582 |
+
|
| 583 |
+
=== 类型(fields)<Scripting_Fields>
|
| 584 |
+
您可以使用点符号访问值上的类型。对于内容类型的值,您还可以使用fields函数列出类型。
|
| 585 |
+
|
| 586 |
+
所讨论的值可以是:
|
| 587 |
+
#set par(hanging-indent: 1.3cm)
|
| 588 |
+
-- 具有指定关键字的词典(#link(<dictionary>)[dictionary]),
|
| 589 |
+
|
| 590 |
+
-- 具有指定修饰符的符号(#link(<symbol>)[symbol]),
|
| 591 |
+
-- 包含指定定义的模块(#link(<module>)[module]),
|
| 592 |
+
|
| 593 |
+
-- 由具有指定字段的元素组成的内容(#link(<content>)[content] )。调用函数的参数类型与构造元素时给出的元素函数的参数相匹配。
|
| 594 |
+
#set par(hanging-indent: 0cm)
|
| 595 |
+
#set par(hanging-indent: 0cm)
|
| 596 |
+
#table(
|
| 597 |
+
columns: (1fr,1fr),
|
| 598 |
+
align: (left,left),
|
| 599 |
+
stroke: none,
|
| 600 |
+
fill: (rgb(250, 250, 250),rgb(220,220,220)),
|
| 601 |
+
[
|
| 602 |
+
```typst
|
| 603 |
+
#let it = [= Heading]
|
| 604 |
+
#it.body \
|
| 605 |
+
#it.depth \
|
| 606 |
+
#it.fields()
|
| 607 |
+
|
| 608 |
+
#let dict = (greet: "Hello")
|
| 609 |
+
#dict.greet \
|
| 610 |
+
#emoji.face
|
| 611 |
+
```
|
| 612 |
+
],[#image("images/1021.png",width: auto)]
|
| 613 |
+
)
|
| 614 |
+
=== 方法(Methods)<Scripting_Methods>
|
| 615 |
+
方法调用是调用作用域为值类型的函数的一种方便方法。例如,我们可以通过以下两种等效方式调用#link(<String_len>)[str.len]函数:
|
| 616 |
+
#table(
|
| 617 |
+
columns: (1fr,1fr),
|
| 618 |
+
align: (left,left),
|
| 619 |
+
stroke: none,
|
| 620 |
+
fill: (rgb(250, 250, 250),rgb(220,220,220)),
|
| 621 |
+
[
|
| 622 |
+
```typst
|
| 623 |
+
#str.len("abc") is the same as
|
| 624 |
+
#"abc".len()
|
| 625 |
+
```
|
| 626 |
+
],[#image("images/1022.png",width: auto)]
|
| 627 |
+
)
|
| 628 |
+
方法调用的结构是```typc value.method(..args)```,其等效的全函数调用是```typc type(value).method ```。每种类型的文档都列出了其作用域函数。您目前无法定义自己的方法。
|
| 629 |
+
#table(
|
| 630 |
+
columns: (1fr,1fr),
|
| 631 |
+
align: (left,left),
|
| 632 |
+
stroke: none,
|
| 633 |
+
fill: (rgb(250, 250, 250),rgb(220,220,220)),
|
| 634 |
+
[
|
| 635 |
+
```typst
|
| 636 |
+
#let values = (1, 2, 3, 4)
|
| 637 |
+
#values.pop() \
|
| 638 |
+
#values.len() \
|
| 639 |
+
|
| 640 |
+
#("a, b, c"
|
| 641 |
+
.split(", ")
|
| 642 |
+
.join[ --- ])
|
| 643 |
+
|
| 644 |
+
#"abc".len() is the same as
|
| 645 |
+
#str.len("abc")
|
| 646 |
+
```
|
| 647 |
+
],[#image("images/1023.png",width: auto)]
|
| 648 |
+
)
|
| 649 |
+
有一些特殊的函数可以修改它们被调用的值(例如#link(<array_push>)[array.push])。这些函数必须以方法形式调用。在某些情况下,当方法仅因其副作用而被调用时,应忽略其返回值(并且不参与连接)。丢弃值的规范方法是使用```typc let```绑定:```typc let _=array.remove(1)```。
|
| 650 |
+
=== 模块(Modules)<Scripting_Modules>
|
| 651 |
+
您可以将Typst项目拆分为多个称为模块的文件。一个模块可以通过多种方式引用另一个模块的内容和定义:
|
| 652 |
+
#set par(hanging-indent: 1.3cm)
|
| 653 |
+
-- Including: ```typst #include "bar.typ"```\
|
| 654 |
+
计算路径bar.typ处的文件并返回结果内容。
|
| 655 |
+
|
| 656 |
+
-- Import: ```typst #import "bar.typ"```\
|
| 657 |
+
计算路径bar.typ处的文件,并将生成的模块作为bar(文件名不带扩展名)插入当前作用域。您可以使用as关键字重命名导入的模块:\
|
| 658 |
+
```typst #import "bar.typ" as baz.``` 您可以使用点符号导入嵌套项:\
|
| 659 |
+
```typst #import "bar.typ": baz.a.```
|
| 660 |
+
|
| 661 |
+
-- Import items: ```typst #import "bar.typ": a, b```\
|
| 662 |
+
在bar.typ路径处计算文件,提取变量a和b的值(需要在bar.typ中定义,例如通过let绑定),并在当前文件中定义它们。用\*替换a、b会加载模块中定义的所有变量。您可以使用as关键字重命名各个项目:import \"bar.typ\":a为1,b为2
|
| 663 |
+
#set par(hanging-indent: 0cm)
|
| 664 |
+
除了字符串或路径,您还可以使用模块值,如下例所示:
|
| 665 |
+
#table(
|
| 666 |
+
columns: (1fr,1fr),
|
| 667 |
+
align: (left,left),
|
| 668 |
+
stroke: none,
|
| 669 |
+
fill: (rgb(250, 250, 250),rgb(220,220,220)),
|
| 670 |
+
[
|
| 671 |
+
```typst
|
| 672 |
+
#import emoji: face
|
| 673 |
+
#face.grin
|
| 674 |
+
```
|
| 675 |
+
],[#image("images/1024.png",width: auto)]
|
| 676 |
+
)
|
| 677 |
+
=== 包(Packages)<Scripting_Packages>
|
| 678 |
+
为了在项目之间重用构建块,您还可以创建和导入Typst包。包导入被指定为命名空间、名称和版本的三元组。
|
| 679 |
+
#table(
|
| 680 |
+
columns: (1fr,1fr),
|
| 681 |
+
align: (left,left),
|
| 682 |
+
stroke: none,
|
| 683 |
+
fill: (rgb(250, 250, 250),rgb(220,220,220)),
|
| 684 |
+
[
|
| 685 |
+
```typst
|
| 686 |
+
#import "@preview/example:0.1.0": add
|
| 687 |
+
#add(2, 7)
|
| 688 |
+
```
|
| 689 |
+
],[#image("images/1025.png",width: auto)]
|
| 690 |
+
)
|
| 691 |
+
预览命名空间包含社区共享的包。您可以在#link("https://typst.app/universe")[Typst Universe]上找到所���可用的社区包。
|
| 692 |
+
|
| 693 |
+
如果您在本地使用Typst,您还可以创建自己的系统本地包。有关此方面的更多详细信息,请参阅包存储库(#link("https://github.com/typst/packages")[package repository])。
|
| 694 |
+
|
| 695 |
+
=== 运算符(Operators)<Scripting_Operators>
|
| 696 |
+
下表列出了所有可用的一元和二元运算符,包括效果、arity(一元、二元)和优先级(绑定越高,越强)。某些操作(如模数)没有特殊的语法,可以使用calc模块中的函数来实现。
|
| 697 |
+
#table(
|
| 698 |
+
columns: (1fr,4fr,1fr,1fr),
|
| 699 |
+
align: (left,left,left,left),
|
| 700 |
+
stroke: none,
|
| 701 |
+
table.header[运算符][效果][arity][优先级],
|
| 702 |
+
table.hline(),
|
| 703 |
+
[-],[Negation],[Unary],[7],
|
| 704 |
+
[+],[No effect (exists for symmetry)],[Unary],[7],
|
| 705 |
+
[\*],[Multiplication],[Binary],[6],
|
| 706 |
+
[/],[Division],[Binary],[6],
|
| 707 |
+
[+],[Addition],[Binary],[5],
|
| 708 |
+
[-],[Subtraction],[Binary],[5],
|
| 709 |
+
[==],[Check equality],[Binary],[4],
|
| 710 |
+
[!=],[Check inequality],[Binary],[4],
|
| 711 |
+
[<],[Check less-than],[Binary],[4],
|
| 712 |
+
[<=],[Check less-than or equal],[Binary],[4],
|
| 713 |
+
[>],[Check greater-than],[Binary],[4],
|
| 714 |
+
[>=],[Check greater-than or equal],[Binary],[4],
|
| 715 |
+
[in],[Check if in collection],[Binary],[4],
|
| 716 |
+
[not in],[Check if not in collection],[Binary],[4],
|
| 717 |
+
[not],[Logical “not”],[Unary],[3],
|
| 718 |
+
[and],[Short-circuiting logical “and”],[Binary],[3],
|
| 719 |
+
[or],[Short-circuiting logical “or”],[Binary],[2],
|
| 720 |
+
[=],[Assignment],[Binary],[1],
|
| 721 |
+
[+=],[Add-Assignment],[Binary],[1],
|
| 722 |
+
[-=],[Subtraction-Assignment],[Binary],[1],
|
| 723 |
+
[\*=],[Multiplication-Assignment],[Binary],[1],
|
| 724 |
+
[/=],[Division-Assignment],[Binary],[1],
|
| 725 |
+
)
|
| 726 |
+
|
| 727 |
+
== 上下文(Context)<Context>
|
| 728 |
+
有时,我们希望创建对其在文档中的位置做出反应的内容。这可能是一个取决于配置的文本语言的本地化短语,也可能是像标题号这样简单的东西,它根据前面有多少个标题来打印正确的值。但是,Typst代码并不直接知道它在文档中的位置。源文本开头的一些代码可能会产生最终出现在文档后面的内容。
|
| 729 |
+
|
| 730 |
+
为了生成对周围环境有反应的内容,我们必须明确指示Typst:我们使用#rtext[上下文]关键字来实现这一点,该关键字位于表达式之前,并确保它是在了解其环境的情况下计算的。作为回报,上下文表达式本身最终变得不透明。我们无法在代码中直接访问它的任何结果,正是因为它是上下文相关的:没有一个正确的结果,文档的不同位置可能有多个结果。因此,所有依赖于上下文数据的事情都必须发生在上下文表达式内部。
|
| 731 |
+
|
| 732 |
+
除了显式上下文表达式外,上下文也在某些地方隐式建立,这些地方也知道它们在文档中的位置:例如,#link(<Styling-show>)[show规则]提供上下文#footnote[目前,所有show规则都会提供样式上下文,但只有可定位元素上的show规则会提供位置上下文。],目录中的数字也提供了解析计数器的适当上下文。
|
| 733 |
+
|
| 734 |
+
=== 格式上下文(Style context)<Context_Style>
|
| 735 |
+
通过set规则,我们可以调整部分或整个文档的样式属性。在没有已知上下文的情况下,我们无法访问这些内容,因为它们在整个文档过程中可能会发生变化。当上下文可用时,我们可以通过将它们作为相应元素函数上的字段访问来检索它们。
|
| 736 |
+
#table(
|
| 737 |
+
columns: (1fr,1fr),
|
| 738 |
+
align: (left,left),
|
| 739 |
+
stroke: none,
|
| 740 |
+
fill: (rgb(250, 250, 250),rgb(220,220,220)),
|
| 741 |
+
[
|
| 742 |
+
```typst
|
| 743 |
+
#set text(lang: "de")
|
| 744 |
+
#context text.lang
|
| 745 |
+
```
|
| 746 |
+
],[#image("images/1026.png",width: auto)]
|
| 747 |
+
)
|
| 748 |
+
如上所述,上下文表达式对其所处的不同环境具有反应性。在下面的示例中,我们创建了一个上下文表达式,将其存储在值变量中并多次使用。每次使用都会对当前的环境做出适当的反应。
|
| 749 |
+
#table(
|
| 750 |
+
columns: (1fr,1fr),
|
| 751 |
+
align: (left,left),
|
| 752 |
+
stroke: none,
|
| 753 |
+
fill: (rgb(250, 250, 250),rgb(220,220,220)),
|
| 754 |
+
[
|
| 755 |
+
```typst
|
| 756 |
+
#let value = context text.lang
|
| 757 |
+
#value
|
| 758 |
+
|
| 759 |
+
#set text(lang: "de")
|
| 760 |
+
#value
|
| 761 |
+
|
| 762 |
+
#set text(lang: "fr")
|
| 763 |
+
#value
|
| 764 |
+
```
|
| 765 |
+
],[#image("images/1027.png",width: auto)]
|
| 766 |
+
)
|
| 767 |
+
至关重要的是,在创造之初,价值就变成了我们无法窥探的不透明#link(<content>)[内容]。它只能在放在某个地方时才能解决,因为只有这样才能知道上下文。上下文表达式的主体可以被求值零次、一次或多次,具体取决于它被放置在多少个不同的位置。
|
| 768 |
+
=== 位置上下文(Location context)<Context_Location>
|
| 769 |
+
我们已经看到,上下文使我们能够设置规则值。但它可以做得更多:它还可以让我们知道我们目前在文档中的位置,相对于其他元素,以及绝对在页面上的位置。我们可以使用这些信息在不同文档部分之间创建非常灵活的交互。这支撑了标题编号、目录或依赖于节标题的页眉等功能。
|
| 770 |
+
|
| 771 |
+
像#link(<counter_get>)[counter.get]这样的函数隐式访问当���位置。在下面的示例中,我们想检索标题计数器的值。由于它在整个文档中都会发生变化,我们需要首先输入一个上下文表达式。然后,我们使用get检索计数器的当前值。此函数从上下文中访问当前位置以解析计数器值。计数器有多个级别,get返回一个包含已解析数字的数组。因此,我们得到以下结果:
|
| 772 |
+
#table(
|
| 773 |
+
columns: (1fr,1fr),
|
| 774 |
+
align: (left,left),
|
| 775 |
+
stroke: none,
|
| 776 |
+
fill: (rgb(250, 250, 250),rgb(220,220,220)),
|
| 777 |
+
[
|
| 778 |
+
```typst
|
| 779 |
+
#set heading(numbering: "1.")
|
| 780 |
+
|
| 781 |
+
= Introduction
|
| 782 |
+
#lorem(5)
|
| 783 |
+
|
| 784 |
+
#context counter(heading).get()
|
| 785 |
+
|
| 786 |
+
= Background
|
| 787 |
+
#lorem(5)
|
| 788 |
+
|
| 789 |
+
#context counter(heading).get()
|
| 790 |
+
```
|
| 791 |
+
],[#image("images/1028.png",width: auto)]
|
| 792 |
+
)
|
| 793 |
+
为了获得更大的灵活性,我们还可以使用#link(<here>)[here]函数直接从上下文中提取当前#link(<location>)[位置]。下面的示例演示了这一点:
|
| 794 |
+
#set par(hanging-indent: 1.3cm)
|
| 795 |
+
-- 我们首先有counter(heading).get(),它像以前一样解析为(2,)。
|
| 796 |
+
|
| 797 |
+
-- 然后我们在这里使用更强大的#link(<counter_at>)[counter.at],它的组合等价于get,因此get(#rtext()[2],)。
|
| 798 |
+
|
| 799 |
+
-- 最后,我们使用带有标签的at来检索文档中不同位置的计数器值,在我们的例子中是介绍标题。这得到(1,)。Typst的上下文系统为我们提供了时间旅行能力,并允许我们检索文档中任何位置的任何计数器和状态的值。
|
| 800 |
+
#set par(hanging-indent: 0cm)
|
| 801 |
+
#table(
|
| 802 |
+
columns: (1.2fr,1fr),
|
| 803 |
+
align: (left,left),
|
| 804 |
+
stroke: none,
|
| 805 |
+
fill: (rgb(250, 250, 250),rgb(220,220,220)),
|
| 806 |
+
[
|
| 807 |
+
```typst
|
| 808 |
+
#set heading(numbering: "1.")
|
| 809 |
+
|
| 810 |
+
= Introduction <intro>
|
| 811 |
+
#lorem(5)
|
| 812 |
+
|
| 813 |
+
= Background <back>
|
| 814 |
+
#lorem(5)
|
| 815 |
+
|
| 816 |
+
#context [
|
| 817 |
+
#counter(heading).get() \
|
| 818 |
+
#counter(heading).at(here()) \
|
| 819 |
+
#counter(heading).at(<intro>)
|
| 820 |
+
]
|
| 821 |
+
```
|
| 822 |
+
],[#image("images/1029.png",width: auto)]
|
| 823 |
+
)
|
| 824 |
+
如前所述,我们还可以使用上下文来获取页面上元素的物理位置。我们使用#link(<locate>)[locate]函数来实现这一点,它的工作原理与#link(<counter_at>)[counter.at]类似:它接受一个位置或其他#link(<selector>)[选择器],解析为一个唯一的元素(也可以是标签),并返回该元素在页面上的位置。
|
| 825 |
+
#table(
|
| 826 |
+
columns: (1.2fr,1fr),
|
| 827 |
+
align: (left,left),
|
| 828 |
+
stroke: none,
|
| 829 |
+
fill: (rgb(250, 250, 250),rgb(220,220,220)),
|
| 830 |
+
[
|
| 831 |
+
```typst
|
| 832 |
+
Background is at: \
|
| 833 |
+
#context locate(<back>).position()
|
| 834 |
+
|
| 835 |
+
= Introduction <intro>
|
| 836 |
+
#lorem(5)
|
| 837 |
+
|
| 838 |
+
|
| 839 |
+
= Background <back>
|
| 840 |
+
#lorem(5)
|
| 841 |
+
```
|
| 842 |
+
],[#image("images/1030.png",width: auto)]
|
| 843 |
+
)
|
| 844 |
+
还有其他函数利用位置上下文,最突出的是查询(#link(<query>)[query])。请查看#link(<introspection>)[内省(introspection )类别],以获取更多详细信息。
|
| 845 |
+
=== 嵌套上下文(Nested contexts)<Context_Nested>
|
| 846 |
+
上下文也可以从嵌套在上下文块中的函数调用中访问。在下面的例子中,foo本身变成了一个上下文函数,就像#link(<length_to-absolute>)[to-absolute] is一样。
|
| 847 |
+
#table(
|
| 848 |
+
columns: (1.2fr,1fr),
|
| 849 |
+
align: (left,left),
|
| 850 |
+
stroke: none,
|
| 851 |
+
fill: (rgb(250, 250, 250),rgb(220,220,220)),
|
| 852 |
+
[
|
| 853 |
+
```typst
|
| 854 |
+
#let foo() = 1em.to-absolute()
|
| 855 |
+
#context {
|
| 856 |
+
foo() == text.size
|
| 857 |
+
}
|
| 858 |
+
```
|
| 859 |
+
],[#image("images/1031.png",width: auto)]
|
| 860 |
+
)
|
| 861 |
+
上下文块可以嵌套。上下文代码将始终访问最内部的上下文。下面的示例演示了这一点:第一个text.lang将访问外部上下文块的样式,因此,它不会看到set
|
| 862 |
+
text(lang:“fr”)的效果。然而,第二个text.lang周围的嵌套上下文块在设置规则之后开始,因此将显示其效果。
|
| 863 |
+
#table(
|
| 864 |
+
columns: (1.2fr,1fr),
|
| 865 |
+
align: (left,left),
|
| 866 |
+
stroke: none,
|
| 867 |
+
fill: (rgb(250, 250, 250),rgb(220,220,220)),
|
| 868 |
+
[
|
| 869 |
+
```typst
|
| 870 |
+
#set text(lang: "de")
|
| 871 |
+
#context [
|
| 872 |
+
#set text(lang: "fr")
|
| 873 |
+
#text.lang \
|
| 874 |
+
#context text.lang
|
| 875 |
+
]
|
| 876 |
+
```
|
| 877 |
+
],[#image("images/1032.png",width: auto)]
|
| 878 |
+
)
|
| 879 |
+
您可能会想知道为什么Typst在计算上述示例中的第一个text.lang时忽略了French
|
| 880 |
+
set规则。原因是,在一般情况下,Typst无法知道所有将应用的样式,因为在构建内容后,可以将设置的规则应用于内容。下面,当应用模板函数时,text.lang已经计算完毕。因此,它不可能知道模板中的语言更改为法语。
|
| 881 |
+
#table(
|
| 882 |
+
columns: (1.2fr,1fr),
|
| 883 |
+
align: (left,left),
|
| 884 |
+
stroke: none,
|
| 885 |
+
fill: (rgb(250, 250, 250),rgb(220,220,220)),
|
| 886 |
+
[
|
| 887 |
+
```typst
|
| 888 |
+
#let template(body) = {
|
| 889 |
+
set text(lang: "fr")
|
| 890 |
+
upper(body)
|
| 891 |
+
}
|
| 892 |
+
|
| 893 |
+
#set text(lang: "de")
|
| 894 |
+
#context [
|
| 895 |
+
#show: template
|
| 896 |
+
#text.lang \
|
| 897 |
+
#context text.lang
|
| 898 |
+
]
|
| 899 |
+
```
|
| 900 |
+
],[#image("images/1033.png",width: auto)]
|
| 901 |
+
)
|
| 902 |
+
然而,第二个text.lang确实会对语言更改做出反应,因为对其周围上下文块的评估会推迟到知道它的样式为止。这说明了为上下文选择正确的插入点以精确访问正确样式的重要性。
|
| 903 |
+
|
| 904 |
+
位置上下文也是如此。在下面,第一个```typc c.display() ```调用将访问外部上下文块,因此不会看到```typc c.update(2)```的效果,而第二个```typc c.display()```调用访问内部上下文,因此会看到它。
|
| 905 |
+
#table(
|
| 906 |
+
columns: (1.2fr,1fr),
|
| 907 |
+
align: (left,left),
|
| 908 |
+
stroke: none,
|
| 909 |
+
fill: (rgb(250, 250, 250),rgb(220,220,220)),
|
| 910 |
+
[
|
| 911 |
+
```typst
|
| 912 |
+
#let c = counter("mycounter")
|
| 913 |
+
#c.update(1)
|
| 914 |
+
#context [
|
| 915 |
+
#c.update(2)
|
| 916 |
+
#c.display() \
|
| 917 |
+
#context c.display()
|
| 918 |
+
]
|
| 919 |
+
```
|
| 920 |
+
],[#image("images/1034.png",width: auto)]
|
| 921 |
+
)
|
| 922 |
+
=== 编译器迭代(Compiler iterations)<Context_Compiler>
|
| 923 |
+
为了解决上下文交互,Typst编译器会多次处理您的文档。例如,要解决定位调用,Typst首先提供一个占位符位置,布局文档,然后使用完成布局中的已知位置重新编译。采用相同的方法来解决计数器、状态和查询。在某些情况下,Typst甚至可能需要两次以上的迭代来解决所有问题。虽然这有时是必要的,但也可能是滥用上下文功能(例如#link(<state_A-word-of-caution>)["state"])的迹象。如果Typst无法在五次尝试内解决所有问题,它将停止并输出警告“文档在五次试图内未收敛”
|
| 924 |
+
|
| 925 |
+
一个非常细心的读者可能已经注意到,并非上述所有函数都实际使用了当前位置。虽然```typc counter(heading).get()``` 肯定依赖于它,但例如```typc counter(head).at(<intro>)```则不依赖于它。然而,它仍然需要背景。虽然它的值在一次编译迭代中总是相同的,但它可能会在多次编译器迭代过程中发生变化。如果可以在模块的顶层直接调用它,那么整个模块及其导出可能会在多次编译器迭代过程中发生变化,这是不可取的。
|
chp02.typ
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
chp03.typ
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
chp04.typ
ADDED
|
@@ -0,0 +1,2579 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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 |
+
== 高亮文本(highlight)<highlight>
|
| 13 |
+
用背景色高亮文本。
|
| 14 |
+
=== 示例(Example)
|
| 15 |
+
#table(
|
| 16 |
+
columns: (1fr,1fr),
|
| 17 |
+
align: (left,left),
|
| 18 |
+
stroke: none,
|
| 19 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 20 |
+
[
|
| 21 |
+
```typst
|
| 22 |
+
This is #highlight[important].
|
| 23 |
+
|
| 24 |
+
```
|
| 25 |
+
],[
|
| 26 |
+
#set align(horizon)
|
| 27 |
+
#image("images/4001.png",width: auto)
|
| 28 |
+
]
|
| 29 |
+
)
|
| 30 |
+
=== 参数(Parameters)
|
| 31 |
+
```typc
|
| 32 |
+
highlight(
|
| 33 |
+
fill: none color gradient tiling,
|
| 34 |
+
stroke: none length color gradient stroke tiling dictionary,
|
| 35 |
+
top-edge: length str,
|
| 36 |
+
bottom-edge: length str,
|
| 37 |
+
extent: length,
|
| 38 |
+
radius: relative dictionary,
|
| 39 |
+
body:content,
|
| 40 |
+
) → content
|
| 41 |
+
```
|
| 42 |
+
- *fill*: none or color or gradient or tiling
|
| 43 |
+
用于高亮文本的颜色。默认值:```typc rgb("#fffd11a1")```
|
| 44 |
+
#table(
|
| 45 |
+
columns: (1fr,1fr),
|
| 46 |
+
align: (left,left),
|
| 47 |
+
stroke: none,
|
| 48 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 49 |
+
[
|
| 50 |
+
```typst
|
| 51 |
+
This is #highlight(
|
| 52 |
+
fill: blue
|
| 53 |
+
)[highlighted with blue].
|
| 54 |
+
```
|
| 55 |
+
],[
|
| 56 |
+
#set align(horizon)
|
| 57 |
+
#image("images/4002.png",width: auto)
|
| 58 |
+
]
|
| 59 |
+
)
|
| 60 |
+
- *stroke*:none length color gradient stroke tiling dictionary
|
| 61 |
+
高亮部分的边框颜色。更多详情请参阅#link(<rect_stroke>)[矩形组件]的文档。默认值:( : )。
|
| 62 |
+
#table(
|
| 63 |
+
columns: (1fr,1fr),
|
| 64 |
+
align: (left,left),
|
| 65 |
+
stroke: none,
|
| 66 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 67 |
+
[
|
| 68 |
+
```typst
|
| 69 |
+
This is a #highlight(
|
| 70 |
+
stroke: fuchsia
|
| 71 |
+
)[stroked highlighting].
|
| 72 |
+
```
|
| 73 |
+
],[
|
| 74 |
+
#set align(horizon)
|
| 75 |
+
#image("images/4003.png",width: auto)
|
| 76 |
+
]
|
| 77 |
+
)
|
| 78 |
+
- *top-edge*: length str
|
| 79 |
+
背景矩形的顶端。默认值:```typc "ascender"```。
|
| 80 |
+
#table(
|
| 81 |
+
columns: (1fr,1fr),
|
| 82 |
+
align: (left,left),
|
| 83 |
+
stroke: none,
|
| 84 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 85 |
+
[
|
| 86 |
+
```typst
|
| 87 |
+
#set highlight(top-edge: "ascender")
|
| 88 |
+
#highlight[a] #highlight[aib]
|
| 89 |
+
|
| 90 |
+
#set highlight(top-edge: "x-height")
|
| 91 |
+
#highlight[a] #highlight[aib]
|
| 92 |
+
```
|
| 93 |
+
],[
|
| 94 |
+
#set align(horizon)
|
| 95 |
+
#image("images/4004.png",width: auto)
|
| 96 |
+
]
|
| 97 |
+
)
|
| 98 |
+
#table(
|
| 99 |
+
columns: (0.5fr,1.5fr),
|
| 100 |
+
stroke: none,
|
| 101 |
+
align: left,
|
| 102 |
+
table.header([Variant],[Details]),
|
| 103 |
+
table.hline(),
|
| 104 |
+
[\"ascender\"],[字体的升部,通常会超出所有字形的高度。],
|
| 105 |
+
[\"cap-height\"],[大写字母的近似高度。],
|
| 106 |
+
[\"x-height\"],[非升部小写字母的近似高度。],
|
| 107 |
+
[\"baseline\"],[字母赖以放置的基线。],
|
| 108 |
+
[\"bounds\"],[字形边界框的上边缘。]
|
| 109 |
+
)
|
| 110 |
+
- *bottom-edge*: length str
|
| 111 |
+
背景矩形的底端。默认值:```typc "descender"```。
|
| 112 |
+
#table(
|
| 113 |
+
columns: 1fr,
|
| 114 |
+
align: left,
|
| 115 |
+
stroke: none,
|
| 116 |
+
[
|
| 117 |
+
```typst
|
| 118 |
+
#set highlight(bottom-edge: "descender")
|
| 119 |
+
#highlight[a] #highlight[ap]
|
| 120 |
+
|
| 121 |
+
#set highlight(bottom-edge: "baseline")
|
| 122 |
+
#highlight[a] #highlight[ap]
|
| 123 |
+
```
|
| 124 |
+
],
|
| 125 |
+
[
|
| 126 |
+
#set quote(block: true)
|
| 127 |
+
#show quote: set align(center)
|
| 128 |
+
#rect(
|
| 129 |
+
fill: luma(240),
|
| 130 |
+
width: 100%,
|
| 131 |
+
height: auto,
|
| 132 |
+
quote[
|
| 133 |
+
#image("images/4005.png",width: 80%)
|
| 134 |
+
]
|
| 135 |
+
)
|
| 136 |
+
]
|
| 137 |
+
)
|
| 138 |
+
#table(
|
| 139 |
+
columns: (0.5fr,1.5fr),
|
| 140 |
+
stroke: none,
|
| 141 |
+
align: left,
|
| 142 |
+
table.header([Variant],[Details]),
|
| 143 |
+
table.hline(),
|
| 144 |
+
[\"baseline\"],[字母所在的基线。],
|
| 145 |
+
[\"descender\"],[该字体的下行延伸部分,通常超过所有字形的下沉深度。],
|
| 146 |
+
[\"bounds\"],[字形边界框的底边。]
|
| 147 |
+
)
|
| 148 |
+
- *extent*: length
|
| 149 |
+
向两侧延伸背景的距离;若数值为负,则代表向内容内部收缩。默认值:#text(fill: red,"0pt")。
|
| 150 |
+
#table(
|
| 151 |
+
columns: 1fr,
|
| 152 |
+
align: left,
|
| 153 |
+
stroke: none,
|
| 154 |
+
[
|
| 155 |
+
```typst
|
| 156 |
+
A long #highlight(extent: 4pt)[background].
|
| 157 |
+
```
|
| 158 |
+
],
|
| 159 |
+
[
|
| 160 |
+
#set quote(block: true)
|
| 161 |
+
#show quote: set align(center)
|
| 162 |
+
#rect(
|
| 163 |
+
fill: luma(240),
|
| 164 |
+
width: 100%,
|
| 165 |
+
height: auto,
|
| 166 |
+
quote[
|
| 167 |
+
#image("images/4006.png",width: 80%)
|
| 168 |
+
]
|
| 169 |
+
)
|
| 170 |
+
]
|
| 171 |
+
)
|
| 172 |
+
- *radius*: relative dictionary
|
| 173 |
+
高亮区域圆角的弧度大小。更多详情请参阅矩形相关文档。默认值:( : )。
|
| 174 |
+
#table(
|
| 175 |
+
columns: (1fr,1fr),
|
| 176 |
+
align: (left,left),
|
| 177 |
+
stroke: none,
|
| 178 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 179 |
+
[
|
| 180 |
+
```typst
|
| 181 |
+
Listen #highlight(
|
| 182 |
+
radius: 5pt, extent: 2pt
|
| 183 |
+
)[carefully], it will be on the test.
|
| 184 |
+
```
|
| 185 |
+
],[
|
| 186 |
+
#set align(horizon)
|
| 187 |
+
#image("images/4007.png",width: auto)
|
| 188 |
+
]
|
| 189 |
+
)
|
| 190 |
+
- *body*: content
|
| 191 |
+
需要突出显示的内容。
|
| 192 |
+
|
| 193 |
+
== 换行(linebreak)<linebreak>
|
| 194 |
+
插入换行符。
|
| 195 |
+
|
| 196 |
+
将段落切换至下一行。段落末尾单个尾随换行符会被忽略,但多个换行符会生成额外空行。
|
| 197 |
+
=== 示例(Example)
|
| 198 |
+
#table(
|
| 199 |
+
columns: (1fr,1fr),
|
| 200 |
+
align: (left,left),
|
| 201 |
+
stroke: none,
|
| 202 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 203 |
+
[
|
| 204 |
+
```typst
|
| 205 |
+
*Date:* 26.12.2022 \
|
| 206 |
+
*Topic:* Infrastructure Test \
|
| 207 |
+
*Severity:* High \
|
| 208 |
+
```
|
| 209 |
+
],[
|
| 210 |
+
#set align(horizon)
|
| 211 |
+
#image("images/4008.png",width: auto)
|
| 212 |
+
]
|
| 213 |
+
)
|
| 214 |
+
=== 语法(Syntax)
|
| 215 |
+
该函数还有专用语法:如需插入换行,只需输入反斜杠后接空白字符。该方式生成的换行始终为非对齐换行。
|
| 216 |
+
=== 参数(Parameters)
|
| 217 |
+
```typc
|
| 218 |
+
linebreak(justify:bool) → content
|
| 219 |
+
```
|
| 220 |
+
- *justify*: bool
|
| 221 |
+
是否对断行前的文本进行两端对齐。默认值:#text(fill: red,"false")。
|
| 222 |
+
|
| 223 |
+
如果你在两端对齐文本中找到了比Typst自动判定更合适的断行位置,该选项会很有用。
|
| 224 |
+
#table(
|
| 225 |
+
columns: (1fr,1fr),
|
| 226 |
+
align: (left,left),
|
| 227 |
+
stroke: none,
|
| 228 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 229 |
+
[
|
| 230 |
+
```typst
|
| 231 |
+
#set par(justify: true)
|
| 232 |
+
#let jb = linebreak(justify: true)
|
| 233 |
+
|
| 234 |
+
I have manually tuned the #jb
|
| 235 |
+
line breaks in this paragraph #jb
|
| 236 |
+
for an _interesting_ result. #jb
|
| 237 |
+
```
|
| 238 |
+
],[
|
| 239 |
+
#set align(horizon)
|
| 240 |
+
#image("images/4009.png",width: auto)
|
| 241 |
+
]
|
| 242 |
+
)
|
| 243 |
+
== Lorem(lorem)<lorem>
|
| 244 |
+
生成占位文本。
|
| 245 |
+
|
| 246 |
+
该函数可生成类拉丁文的乱数占位文本,单词数量由用户指定。函数生成的单词序列固定,但单词是随机选取的。和常规占位文本一样,文本本身没有实际含义。可将其作为占位内容,用于测试页面布局。
|
| 247 |
+
=== 示例(Example)
|
| 248 |
+
#table(
|
| 249 |
+
columns: (1fr,1fr),
|
| 250 |
+
align: (left,left),
|
| 251 |
+
stroke: none,
|
| 252 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 253 |
+
[
|
| 254 |
+
```typst
|
| 255 |
+
= Blind Text
|
| 256 |
+
#lorem(30)
|
| 257 |
+
|
| 258 |
+
= More Blind Text
|
| 259 |
+
#lorem(15)
|
| 260 |
+
```
|
| 261 |
+
],[
|
| 262 |
+
#set align(horizon)
|
| 263 |
+
#image("images/4010.png",width: auto)
|
| 264 |
+
]
|
| 265 |
+
)
|
| 266 |
+
=== 参数(Parameters)
|
| 267 |
+
```typc
|
| 268 |
+
lorem(words:int) → str
|
| 269 |
+
```
|
| 270 |
+
- *words*: int
|
| 271 |
+
盲文本的单词数量。
|
| 272 |
+
== Lower(lower)<lower>
|
| 273 |
+
将字符串或内容转换为小写。
|
| 274 |
+
=== 示例(Example)
|
| 275 |
+
#table(
|
| 276 |
+
columns: (1fr,1fr),
|
| 277 |
+
align: (left,left),
|
| 278 |
+
stroke: none,
|
| 279 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 280 |
+
[
|
| 281 |
+
```typst
|
| 282 |
+
#lower("ABC") \
|
| 283 |
+
#lower[*My Text*] \
|
| 284 |
+
#lower[already low]
|
| 285 |
+
|
| 286 |
+
```
|
| 287 |
+
],[
|
| 288 |
+
#set align(horizon)
|
| 289 |
+
#image("images/4011.png",width: auto)
|
| 290 |
+
]
|
| 291 |
+
)
|
| 292 |
+
=== 参数(Parameters)
|
| 293 |
+
```typc
|
| 294 |
+
lower(text:str content) → strcontent
|
| 295 |
+
```
|
| 296 |
+
- *text*: str or content
|
| 297 |
+
要转换为小写的文本。
|
| 298 |
+
|
| 299 |
+
== Overline(overline)<overline>
|
| 300 |
+
为文本添加上划线。
|
| 301 |
+
=== 示例(Example)
|
| 302 |
+
#table(
|
| 303 |
+
columns: (1fr,1fr),
|
| 304 |
+
align: (left,left),
|
| 305 |
+
stroke: none,
|
| 306 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 307 |
+
[
|
| 308 |
+
```typst
|
| 309 |
+
#overline[A line over text.]
|
| 310 |
+
```
|
| 311 |
+
],[
|
| 312 |
+
#set align(horizon)
|
| 313 |
+
#image("images/4012.png",width: auto)
|
| 314 |
+
]
|
| 315 |
+
)
|
| 316 |
+
=== 参数(Parameters)
|
| 317 |
+
```typc
|
| 318 |
+
overline(
|
| 319 |
+
stroke: auto length color gradient stroke tiling dictionary,
|
| 320 |
+
offset: auto length,
|
| 321 |
+
extent: length,
|
| 322 |
+
evade: bool,
|
| 323 |
+
background: bool,
|
| 324 |
+
body:content,
|
| 325 |
+
) → content
|
| 326 |
+
```
|
| 327 |
+
- *stroke*: auto length color gradient stroke tiling dictionary
|
| 328 |
+
如何描边。默认值:#rtext()[auto]。
|
| 329 |
+
|
| 330 |
+
如果设置为自动,则采用文本的颜色以及当前字体所定义的粗细。
|
| 331 |
+
#table(
|
| 332 |
+
columns: (1fr,1fr),
|
| 333 |
+
align: (left,left),
|
| 334 |
+
stroke: none,
|
| 335 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 336 |
+
[
|
| 337 |
+
```typst
|
| 338 |
+
#set text(fill: olive)
|
| 339 |
+
#overline(
|
| 340 |
+
stroke: green.darken(20%),
|
| 341 |
+
offset: -12pt,
|
| 342 |
+
[The Forest Theme],
|
| 343 |
+
)
|
| 344 |
+
```
|
| 345 |
+
],[
|
| 346 |
+
#set align(horizon)
|
| 347 |
+
#image("images/4013.png",width: auto)
|
| 348 |
+
]
|
| 349 |
+
)
|
| 350 |
+
- *offset*: auto length
|
| 351 |
+
该线条相对于基线的位置。若为自动,则从字体表读取。默认值:#rtext()[auto]。
|
| 352 |
+
#table(
|
| 353 |
+
columns: (1fr,1fr),
|
| 354 |
+
align: (left,left),
|
| 355 |
+
stroke: none,
|
| 356 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 357 |
+
[
|
| 358 |
+
```typst
|
| 359 |
+
#overline(offset: -1.2em)[
|
| 360 |
+
The Tale Of A Faraway Line II
|
| 361 |
+
]
|
| 362 |
+
|
| 363 |
+
```
|
| 364 |
+
],[
|
| 365 |
+
#set align(horizon)
|
| 366 |
+
#image("images/4014.png",width: auto)
|
| 367 |
+
]
|
| 368 |
+
)
|
| 369 |
+
- *extent*: length
|
| 370 |
+
需要将线条延伸超出内容的距离(若为负值,则向内容内部延伸)。默认值:#rtext()[0pt]。
|
| 371 |
+
#table(
|
| 372 |
+
columns: 1fr,
|
| 373 |
+
align: left,
|
| 374 |
+
stroke: none,
|
| 375 |
+
[
|
| 376 |
+
```typst
|
| 377 |
+
#set overline(extent: 4pt)
|
| 378 |
+
#set underline(extent: 4pt)
|
| 379 |
+
#overline(underline[Typography Today])
|
| 380 |
+
```
|
| 381 |
+
],
|
| 382 |
+
[
|
| 383 |
+
#set quote(block: true)
|
| 384 |
+
#show quote: set align(center)
|
| 385 |
+
#rect(
|
| 386 |
+
fill: luma(240),
|
| 387 |
+
width: 100%,
|
| 388 |
+
height: auto,
|
| 389 |
+
quote[
|
| 390 |
+
#image("images/4015.png",width: 80%)
|
| 391 |
+
]
|
| 392 |
+
)
|
| 393 |
+
]
|
| 394 |
+
)
|
| 395 |
+
- *evade*: bool
|
| 396 |
+
该行是否会跳过会与字形发生碰撞的区域。默认值:#rtext()[true]。
|
| 397 |
+
#table(
|
| 398 |
+
columns: (1fr,1fr),
|
| 399 |
+
align: (left,left),
|
| 400 |
+
stroke: none,
|
| 401 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 402 |
+
[
|
| 403 |
+
```typst
|
| 404 |
+
#overline(
|
| 405 |
+
evade: false,
|
| 406 |
+
offset: -7.5pt,
|
| 407 |
+
stroke: 1pt,
|
| 408 |
+
extent: 3pt,
|
| 409 |
+
[Temple],
|
| 410 |
+
)
|
| 411 |
+
|
| 412 |
+
```
|
| 413 |
+
],[
|
| 414 |
+
#set align(horizon)
|
| 415 |
+
#image("images/4016.png",width: auto)
|
| 416 |
+
]
|
| 417 |
+
)
|
| 418 |
+
- *background*: bool
|
| 419 |
+
该线条是否放置在其上划线内容的后方。默认值:#rtext()[false]。
|
| 420 |
+
#table(
|
| 421 |
+
columns: 1fr,
|
| 422 |
+
align: left,
|
| 423 |
+
stroke: none,
|
| 424 |
+
[
|
| 425 |
+
```typst
|
| 426 |
+
#set overline(stroke: aqua + 5pt)
|
| 427 |
+
#overline(background: true)[Fully visible.] \
|
| 428 |
+
#overline(background: false)[Partially hidden.]
|
| 429 |
+
|
| 430 |
+
```
|
| 431 |
+
],
|
| 432 |
+
[
|
| 433 |
+
#set quote(block: true)
|
| 434 |
+
#show quote: set align(center)
|
| 435 |
+
#rect(
|
| 436 |
+
fill: luma(240),
|
| 437 |
+
width: 100%,
|
| 438 |
+
height: auto,
|
| 439 |
+
quote[
|
| 440 |
+
#image("images/4017.png",width: 80%)
|
| 441 |
+
]
|
| 442 |
+
)
|
| 443 |
+
]
|
| 444 |
+
)
|
| 445 |
+
- *body*: content
|
| 446 |
+
需要在上方添加线条的内容。
|
| 447 |
+
|
| 448 |
+
== 原始文本/代码(Raw Text / Code)<raw>
|
| 449 |
+
带有可选语法高亮的原始文本。
|
| 450 |
+
|
| 451 |
+
以等宽字体原样展示文本。这通常用于在文档中嵌入计算机代码。
|
| 452 |
+
|
| 453 |
+
传递给该元素的文本会忽略标记语法,例如*加粗*或_斜体_,并原样显示。如果你希望使用等宽字体展示内容,同时保留标记语法,不要使用原始文本模式,你可以通过 #link(<text_font>)[text.font]
|
| 454 |
+
参数将文本字体显式设置为等宽字体。
|
| 455 |
+
|
| 456 |
+
原始元素主要通过#link(<raw_Syntax>)[专用语法]生成:在文本两侧使用单个反引号(\`)或三个及以上反引号包裹文本。当使用三个或更多反引号时,紧跟起始反引号后的文本会被视为用于语法高亮的#link(<raw_lang>)[语言标记],原始文本则从第一个空白字符之后开始。
|
| 457 |
+
=== 示例(Example)
|
| 458 |
+
#table(
|
| 459 |
+
columns: (1fr,1fr),
|
| 460 |
+
align: (left,left),
|
| 461 |
+
stroke: none,
|
| 462 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 463 |
+
[
|
| 464 |
+
```typst
|
| 465 |
+
Adding `rbx` to `rcx` gives
|
| 466 |
+
the desired result.
|
| 467 |
+
|
| 468 |
+
What is ```rust fn main()``` in Rust
|
| 469 |
+
would be ```c int main()``` in C.
|
| 470 |
+
|
| 471 |
+
```rust
|
| 472 |
+
fn main() {
|
| 473 |
+
println!("Hello World!");
|
| 474 |
+
}
|
| 475 |
+
```
|
| 476 |
+
|
| 477 |
+
This has ``` `backticks` ``` in it
|
| 478 |
+
(but the spaces are trimmed). And
|
| 479 |
+
``` here``` the leading space is
|
| 480 |
+
also trimmed.
|
| 481 |
+
|
| 482 |
+
```
|
| 483 |
+
],[
|
| 484 |
+
#set align(horizon)
|
| 485 |
+
#image("images/4018.png",width: auto)
|
| 486 |
+
]
|
| 487 |
+
)
|
| 488 |
+
你也可以通过代码从字符串构建原生元素(并可通过可选的 #link(<raw_lang>)[lang] 参数提供语言标签)。
|
| 489 |
+
#table(
|
| 490 |
+
columns: 1fr,
|
| 491 |
+
align: left,
|
| 492 |
+
stroke: none,
|
| 493 |
+
[
|
| 494 |
+
```typst
|
| 495 |
+
#raw("fn " + "main() {}", lang: "rust")
|
| 496 |
+
|
| 497 |
+
```
|
| 498 |
+
],
|
| 499 |
+
[
|
| 500 |
+
#set quote(block: true)
|
| 501 |
+
#show quote: set align(center)
|
| 502 |
+
#rect(
|
| 503 |
+
fill: luma(240),
|
| 504 |
+
width: 100%,
|
| 505 |
+
height: auto,
|
| 506 |
+
quote[
|
| 507 |
+
#image("images/4019.png",width: 80%)
|
| 508 |
+
]
|
| 509 |
+
)
|
| 510 |
+
]
|
| 511 |
+
)
|
| 512 |
+
如果你的指定语言标签默认没有可用的语法高亮(或者你想要覆盖内置定义),你可以向语法参数提供自定义语法规范文件。
|
| 513 |
+
=== 风格(Styling)<raw_Styling>
|
| 514 |
+
风默认情况下,原始元素使用 DejaVu Sans Mono 字体(Typst自带),字号设为更小的 0.8em(即全局字号的80%)。这是因为等宽字体在视觉上通常比非等宽字体更大。
|
| 515 |
+
|
| 516 |
+
你可以通过show-set规则来自定义这些属性:
|
| 517 |
+
```typc
|
| 518 |
+
// Switch to Cascadia Code for both
|
| 519 |
+
// inline and block raw.
|
| 520 |
+
#show raw: set text(font: "Cascadia Code")
|
| 521 |
+
|
| 522 |
+
// Reset raw blocks to the same size as normal text,
|
| 523 |
+
// but keep inline raw at the reduced size.
|
| 524 |
+
#show raw.where(block: true): set text(1em / 0.8)
|
| 525 |
+
|
| 526 |
+
Now using the `Cascadia Code` font for raw text.
|
| 527 |
+
Here's some Python code. It looks larger now:
|
| 528 |
+
```
|
| 529 |
+
```py
|
| 530 |
+
def python():
|
| 531 |
+
return 5 + 5
|
| 532 |
+
```
|
| 533 |
+
#figure(
|
| 534 |
+
table(
|
| 535 |
+
columns: 1,
|
| 536 |
+
align: center,
|
| 537 |
+
stroke: none,
|
| 538 |
+
fill: luma(240),
|
| 539 |
+
[
|
| 540 |
+
#image("images/4020.png",width: 80%)
|
| 541 |
+
]
|
| 542 |
+
)
|
| 543 |
+
)
|
| 544 |
+
此外,你可以通过 #link(<raw_theme>)[theme] 参数设置自定义主题,来定制语法高亮颜色。
|
| 545 |
+
|
| 546 |
+
如果要对原始代码块的外观进行完整自定义,可以使用 raw.line 的显示规则,例如添加行号。
|
| 547 |
+
|
| 548 |
+
请注意,在原始文本中,#link(<text_hyphenate>)[断字]、#link(<text_overhang>)[悬挂缩进]、#link(<text_cjk-latin-spacing>)[中日韩文字与拉丁文字间距]等排版特性,(对于原始代码块而言)#link(<Paragraph_justify>)[两端对齐功能]默认将被禁用。
|
| 549 |
+
=== 语法(Syntax)<raw_Syntax>
|
| 550 |
+
该函数提供专用语法,可在标记模式与代码模式下生成原始文本元素。你可以在文本两侧使用一个或三个及以上反引号(\`)将其包裹,从而转为原始文本。两侧反引号数量必须保持一致,且被包裹的文本内部不能连续出现同等数量的反引号。仅输入两个反引号(\`\`)会生成空原始文本。
|
| 551 |
+
|
| 552 |
+
与Markdown的显著区别包括:单个反引号包裹的文本可以跨多行,并且不会移除缩进;而三个及以上反引号语法在行内使用时,仍然会解析语言标签。
|
| 553 |
+
|
| 554 |
+
用单个反引号包裹的原始文本无法指定语言标签,始终作为行内元素放在段落内,也就是#link(<raw_block>)[块参数]为#rtext()[false]。
|
| 555 |
+
#set par(hanging-indent: 1.3cm)
|
| 556 |
+
使用三个或更多反引号的原始语法具备以下特性:
|
| 557 |
+
|
| 558 |
+
-- *在起始反引号之后,原始块仅会被数量相同的一串反引号终止。*\
|
| 559 |
+
若要在内容中包含一串反引号,首尾使用的反引号数量必须比该串反引号至���多一个。
|
| 560 |
+
|
| 561 |
+
-- *如果原始文本包含换行,则为块级元素;否则为行内元素。*\
|
| 562 |
+
这会相应地将#link(<raw_block>)[块参数]设置为#rtext()[true]或#rtext()[false]。
|
| 563 |
+
|
| 564 |
+
-- *起始反引号之后、首个空白字符之前的文本,会被当作用于语法高亮的语言标签。*\
|
| 565 |
+
判定哪些文本可作为语言标签的具体规则计划进行调整,#link(<raw_Language-tag-changes>)[详细说明见下文]。
|
| 566 |
+
|
| 567 |
+
-- *首行与末行拥有特殊的裁剪规则*\
|
| 568 |
+
对于首行:如果起始反引号或语言标签之后全部都是空白字符,则整行都会被裁剪。但如果该行存在非空白字符,那么仅会裁剪起始反引号或语言标签之后紧邻的单个空格(若存在)。
|
| 569 |
+
如果末行到结束反引号为止全部为空白字符,则该行会被裁剪。反之,若末行最后一个非空白字符是反引号,那么会从该行末尾裁剪掉一个空格(若存在)。
|
| 570 |
+
|
| 571 |
+
-- *各行开头共有的缩进会被裁剪*\
|
| 572 |
+
Typst 会移除原始文本所有行开头共有的空白字符,也就是公共缩进。起始反引号所在行除外。\
|
| 573 |
+
Typst首先找到包含非空白字符且开头空白字符数量最少的行(包含结束反引号所在行)。然后 Typst 对每一行都裁剪对应数量的开头空白字符。纯空白行也会移除同等数量字符直至该行清空,但会保留末尾多余的空白字符。\
|
| 574 |
+
请注意,为简化处理,该检查将制表符和空格视为等价字符,并且它基于#link("https://www.unicode.org/glossary/#code_point")[Unicode码点]数量(即字符数量)进行处理,而非字节长度。
|
| 575 |
+
#set par(hanging-indent: 0cm)
|
| 576 |
+
|
| 577 |
+
三反引号语法的这些特性支持一些不太直观的使用场景:
|
| 578 |
+
#set par(hanging-indent: 1.3cm)
|
| 579 |
+
-- 若要书写包含连续反引号的文本,使用比该序列数量更多的反引号将其包裹:\`\`\`\` enclosed\`\`\`backticks\`\`\`\`
|
| 580 |
+
|
| 581 |
+
-- 若要书写以反引号开头或结尾的文本,在首尾反引号内侧添加空格:\`\`\` \`backticks\` \`\`\`
|
| 582 |
+
|
| 583 |
+
-- 若要书写带语言标签的行内高亮文本,在语言标签与文本之间添加空格:\`\`\`rust #rtext()[fn] main() {}\`\`\`
|
| 584 |
+
|
| 585 |
+
-- 若要书写不带任何语言标签的行内文本,在起始反引号后添加空格:\`\`\` text\`\`\`,也可以使用单反引号语法:\`text\`
|
| 586 |
+
#set par(hanging-indent: 0cm)
|
| 587 |
+
*使用原始语法嵌入字符串*(*Embedding strings with raw syntax*)
|
| 588 |
+
|
| 589 |
+
原始语法的一个常见用例是:通过访问原始内容的.textfield来获取底层字符串,从而将带格式的数据嵌入为字符串。这也可以配合字节构造函数,把字符串转换为字节。
|
| 590 |
+
#table(
|
| 591 |
+
columns: (1fr,1fr),
|
| 592 |
+
align: (left,left),
|
| 593 |
+
stroke: none,
|
| 594 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 595 |
+
[
|
| 596 |
+
```typst
|
| 597 |
+
An inline YAML dictionary via `.text`
|
| 598 |
+
|
| 599 |
+
#yaml(bytes(
|
| 600 |
+
```yaml
|
| 601 |
+
Magic:
|
| 602 |
+
limited-by: Mana
|
| 603 |
+
Pokémon:
|
| 604 |
+
limited-by: Energy
|
| 605 |
+
Yu-Gi-Oh:
|
| 606 |
+
limited-by: false
|
| 607 |
+
```text
|
| 608 |
+
// ^^^^ used as a string
|
| 609 |
+
))
|
| 610 |
+
```
|
| 611 |
+
],[
|
| 612 |
+
#set align(horizon)
|
| 613 |
+
#image("images/4021.png",width: auto)
|
| 614 |
+
|
| 615 |
+
]
|
| 616 |
+
)
|
| 617 |
+
*语言标签变更(Language tag changes)*<raw_Language-tag-changes>
|
| 618 |
+
|
| 619 |
+
在使用三个或更多反引号的原始代码语法时,起始反引号之后紧跟的文本(直到第一个空白字符为止)会被视作#link(<raw_lang>)[语言标签]。但在当前版本的 Typst 中,只有符合 Typst
|
| 620 |
+
标识符规范的文本才会被识别为语言标签。第一个不属于合法标识符的字符,会被当作原始文本的起始。
|
| 621 |
+
|
| 622 |
+
例如,在当前版本的 Typst 中,如果一个原始代码块以 C++ 开头,标识符 C 会作为语言标签,而原始文本从 ++ 开始。如果原始代码块以 ++C 开头,则不会设置语言标签,原始文本直接从 ++C 开始。
|
| 623 |
+
|
| 624 |
+
若要在当前版本 Typst 中使用不符合标识符规范的语言标签,必须使用 #link(<raw_lang>)[lang] 参数:既可以通过构造函数传入字符串调用:```typst #raw("text", lang: "...")```,也可以使用 set 规则:```typ #set raw(lang: "...")```。
|
| 625 |
+
|
| 626 |
+
在下一个版本的 Typst 中,到第一个空白字符或反引号之前的全部文本都会被当作语言标签,语言标签支持的字符集更广。包含空格或反引号的标签,仍然需要通过 #link(<raw_lang>)[lang] 参数手动设置。
|
| 627 |
+
|
| 628 |
+
如果你的原始代码块在下一版 Typst 中的解析逻辑会发生变化,Typst 会发出警告提示你。
|
| 629 |
+
=== 参数(Parameters)
|
| 630 |
+
```typc
|
| 631 |
+
raw(
|
| 632 |
+
text:str,
|
| 633 |
+
block: bool,
|
| 634 |
+
lang: none str,
|
| 635 |
+
align: alignment,
|
| 636 |
+
syntaxes: str path bytes array,
|
| 637 |
+
theme: none auto str path bytes,
|
| 638 |
+
tab-size: int,
|
| 639 |
+
) → content
|
| 640 |
+
```
|
| 641 |
+
- *text*: str<raw_text>
|
| 642 |
+
原始文本。
|
| 643 |
+
|
| 644 |
+
你也可以创造性地使用原始代码块,为自动化操作创建自定义语法。
|
| 645 |
+
#table(
|
| 646 |
+
columns: 1fr,
|
| 647 |
+
align: left,
|
| 648 |
+
stroke: none,
|
| 649 |
+
[
|
| 650 |
+
```typst
|
| 651 |
+
// Parse numbers in raw blocks with the
|
| 652 |
+
// `mydsl` tag and sum them up.
|
| 653 |
+
#show raw.where(lang: "mydsl"): it => {
|
| 654 |
+
let sum = 0
|
| 655 |
+
for part in it.text.split("+") {
|
| 656 |
+
sum += int(part.trim())
|
| 657 |
+
}
|
| 658 |
+
sum
|
| 659 |
+
}
|
| 660 |
+
|
| 661 |
+
```
|
| 662 |
+
```mydsl
|
| 663 |
+
1 + 2 + 3 + 4 + 5
|
| 664 |
+
```
|
| 665 |
+
],
|
| 666 |
+
[
|
| 667 |
+
#set quote(block: true)
|
| 668 |
+
#show quote: set align(center)
|
| 669 |
+
#rect(
|
| 670 |
+
fill: luma(240),
|
| 671 |
+
width: 100%,
|
| 672 |
+
height: auto,
|
| 673 |
+
quote[
|
| 674 |
+
#image("images/4022.png",width: 80%)
|
| 675 |
+
]
|
| 676 |
+
)
|
| 677 |
+
]
|
| 678 |
+
)
|
| 679 |
+
- *block*: bool<raw_block>
|
| 680 |
+
原始文本是否作为独立块展示。默认值:#rtext()[false]。
|
| 681 |
+
|
| 682 |
+
在标记模式下,使用单反引号写法时该选项为否。若使用三反引号写法,当包裹内容至少包含一处换行时,该选项为是。
|
| 683 |
+
#table(
|
| 684 |
+
columns: 1fr,
|
| 685 |
+
align: left,
|
| 686 |
+
stroke: none,
|
| 687 |
+
[
|
| 688 |
+
```typst
|
| 689 |
+
// Display inline code in a small box
|
| 690 |
+
// that retains the correct baseline.
|
| 691 |
+
#show raw.where(block: false): box.with(
|
| 692 |
+
fill: luma(240),
|
| 693 |
+
inset: (x: 3pt, y: 0pt),
|
| 694 |
+
outset: (y: 3pt),
|
| 695 |
+
radius: 2pt,
|
| 696 |
+
)
|
| 697 |
+
|
| 698 |
+
// Display block code in a larger block
|
| 699 |
+
// with more padding.
|
| 700 |
+
#show raw.where(block: true): block.with(
|
| 701 |
+
fill: luma(240),
|
| 702 |
+
inset: 10pt,
|
| 703 |
+
radius: 4pt,
|
| 704 |
+
)
|
| 705 |
+
|
| 706 |
+
With `rg`, you can search through your files quickly.
|
| 707 |
+
This example searches the current directory recursively
|
| 708 |
+
for the text `Hello World`:
|
| 709 |
+
```
|
| 710 |
+
\`\`\`bash
|
| 711 |
+
|
| 712 |
+
rg "Hello World"
|
| 713 |
+
|
| 714 |
+
\`\`\`
|
| 715 |
+
],
|
| 716 |
+
[
|
| 717 |
+
#set quote(block: true)
|
| 718 |
+
#show quote: set align(center)
|
| 719 |
+
#rect(
|
| 720 |
+
fill: luma(240),
|
| 721 |
+
width: 100%,
|
| 722 |
+
height: auto,
|
| 723 |
+
quote[
|
| 724 |
+
#image("images/4023.png",width: 80%)
|
| 725 |
+
]
|
| 726 |
+
)
|
| 727 |
+
]
|
| 728 |
+
)
|
| 729 |
+
- *lang*: none str<raw_lang>
|
| 730 |
+
用于语法高亮解析原始文本的语言。默认值:#rtext()[none]。
|
| 731 |
+
|
| 732 |
+
在HTML导出时,该选项会设置生成的html.code元素的data-lang属性。
|
| 733 |
+
|
| 734 |
+
除了Markdown中常见的语言标签外,还支持用于#link(<Syntax_Markup>)[Typst标记]、#link(<Syntax_Code_mode>)[Typst代码]和#link(<Syntax_Math_mode>)[Typst数学公式]的标签,分别为\"typ\"、\"typc\"以及\"typm\"。
|
| 735 |
+
#table(
|
| 736 |
+
columns: 1fr,
|
| 737 |
+
align: left,
|
| 738 |
+
stroke: none,
|
| 739 |
+
[
|
| 740 |
+
|
| 741 |
+
```typ
|
| 742 |
+
|
| 743 |
+
This is *Typst!*
|
| 744 |
+
|
| 745 |
+
```
|
| 746 |
+
|
| 747 |
+
This is ```typ also *Typst*```, but inline!
|
| 748 |
+
|
| 749 |
+
],
|
| 750 |
+
[
|
| 751 |
+
#set quote(block: true)
|
| 752 |
+
#show quote: set align(center)
|
| 753 |
+
#rect(
|
| 754 |
+
fill: luma(240),
|
| 755 |
+
width: 100%,
|
| 756 |
+
height: auto,
|
| 757 |
+
quote[
|
| 758 |
+
#image("images/4024.png",width: 80%)
|
| 759 |
+
]
|
| 760 |
+
)
|
| 761 |
+
]
|
| 762 |
+
)
|
| 763 |
+
- *align: alignment*<raw_align>
|
| 764 |
+
原始块中每一行应采用的水平对齐方式。如果当前不是原始块(设置了 block: false,或在标记模式中使用了单个反引号),该选项会被忽略。默认值:start。
|
| 765 |
+
|
| 766 |
+
默认值为 start,即默认情况下原始文本沿块内文本方向的起始端对齐,不受当前上下文对齐方式影响(例如,这允许你将原始块整体居中,而不把块内的文本也居中)。
|
| 767 |
+
#table(
|
| 768 |
+
columns: (1fr,1fr),
|
| 769 |
+
align: (left,left),
|
| 770 |
+
stroke: none,
|
| 771 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 772 |
+
[
|
| 773 |
+
```typst
|
| 774 |
+
#set raw(align: center)
|
| 775 |
+
|
| 776 |
+
```typc
|
| 777 |
+
let f(x) = x
|
| 778 |
+
code = "centered"
|
| 779 |
+
```
|
| 780 |
+
|
| 781 |
+
```
|
| 782 |
+
],[
|
| 783 |
+
#set align(horizon)
|
| 784 |
+
#image("images/4025.png",width: auto)
|
| 785 |
+
]
|
| 786 |
+
)
|
| 787 |
+
- *syntaxes*: str path bytes array<raw_syntaxes>
|
| 788 |
+
要加载的附加语法定义。语法定义需采用 sublime-syntax 文件格式。
|
| 789 |
+
|
| 790 |
+
你可以传入以下任意类型的值:\
|
| 791 |
+
#set par(hanging-indent: 1cm)
|
| 792 |
+
-- 用于加载语法文件的路径字符串或#link(<Path>)[路径]。\
|
| 793 |
+
-- 可从中解码出语法的原始字节。\
|
| 794 |
+
-- 一个数组,数组内每一项为上述类型之一。
|
| 795 |
+
#set par(hanging-indent: 0cm)
|
| 796 |
+
#table(
|
| 797 |
+
columns: 1fr,
|
| 798 |
+
align: left,
|
| 799 |
+
stroke: none,
|
| 800 |
+
[
|
| 801 |
+
|
| 802 |
+
```typ
|
| 803 |
+
#set raw(syntaxes: "SExpressions.sublime-syntax")
|
| 804 |
+
|
| 805 |
+
```
|
| 806 |
+
```sexp
|
| 807 |
+
(defun factorial (x)
|
| 808 |
+
(if (zerop x)
|
| 809 |
+
; with a comment
|
| 810 |
+
1
|
| 811 |
+
(\* x (factorial (- x 1)))))
|
| 812 |
+
```
|
| 813 |
+
|
| 814 |
+
],
|
| 815 |
+
[
|
| 816 |
+
#set quote(block: true)
|
| 817 |
+
#show quote: set align(center)
|
| 818 |
+
#rect(
|
| 819 |
+
fill: luma(240),
|
| 820 |
+
width: 100%,
|
| 821 |
+
height: auto,
|
| 822 |
+
quote[
|
| 823 |
+
#image("images/4026.png",width: 80%)
|
| 824 |
+
]
|
| 825 |
+
)
|
| 826 |
+
]
|
| 827 |
+
)
|
| 828 |
+
- *theme: none auto str path bytes*<raw_theme>
|
| 829 |
+
用于语法高亮的主题。主题需采用 tmTheme 文件格式。默认值:#rtext()[auto]。
|
| 830 |
+
|
| 831 |
+
你可以传入以下任意值:\
|
| 832 |
+
#set par(hanging-indent: 1cm)
|
| 833 |
+
-- #rtext()[none]:禁用语法高亮。\
|
| 834 |
+
-- #rtext()[auto]:使用 Typst 默认主题进行高亮。\
|
| 835 |
+
-- 路径字符串,即加载主题文件的#link(<Path>)[路径]。\
|
| 836 |
+
-- 用于解码主题的原始字节数据。
|
| 837 |
+
#set par(hanging-indent: 0cm)
|
| 838 |
+
应用主题仅会影响被专门高亮文本的颜色。它不会读取主题的前景色与背景色属性,因此你可以自主控制普通文本的颜色。你可以通过 #rtext()[text] 函数自行设置前景色,通过#link(<block_fill>)[填充块]设置背景色,也可以使用 xml 函数从主题文件中提取这些属性。
|
| 839 |
+
#table(
|
| 840 |
+
columns: (1fr,1fr),
|
| 841 |
+
align: (left,left),
|
| 842 |
+
stroke: none,
|
| 843 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 844 |
+
[
|
| 845 |
+
```typ
|
| 846 |
+
#set raw(theme: "halcyon.tmTheme")
|
| 847 |
+
#show raw: it => block(
|
| 848 |
+
fill: rgb("#1d2433"),
|
| 849 |
+
inset: 8pt,
|
| 850 |
+
radius: 5pt,
|
| 851 |
+
text(fill: rgb("#a2aabc"), it)
|
| 852 |
+
)
|
| 853 |
+
= Chapter 1
|
| 854 |
+
#let hi = "Hello World"
|
| 855 |
+
```
|
| 856 |
+
],[
|
| 857 |
+
#set align(horizon)
|
| 858 |
+
#image("images/4027.png",width: auto)
|
| 859 |
+
]
|
| 860 |
+
)
|
| 861 |
+
- *tab-size*: int
|
| 862 |
+
制表位的空格宽度。一个制表符会替换为足量空格,以对齐到该宽度的下一个整数倍位置。默认值:#rtext()[2]。
|
| 863 |
+
#table(
|
| 864 |
+
columns: (1fr,1fr),
|
| 865 |
+
align: (left,left),
|
| 866 |
+
stroke: none,
|
| 867 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 868 |
+
[
|
| 869 |
+
```typ
|
| 870 |
+
#set raw(tab-size: 8)
|
| 871 |
+
#set par(first-line-indent: 0cm)
|
| 872 |
+
```
|
| 873 |
+
#set par(first-line-indent: 0cm)
|
| 874 |
+
\`\`\`tsv\
|
| 875 |
+
Year Month Day\
|
| 876 |
+
2000 2 3\
|
| 877 |
+
2001 2 1\
|
| 878 |
+
2002 3 10\
|
| 879 |
+
\`\`\`
|
| 880 |
+
],[
|
| 881 |
+
#set align(horizon)
|
| 882 |
+
#image("images/4028.png",width: auto)
|
| 883 |
+
]
|
| 884 |
+
)
|
| 885 |
+
=== 定义(Definitions)
|
| 886 |
+
- line<raw_line>
|
| 887 |
+
一行高亮的原始文本。
|
| 888 |
+
|
| 889 |
+
这是由原始元素合成的辅助元素。
|
| 890 |
+
|
| 891 |
+
它允许你获取该行的各类属性,例如行号、未高亮的原始文本、高亮文本,以及它是否为原始代码块的首行或末行。
|
| 892 |
+
```typc
|
| 893 |
+
raw.line(
|
| 894 |
+
number:int,
|
| 895 |
+
count:int,
|
| 896 |
+
text:str,
|
| 897 |
+
body:content,
|
| 898 |
+
) → content
|
| 899 |
+
```
|
| 900 |
+
#set par(hanging-indent: 1cm)
|
| 901 |
+
-- *number*: int
|
| 902 |
+
|
| 903 |
+
原始代码块内原始行的行号,从1开始。
|
| 904 |
+
|
| 905 |
+
-- *count*: int
|
| 906 |
+
|
| 907 |
+
原始代码块中的总行数。
|
| 908 |
+
|
| 909 |
+
-- *body*: content
|
| 910 |
+
|
| 911 |
+
高亮的原始文本。
|
| 912 |
+
#set par(hanging-indent: 0cm)
|
| 913 |
+
== 小型大写字母(smallcaps)<smallcaps>
|
| 914 |
+
以小型大写字母显示文本。
|
| 915 |
+
=== 示例(Example)
|
| 916 |
+
#table(
|
| 917 |
+
columns: (1fr,1fr),
|
| 918 |
+
align: (left,left),
|
| 919 |
+
stroke: none,
|
| 920 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 921 |
+
[
|
| 922 |
+
```typ
|
| 923 |
+
Hello \
|
| 924 |
+
#smallcaps[Hello]
|
| 925 |
+
```
|
| 926 |
+
#set par(first-line-indent: 0cm)
|
| 927 |
+
|
| 928 |
+
],[
|
| 929 |
+
#set align(horizon)
|
| 930 |
+
#image("images/4029.png",width: auto)
|
| 931 |
+
]
|
| 932 |
+
)
|
| 933 |
+
=== 小写大写字体(Smallcaps fonts)<smallcaps_fonts>
|
| 934 |
+
默认情况下,该功能会使用字体上的smcp与c2sc OpenType特性。并非所有字体都支持这些特性。有时小型大写字母会作为独立字体的一部分存在,例如拉丁现代字体家族就是如此。在这类场景下,你可以使用show-set规则自定义小型大写字母文本的显示效果:
|
| 935 |
+
```typ
|
| 936 |
+
#show smallcaps: set text(font: "Latin Modern Roman Caps")
|
| 937 |
+
```
|
| 938 |
+
未来,该功能将支持从普通字母合成小型大写字母,但此功能尚未实现。
|
| 939 |
+
=== 小型大写字母标题(Smallcaps headings)<smallcaps_headings>
|
| 940 |
+
你可以使用显示规则为所有标题应用小型大写字母格式。在下面的示例中,我们还将标题设置为居中对齐,并取消默认的粗体字体。
|
| 941 |
+
#table(
|
| 942 |
+
columns: (1fr,1fr),
|
| 943 |
+
align: (left,left),
|
| 944 |
+
stroke: none,
|
| 945 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 946 |
+
[
|
| 947 |
+
```typ
|
| 948 |
+
#set par(justify: true)
|
| 949 |
+
#set heading(numbering: "I.")
|
| 950 |
+
|
| 951 |
+
#show heading: smallcaps
|
| 952 |
+
#show heading: set align(center)
|
| 953 |
+
#show heading: set text(
|
| 954 |
+
weight: "regular"
|
| 955 |
+
)
|
| 956 |
+
|
| 957 |
+
= Introduction
|
| 958 |
+
#lorem(40)
|
| 959 |
+
|
| 960 |
+
```
|
| 961 |
+
|
| 962 |
+
],[
|
| 963 |
+
#set align(horizon)
|
| 964 |
+
#image("images/4030.png",width: auto)
|
| 965 |
+
]
|
| 966 |
+
)
|
| 967 |
+
=== 参数(Parameters)<smallcaps_Parameters>
|
| 968 |
+
```typc
|
| 969 |
+
smallcaps(
|
| 970 |
+
all: bool,
|
| 971 |
+
body:content,
|
| 972 |
+
) → content
|
| 973 |
+
```
|
| 974 |
+
- *all*: bool
|
| 975 |
+
是否同时将大写字母转为小型大写字母。默认值:#rtext()[false]。
|
| 976 |
+
|
| 977 |
+
除非显示规则覆盖该设置,否则会启用OpenType字体的c2sc特性。
|
| 978 |
+
#table(
|
| 979 |
+
columns: (1fr,1fr),
|
| 980 |
+
align: (left,left),
|
| 981 |
+
stroke: none,
|
| 982 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 983 |
+
[
|
| 984 |
+
```typ
|
| 985 |
+
#smallcaps(all: true)[UNICEF] is an
|
| 986 |
+
agency of #smallcaps(all: true)[UN].
|
| 987 |
+
```
|
| 988 |
+
|
| 989 |
+
],[
|
| 990 |
+
#set align(horizon)
|
| 991 |
+
#image("images/4031.png",width: auto)
|
| 992 |
+
]
|
| 993 |
+
)
|
| 994 |
+
- *body*: content
|
| 995 |
+
要以小型大写字母显示的内容。
|
| 996 |
+
|
| 997 |
+
== 智能引号(smartquote)<smartquote>
|
| 998 |
+
可感知语言的引号,能够根据上下文做出适配。
|
| 999 |
+
|
| 1000 |
+
会根据当前使用的#link(<text_lang>)[文本语言],自动切换为合适的前引号或后引号。
|
| 1001 |
+
=== 示例(Example)
|
| 1002 |
+
#table(
|
| 1003 |
+
columns: (1fr,1fr),
|
| 1004 |
+
align: (left,left),
|
| 1005 |
+
stroke: none,
|
| 1006 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 1007 |
+
[
|
| 1008 |
+
```typ
|
| 1009 |
+
"This is in quotes."
|
| 1010 |
+
|
| 1011 |
+
#set text(lang: "de")
|
| 1012 |
+
"Das ist in Anführungszeichen."
|
| 1013 |
+
|
| 1014 |
+
#set text(lang: "fr")
|
| 1015 |
+
"C'est entre guillemets."
|
| 1016 |
+
|
| 1017 |
+
```
|
| 1018 |
+
|
| 1019 |
+
],[
|
| 1020 |
+
#set align(horizon)
|
| 1021 |
+
#image("images/4032.png",width: auto)
|
| 1022 |
+
]
|
| 1023 |
+
)
|
| 1024 |
+
=== 语法(Syntax)
|
| 1025 |
+
该函数还有专用语法:普通引号字符(\'和\")。Typst 会自动将你的引号转换为智能引号。
|
| 1026 |
+
=== 参数(Parameters)<smallcaps_Parameters>
|
| 1027 |
+
```typc
|
| 1028 |
+
smartquote(
|
| 1029 |
+
double: bool,
|
| 1030 |
+
enabled: bool,
|
| 1031 |
+
alternative: bool,
|
| 1032 |
+
quotes: auto str array dictionary,
|
| 1033 |
+
) → content
|
| 1034 |
+
```
|
| 1035 |
+
- *double*: bool
|
| 1036 |
+
这是否应该使用双引号。默认值:#rtext()[true]。
|
| 1037 |
+
- *enabled*: bool
|
| 1038 |
+
是否启用智能引号。默认值:#rtext()[true]。
|
| 1039 |
+
|
| 1040 |
+
如需让单个引号不启用智能特性,你也可以使用反斜杠对其转义。
|
| 1041 |
+
#table(
|
| 1042 |
+
columns: (1fr,1fr),
|
| 1043 |
+
align: (left,left),
|
| 1044 |
+
stroke: none,
|
| 1045 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 1046 |
+
[
|
| 1047 |
+
```typ
|
| 1048 |
+
#set smartquote(enabled: false)
|
| 1049 |
+
|
| 1050 |
+
These are "dumb" quotes.
|
| 1051 |
+
|
| 1052 |
+
```
|
| 1053 |
+
],[
|
| 1054 |
+
#set align(horizon)
|
| 1055 |
+
#image("images/4033.png",width: auto)
|
| 1056 |
+
]
|
| 1057 |
+
)
|
| 1058 |
+
- *alternative*: bool
|
| 1059 |
+
是否使用备用引号。默认值:#rtext()[false]。
|
| 1060 |
+
|
| 1061 |
+
对于没有备用引号的语言,或已设置显式引号的情况,该选项不生效。
|
| 1062 |
+
#table(
|
| 1063 |
+
columns: 1fr,
|
| 1064 |
+
align: left,
|
| 1065 |
+
stroke: none,
|
| 1066 |
+
[
|
| 1067 |
+
|
| 1068 |
+
```typ
|
| 1069 |
+
#set text(lang: "de")
|
| 1070 |
+
#set smartquote(alternative: true)
|
| 1071 |
+
|
| 1072 |
+
"Das ist in anderen Anführungszeichen."
|
| 1073 |
+
```
|
| 1074 |
+
|
| 1075 |
+
],
|
| 1076 |
+
[
|
| 1077 |
+
#set quote(block: true)
|
| 1078 |
+
#show quote: set align(center)
|
| 1079 |
+
#rect(
|
| 1080 |
+
fill: luma(240),
|
| 1081 |
+
width: 100%,
|
| 1082 |
+
height: auto,
|
| 1083 |
+
quote[
|
| 1084 |
+
#image("images/4034.png",width: 80%)
|
| 1085 |
+
]
|
| 1086 |
+
)
|
| 1087 |
+
]
|
| 1088 |
+
)
|
| 1089 |
+
- *quotes*: auto str array dictionary\ 要使用的引号。默认值:#rtext()[auto]。
|
| 1090 |
+
- 设置为自动时,将使用适配文本语言的相应单引号。这是默认设置。
|
| 1091 |
+
- 自定义引号可以通过字符串、数组或字典形式传入,可为以下任意一种
|
| 1092 |
+
- #link(<String>)[string]:由两个字符组成的字符串,包含起始双引号与结束双引号(此处字符指Unicode字形簇)
|
| 1093 |
+
- #link(<array>)[array]:包含起始双引号与结束双引号的数组
|
| 1094 |
+
- #link(<dictionary>)[dictionary]:包含双引号和单引号的字典,每种引号可指定为#rtext()[auto]、string或array类型
|
| 1095 |
+
#table(
|
| 1096 |
+
columns: 1fr,
|
| 1097 |
+
align: left,
|
| 1098 |
+
stroke: none,
|
| 1099 |
+
[
|
| 1100 |
+
|
| 1101 |
+
```typ
|
| 1102 |
+
#set text(lang: "de")
|
| 1103 |
+
'Das sind normale Anführungszeichen.'
|
| 1104 |
+
|
| 1105 |
+
#set smartquote(quotes: "()")
|
| 1106 |
+
"Das sind eigene Anführungszeichen."
|
| 1107 |
+
|
| 1108 |
+
#set smartquote(quotes: (single: ("[[", "]]"), double: auto))
|
| 1109 |
+
'Das sind eigene Anführungszeichen.'
|
| 1110 |
+
|
| 1111 |
+
```
|
| 1112 |
+
],
|
| 1113 |
+
[
|
| 1114 |
+
#set quote(block: true)
|
| 1115 |
+
#show quote: set align(center)
|
| 1116 |
+
#rect(
|
| 1117 |
+
fill: luma(240),
|
| 1118 |
+
width: 100%,
|
| 1119 |
+
height: auto,
|
| 1120 |
+
quote[
|
| 1121 |
+
#image("images/4035.png",width: 80%)
|
| 1122 |
+
]
|
| 1123 |
+
)
|
| 1124 |
+
]
|
| 1125 |
+
)
|
| 1126 |
+
== 添加删除线(strike)<strike>
|
| 1127 |
+
给文本添加删除线。
|
| 1128 |
+
=== 示例(Example)
|
| 1129 |
+
#table(
|
| 1130 |
+
columns: (1fr,1fr),
|
| 1131 |
+
align: (left,left),
|
| 1132 |
+
stroke: none,
|
| 1133 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 1134 |
+
[
|
| 1135 |
+
```typ
|
| 1136 |
+
This is #strike[not] relevant.
|
| 1137 |
+
```
|
| 1138 |
+
],[
|
| 1139 |
+
#set align(horizon)
|
| 1140 |
+
#image("images/4036.png",width: auto)
|
| 1141 |
+
]
|
| 1142 |
+
)
|
| 1143 |
+
=== 参数(Parameters)
|
| 1144 |
+
```typc
|
| 1145 |
+
strike(
|
| 1146 |
+
stroke: auto length color gradient stroke tiling dictionary,
|
| 1147 |
+
offset: auto length,
|
| 1148 |
+
extent: length,
|
| 1149 |
+
background: bool,
|
| 1150 |
+
body:content,
|
| 1151 |
+
) → content
|
| 1152 |
+
```
|
| 1153 |
+
- *stroke*: auto length color gradient stroke tiling dictionary
|
| 1154 |
+
如何绘制描边线条。默认值:#rtext()[auto]。
|
| 1155 |
+
|
| 1156 |
+
若设置为自动,将采用文本颜色以及当前字体所定义的粗细。
|
| 1157 |
+
|
| 1158 |
+
注意:请勿将此用于正式内容涂黑遮挡,因为文本仍可被复制粘贴。
|
| 1159 |
+
#table(
|
| 1160 |
+
columns: 1fr,
|
| 1161 |
+
align: left,
|
| 1162 |
+
stroke: none,
|
| 1163 |
+
[
|
| 1164 |
+
|
| 1165 |
+
```typ
|
| 1166 |
+
This is #strike(stroke: 1.5pt + red)[very stricken through]. \
|
| 1167 |
+
This is #strike(stroke: 10pt)[redacted].
|
| 1168 |
+
```
|
| 1169 |
+
],
|
| 1170 |
+
[
|
| 1171 |
+
#set quote(block: true)
|
| 1172 |
+
#show quote: set align(center)
|
| 1173 |
+
#rect(
|
| 1174 |
+
fill: luma(240),
|
| 1175 |
+
width: 100%,
|
| 1176 |
+
height: auto,
|
| 1177 |
+
quote[
|
| 1178 |
+
#image("images/4037.png",width: 80%)
|
| 1179 |
+
]
|
| 1180 |
+
)
|
| 1181 |
+
]
|
| 1182 |
+
)
|
| 1183 |
+
- *offset*: auto length
|
| 1184 |
+
线条相对于基线的位置。若设置为自动,则从字体表读取该值。默认值:#rtext()[auto]。
|
| 1185 |
+
|
| 1186 |
+
如果你对字体自带的偏移量不满意,这个参数会很有用。
|
| 1187 |
+
#table(
|
| 1188 |
+
columns: 1fr,
|
| 1189 |
+
align: left,
|
| 1190 |
+
stroke: none,
|
| 1191 |
+
[
|
| 1192 |
+
|
| 1193 |
+
```typ
|
| 1194 |
+
#set text(font: "Inria Serif")
|
| 1195 |
+
This is #strike(offset: auto)[low-ish]. \
|
| 1196 |
+
This is #strike(offset: -3.5pt)[on-top].
|
| 1197 |
+
```
|
| 1198 |
+
],
|
| 1199 |
+
[
|
| 1200 |
+
#set quote(block: true)
|
| 1201 |
+
#show quote: set align(center)
|
| 1202 |
+
#rect(
|
| 1203 |
+
fill: luma(240),
|
| 1204 |
+
width: 100%,
|
| 1205 |
+
height: auto,
|
| 1206 |
+
quote[
|
| 1207 |
+
#image("images/4038.png",width: 80%)
|
| 1208 |
+
]
|
| 1209 |
+
)
|
| 1210 |
+
]
|
| 1211 |
+
)
|
| 1212 |
+
- *extent*: length
|
| 1213 |
+
将线条向内容外侧延伸的距离(若数值为负,则向内容内侧缩进)。默认值:#rtext()[0pt]。
|
| 1214 |
+
#table(
|
| 1215 |
+
columns: 1fr,
|
| 1216 |
+
align: left,
|
| 1217 |
+
stroke: none,
|
| 1218 |
+
[
|
| 1219 |
+
|
| 1220 |
+
```typ
|
| 1221 |
+
This #strike(extent: -2pt)[skips] parts of the word.
|
| 1222 |
+
This #strike(extent: 2pt)[extends] beyond the word.
|
| 1223 |
+
```
|
| 1224 |
+
],
|
| 1225 |
+
[
|
| 1226 |
+
#set quote(block: true)
|
| 1227 |
+
#show quote: set align(center)
|
| 1228 |
+
#rect(
|
| 1229 |
+
fill: luma(240),
|
| 1230 |
+
width: 100%,
|
| 1231 |
+
height: auto,
|
| 1232 |
+
quote[
|
| 1233 |
+
#image("images/4039.png",width: 80%)
|
| 1234 |
+
]
|
| 1235 |
+
)
|
| 1236 |
+
]
|
| 1237 |
+
)
|
| 1238 |
+
- *background*: bool
|
| 1239 |
+
该行是否放置在内容后方。默认值:#rtext()[false]。
|
| 1240 |
+
#table(
|
| 1241 |
+
columns: 1fr,
|
| 1242 |
+
align: left,
|
| 1243 |
+
stroke: none,
|
| 1244 |
+
[
|
| 1245 |
+
|
| 1246 |
+
```typ
|
| 1247 |
+
#set strike(stroke: red + 2pt)
|
| 1248 |
+
#strike(background: true)[This is behind.] \
|
| 1249 |
+
#strike(background: false)[This is in front.]
|
| 1250 |
+
```
|
| 1251 |
+
],
|
| 1252 |
+
[
|
| 1253 |
+
#set quote(block: true)
|
| 1254 |
+
#show quote: set align(center)
|
| 1255 |
+
#rect(
|
| 1256 |
+
fill: luma(240),
|
| 1257 |
+
width: 100%,
|
| 1258 |
+
height: auto,
|
| 1259 |
+
quote[
|
| 1260 |
+
#image("images/4040.png",width: 80%)
|
| 1261 |
+
]
|
| 1262 |
+
)
|
| 1263 |
+
]
|
| 1264 |
+
)
|
| 1265 |
+
- *body*:content
|
| 1266 |
+
需要加删除线的文本。
|
| 1267 |
+
|
| 1268 |
+
== 下标(sub)<sub>
|
| 1269 |
+
将文本渲染为下标。
|
| 1270 |
+
|
| 1271 |
+
文本会以更小的字号显示,且基线位置下移。
|
| 1272 |
+
=== 示例(Example)
|
| 1273 |
+
#table(
|
| 1274 |
+
columns: (1fr,1fr),
|
| 1275 |
+
align: (left,left),
|
| 1276 |
+
stroke: none,
|
| 1277 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 1278 |
+
[
|
| 1279 |
+
```typ
|
| 1280 |
+
Revenue#sub[yearly]
|
| 1281 |
+
```
|
| 1282 |
+
],[
|
| 1283 |
+
#set align(horizon)
|
| 1284 |
+
#image("images/4041.png",width: auto)
|
| 1285 |
+
]
|
| 1286 |
+
)
|
| 1287 |
+
|
| 1288 |
+
=== 参数(Parameters)
|
| 1289 |
+
```typc
|
| 1290 |
+
sub(
|
| 1291 |
+
typographic: bool,
|
| 1292 |
+
baseline: auto length,
|
| 1293 |
+
size: auto length,
|
| 1294 |
+
body:content,
|
| 1295 |
+
) → content
|
| 1296 |
+
```
|
| 1297 |
+
- *typographic*: bool<sub_typographic>
|
| 1298 |
+
是否使用字体自带的下标字形(如有)。默认值:#rtext()[true]。
|
| 1299 |
+
|
| 1300 |
+
理想情况下,下标字形由字体提供(通过OpenType的subs特性)。如果字体未提供,Typst可以通过下移并缩小普通字形来合成下标。
|
| 1301 |
+
|
| 1302 |
+
当该项设为false时,无论字体是否提供专用下标字形,都将使用合成字形。当该项设为true时,若字体缺少所需下标字形,仍可能使用合成字形。
|
| 1303 |
+
#table(
|
| 1304 |
+
columns: (1fr,1fr),
|
| 1305 |
+
align: (left,left),
|
| 1306 |
+
stroke: none,
|
| 1307 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 1308 |
+
[
|
| 1309 |
+
```typ
|
| 1310 |
+
N#sub(typographic: true)[1]
|
| 1311 |
+
N#sub(typographic: false)[1]
|
| 1312 |
+
```
|
| 1313 |
+
],[
|
| 1314 |
+
#set align(horizon)
|
| 1315 |
+
#image("images/4042.png",width: auto)
|
| 1316 |
+
]
|
| 1317 |
+
)
|
| 1318 |
+
- *baseline*: auto length<sub_baseline>
|
| 1319 |
+
合成下标用的基线向下偏移量。默认值:#rtext()[auto]。
|
| 1320 |
+
|
| 1321 |
+
该设置仅对合成下标生效。也就是说,如果启用排版字体(typographic为#rtext()[true])且字体自带所需的下标字形,则此设置无效。
|
| 1322 |
+
|
| 1323 |
+
若设为#rtext()[auto],基线将根据字体提供的度量信息进行偏移;当字体未定义相关度量信息时,回退使用#rtext()[0.2em]。
|
| 1324 |
+
|
| 1325 |
+
使用多字体时,可能需要手动指定基线和#link(<sub_size>)[字号]。可参考上标(#link(<super_baseline>)[super])的示例。
|
| 1326 |
+
|
| 1327 |
+
- *size*: auto length<sub_size>
|
| 1328 |
+
合成下标所用的字体大小。默认值:#rtext()[auto]。
|
| 1329 |
+
|
| 1330 |
+
该设置仅对合成下标生效。也就是说,如果开启排版模式且字体自带所需的下标字形,则此设置无效。
|
| 1331 |
+
|
| 1332 |
+
若设为#rtext()[auto],大小会根据字体提供的度量信息进行缩放;当字体未定义相关度量信息时,将回退使用#rtext()[0.6em]。
|
| 1333 |
+
- *body*:content<sub_body>
|
| 1334 |
+
要作为下标显示的文本。
|
| 1335 |
+
|
| 1336 |
+
== 上标(super)<super>
|
| 1337 |
+
将文本以上标形式呈现。
|
| 1338 |
+
|
| 1339 |
+
文本会缩小显示,且基线向上偏移。
|
| 1340 |
+
=== 示例(Example)
|
| 1341 |
+
#table(
|
| 1342 |
+
columns: (1fr,1fr),
|
| 1343 |
+
align: (left,left),
|
| 1344 |
+
stroke: none,
|
| 1345 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 1346 |
+
[
|
| 1347 |
+
```typ
|
| 1348 |
+
1#super[st] try!
|
| 1349 |
+
```
|
| 1350 |
+
],[
|
| 1351 |
+
#set align(horizon)
|
| 1352 |
+
#image("images/4043.png",width: auto)
|
| 1353 |
+
]
|
| 1354 |
+
)
|
| 1355 |
+
|
| 1356 |
+
=== 参数(Parameters)
|
| 1357 |
+
```typc
|
| 1358 |
+
super(
|
| 1359 |
+
typographic: bool,
|
| 1360 |
+
baseline: auto length,
|
| 1361 |
+
size: auto length,
|
| 1362 |
+
body:content,
|
| 1363 |
+
) → content
|
| 1364 |
+
```
|
| 1365 |
+
- *typographic*: bool<super_typographic>
|
| 1366 |
+
是否在字体支持的情况下使用字体自带的上标字形。默认值:#rtext()[true]。
|
| 1367 |
+
|
| 1368 |
+
理想情况下,上标字形由字体提供(通过 sups OpenType 特性)。如果字体不支持,Typst 可以将普通字形上移并缩小来合成上标。
|
| 1369 |
+
|
| 1370 |
+
当该项设为 false 时,无论字体是否提供专用上标字形,都将使用合成字形。当该项设为 true 时,若字体没有所需的上标字形,仍可能使用合成字形。
|
| 1371 |
+
#table(
|
| 1372 |
+
columns: (1fr,1fr),
|
| 1373 |
+
align: (left,left),
|
| 1374 |
+
stroke: none,
|
| 1375 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 1376 |
+
[
|
| 1377 |
+
```typ
|
| 1378 |
+
N#super(typographic: true)[1]
|
| 1379 |
+
N#super(typographic: false)[1]
|
| 1380 |
+
```
|
| 1381 |
+
],[
|
| 1382 |
+
#set align(horizon)
|
| 1383 |
+
#image("images/4044.png",width: auto)
|
| 1384 |
+
]
|
| 1385 |
+
)
|
| 1386 |
+
- *baseline*: auto length<super_baseline>
|
| 1387 |
+
合成上标的基线向下偏移量。默认值:#rtext()[auto]。
|
| 1388 |
+
|
| 1389 |
+
该设置仅对合成上标生效。也就是说,如果开启了印刷字体模式且字体自带所需的上标字形,此设置不会产生任何效果。
|
| 1390 |
+
|
| 1391 |
+
若设置为#rtext()[auto],基线将根据字体提供的度量信息进行偏移;当字体未定义相关度量信息时,会回退使用 #rtext()[-0.5em]。
|
| 1392 |
+
|
| 1393 |
+
注意:由于基线偏移方向为向下,想要让内容显示在普通基线的上方,你需要设置一个负值。
|
| 1394 |
+
有时需要显式指定基线和#link(<super_size>)[字号]。在下面的示例中,上标文本使用了多款度量标准不兼容的字体。为避免对齐错乱,我们对所有字体的度量参数进行强制覆盖。
|
| 1395 |
+
#table(
|
| 1396 |
+
columns: (1fr,1fr),
|
| 1397 |
+
align: (left,left),
|
| 1398 |
+
stroke: none,
|
| 1399 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 1400 |
+
[
|
| 1401 |
+
```typ
|
| 1402 |
+
#let tz(timezone) = text(
|
| 1403 |
+
font: "Roboto",
|
| 1404 |
+
smallcaps(timezone, all: true),
|
| 1405 |
+
)
|
| 1406 |
+
|
| 1407 |
+
/ Per-font metrics:
|
| 1408 |
+
14:00#super[#tz[UTC], not #tz[CET]]
|
| 1409 |
+
#set super(
|
| 1410 |
+
baseline: -0.4em,
|
| 1411 |
+
size: 0.6em,
|
| 1412 |
+
typographic: false,
|
| 1413 |
+
)
|
| 1414 |
+
/ Unified metrics:
|
| 1415 |
+
14:00#super[#tz[UTC], not #tz[CET]]
|
| 1416 |
+
```
|
| 1417 |
+
],[
|
| 1418 |
+
#set align(horizon)
|
| 1419 |
+
#image("images/4045.png",width: auto)
|
| 1420 |
+
]
|
| 1421 |
+
)
|
| 1422 |
+
- *size*: auto length<super_size>
|
| 1423 |
+
合成上标的字体大小。默认值:#rtext()[auto]。
|
| 1424 |
+
|
| 1425 |
+
该设置仅适用于合成上标。也就是说,如果启用印刷排版模式且字体自带所需的上标字形,则该设置无效。
|
| 1426 |
+
|
| 1427 |
+
若设为自动,大小将根据字体提供的度量信息进行缩放;当字体未定义相关度量信息时,会回退至0.6em。
|
| 1428 |
+
- *body*: content<super_body>
|
| 1429 |
+
要作为上标显示的文本。
|
| 1430 |
+
|
| 1431 |
+
== 文本(text)<text>
|
| 1432 |
+
以多种方式自定义文本的外观与布局。
|
| 1433 |
+
|
| 1434 |
+
该函数经常使用,既可配合预设规则使用,也可直接调用。虽然使用预设规则通常是更简便的选择,但在将文本作为参数传递给其他函数时,直接调用文本函数会很有用。
|
| 1435 |
+
=== 示例(Example)
|
| 1436 |
+
#table(
|
| 1437 |
+
columns: (1fr,1fr),
|
| 1438 |
+
align: (left,left),
|
| 1439 |
+
stroke: none,
|
| 1440 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 1441 |
+
[
|
| 1442 |
+
```typ
|
| 1443 |
+
#set text(18pt)
|
| 1444 |
+
With a set rule.
|
| 1445 |
+
|
| 1446 |
+
#emph(text(blue)[
|
| 1447 |
+
With a function call.
|
| 1448 |
+
])
|
| 1449 |
+
```
|
| 1450 |
+
],[
|
| 1451 |
+
#set align(horizon)
|
| 1452 |
+
#image("images/4046.png",width: auto)
|
| 1453 |
+
]
|
| 1454 |
+
)
|
| 1455 |
+
|
| 1456 |
+
=== 参数(Parameters)
|
| 1457 |
+
```typc
|
| 1458 |
+
text(
|
| 1459 |
+
font: str array dictionary,
|
| 1460 |
+
fallback: bool,
|
| 1461 |
+
style: str,
|
| 1462 |
+
weight: int str,
|
| 1463 |
+
stretch: ratio,
|
| 1464 |
+
size: length,
|
| 1465 |
+
fill: color gradient tiling,
|
| 1466 |
+
stroke: none length color gradient stroke tiling dictionary,
|
| 1467 |
+
tracking: length,
|
| 1468 |
+
spacing: relative,
|
| 1469 |
+
cjk-latin-spacing: none auto,
|
| 1470 |
+
baseline: length,
|
| 1471 |
+
overhang: bool,
|
| 1472 |
+
top-edge: length str,
|
| 1473 |
+
bottom-edge: length str,
|
| 1474 |
+
lang: str,
|
| 1475 |
+
region: none str,
|
| 1476 |
+
script: auto str,
|
| 1477 |
+
dir: auto direction,
|
| 1478 |
+
hyphenate: auto bool,
|
| 1479 |
+
costs: dictionary,
|
| 1480 |
+
kerning: bool,
|
| 1481 |
+
alternates: bool int,
|
| 1482 |
+
stylistic-set: none int array,
|
| 1483 |
+
ligatures: bool,
|
| 1484 |
+
discretionary-ligatures: bool,
|
| 1485 |
+
historical-ligatures: bool,
|
| 1486 |
+
number-type: auto str,
|
| 1487 |
+
number-width: auto str,
|
| 1488 |
+
slashed-zero: bool,
|
| 1489 |
+
fractions: bool,
|
| 1490 |
+
features: array dictionary,
|
| 1491 |
+
variations: dictionary,
|
| 1492 |
+
body: content,
|
| 1493 |
+
text: str,
|
| 1494 |
+
) → content
|
| 1495 |
+
```
|
| 1496 |
+
- *font*: str array dictionary<text_font>
|
| 1497 |
+
字体族描述符,或是字体族描述符的优先级列表。默认值:```typc "libertinus serif"```。
|
| 1498 |
+
|
| 1499 |
+
字体族描述符可以是代表字体族名称的纯文本字符串,也可以是包含以下键的字典:
|
| 1500 |
+
#set par(hanging-indent: 1.3cm)
|
| 1501 |
+
-- name(必填):字体族名称。
|
| 1502 |
+
|
| 1503 |
+
-- covers(可选):定义该字体族适用的Unicode码点。可以为:
|
| 1504 |
+
#set par(first-line-indent: 2cm,hanging-indent: 2cm)
|
| 1505 |
+
$circle$ 预定义覆盖集:
|
| 1506 |
+
|
| 1507 |
+
$quad square$ “latin-in-cjk”涵盖所有码位,但不包含那些在拉丁字体中存在、却最好从中日韩字体获取的码位。
|
| 1508 |
+
|
| 1509 |
+
$circle$ 用于精确规定需要覆盖哪些码点的#link(<regex>)[正则表达式]。仅接受由单个点、字母或字符类构成的那部分正则表达式子集。
|
| 1510 |
+
#set par(first-line-indent: 1cm,hanging-indent: 0cm)
|
| 1511 |
+
|
| 1512 |
+
处理文本时,Typst会按顺序尝试所有指定的字体系列,直到找到包含所需字形的字体。在下方示例中,优先使用 Inria Serif 字体,但由于该字体不含阿拉伯文字形,阿拉伯语文本会改用 Noto Sans Arabic。
|
| 1513 |
+
|
| 1514 |
+
Typst 旨在将同一系列下的不同字体统一为同一个系列名称。为此,它会自动去除字体系列名称中常见的样式后缀,例如“Bold”(粗体)或“Condensed”(压缩体)。不要通过字体名称选择这类变体,而应使用 Typst 的内置机制(如字重和拉伸参数)进行设置。同理,在 Typst 中使用可变字体时,应当省略“Variable”、“Var”以及“VF”这类后缀,因为 Typst 会自动剔除它们,从而把静态字体和可变字体归为同一个系列。
|
| 1515 |
+
|
| 1516 |
+
在同一系列的多款字体之间,Typst 会挑选与配置的#link(<text_style>)[文本样式]、#link(<text_weight>)[字重]以及#link(<text_stretch>)[拉伸度]匹配度最高的字体。如果静态字体和可变字体都支持某一配置,会优先选用可变字体。
|
| 1517 |
+
|
| 1518 |
+
可用字体集合因平台而异:
|
| 1519 |
+
#set par(hanging-indent: 1.3cm)
|
| 1520 |
+
-- 在网页应用中,点击“Ag”按钮即可查看可用字体列表。你可以将.ttf或.otf文件上传到项目中以添加额外字体,程序会自动识别这些字体。字体优先级:项目字体 > 服务器字体。
|
| 1521 |
+
|
| 1522 |
+
-- 在本地环境下,Typst会使用你已安装的系统字体,或是命令行工具内置字体,内置字体包括Libertinus Serif、New Computer Modern、New Computer Modern Math以及DejaVu Sans Mono。此外,你可以使用--font-path参数或TYPST_FONT_PATHS环境变量,添加用于扫描字体的目录。字体优先级:--font-path > 系统字体 > 内置字体。执行typst fonts命令,可以查看Typst在你的系统中识别到的字体。注意,你可以向命令行传入--ignore-system-fonts参数,让Typst不检索系统字体。
|
| 1523 |
+
#set par(hanging-indent: 0cm)
|
| 1524 |
+
#table(
|
| 1525 |
+
columns: 1fr,
|
| 1526 |
+
align: left,
|
| 1527 |
+
stroke: none,
|
| 1528 |
+
[
|
| 1529 |
+
|
| 1530 |
+
```typ
|
| 1531 |
+
#set text(font: "PT Sans")
|
| 1532 |
+
This is sans-serif.
|
| 1533 |
+
|
| 1534 |
+
#set text(font: (
|
| 1535 |
+
"Inria Serif",
|
| 1536 |
+
"Noto Sans Arabic",
|
| 1537 |
+
))
|
| 1538 |
+
|
| 1539 |
+
This is Latin. \
|
| 1540 |
+
هذا عربي.
|
| 1541 |
+
|
| 1542 |
+
// Change font only for numbers.
|
| 1543 |
+
#set text(font: (
|
| 1544 |
+
(name: "PT Sans", covers: regex("[0-9]")),
|
| 1545 |
+
"Libertinus Serif"
|
| 1546 |
+
))
|
| 1547 |
+
|
| 1548 |
+
The number 123.
|
| 1549 |
+
|
| 1550 |
+
// Mix Latin and CJK fonts.
|
| 1551 |
+
#set text(font: (
|
| 1552 |
+
(name: "Inria Serif", covers: "latin-in-cjk"),
|
| 1553 |
+
"Noto Serif CJK SC"
|
| 1554 |
+
))
|
| 1555 |
+
分别设置“中文”和English字体
|
| 1556 |
+
```
|
| 1557 |
+
],
|
| 1558 |
+
[
|
| 1559 |
+
#set quote(block: true)
|
| 1560 |
+
#show quote: set align(center)
|
| 1561 |
+
#rect(
|
| 1562 |
+
fill: luma(240),
|
| 1563 |
+
width: 100%,
|
| 1564 |
+
height: auto,
|
| 1565 |
+
quote[
|
| 1566 |
+
#image("images/4047.png",width: 80%)
|
| 1567 |
+
]
|
| 1568 |
+
)
|
| 1569 |
+
]
|
| 1570 |
+
)
|
| 1571 |
+
- *fallback*: bool<text_fallback>
|
| 1572 |
+
当主字体列表没有匹配项时,是否启用最后的字体回退机制。开启后,Typst会在所有可用字体中查找拥有所需字形、相似度最高的字体。默认值:#rtext()[true]。
|
| 1573 |
+
|
| 1574 |
+
注意:目前,若关闭回退机制且找不到对应字形时不会弹出警告。文本会以“豆腐块”形式显示:也就是用来表示缺少合适字形的小方框。未来版本中,你可以设置让Typst发出警告,以便及时发现这类问题。
|
| 1575 |
+
#table(
|
| 1576 |
+
columns: (1fr,1fr),
|
| 1577 |
+
align: (left,left),
|
| 1578 |
+
stroke: none,
|
| 1579 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 1580 |
+
[
|
| 1581 |
+
```typ
|
| 1582 |
+
#set text(font: "Inria Serif")
|
| 1583 |
+
هذا عربي
|
| 1584 |
+
|
| 1585 |
+
#set text(fallback: false)
|
| 1586 |
+
هذا عربي
|
| 1587 |
+
```
|
| 1588 |
+
],[
|
| 1589 |
+
#set align(horizon)
|
| 1590 |
+
#image("images/4048.png",width: auto)
|
| 1591 |
+
]
|
| 1592 |
+
)
|
| 1593 |
+
- *style*: str<text_style>
|
| 1594 |
+
所需字体样式。默认值:```typc "normal"```。
|
| 1595 |
+
|
| 1596 |
+
当请求斜体(italic)样式,但仅有倾斜体(oblique)可用时,会使用倾斜体。同理反过来,斜体样式也可以替代倾斜体。如果斜体和倾斜体都不可用,Typst 将选用常规样式。由于大多数字体仅提供斜体或倾斜体其中一种,二者的差别通常很难察觉。
|
| 1597 |
+
|
| 1598 |
+
搭配合适的可变字体使用时,Typst 会根据该属性自动配置 ital(用于斜体样式)或 slnt(用于倾斜体样式)#link(<text_variations>)[字体变体]。
|
| 1599 |
+
|
| 1600 |
+
注意:如果你想强调文本,应当使用 emph 函数实现。这样后续如果想要更换强调的表现形式,调整样式会更加方便。
|
| 1601 |
+
#table(
|
| 1602 |
+
columns: 1fr,
|
| 1603 |
+
align: left,
|
| 1604 |
+
stroke: none,
|
| 1605 |
+
[
|
| 1606 |
+
|
| 1607 |
+
```typ
|
| 1608 |
+
#text(font: "Libertinus Serif", style: "italic")[Italic]
|
| 1609 |
+
#text(font: "DejaVu Sans", style: "oblique")[Oblique]
|
| 1610 |
+
```
|
| 1611 |
+
],
|
| 1612 |
+
[
|
| 1613 |
+
#set quote(block: true)
|
| 1614 |
+
#show quote: set align(center)
|
| 1615 |
+
#rect(
|
| 1616 |
+
fill: luma(240),
|
| 1617 |
+
width: 100%,
|
| 1618 |
+
height: auto,
|
| 1619 |
+
quote[
|
| 1620 |
+
#image("images/4049.png",width: 80%)
|
| 1621 |
+
]
|
| 1622 |
+
)
|
| 1623 |
+
]
|
| 1624 |
+
)
|
| 1625 |
+
#table(
|
| 1626 |
+
columns: (0.5fr,1.5fr),
|
| 1627 |
+
align: left,
|
| 1628 |
+
stroke: none,
|
| 1629 |
+
table.header([Variant],[Details]),
|
| 1630 |
+
table.hline(),
|
| 1631 |
+
[\"normal\"],[默认的、通常为正体的样式。],
|
| 1632 |
+
[\"italic\"],[一种带有自定义字形的草书字体。],
|
| 1633 |
+
[\"oblique\"],[只是常规样式的倾斜版本。]
|
| 1634 |
+
)
|
| 1635 |
+
- *weight*: int str<text_weight>
|
| 1636 |
+
字体字形的目标字重。可接受100至900之间的整数,或是预定义的字重名称。当所需字重不可用时,Typst会从该字族中选择字重最接近的字体。默认值:```typc "regular"```。
|
| 1637 |
+
|
| 1638 |
+
搭配合适的可变字体使用时,Typst会基于该属性自动配置wght#link(<text_variations>)[字体变体]。
|
| 1639 |
+
|
| 1640 |
+
注:如果你想对文本进行着重强调,应当改用strong函数。这样一来,若后续你想调整着重强调的样式,修改起来会更加方便。
|
| 1641 |
+
#table(
|
| 1642 |
+
columns: (1fr,1fr),
|
| 1643 |
+
align: (left,left),
|
| 1644 |
+
stroke: none,
|
| 1645 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 1646 |
+
[
|
| 1647 |
+
```typ
|
| 1648 |
+
#set text(font: "IBM Plex Sans")
|
| 1649 |
+
|
| 1650 |
+
#text(weight: "light")[Light] \
|
| 1651 |
+
#text(weight: "regular")[Regular] \
|
| 1652 |
+
#text(weight: "medium")[Medium] \
|
| 1653 |
+
#text(weight: 500)[Medium] \
|
| 1654 |
+
#text(weight: "bold")[Bold]
|
| 1655 |
+
```
|
| 1656 |
+
],[
|
| 1657 |
+
#set align(horizon)
|
| 1658 |
+
#image("images/4050.png",width: auto)
|
| 1659 |
+
]
|
| 1660 |
+
)
|
| 1661 |
+
#table(
|
| 1662 |
+
columns: (0.5fr,1.5fr),
|
| 1663 |
+
align: left,
|
| 1664 |
+
stroke: none,
|
| 1665 |
+
table.header([Variant],[Details]),
|
| 1666 |
+
table.hline(),
|
| 1667 |
+
[\"thin\"],[细字重(100)。],
|
| 1668 |
+
[\"extralight\"],[特细字重(200)。],
|
| 1669 |
+
[\"light\"],[细字重(300)。],
|
| 1670 |
+
[\"regular\"],[常规字重(400)。],
|
| 1671 |
+
[\"medium\"],[中等字重(500)。],
|
| 1672 |
+
[\"semibold\"],[半粗字重(600)。],
|
| 1673 |
+
[\"bold\"],[粗体字重(700)。],
|
| 1674 |
+
[\"extrabold\"],[特粗字重(800)。],
|
| 1675 |
+
[\"black\"],[黑粗���重(900)。],
|
| 1676 |
+
)
|
| 1677 |
+
- *stretch*: ratio<text_stretch>
|
| 1678 |
+
字形的目标宽度。可接受介于50%到200%之间的比例值。当无法设置该目标宽度时,Typst会从字族中选取拉伸程度最接近的字体。仅当该字体存在压缩或扩展版本时,文本才会被拉伸。默认值:#rtext()[100%]。
|
| 1679 |
+
|
| 1680 |
+
搭配合适的可变字体使用时,Typst会基于该属性自动配置wdth#link(<text_variations>)[字体变化轴]。
|
| 1681 |
+
|
| 1682 |
+
如果你想要调整字符之间的间距,而不是拉伸字形本身,请改用字距(#link(<text_tracking>)[tracking])属性。
|
| 1683 |
+
#table(
|
| 1684 |
+
columns: (1fr,1fr),
|
| 1685 |
+
align: (left,left),
|
| 1686 |
+
stroke: none,
|
| 1687 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 1688 |
+
[
|
| 1689 |
+
```typ
|
| 1690 |
+
#set text(font: "IBM Plex Sans")
|
| 1691 |
+
#text(stretch: 75%)[Condensed] \
|
| 1692 |
+
#text(stretch: 100%)[Normal]
|
| 1693 |
+
```
|
| 1694 |
+
],[
|
| 1695 |
+
#set align(horizon)
|
| 1696 |
+
#image("images/4051.png",width: auto)
|
| 1697 |
+
]
|
| 1698 |
+
)
|
| 1699 |
+
- *size*: length<text_size>
|
| 1700 |
+
字形的大小。该值是em单位的基准:1em等于字体大小。默认值:#rtext()[11pt]。
|
| 1701 |
+
|
| 1702 |
+
你也可以使用em单位来设置字体大小,此时字体大小会相对于上一级字体大小进行计算。
|
| 1703 |
+
|
| 1704 |
+
当搭配合适的可变字体使用时,Typst会根据该属性自动配置opsz(光学尺寸)#link(<text_variations>)[字体变体],针对当前字号优化文字可读性。
|
| 1705 |
+
#table(
|
| 1706 |
+
columns: (1fr,1fr),
|
| 1707 |
+
align: (left,left),
|
| 1708 |
+
stroke: none,
|
| 1709 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 1710 |
+
[
|
| 1711 |
+
```typ
|
| 1712 |
+
#set text(size: 20pt)
|
| 1713 |
+
very #text(1.5em)[big] text
|
| 1714 |
+
```
|
| 1715 |
+
],[
|
| 1716 |
+
#set align(horizon)
|
| 1717 |
+
#image("images/4052.png",width: auto)
|
| 1718 |
+
]
|
| 1719 |
+
)
|
| 1720 |
+
- *fill*: color gradient tiling<text_fill>
|
| 1721 |
+
字形填充颜料。默认值:luma(#rtext()[0%])。
|
| 1722 |
+
#table(
|
| 1723 |
+
columns: (1fr,1fr),
|
| 1724 |
+
align: (left,left),
|
| 1725 |
+
stroke: none,
|
| 1726 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 1727 |
+
[
|
| 1728 |
+
```typ
|
| 1729 |
+
#set text(fill: red)
|
| 1730 |
+
This text is red.
|
| 1731 |
+
```
|
| 1732 |
+
],[
|
| 1733 |
+
#set align(horizon)
|
| 1734 |
+
#image("images/4053.png",width: auto)
|
| 1735 |
+
]
|
| 1736 |
+
)
|
| 1737 |
+
- *stroke*: none length color gradient stroke tiling dictionary<text_stroke>
|
| 1738 |
+
如何给文字添加描边。默认值:#rtext()[none]。
|
| 1739 |
+
#table(
|
| 1740 |
+
columns: (1fr,1fr),
|
| 1741 |
+
align: (left,left),
|
| 1742 |
+
stroke: none,
|
| 1743 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 1744 |
+
[
|
| 1745 |
+
```typ
|
| 1746 |
+
#text(stroke: 0.5pt + red)[Stroked]
|
| 1747 |
+
```
|
| 1748 |
+
],[
|
| 1749 |
+
#set align(horizon)
|
| 1750 |
+
#image("images/4054.png",width: auto)
|
| 1751 |
+
]
|
| 1752 |
+
)
|
| 1753 |
+
- *tracking*: length<text_tracking>
|
| 1754 |
+
字符之间需要添加的间距值。默认值:#rtext()[0pt]。
|
| 1755 |
+
#table(
|
| 1756 |
+
columns: (1fr,1fr),
|
| 1757 |
+
align: (left,left),
|
| 1758 |
+
stroke: none,
|
| 1759 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 1760 |
+
[
|
| 1761 |
+
```typ
|
| 1762 |
+
#set text(tracking: 1.5pt)
|
| 1763 |
+
Distant text.
|
| 1764 |
+
```
|
| 1765 |
+
],[
|
| 1766 |
+
#set align(horizon)
|
| 1767 |
+
#image("images/4055.png",width: auto)
|
| 1768 |
+
]
|
| 1769 |
+
)
|
| 1770 |
+
- *spacing*: relative<text_spacing>
|
| 1771 |
+
单词之间的间距。默认值:#rtext()[100%+0pt]。
|
| 1772 |
+
|
| 1773 |
+
可以设置为固定长度,也可相对于字体中空格字符的宽度进行设置。
|
| 1774 |
+
|
| 1775 |
+
如果你想调整字符之间而非单词之间的间距,请改用字间距属性。
|
| 1776 |
+
#table(
|
| 1777 |
+
columns: (1fr,1fr),
|
| 1778 |
+
align: (left,left),
|
| 1779 |
+
stroke: none,
|
| 1780 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 1781 |
+
[
|
| 1782 |
+
```typ
|
| 1783 |
+
#set text(spacing: 200%)
|
| 1784 |
+
Text with distant words.
|
| 1785 |
+
```
|
| 1786 |
+
],[
|
| 1787 |
+
#set align(horizon)
|
| 1788 |
+
#image("images/4056.png",width: auto)
|
| 1789 |
+
]
|
| 1790 |
+
)
|
| 1791 |
+
- *cjk-latin-spacing*: none auto<text_cjk-latin-spacing>
|
| 1792 |
+
是否在中日韩文字与拉丁字符之间自动插入空格。默认值:#rtext()[auto]。
|
| 1793 |
+
#table(
|
| 1794 |
+
columns: (1fr,1fr),
|
| 1795 |
+
align: (left,left),
|
| 1796 |
+
stroke: none,
|
| 1797 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 1798 |
+
[
|
| 1799 |
+
```typ
|
| 1800 |
+
#set text(cjk-latin-spacing: auto)
|
| 1801 |
+
第4章介绍了基本的API。
|
| 1802 |
+
|
| 1803 |
+
#set text(cjk-latin-spacing: none)
|
| 1804 |
+
第4章介绍了基本的API。
|
| 1805 |
+
```
|
| 1806 |
+
],[
|
| 1807 |
+
#set align(horizon)
|
| 1808 |
+
#image("images/4057.png",width: auto)
|
| 1809 |
+
]
|
| 1810 |
+
)
|
| 1811 |
+
- *baseline*: length<text_baseline>
|
| 1812 |
+
用于偏移文本基线的数值。默认值:#rtext()[0pt]。
|
| 1813 |
+
#table(
|
| 1814 |
+
columns: (1fr,1fr),
|
| 1815 |
+
align: (left,left),
|
| 1816 |
+
stroke: none,
|
| 1817 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 1818 |
+
[
|
| 1819 |
+
```typ
|
| 1820 |
+
A #text(baseline: 3pt)[lowered]
|
| 1821 |
+
word.
|
| 1822 |
+
```
|
| 1823 |
+
],[
|
| 1824 |
+
#set align(horizon)
|
| 1825 |
+
#image("images/4058.png",width: auto)
|
| 1826 |
+
]
|
| 1827 |
+
)
|
| 1828 |
+
- *overhang*: bool<text_overhang>
|
| 1829 |
+
两端对齐文本中,某些字形是否可以延伸到页边距区域。这样能让两端对齐的排版视觉效果更佳。默认值:#rtext()[true]。
|
| 1830 |
+
#table(
|
| 1831 |
+
columns: (1fr,1fr),
|
| 1832 |
+
align: (left,left),
|
| 1833 |
+
stroke: none,
|
| 1834 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 1835 |
+
[
|
| 1836 |
+
```typ
|
| 1837 |
+
#set page(width: 220pt)
|
| 1838 |
+
|
| 1839 |
+
#set par(justify: true)
|
| 1840 |
+
This justified text has a hyphen in
|
| 1841 |
+
the paragraph's second line. Hanging
|
| 1842 |
+
the hyphen slightly into the margin
|
| 1843 |
+
results in a clearer paragraph edge.
|
| 1844 |
+
|
| 1845 |
+
#set text(overhang: false)
|
| 1846 |
+
This justified text has a hyphen in
|
| 1847 |
+
the paragraph's second line. Hanging
|
| 1848 |
+
the hyphen slightly into the margin
|
| 1849 |
+
results in a clearer paragraph edge.
|
| 1850 |
+
```
|
| 1851 |
+
],[
|
| 1852 |
+
#set align(horizon)
|
| 1853 |
+
#image("images/4059.png",width: auto)
|
| 1854 |
+
]
|
| 1855 |
+
)
|
| 1856 |
+
- *top-edge*: length str<text_top-edge>
|
| 1857 |
+
用于布局和定位的文本外围概念框的顶端。该属性会影响承载文本的容器大小。默认值:```typc "cap-height"```。
|
| 1858 |
+
#table(
|
| 1859 |
+
columns: (1fr,1fr),
|
| 1860 |
+
align: (left,left),
|
| 1861 |
+
stroke: none,
|
| 1862 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 1863 |
+
[
|
| 1864 |
+
```typ
|
| 1865 |
+
#set rect(inset: 0pt)
|
| 1866 |
+
#set text(size: 20pt)
|
| 1867 |
+
|
| 1868 |
+
#set text(top-edge: "ascender")
|
| 1869 |
+
#rect(fill: aqua)[Typst]
|
| 1870 |
+
|
| 1871 |
+
#set text(top-edge: "cap-height")
|
| 1872 |
+
#rect(fill: aqua)[Typst]
|
| 1873 |
+
```
|
| 1874 |
+
],[
|
| 1875 |
+
#set align(horizon)
|
| 1876 |
+
#image("images/4060.png",width: auto)
|
| 1877 |
+
]
|
| 1878 |
+
)
|
| 1879 |
+
#table(
|
| 1880 |
+
columns: (0.5fr,1.5fr),
|
| 1881 |
+
align: left,
|
| 1882 |
+
stroke: none,
|
| 1883 |
+
table.header([Variant],[Details]),
|
| 1884 |
+
table.hline(),
|
| 1885 |
+
[\"ascender\"],[该字体的升部,通常超过所有字形的高度。],
|
| 1886 |
+
[\"cap-height\"],[大写字母的近似高度。],
|
| 1887 |
+
[\"x-height\"],[不含升部小写字母的近似高度。],
|
| 1888 |
+
[\"baseline\"],[字母所依托的基线。],
|
| 1889 |
+
[\"bounds\"],[字形边界框的顶边。],
|
| 1890 |
+
)
|
| 1891 |
+
- *bottom-edge*: length str<text_bottom-edge>
|
| 1892 |
+
文本周围用于布局和定位的概念框架的底端。该属性会影响容纳文本的容器大小。默认值:```typc "baseline"```。
|
| 1893 |
+
#table(
|
| 1894 |
+
columns: (1fr,1fr),
|
| 1895 |
+
align: (left,left),
|
| 1896 |
+
stroke: none,
|
| 1897 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 1898 |
+
[
|
| 1899 |
+
```typ
|
| 1900 |
+
#set rect(inset: 0pt)
|
| 1901 |
+
#set text(size: 20pt)
|
| 1902 |
+
|
| 1903 |
+
#set text(bottom-edge: "baseline")
|
| 1904 |
+
#rect(fill: aqua)[Typst]
|
| 1905 |
+
|
| 1906 |
+
#set text(bottom-edge: "descender")
|
| 1907 |
+
#rect(fill: aqua)[Typst]
|
| 1908 |
+
```
|
| 1909 |
+
],[
|
| 1910 |
+
#set align(horizon)
|
| 1911 |
+
#image("images/4061.png",width: auto)
|
| 1912 |
+
]
|
| 1913 |
+
)
|
| 1914 |
+
#table(
|
| 1915 |
+
columns: (0.5fr,1.5fr),
|
| 1916 |
+
align: left,
|
| 1917 |
+
stroke: none,
|
| 1918 |
+
table.header([Variant],[Details]),
|
| 1919 |
+
table.hline(),
|
| 1920 |
+
[\"baseline\"],[字母所处的基线。],
|
| 1921 |
+
[\"descender\"],[字体的下伸部,其深度通常超过所有字形的下沿。],
|
| 1922 |
+
[\"bounds\"],[字形边界框的底边。],
|
| 1923 |
+
)
|
| 1924 |
+
- *lang*: str<text_lang>
|
| 1925 |
+
#link("https://en.wikipedia.org/wiki/ISO_639")[ISO 639-1/2/3语言代码]。默认值:```typc "en"```。
|
| 1926 |
+
|
| 1927 |
+
设置正确的语言会影响 Typst 的多个方面:
|
| 1928 |
+
|
| 1929 |
+
-- 文本处理流程可以做出更合理的判断。
|
| 1930 |
+
|
| 1931 |
+
-- 断词会使用对应语言的规则。
|
| 1932 |
+
|
| 1933 |
+
-- 智能引号会转换为该语言适用的引号样式。
|
| 1934 |
+
|
| 1935 |
+
-- 以及其他所有与语言相关的功能。
|
| 1936 |
+
|
| 1937 |
+
选择正确的语言对于无障碍访问十分重要。例如,屏幕阅读器会依据语言设置,选用与文本语言匹配的语音。如果文档使用英语(默认语言)之外的其他语言,你需要在文档开头、所有其他内容之前设置文本语言。举例来说,你可以将该设置紧跟在用于#link(<document_title>)[设定文档标题]的 ```typ #set document(/* ... */)``` 规则之后。
|
| 1938 |
+
|
| 1939 |
+
如果文档内包含与主体语言不同的段落,你应当仅针对这些部分局部修改文本语言,可使用作用域限定在#link(<Scripting_Blocks>)[文本块]的set规则,或是直接调用文本函数,例如 ```typ #text(lang: "de")[...]```。
|
| 1940 |
+
|
| 1941 |
+
若你的语言存在多种可用代码,应优先选用双字母代码(ISO 639-1),而非三字母代码(ISO 639-2/3)。当必须使用三字母代码,且该语言在 ISO 639-2 和 ISO 639-3 中的代码不一致时,PDF
|
| 1942 |
+
1.7(Typst 默认PDF导出版本)及更低版本请使用 ISO 639-2;PDF 2.0 和 HTML 导出则使用 ISO 639-3。
|
| 1943 |
+
|
| 1944 |
+
语言代码不区分大小写,通过#link(<Context>)[上下文]读取时会转为小写。
|
| 1945 |
+
#table(
|
| 1946 |
+
columns: (1fr,1fr),
|
| 1947 |
+
align: (left,left),
|
| 1948 |
+
stroke: none,
|
| 1949 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 1950 |
+
[
|
| 1951 |
+
```typ
|
| 1952 |
+
#set text(lang: "de")
|
| 1953 |
+
#outline()
|
| 1954 |
+
|
| 1955 |
+
= Einleitung
|
| 1956 |
+
In diesem Dokument, ...
|
| 1957 |
+
```
|
| 1958 |
+
],[
|
| 1959 |
+
#set align(horizon)
|
| 1960 |
+
#image("images/4062.png",width: auto)
|
| 1961 |
+
]
|
| 1962 |
+
)
|
| 1963 |
+
- *region*: none str<text_region>
|
| 1964 |
+
#link("https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2")[ISO 3166-1 alpha-2 区域代码]。默认值:```typc none```。
|
| 1965 |
+
|
| 1966 |
+
这可让文本处理流水线做出更合理的判断。
|
| 1967 |
+
|
| 1968 |
+
该区域代码不区分大小写,通过#link(<Context>)[上下文]读取时会转为大写。
|
| 1969 |
+
- *script*: auto str<text_script>
|
| 1970 |
+
OpenType书写文字体系。默认值:```typc auto```。
|
| 1971 |
+
|
| 1972 |
+
语言与文字体系的组合决定字体特性(例如字形替换)的实现方式。该值通常采用经过修改的(全小写)ISO 15924文字体系标识符,数学书写文字体系用于适配数学符号相关特性。
|
| 1973 |
+
|
| 1974 |
+
当设置为#rtext()[auto](默认且推荐设置)时,系统会为每一组拥有相同Unicode文字体系属性的字符块选取合适的文字体系。
|
| 1975 |
+
#table(
|
| 1976 |
+
columns: (1fr,1fr),
|
| 1977 |
+
align: (left,left),
|
| 1978 |
+
stroke: none,
|
| 1979 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 1980 |
+
[
|
| 1981 |
+
```typ
|
| 1982 |
+
#set text(
|
| 1983 |
+
font: "IBM Plex Sans",
|
| 1984 |
+
size: 20pt,
|
| 1985 |
+
)
|
| 1986 |
+
|
| 1987 |
+
#let scedilla = [Ş]
|
| 1988 |
+
#scedilla // S with a cedilla
|
| 1989 |
+
|
| 1990 |
+
#set text(lang: "ro", script: "latn")
|
| 1991 |
+
#scedilla // S with a subscript comma
|
| 1992 |
+
|
| 1993 |
+
#set text(lang: "ro", script: "grek")
|
| 1994 |
+
#scedilla // S with a cedilla
|
| 1995 |
+
```
|
| 1996 |
+
],[
|
| 1997 |
+
#set align(horizon)
|
| 1998 |
+
#image("images/4063.png",width: auto)
|
| 1999 |
+
]
|
| 2000 |
+
)
|
| 2001 |
+
- *dir*: auto direction<text_dir>
|
| 2002 |
+
文本和行内对象的主导方向。默认值:```typc auto```。
|
| 2003 |
+
|
| 2004 |
+
可选值如下:
|
| 2005 |
+
|
| 2006 |
+
-- #rtext()[auto]:根据 lang 属性自动推断方向。
|
| 2007 |
+
|
| 2008 |
+
-- ltr:文本从左向右排布。
|
| 2009 |
+
|
| 2010 |
+
-- rtl:文本从右向左排布。
|
| 2011 |
+
|
| 2012 |
+
在书写阿拉伯语、希伯来语这类从右向左书写的文字时,你需要设置#link(<text_lang>)[文本语言]或文字方向。虽然独立文本片段会自动按正确方向排版,但设置主导方向可以为双向重排算法提供必要信息,从而正确放置标点符号和行内对象。此外,文字方向设置会影响起始端与结束端的对齐属性:在从左向右文本中,这两个属性分别等同于左对齐和右对齐;而在从右向左文本中则正好相反。
|
| 2013 |
+
|
| 2014 |
+
如果你将此项设置为从右向左(rtl)后遇到程序缺陷,或是出现显示效果异常的情况,请通过#link("https://forum.typst.app/")[论坛]、#link("https://discord.gg/2uDybryKPe")[Discord服务器]或者我们的#link("https://typst.app/contact")[联系表单]与我们取得联系。
|
| 2015 |
+
#table(
|
| 2016 |
+
columns: (1fr,1fr),
|
| 2017 |
+
align: (left,left),
|
| 2018 |
+
stroke: none,
|
| 2019 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 2020 |
+
[
|
| 2021 |
+
```typ
|
| 2022 |
+
#set text(dir: rtl)
|
| 2023 |
+
هذا عربي.
|
| 2024 |
+
```
|
| 2025 |
+
],[
|
| 2026 |
+
#set align(horizon)
|
| 2027 |
+
#image("images/4064.png",width: auto)
|
| 2028 |
+
]
|
| 2029 |
+
)
|
| 2030 |
+
- *hyphenate*: auto bool<text_hyphenate>
|
| 2031 |
+
是否对文本使用连字符以优化换行。设为#text(fill:red,"auto")时,仅当启用两端对齐时,文本才会使用连字符。默认值:```typc auto```。
|
| 2032 |
+
|
| 2033 |
+
设置#link(<text_lang>)[文本语言]可确保使用正确的断词规则。
|
| 2034 |
+
#table(
|
| 2035 |
+
columns: (1fr,1fr),
|
| 2036 |
+
align: (left,left),
|
| 2037 |
+
stroke: none,
|
| 2038 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 2039 |
+
[
|
| 2040 |
+
```typ
|
| 2041 |
+
#set page(width: 200pt)
|
| 2042 |
+
|
| 2043 |
+
#set par(justify: true)
|
| 2044 |
+
This text illustrates how
|
| 2045 |
+
enabling hyphenation can
|
| 2046 |
+
improve justification.
|
| 2047 |
+
|
| 2048 |
+
#set text(hyphenate: false)
|
| 2049 |
+
This text illustrates how
|
| 2050 |
+
enabling hyphenation can
|
| 2051 |
+
improve justification.
|
| 2052 |
+
```
|
| 2053 |
+
],[
|
| 2054 |
+
#set align(horizon)
|
| 2055 |
+
#image("images/4065.png",width: auto)
|
| 2056 |
+
]
|
| 2057 |
+
)
|
| 2058 |
+
- *costs*: dictionary<text_costs>
|
| 2059 |
+
默认值:
|
| 2060 |
+
```typc
|
| 2061 |
+
(
|
| 2062 |
+
hyphenation: 100%,
|
| 2063 |
+
runt: 100%,
|
| 2064 |
+
widow: 100%,
|
| 2065 |
+
orphan: 100%,
|
| 2066 |
+
)
|
| 2067 |
+
```。
|
| 2068 |
+
|
| 2069 |
+
排版文本时各类选择的“代价”。代价越高,排版引擎就越少采用该选择。代价以默认代价的比值设定,因此50%的代价会让文本排版做出该选择的意愿提升一倍,而200%的代价则会让其做出该选择的意愿减半。
|
| 2070 |
+
目前可自定义的开销项如下:
|
| 2071 |
+
#set par(hanging-indent: 1cm)
|
| 2072 |
+
-- hyphenation: 将一个单词拆分到多行\
|
| 2073 |
+
-- runt: 段落末尾仅由一个单词单独占一行\
|
| 2074 |
+
-- widow: 段落单独一行留在下一页\
|
| 2075 |
+
-- orphan: 段落单独一行留在上一页
|
| 2076 |
+
#set par(hanging-indent: 0cm)
|
| 2077 |
+
断字一般会通过把整个单词放到下一行来避免,因此更高的断字代价会造成不自然的两端对齐间距。注:断字代价仅在换行设置为“优化”时生效(例如#link(<Paragraph>)[两端对齐模式]默认启用该设置)。
|
| 2078 |
+
|
| 2079 |
+
短行可以通过在上一行多放或少放单词来规避,因此更高的短行代价同样会导致两端对齐的间距效果变差。
|
| 2080 |
+
|
| 2081 |
+
文本排版默认会防止孤行与寡行,因为各类排版规范通常不建议出现这类情况。但在部分场景下允许保留孤行、寡行,原因是防止孤行寡行的处理方式会把一行移到下一页,这可能导致各页面的行数不均衡。孤行与寡行代价参数可关闭这类自动调整。(当前规则:设为0%时允许孤行/寡行;其他数值,包括默认值100%,都会阻止孤行寡行。后续计划为这类调整提供更精细的代价配置。)
|
| 2082 |
+
#table(
|
| 2083 |
+
columns: 1fr,
|
| 2084 |
+
align: left,
|
| 2085 |
+
stroke: none,
|
| 2086 |
+
[
|
| 2087 |
+
|
| 2088 |
+
```typ
|
| 2089 |
+
#set text(hyphenate: true, size: 11.4pt)
|
| 2090 |
+
#set par(justify: true)
|
| 2091 |
+
|
| 2092 |
+
#lorem(10)
|
| 2093 |
+
|
| 2094 |
+
// Set hyphenation to ten times the normal cost.
|
| 2095 |
+
#set text(costs: (hyphenation: 1000%))
|
| 2096 |
+
|
| 2097 |
+
#lorem(10)
|
| 2098 |
+
```
|
| 2099 |
+
],
|
| 2100 |
+
[
|
| 2101 |
+
#set quote(block: true)
|
| 2102 |
+
#show quote: set align(center)
|
| 2103 |
+
#rect(
|
| 2104 |
+
fill: luma(240),
|
| 2105 |
+
width: 100%,
|
| 2106 |
+
height: auto,
|
| 2107 |
+
quote[
|
| 2108 |
+
#image("images/4065.png",width: 80%)
|
| 2109 |
+
]
|
| 2110 |
+
)
|
| 2111 |
+
]
|
| 2112 |
+
)
|
| 2113 |
+
- *kerning*: bool<text_kerning>
|
| 2114 |
+
是否应用字距调整。默认值:```typc true```。
|
| 2115 |
+
|
| 2116 |
+
启用后,特定字母对的间距会拉近或拉远,以获得更好的视觉效果。下方示例展示了缩小字母“T”和“o”之间的间隙后,观感会更加自然。将此项设为#text(fill: red,"false")会关闭OpenType字体的字距特性,从而禁用字距调整。
|
| 2117 |
+
#table(
|
| 2118 |
+
columns: (1fr,1fr),
|
| 2119 |
+
align: (left,left),
|
| 2120 |
+
stroke: none,
|
| 2121 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 2122 |
+
[
|
| 2123 |
+
```typ
|
| 2124 |
+
#set text(size: 25pt)
|
| 2125 |
+
Totally
|
| 2126 |
+
|
| 2127 |
+
#set text(kerning: false)
|
| 2128 |
+
Totally
|
| 2129 |
+
```
|
| 2130 |
+
],[
|
| 2131 |
+
#set align(horizon)
|
| 2132 |
+
#image("images/4067.png",width: auto)
|
| 2133 |
+
]
|
| 2134 |
+
)
|
| 2135 |
+
- *alternates*: bool int<text_alternates>
|
| 2136 |
+
是否启用样式替换字符。默认值:```typc 0```。
|
| 2137 |
+
|
| 2138 |
+
部分字体针对同一编码点提供备选字形。将该项设为true时,会开启OpenType的salt字体特性以切换至这类备选字形。可使用整数在多种备选字形之间进行选择。
|
| 2139 |
+
#table(
|
| 2140 |
+
columns: (1fr,1fr),
|
| 2141 |
+
align: (left,left),
|
| 2142 |
+
stroke: none,
|
| 2143 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 2144 |
+
[
|
| 2145 |
+
```typ
|
| 2146 |
+
#set text(
|
| 2147 |
+
font: "IBM Plex Sans",
|
| 2148 |
+
size: 20pt,
|
| 2149 |
+
)
|
| 2150 |
+
|
| 2151 |
+
0, a, g, ß
|
| 2152 |
+
|
| 2153 |
+
#set text(alternates: true)
|
| 2154 |
+
0, a, g, ß
|
| 2155 |
+
```
|
| 2156 |
+
],[
|
| 2157 |
+
#set align(horizon)
|
| 2158 |
+
#image("images/4068.png",width: auto)
|
| 2159 |
+
]
|
| 2160 |
+
)
|
| 2161 |
+
- *stylistic-set*: none int array<text_stylistic-set>
|
| 2162 |
+
要应用哪些样式集。字体设计师可以将替代字形归类到各个样式集中。由于该值高度依赖具体字体,你需要查阅所用字体的说明,了解可用的样式集。
|
| 2163 |
+
|
| 2164 |
+
该属性可以设置为一个整数或者整数数组,所有数值必须在1到20之间,以此开启从ss01到ss20对应的OpenType特性。若设置为none,则会禁用所有样式集。
|
| 2165 |
+
#table(
|
| 2166 |
+
columns: 1fr,
|
| 2167 |
+
align: left,
|
| 2168 |
+
stroke: none,
|
| 2169 |
+
[
|
| 2170 |
+
|
| 2171 |
+
```typ
|
| 2172 |
+
#set text(font: "IBM Plex Serif")
|
| 2173 |
+
ß vs #text(stylistic-set: 5)[ß] \
|
| 2174 |
+
10 years ago vs #text(stylistic-set: (1, 2, 3))[10 years ago]
|
| 2175 |
+
```
|
| 2176 |
+
],
|
| 2177 |
+
[
|
| 2178 |
+
#set quote(block: true)
|
| 2179 |
+
#show quote: set align(center)
|
| 2180 |
+
#rect(
|
| 2181 |
+
fill: luma(240),
|
| 2182 |
+
width: 100%,
|
| 2183 |
+
height: auto,
|
| 2184 |
+
quote[
|
| 2185 |
+
#image("images/4069.png",width: 80%)
|
| 2186 |
+
]
|
| 2187 |
+
)
|
| 2188 |
+
]
|
| 2189 |
+
)
|
| 2190 |
+
- *ligatures*: bool<text_ligatures>
|
| 2191 |
+
是否启用标准连字。默认值:```typc true```。
|
| 2192 |
+
|
| 2193 |
+
某些字母组合(例如“fi”)通常会显示为一个合并字形,称为连字。将此项设为false会关闭OpenType字体的liga与clig特性,从而禁用这类连字。
|
| 2194 |
+
#table(
|
| 2195 |
+
columns: (1fr,1fr),
|
| 2196 |
+
align: (left,left),
|
| 2197 |
+
stroke: none,
|
| 2198 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 2199 |
+
[
|
| 2200 |
+
```typ
|
| 2201 |
+
#set text(size: 20pt)
|
| 2202 |
+
A fine ligature.
|
| 2203 |
+
|
| 2204 |
+
#set text(ligatures: false)
|
| 2205 |
+
A fine ligature.
|
| 2206 |
+
|
| 2207 |
+
```
|
| 2208 |
+
],[
|
| 2209 |
+
#set align(horizon)
|
| 2210 |
+
#image("images/4070.png",width: auto)
|
| 2211 |
+
]
|
| 2212 |
+
)
|
| 2213 |
+
请注意,部分编程字体使用其他OpenType字体特性来实现“连字”,其中包括上下文替换(calt)特性,该特性默认同样处于启用状态。可使用通用#link(<text_features>)[特性]参数来控制这类特性。
|
| 2214 |
+
- *discretionary-ligatures*: bool<text_discretionary-ligatures>
|
| 2215 |
+
是否启用应谨慎使用的连字。将其设置为 true 可启用 OpenType dlig 字体功能。默认值:```typc false```。
|
| 2216 |
+
- *historical-ligatures*: bool<text_historical-ligatures>
|
| 2217 |
+
是否启用历史连字。将此项设为true会开启OpenType的hlig字体特性。默认值:```typc false```。
|
| 2218 |
+
- *number-type*: auto str<text_number-type>
|
| 2219 |
+
选择何种数字/字形。设置为自动时,将使用该字体的默认数字样式。默认值:```typc auto```。
|
| 2220 |
+
- *number-width*: auto str<text_number-width>
|
| 2221 |
+
数字/图形的宽度。设置为自动时,将使用该字体的默认数字样式。默认值:```typc auto```。
|
| 2222 |
+
#table(
|
| 2223 |
+
columns: 1fr,
|
| 2224 |
+
align: left,
|
| 2225 |
+
stroke: none,
|
| 2226 |
+
[
|
| 2227 |
+
|
| 2228 |
+
```typ
|
| 2229 |
+
#set text(font: "Noto Sans", 20pt)
|
| 2230 |
+
#set text(number-width: "proportional")
|
| 2231 |
+
A 12 B 34. \
|
| 2232 |
+
A 56 B 78.
|
| 2233 |
+
|
| 2234 |
+
#set text(number-width: "tabular")
|
| 2235 |
+
A 12 B 34. \
|
| 2236 |
+
A 56 B 78.
|
| 2237 |
+
```
|
| 2238 |
+
],
|
| 2239 |
+
[
|
| 2240 |
+
#set quote(block: true)
|
| 2241 |
+
#show quote: set align(center)
|
| 2242 |
+
#rect(
|
| 2243 |
+
fill: luma(240),
|
| 2244 |
+
width: 100%,
|
| 2245 |
+
height: auto,
|
| 2246 |
+
quote[
|
| 2247 |
+
#image("images/4071.png",width: 80%)
|
| 2248 |
+
]
|
| 2249 |
+
)
|
| 2250 |
+
]
|
| 2251 |
+
)
|
| 2252 |
+
#table(
|
| 2253 |
+
columns: (0.5fr,1.5fr),
|
| 2254 |
+
align: left,
|
| 2255 |
+
stroke: none,
|
| 2256 |
+
table.header([Variant],[Details]),
|
| 2257 |
+
table.hline(),
|
| 2258 |
+
[\"proportional\"],[具有字形专属宽度的数字(OpenType pnum字体特性)。],
|
| 2259 |
+
[\"tabular\"],[等宽数字(OpenType tnum字体特性)。],
|
| 2260 |
+
)
|
| 2261 |
+
- *slashed-zero*: bool<text_slashed-zero>
|
| 2262 |
+
是否在数字0字形上加斜杠。将此项设为true会启用OpenType字体的零数字特性。默认值:```typc false```。
|
| 2263 |
+
#table(
|
| 2264 |
+
columns: (1fr,1fr),
|
| 2265 |
+
align: (left,left),
|
| 2266 |
+
stroke: none,
|
| 2267 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 2268 |
+
[
|
| 2269 |
+
```typ
|
| 2270 |
+
0, #text(slashed-zero: true)[0]
|
| 2271 |
+
```
|
| 2272 |
+
],[
|
| 2273 |
+
#set align(horizon)
|
| 2274 |
+
#image("images/4072.png",width: auto)
|
| 2275 |
+
]
|
| 2276 |
+
)
|
| 2277 |
+
- *fractions*: bool<text_fractions>
|
| 2278 |
+
是否将数字转换为分数。将此项设为#text(fill: red,"true")可启用OpenType分数字体特性。默认值:```typc false```。
|
| 2279 |
+
|
| 2280 |
+
不建议全局启用该属性,因为它会影响所有斜杠后的数字显示(例如网址中的数字)。如需使用分数效果,请在局部启用。
|
| 2281 |
+
#table(
|
| 2282 |
+
columns: (1fr,1fr),
|
| 2283 |
+
align: (left,left),
|
| 2284 |
+
stroke: none,
|
| 2285 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 2286 |
+
[
|
| 2287 |
+
```typ
|
| 2288 |
+
1/2 \
|
| 2289 |
+
#text(fractions: true)[1/2]
|
| 2290 |
+
```
|
| 2291 |
+
],[
|
| 2292 |
+
#set align(horizon)
|
| 2293 |
+
#image("images/4073.png",width: auto)
|
| 2294 |
+
]
|
| 2295 |
+
)
|
| 2296 |
+
- *features*: array dictionary<text_features>
|
| 2297 |
+
要应用的原始 OpenType 特性。默认值:```typc (:)```。
|
| 2298 |
+
#set par(hanging-indent: 1cm)
|
| 2299 |
+
-- 如果提供字符串数组,将这些字符串标识的特性设置为 1。\
|
| 2300 |
+
-- 如果提供映射到数字的字典,将这些键标识的特性设置为对应的值。这允许与非布尔特性(如 swsh)进行交互。
|
| 2301 |
+
#set par(hanging-indent: 0cm)
|
| 2302 |
+
#table(
|
| 2303 |
+
columns: (1fr,1fr),
|
| 2304 |
+
align: (left,left),
|
| 2305 |
+
stroke: none,
|
| 2306 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 2307 |
+
[
|
| 2308 |
+
```typ
|
| 2309 |
+
// Enable the `frac` feature manually.
|
| 2310 |
+
#set text(features: ("frac",))
|
| 2311 |
+
1/2
|
| 2312 |
+
```
|
| 2313 |
+
],[
|
| 2314 |
+
#set align(horizon)
|
| 2315 |
+
#image("images/4074.png",width: auto)
|
| 2316 |
+
]
|
| 2317 |
+
)
|
| 2318 |
+
#table(
|
| 2319 |
+
columns: (1fr,1fr),
|
| 2320 |
+
align: (left,left),
|
| 2321 |
+
stroke: none,
|
| 2322 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 2323 |
+
[
|
| 2324 |
+
```typ
|
| 2325 |
+
#set text(font: "Cascadia Code")
|
| 2326 |
+
=>
|
| 2327 |
+
// Disable the contextual alternates (`calt`) feature.
|
| 2328 |
+
#set text(features: (calt: 0))
|
| 2329 |
+
=>
|
| 2330 |
+
```
|
| 2331 |
+
],[
|
| 2332 |
+
#set align(horizon)
|
| 2333 |
+
#image("images/4075.png",width: auto)
|
| 2334 |
+
]
|
| 2335 |
+
)
|
| 2336 |
+
- *variations*: dictionary<text_variations>
|
| 2337 |
+
要应用的原始OpenType字体变体。默认值:```typc (:)```。
|
| 2338 |
+
|
| 2339 |
+
传统静态字体的每一种样式组合都需要单独的字体文件,而可变字体带有变体轴,可通过变体轴生成多种不同样式。变体轴由区分大小写的四字符字符串标识。
|
| 2340 |
+
|
| 2341 |
+
有几个知名的可变字体轴,Typst 会根据文字#link(<text_weight>)[字重]、#link(<text_stretch>)[拉伸度]、#link(<text_style>)[样式]和#link(<text_size>)[字号]自动设置合适的数值,包括:
|
| 2342 |
+
#set par(hanging-indent: 1cm)
|
| 2343 |
+
-- wght:字重(例如 400 代表常规字重,700 代表粗体)\
|
| 2344 |
+
--wdth:字宽(百分比,例如 100 代表正常宽度)\
|
| 2345 |
+
-- slnt:倾斜角度(单位为度,负值代表向右倾斜)\
|
| 2346 |
+
-- ital:斜体开关(0 为正体,1 为斜体)\
|
| 2347 |
+
-- opsz:光学字号(单位为磅)
|
| 2348 |
+
#set par(hanging-indent: 0cm)
|
| 2349 |
+
字体也可以定义自定义变化轴,以实现任意视觉效果。例如,某个变化轴的数值设置得越高,字体样式就可以变得越富有奇趣感。
|
| 2350 |
+
|
| 2351 |
+
借助 variations 参数,你可以直接为当前字体所支持的变化轴设置数值。该参数仅在搭配支持指定变化轴的可变字体时生效。你既可以使用该参数覆盖通用变化轴的自动赋值,也可以为自定义变化轴设置数值。
|
| 2352 |
+
|
| 2353 |
+
参数值应为字典类型,将轴标签(四个字符的#link(<String>)[字符串])映射到对应的数值(#link(<float>)[浮点数])。
|
| 2354 |
+
#table(
|
| 2355 |
+
columns: 1fr,
|
| 2356 |
+
align: left,
|
| 2357 |
+
stroke: none,
|
| 2358 |
+
[
|
| 2359 |
+
|
| 2360 |
+
```typ
|
| 2361 |
+
#set text(font: "Fraunces", size: 60pt)
|
| 2362 |
+
|
| 2363 |
+
#text(variations: (SOFT: 0))[Soft? No.] \
|
| 2364 |
+
#text(variations: (SOFT: 100))[Soft? Yes.]
|
| 2365 |
+
```
|
| 2366 |
+
],
|
| 2367 |
+
[
|
| 2368 |
+
#set quote(block: true)
|
| 2369 |
+
#show quote: set align(center)
|
| 2370 |
+
#rect(
|
| 2371 |
+
fill: luma(240),
|
| 2372 |
+
width: 100%,
|
| 2373 |
+
height: auto,
|
| 2374 |
+
quote[
|
| 2375 |
+
#image("images/4076.png",width: 80%)
|
| 2376 |
+
]
|
| 2377 |
+
)
|
| 2378 |
+
]
|
| 2379 |
+
)
|
| 2380 |
+
#table(
|
| 2381 |
+
columns: (1fr,1fr),
|
| 2382 |
+
align: (left,left),
|
| 2383 |
+
stroke: none,
|
| 2384 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 2385 |
+
[
|
| 2386 |
+
```typ
|
| 2387 |
+
#set text(
|
| 2388 |
+
font: "Roboto Flex",
|
| 2389 |
+
weight: 900,
|
| 2390 |
+
stretch: 150%,
|
| 2391 |
+
)
|
| 2392 |
+
|
| 2393 |
+
Wide and Heavy
|
| 2394 |
+
|
| 2395 |
+
#text(variations: (wght: 400))[
|
| 2396 |
+
Forced back to normal,
|
| 2397 |
+
but still wide.
|
| 2398 |
+
]
|
| 2399 |
+
```
|
| 2400 |
+
],[
|
| 2401 |
+
#set align(horizon)
|
| 2402 |
+
#image("images/4077.png",width: auto)
|
| 2403 |
+
]
|
| 2404 |
+
)
|
| 2405 |
+
- *body*: content<text_body>
|
| 2406 |
+
所有文本均按照其他参数设置样式的内容。默认值:```typc []```。
|
| 2407 |
+
- *text*: str<text_text>
|
| 2408 |
+
文本。
|
| 2409 |
+
|
| 2410 |
+
== 下划线(underline)<underline>
|
| 2411 |
+
给文字添加下划线。
|
| 2412 |
+
=== 示例(Example)
|
| 2413 |
+
#table(
|
| 2414 |
+
columns: (1fr,1fr),
|
| 2415 |
+
align: (left,left),
|
| 2416 |
+
stroke: none,
|
| 2417 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 2418 |
+
[
|
| 2419 |
+
```typ
|
| 2420 |
+
This is #underline[important].
|
| 2421 |
+
```
|
| 2422 |
+
],[
|
| 2423 |
+
#set align(horizon)
|
| 2424 |
+
#image("images/4078.png",width: auto)
|
| 2425 |
+
]
|
| 2426 |
+
)
|
| 2427 |
+
=== 参数(Parameters)
|
| 2428 |
+
```typc
|
| 2429 |
+
underline(
|
| 2430 |
+
stroke: auto length color gradient stroke tiling dictionary,
|
| 2431 |
+
offset: auto length,
|
| 2432 |
+
extent: length,
|
| 2433 |
+
evade: bool,
|
| 2434 |
+
background: bool,
|
| 2435 |
+
body:content,
|
| 2436 |
+
) → content
|
| 2437 |
+
```
|
| 2438 |
+
- *stroke*: auto length color gradient stroke tiling dictionary<underline_stoke>
|
| 2439 |
+
如何#link(<stroke>)[描]边。默认值:```typc auto```。
|
| 2440 |
+
|
| 2441 |
+
如果设置为自动,则采用文本的颜色以及当前字体所定义的粗细。
|
| 2442 |
+
#table(
|
| 2443 |
+
columns: (1fr,1fr),
|
| 2444 |
+
align: (left,left),
|
| 2445 |
+
stroke: none,
|
| 2446 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 2447 |
+
[
|
| 2448 |
+
```typ
|
| 2449 |
+
Take #underline(
|
| 2450 |
+
stroke: 1.5pt + red,
|
| 2451 |
+
offset: 2pt,
|
| 2452 |
+
[care],
|
| 2453 |
+
)
|
| 2454 |
+
```
|
| 2455 |
+
],[
|
| 2456 |
+
#set align(horizon)
|
| 2457 |
+
#image("images/4079.png",width: auto)
|
| 2458 |
+
]
|
| 2459 |
+
)
|
| 2460 |
+
- *offset*: auto length<underline_offset>
|
| 2461 |
+
如果设为自动,则从字体表读取线条相对于基线的位置。默认值:```typc auto```。
|
| 2462 |
+
#table(
|
| 2463 |
+
columns: (1fr,1fr),
|
| 2464 |
+
align: (left,left),
|
| 2465 |
+
stroke: none,
|
| 2466 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 2467 |
+
[
|
| 2468 |
+
```typ
|
| 2469 |
+
#underline(offset: 5pt)[
|
| 2470 |
+
The Tale Of A Faraway Line I
|
| 2471 |
+
]
|
| 2472 |
+
|
| 2473 |
+
```
|
| 2474 |
+
],[
|
| 2475 |
+
#set align(horizon)
|
| 2476 |
+
#image("images/4080.png",width: auto)
|
| 2477 |
+
]
|
| 2478 |
+
)
|
| 2479 |
+
- *extent*: length<underline_extent>
|
| 2480 |
+
将线条延伸至内容之外(若为负值,则向内容内部延伸)的长度。默认值:```typc 0pt```。
|
| 2481 |
+
#table(
|
| 2482 |
+
columns: (1fr,1fr),
|
| 2483 |
+
align: (left,left),
|
| 2484 |
+
stroke: none,
|
| 2485 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 2486 |
+
[
|
| 2487 |
+
```typ
|
| 2488 |
+
#align(center,
|
| 2489 |
+
underline(extent: 2pt)[Chapter 1]
|
| 2490 |
+
)
|
| 2491 |
+
]
|
| 2492 |
+
|
| 2493 |
+
```
|
| 2494 |
+
],[
|
| 2495 |
+
#set align(horizon)
|
| 2496 |
+
#image("images/4081.png",width: auto)
|
| 2497 |
+
]
|
| 2498 |
+
)
|
| 2499 |
+
- *evade*: bool<underline_evade>
|
| 2500 |
+
该行是否跳过会与字形发生碰撞的区域。默认值:```typc true```。
|
| 2501 |
+
#table(
|
| 2502 |
+
columns: 1fr,
|
| 2503 |
+
align: left,
|
| 2504 |
+
stroke: none,
|
| 2505 |
+
[
|
| 2506 |
+
|
| 2507 |
+
```typ
|
| 2508 |
+
This #underline(evade: true)[is great].
|
| 2509 |
+
This #underline(evade: false)[is less great].
|
| 2510 |
+
```
|
| 2511 |
+
],
|
| 2512 |
+
[
|
| 2513 |
+
#set quote(block: true)
|
| 2514 |
+
#show quote: set align(center)
|
| 2515 |
+
#rect(
|
| 2516 |
+
fill: luma(240),
|
| 2517 |
+
width: 100%,
|
| 2518 |
+
height: auto,
|
| 2519 |
+
quote[
|
| 2520 |
+
#image("images/4082.png",width: 80%)
|
| 2521 |
+
]
|
| 2522 |
+
)
|
| 2523 |
+
]
|
| 2524 |
+
)
|
| 2525 |
+
- *background*: bool
|
| 2526 |
+
该线条是否置于其所下划线内容的后方。默认值:```typc false```。
|
| 2527 |
+
#table(
|
| 2528 |
+
columns: 1fr,
|
| 2529 |
+
align: left,
|
| 2530 |
+
stroke: none,
|
| 2531 |
+
[
|
| 2532 |
+
|
| 2533 |
+
```typ
|
| 2534 |
+
#set underline(stroke: aqua + 5pt, evade: false)
|
| 2535 |
+
#underline(background: true)[Fully visible.] \
|
| 2536 |
+
#underline(background: false)[Partially hidden.]
|
| 2537 |
+
```
|
| 2538 |
+
],
|
| 2539 |
+
[
|
| 2540 |
+
#set quote(block: true)
|
| 2541 |
+
#show quote: set align(center)
|
| 2542 |
+
#rect(
|
| 2543 |
+
fill: luma(240),
|
| 2544 |
+
width: 100%,
|
| 2545 |
+
height: auto,
|
| 2546 |
+
quote[
|
| 2547 |
+
#image("images/4083.png",width: 80%)
|
| 2548 |
+
]
|
| 2549 |
+
)
|
| 2550 |
+
]
|
| 2551 |
+
)
|
| 2552 |
+
- *body*:content
|
| 2553 |
+
需要添加下划线的内容。
|
| 2554 |
+
|
| 2555 |
+
== 大写字母(upper)<upper>
|
| 2556 |
+
将字符串或内容转换为大写。
|
| 2557 |
+
=== 示例(Example)
|
| 2558 |
+
#table(
|
| 2559 |
+
columns: (1fr,1fr),
|
| 2560 |
+
align: (left,left),
|
| 2561 |
+
stroke: none,
|
| 2562 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 2563 |
+
[
|
| 2564 |
+
```typ
|
| 2565 |
+
#upper("abc") \
|
| 2566 |
+
#upper[*my text*] \
|
| 2567 |
+
#upper[ALREADY HIGH]
|
| 2568 |
+
```
|
| 2569 |
+
],[
|
| 2570 |
+
#set align(horizon)
|
| 2571 |
+
#image("images/4084.png",width: auto)
|
| 2572 |
+
]
|
| 2573 |
+
)
|
| 2574 |
+
=== 参数(Parameters)
|
| 2575 |
+
```typc
|
| 2576 |
+
upper(text: str content) → strcontent
|
| 2577 |
+
```
|
| 2578 |
+
- *text*: str content
|
| 2579 |
+
要转为大写的文本。
|
chp05.typ
ADDED
|
@@ -0,0 +1,2458 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#let rtext(body)={
|
| 2 |
+
text(fill:red,body)
|
| 3 |
+
}
|
| 4 |
+
= 数学库(Math)<math>
|
| 5 |
+
Typst 拥有专门的#link(<Syntax_Math_mode>)[语法]与库函数来排版数学公式。数学公式可以内嵌在文本中,也可以作为独立块展示。如果公式的开头和结尾至少有一个空格,就会排版成独立块(例如 \$ x^2 \$)。
|
| 6 |
+
|
| 7 |
+
*变量(Variables)*<math_Variables>
|
| 8 |
+
|
| 9 |
+
在数学中,单个字母会按原样显示。但多个字母会被识别为变量和函数。若要原样显示多个字母,可以将其放在引号内;若要调用单个字母变量,则可以使用#link(<Scripting_Expressions>)[井号语法]。
|
| 10 |
+
#table(
|
| 11 |
+
columns: (1fr,1fr),
|
| 12 |
+
align: (left,left),
|
| 13 |
+
stroke: none,
|
| 14 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 15 |
+
[
|
| 16 |
+
```typ
|
| 17 |
+
$ A = pi r^2 $
|
| 18 |
+
$ "area" = pi dot "radius"^2 $
|
| 19 |
+
$ cal(A) :=
|
| 20 |
+
{ x in RR | x "is natural" } $
|
| 21 |
+
#let x = 5
|
| 22 |
+
$ #x < 17 $
|
| 23 |
+
```
|
| 24 |
+
],[
|
| 25 |
+
#set align(horizon)
|
| 26 |
+
#image("images/5001.png",width: auto)
|
| 27 |
+
]
|
| 28 |
+
)
|
| 29 |
+
*符号(Symbols)*<math_Symbols>
|
| 30 |
+
|
| 31 |
+
数学模式可使用大量符号,例如圆周率、点符号或实数集符号。许多数学符号拥有不同变体。你可以通过给符号添加修饰符来切换不同变体。Typst 还支持诸多简写序列(如 =>),用来对应相关符号。当某个符号存在这类简写时,会在该符号的文档中注明。
|
| 32 |
+
#table(
|
| 33 |
+
columns: (1fr,1fr),
|
| 34 |
+
align: (left,left),
|
| 35 |
+
stroke: none,
|
| 36 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 37 |
+
[
|
| 38 |
+
```typ
|
| 39 |
+
$ x < y => x gt.eq.not y $
|
| 40 |
+
```
|
| 41 |
+
],[
|
| 42 |
+
#set align(horizon)
|
| 43 |
+
#image("images/5002.png",width: auto)
|
| 44 |
+
]
|
| 45 |
+
)
|
| 46 |
+
*换行符(Line Breaks)*<math_Line-Breaks>
|
| 47 |
+
|
| 48 |
+
公式中也可以包含换行符。每一行可以有一个或多个对齐点(&),系统会按照这些对齐点进行对齐。
|
| 49 |
+
#table(
|
| 50 |
+
columns: (1fr,1fr),
|
| 51 |
+
align: (left,left),
|
| 52 |
+
stroke: none,
|
| 53 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 54 |
+
[
|
| 55 |
+
```typ
|
| 56 |
+
$ sum_(k=0)^n k
|
| 57 |
+
&= 1 + ... + n \
|
| 58 |
+
&= (n(n+1)) / 2 $
|
| 59 |
+
|
| 60 |
+
```
|
| 61 |
+
],[
|
| 62 |
+
#set align(horizon)
|
| 63 |
+
#image("images/5003.png",width: auto)
|
| 64 |
+
]
|
| 65 |
+
)
|
| 66 |
+
*函数调用(Function calls)*<math_Function-calls>
|
| 67 |
+
|
| 68 |
+
数学模式支持不带井号前缀的特殊函数调用。在这类“数学调用”中,参数列表的工作方式和代码里略有不同:
|
| 69 |
+
#set par(hanging-indent: 1cm)
|
| 70 |
+
-- 在数学调用内部,Typst 仍然处于“数学模式”。因此你可以直接在其中书写数学表达式,但传入代码表达式需要使用井号语法(字符串除外,字符串可直接在数学语法中使用)。\
|
| 71 |
+
-- 支持位置参数、命名参数以及参数展开,但不支持尾部内容块。\
|
| 72 |
+
-- 提供用于二维参数列表的额外语法。分号(;)会把前面由逗号分隔的参数合并为一个数组参数。
|
| 73 |
+
#set par(hanging-indent: 0cm)
|
| 74 |
+
#table(
|
| 75 |
+
columns: (1fr,1fr),
|
| 76 |
+
align: (left,left),
|
| 77 |
+
stroke: none,
|
| 78 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 79 |
+
[
|
| 80 |
+
```typ
|
| 81 |
+
$ frac(a^2, 2) $
|
| 82 |
+
$ vec(1, 2, delim: "[") $
|
| 83 |
+
$ mat(1, 2; 3, 4) $
|
| 84 |
+
$ mat(..#range(1, 5).chunks(2)) $
|
| 85 |
+
$ lim_x =
|
| 86 |
+
op("lim", limits: #true)_x $
|
| 87 |
+
```
|
| 88 |
+
],[
|
| 89 |
+
#set align(horizon)
|
| 90 |
+
#image("images/5004.png",width: auto)
|
| 91 |
+
]
|
| 92 |
+
)
|
| 93 |
+
在数学调用中,如果要原样输出逗号或分号,需要用反斜杠进行转义。而冒号只有在紧跟标识符时才会被特殊识别,因此在这类场景下若想原样显示冒号,只需在其前面插入一个空格即可。
|
| 94 |
+
以井号开头的函数调用属于普通代码函数调用,不受上述规则影响。
|
| 95 |
+
|
| 96 |
+
*对齐(Alignment)*<math_Alignment>
|
| 97 |
+
|
| 98 |
+
当公式中包含多个对齐点(&)时,会生成交替右对齐与左对齐的列块。在下面的示例中,表达式 $(3x + y) / 7$ 为右对齐,而 $=
|
| 99 |
+
9$ 为左对齐。“已知”一词同样为左对齐,这是因为 && 连续设置了两个对齐点,使对齐方式发生两次切换。& & 和 &&
|
| 100 |
+
的作用完全相同。与此同时,“乘以7”为右对齐,因为它前面只有一个 &。每一个对齐点都会简单地在右对齐、左对齐之间切换。
|
| 101 |
+
#table(
|
| 102 |
+
columns: (1fr,1fr),
|
| 103 |
+
align: (left,left),
|
| 104 |
+
stroke: none,
|
| 105 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 106 |
+
[
|
| 107 |
+
```typ
|
| 108 |
+
$ (3x + y) / 7 &= 9 && "given" \
|
| 109 |
+
3x + y &= 63 & "multiply by 7" \
|
| 110 |
+
3x &= 63 - y && "subtract y" \
|
| 111 |
+
x &= 21 - y/3 & "divide by 3" $
|
| 112 |
+
```
|
| 113 |
+
],[
|
| 114 |
+
#set align(horizon)
|
| 115 |
+
#image("images/5005.png",width: auto)
|
| 116 |
+
]
|
| 117 |
+
)
|
| 118 |
+
*数学字体(Math fonts)*<math_fonts>
|
| 119 |
+
|
| 120 |
+
你可以通过如下所示的#link(<Styling-show>)[show-set]规则来设置数学字体。请注意,只有专用的OpenType数学字体才适合排版数学公式。
|
| 121 |
+
#table(
|
| 122 |
+
columns: 1fr,
|
| 123 |
+
align: left,
|
| 124 |
+
stroke: none,
|
| 125 |
+
[
|
| 126 |
+
|
| 127 |
+
```typ
|
| 128 |
+
#show math.equation: set text(font: "Pennstander Math")
|
| 129 |
+
$ sum_(i in NN) 1 + i $
|
| 130 |
+
```
|
| 131 |
+
],
|
| 132 |
+
[
|
| 133 |
+
#set quote(block: true)
|
| 134 |
+
#show quote: set align(center)
|
| 135 |
+
#rect(
|
| 136 |
+
fill: luma(240),
|
| 137 |
+
width: 100%,
|
| 138 |
+
height: auto,
|
| 139 |
+
quote[
|
| 140 |
+
#image("images/5006.png",width: 80%)
|
| 141 |
+
]
|
| 142 |
+
)
|
| 143 |
+
]
|
| 144 |
+
)
|
| 145 |
+
*数学模块(Math module)*<math_module>
|
| 146 |
+
|
| 147 |
+
所有数学函数都属于math模块,该模块在公式内默认可用。在公式外,需要添加math.前缀才能调用这些函数。
|
| 148 |
+
|
| 149 |
+
*无障碍性(Accessibility)*
|
| 150 |
+
|
| 151 |
+
要让数学内容具备可访问性,你必须借助 math.equation 的 alt 参数,用自然语言为公式提供替代描述。更多信息,请参阅#link(<Accessibility_Guide>)[《无障碍指南》]中的文本表示章节。
|
| 152 |
+
#table(
|
| 153 |
+
columns: 1fr,
|
| 154 |
+
align: left,
|
| 155 |
+
stroke: none,
|
| 156 |
+
[
|
| 157 |
+
|
| 158 |
+
```typ
|
| 159 |
+
#math.equation(
|
| 160 |
+
alt: "d S equals delta q divided by T",
|
| 161 |
+
block: true,
|
| 162 |
+
$ dif S = (delta q) / T $,
|
| 163 |
+
)
|
| 164 |
+
```
|
| 165 |
+
],
|
| 166 |
+
[
|
| 167 |
+
#set quote(block: true)
|
| 168 |
+
#show quote: set align(center)
|
| 169 |
+
#rect(
|
| 170 |
+
fill: luma(240),
|
| 171 |
+
width: 100%,
|
| 172 |
+
height: auto,
|
| 173 |
+
quote[
|
| 174 |
+
#image("images/5007.png",width: 80%)
|
| 175 |
+
]
|
| 176 |
+
)
|
| 177 |
+
]
|
| 178 |
+
)
|
| 179 |
+
未来,Typst 在导出 HTML 和 PDF 2.0 时,会自动让没有替代描述的公式具备可访问性。
|
| 180 |
+
== 重音符号(accent)<accent>
|
| 181 |
+
为基础字符添加重音符号。
|
| 182 |
+
|
| 183 |
+
在数学模式中,常用重音符号也可作为命名#link(<symbol>)[符号]直接调用(类似#link(<Function>)[函数]),为某些内容添加重音。
|
| 184 |
+
=== 示例(Example)
|
| 185 |
+
#table(
|
| 186 |
+
columns: (1fr,1fr),
|
| 187 |
+
align: (left,left),
|
| 188 |
+
stroke: none,
|
| 189 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 190 |
+
[
|
| 191 |
+
```typ
|
| 192 |
+
$grave(a) = accent(a, `)$ \
|
| 193 |
+
$arrow(a) = accent(a, arrow)$ \
|
| 194 |
+
$tilde(a) = accent(a, \u{0303})$
|
| 195 |
+
```
|
| 196 |
+
],[
|
| 197 |
+
#set align(horizon)
|
| 198 |
+
#image("images/5008.png",width: auto)
|
| 199 |
+
]
|
| 200 |
+
)
|
| 201 |
+
参数(Parameters)<accent_Parameters>
|
| 202 |
+
```typc
|
| 203 |
+
accent(
|
| 204 |
+
base: content,
|
| 205 |
+
accent: str content,
|
| 206 |
+
size: relative,
|
| 207 |
+
dotless: bool,
|
| 208 |
+
) → content
|
| 209 |
+
```
|
| 210 |
+
- *base*: content
|
| 211 |
+
重音所作用的基音字符,可由多个字母组成。
|
| 212 |
+
#table(
|
| 213 |
+
columns: (1fr,1fr),
|
| 214 |
+
align: (left,left),
|
| 215 |
+
stroke: none,
|
| 216 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 217 |
+
[
|
| 218 |
+
```typ
|
| 219 |
+
$arrow(A B C)$
|
| 220 |
+
```
|
| 221 |
+
],[
|
| 222 |
+
#set align(horizon)
|
| 223 |
+
#image("images/5009.png",width: auto)
|
| 224 |
+
]
|
| 225 |
+
)
|
| 226 |
+
- *accent*: str content<accent_accent>
|
| 227 |
+
要应用到基底上的重音。
|
| 228 |
+
|
| 229 |
+
支持的重音包括:
|
| 230 |
+
#table(
|
| 231 |
+
columns: (1fr,1fr,1fr),
|
| 232 |
+
stroke: none,
|
| 233 |
+
align: left,
|
| 234 |
+
table.header([Accent],[Name],[Codepoint]),
|
| 235 |
+
table.hline(),
|
| 236 |
+
[Grave],[grave],[\`],
|
| 237 |
+
[Acute],[acute],[´],
|
| 238 |
+
[Circumflex],[hat],[^],
|
| 239 |
+
[Tilde],[tilde],[~],
|
| 240 |
+
[Macron],[macron],[¯],
|
| 241 |
+
[Dash],[dash],[‾],
|
| 242 |
+
[Breve],[breve],[˘],
|
| 243 |
+
[Dot],[dot],[.],
|
| 244 |
+
[Double dot, Diaeresis],[dot.double, diaer],[¨],
|
| 245 |
+
[Triple dot],[dot.triple],[\\u{20db}],
|
| 246 |
+
[Quadruple dot],[dot.quad],[\\u{20dc}],
|
| 247 |
+
[Circle],[circle],[∘],
|
| 248 |
+
[Double acute],[acute.double],[˝],
|
| 249 |
+
[Caron],[caron],[ˇ],
|
| 250 |
+
[Right arrow],[arrow, ->],[→],
|
| 251 |
+
[Left arrow],[arrow.l, \<-],[←],
|
| 252 |
+
[Left/Right arrow],[arrow.l.r],[↔],
|
| 253 |
+
[Right harpoon],[harpoon],[⇀],
|
| 254 |
+
[Left harpoon],[harpoon.lt],[↼],
|
| 255 |
+
)
|
| 256 |
+
- *size*: relative<accent_size>
|
| 257 |
+
重音符号的尺寸,相对于基线宽度的比值。默认值:```typc 100%+0pt```。
|
| 258 |
+
#table(
|
| 259 |
+
columns: (1fr,1fr),
|
| 260 |
+
align: (left,left),
|
| 261 |
+
stroke: none,
|
| 262 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 263 |
+
[
|
| 264 |
+
```typ
|
| 265 |
+
$dash(A, size: #150%)$
|
| 266 |
+
```
|
| 267 |
+
],[
|
| 268 |
+
#set align(horizon)
|
| 269 |
+
#image("images/5010.png",width: auto)
|
| 270 |
+
]
|
| 271 |
+
)
|
| 272 |
+
请注意,生成的重音符号大小可能无法完全符合预期。例如,箭头可以是预定义的短字形,也可以是由字体提供的基础构件(箭头头部+线段)拼接而成的长字形。这两种形式的尺寸无法覆盖全部区间,因此部分中间尺寸的箭头无法生成。
|
| 273 |
+
#table(
|
| 274 |
+
columns: (1fr,1fr),
|
| 275 |
+
align: (left,left),
|
| 276 |
+
stroke: none,
|
| 277 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 278 |
+
[
|
| 279 |
+
```typ
|
| 280 |
+
#for i in range(6) {
|
| 281 |
+
$ arrow(#box(
|
| 282 |
+
width: 0.4em + 0.3em * i,
|
| 283 |
+
fill: aqua,
|
| 284 |
+
height: 0.4em,
|
| 285 |
+
)) $
|
| 286 |
+
}
|
| 287 |
+
```
|
| 288 |
+
],[
|
| 289 |
+
#set align(horizon)
|
| 290 |
+
#image("images/5011.png",width: auto)
|
| 291 |
+
]
|
| 292 |
+
)
|
| 293 |
+
- *dotless*: bool<accent_dotless>
|
| 294 |
+
添加顶部重音符号时,是否移除小写字母i和j上方的点。默认值:```typc true```。
|
| 295 |
+
|
| 296 |
+
该选项启用dtls OpenType特性。
|
| 297 |
+
#table(
|
| 298 |
+
columns: (1fr,1fr),
|
| 299 |
+
align: (left,left),
|
| 300 |
+
stroke: none,
|
| 301 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 302 |
+
[
|
| 303 |
+
```typ
|
| 304 |
+
$hat(dotless: #false, i)$
|
| 305 |
+
```
|
| 306 |
+
],[
|
| 307 |
+
#set align(horizon)
|
| 308 |
+
#image("images/5012.png",width: auto)
|
| 309 |
+
]
|
| 310 |
+
)
|
| 311 |
+
== 附属内容(Attach)<Attach>
|
| 312 |
+
下标、上标与限界符号。
|
| 313 |
+
|
| 314 |
+
附属内容可以以下标/上标形式或者限界形式展示。Typst 会根据基础符号自动判断哪种形式更合适,你也可以通过 `scripts` 和 `limits` 函数手动控制。
|
| 315 |
+
|
| 316 |
+
如果你希望基础符号拉伸以容纳较长的顶部和底部附属内容(例如上方带有文字的箭头),请使用 `stretch` 函数。
|
| 317 |
+
=== 示例(Example)
|
| 318 |
+
#table(
|
| 319 |
+
columns: (1fr,1fr),
|
| 320 |
+
align: (left,left),
|
| 321 |
+
stroke: none,
|
| 322 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 323 |
+
[
|
| 324 |
+
```typ
|
| 325 |
+
$ sum_(i=0)^n a_i = 2^(1+i) $
|
| 326 |
+
```
|
| 327 |
+
],[
|
| 328 |
+
#set align(horizon)
|
| 329 |
+
#image("images/5013.png",width: auto)
|
| 330 |
+
]
|
| 331 |
+
)
|
| 332 |
+
=== 语法(Syntax)
|
| 333 |
+
该函数还提供专门的语法,用于在基础符号后添加附着符号:使用下划线(\_)表示下标,也就是底部附着符号;使用脱字符(^)表示上标,也就是顶部附着符号。
|
| 334 |
+
=== 函数(Functions)<Attach_Functions>
|
| 335 |
+
一个可选附件的基。
|
| 336 |
+
#table(
|
| 337 |
+
columns: (1fr,1fr),
|
| 338 |
+
align: (left,left),
|
| 339 |
+
stroke: none,
|
| 340 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 341 |
+
[
|
| 342 |
+
```typ
|
| 343 |
+
$ attach(
|
| 344 |
+
Pi, t: alpha, b: beta,
|
| 345 |
+
tl: 1, tr: 2+3, bl: 4+5, br: 6,
|
| 346 |
+
) $
|
| 347 |
+
```
|
| 348 |
+
],[
|
| 349 |
+
#set align(horizon)
|
| 350 |
+
#image("images/5014.png",width: auto)
|
| 351 |
+
]
|
| 352 |
+
)
|
| 353 |
+
如果你想添加重音符号(抑扬符、波浪号、箭头等)而非下标符号或边角附属符号,请改用重音函数。
|
| 354 |
+
```typc
|
| 355 |
+
math.attach(
|
| 356 |
+
base: content,
|
| 357 |
+
t: none content,
|
| 358 |
+
b: none content,
|
| 359 |
+
tl: none content,
|
| 360 |
+
bl: none content,
|
| 361 |
+
tr: none content,
|
| 362 |
+
br: none content,
|
| 363 |
+
) → content
|
| 364 |
+
```
|
| 365 |
+
- *base*: content
|
| 366 |
+
物体所附着的基。
|
| 367 |
+
- *t*: none content
|
| 368 |
+
顶部附件会智能放置在右上角或基上方。默认值:```typc none```。
|
| 369 |
+
|
| 370 |
+
你可以将基座封装在 limits() 或 scripts() 中,以此覆盖智能定位设置。
|
| 371 |
+
- *b*: none content
|
| 372 |
+
底部附件巧妙放置在右下角或基下方。默认值:```typc none```。
|
| 373 |
+
|
| 374 |
+
你可以将基座包裹在 limits() 或 scripts() 中,以覆盖该智能定位设置。
|
| 375 |
+
- *tl*: none content
|
| 376 |
+
位于左上角的附件(基之前)。默认值:```typc none```。
|
| 377 |
+
- *bl*: none content
|
| 378 |
+
基前侧的左下角连接件。默认值:```typc none```。
|
| 379 |
+
- *tr*: none content
|
| 380 |
+
基后方的右上角附件。默认值:```typc none```。
|
| 381 |
+
- *br*: none content
|
| 382 |
+
底之后的右下角附件。默认值:```typc none```。
|
| 383 |
+
|
| 384 |
+
=== 程序脚本(scripts)<Attach_scripts>
|
| 385 |
+
强制基将附件以脚本形式显示。
|
| 386 |
+
#table(
|
| 387 |
+
columns: (1fr,1fr),
|
| 388 |
+
align: (left,left),
|
| 389 |
+
stroke: none,
|
| 390 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 391 |
+
[
|
| 392 |
+
```typ
|
| 393 |
+
$ scripts(sum)_1^2 != sum_1^2 $
|
| 394 |
+
```
|
| 395 |
+
],[
|
| 396 |
+
#set align(horizon)
|
| 397 |
+
#image("images/5015.png",width: auto)
|
| 398 |
+
]
|
| 399 |
+
)
|
| 400 |
+
```typc
|
| 401 |
+
math.scripts(body:content) → content
|
| 402 |
+
```
|
| 403 |
+
- *body*: content
|
| 404 |
+
脚本所要挂载的基。
|
| 405 |
+
=== limits<Attach_limits>
|
| 406 |
+
强制将基准以附件形式显示为limits。
|
| 407 |
+
#table(
|
| 408 |
+
columns: (1fr,1fr),
|
| 409 |
+
align: (left,left),
|
| 410 |
+
stroke: none,
|
| 411 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 412 |
+
[
|
| 413 |
+
```typ
|
| 414 |
+
$ limits(A)_1^2 != A_1^2 $
|
| 415 |
+
```
|
| 416 |
+
],[
|
| 417 |
+
#set align(horizon)
|
| 418 |
+
#image("images/5016.png",width: auto)
|
| 419 |
+
]
|
| 420 |
+
)
|
| 421 |
+
```typc
|
| 422 |
+
math.limits(
|
| 423 |
+
body: content,
|
| 424 |
+
inline: bool,
|
| 425 |
+
) → content
|
| 426 |
+
```
|
| 427 |
+
- *body*: content
|
| 428 |
+
用于附加到limits的基。
|
| 429 |
+
- *inline*: bool
|
| 430 |
+
是否也强制在行内公式中使用极限形式。默认值:```typc true```。
|
| 431 |
+
|
| 432 |
+
在全局应用极限设置时(例如通过显示规则),通常建议关闭该选项。
|
| 433 |
+
|
| 434 |
+
== 组合数(binom)<binom>
|
| 435 |
+
组合数表达式。
|
| 436 |
+
=== 示例(Example)
|
| 437 |
+
#table(
|
| 438 |
+
columns: (1fr,1fr),
|
| 439 |
+
align: (left,left),
|
| 440 |
+
stroke: none,
|
| 441 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 442 |
+
[
|
| 443 |
+
```typ
|
| 444 |
+
$ binom(n, k) $
|
| 445 |
+
$ binom(n, k_1, k_2, k_3, ..., k_m) $
|
| 446 |
+
|
| 447 |
+
```
|
| 448 |
+
],[
|
| 449 |
+
#set align(horizon)
|
| 450 |
+
#image("images/5017.png",width: auto)
|
| 451 |
+
]
|
| 452 |
+
)
|
| 453 |
+
=== 参数(Parameters)
|
| 454 |
+
```typc
|
| 455 |
+
binom(
|
| 456 |
+
upper: content,
|
| 457 |
+
lower: ..content,
|
| 458 |
+
) → content
|
| 459 |
+
```
|
| 460 |
+
- *upper*: content
|
| 461 |
+
组合数的上标。
|
| 462 |
+
- *lower*: ..content
|
| 463 |
+
组合数的下标。
|
| 464 |
+
|
| 465 |
+
== 取消(cancel)<cancel>
|
| 466 |
+
在公式的一部分上方显示一条斜线。
|
| 467 |
+
|
| 468 |
+
这通常用于表示消去某一项。
|
| 469 |
+
=== 示例(Example)
|
| 470 |
+
#table(
|
| 471 |
+
columns: (1fr,1fr),
|
| 472 |
+
align: (left,left),
|
| 473 |
+
stroke: none,
|
| 474 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 475 |
+
[
|
| 476 |
+
```typ
|
| 477 |
+
Here, we can simplify:
|
| 478 |
+
$ (a dot b dot cancel(x)) /
|
| 479 |
+
cancel(x) $
|
| 480 |
+
```
|
| 481 |
+
],[
|
| 482 |
+
#set align(horizon)
|
| 483 |
+
#image("images/5018.png",width: auto)
|
| 484 |
+
]
|
| 485 |
+
)
|
| 486 |
+
=== 参数(Parameters)
|
| 487 |
+
```typc
|
| 488 |
+
cancel(
|
| 489 |
+
body: content,
|
| 490 |
+
length: relative,
|
| 491 |
+
inverted: bool,
|
| 492 |
+
cross: bool,
|
| 493 |
+
angle: auto angle function,
|
| 494 |
+
stroke: length color gradient stroke tiling dictionary,
|
| 495 |
+
) → content
|
| 496 |
+
```
|
| 497 |
+
- *body*: content
|
| 498 |
+
需要添加线条覆盖的内容。
|
| 499 |
+
- *length*: relative
|
| 500 |
+
线条的长度,相对于横跨整个元素的对角线长度而言,会被“抵消”。取值为100%时,线条将恰好铺满该元素的对角线。默认值:```typc 100%+0.3em```。
|
| 501 |
+
#table(
|
| 502 |
+
columns: (1fr,1fr),
|
| 503 |
+
align: (left,left),
|
| 504 |
+
stroke: none,
|
| 505 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 506 |
+
[
|
| 507 |
+
```typ
|
| 508 |
+
$ a + cancel(x, length: #200%)
|
| 509 |
+
- cancel(x, length: #200%) $
|
| 510 |
+
```
|
| 511 |
+
],[
|
| 512 |
+
#set align(horizon)
|
| 513 |
+
#image("images/5019.png",width: auto)
|
| 514 |
+
]
|
| 515 |
+
)
|
| 516 |
+
- *inverted*: bool
|
| 517 |
+
是否需要反转取消线(沿Y轴翻转)。在默认角度设置下,反转代表取消线指向左上角,而非右上角。默认值:```typc false```。
|
| 518 |
+
- *cross*: bool
|
| 519 |
+
是否绘制两条相对的删除线,在元素上形成十字。覆盖反转设置。默认值:```typc false```。
|
| 520 |
+
#table(
|
| 521 |
+
columns: (1fr,1fr),
|
| 522 |
+
align: (left,left),
|
| 523 |
+
stroke: none,
|
| 524 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 525 |
+
[
|
| 526 |
+
```typ
|
| 527 |
+
$ (a cancel((b + c), inverted: #true)) /
|
| 528 |
+
cancel(b + c, inverted: #true) $
|
| 529 |
+
```
|
| 530 |
+
],[
|
| 531 |
+
#set align(horizon)
|
| 532 |
+
#image("images/5020.png",width: auto)
|
| 533 |
+
]
|
| 534 |
+
)
|
| 535 |
+
- *angle*: auto angle function\ 取消线的旋转角度设置。默认值:```typc auto```。\
|
| 536 |
+
- 如果指定一个角度,则该线条相对于y轴顺时针旋转该角度。
|
| 537 |
+
- 如果设为#rtext()[auto],线条使用默认角度,即沿着内容框的上升对角线方向。
|
| 538 |
+
- 如果传入函数 angle => angle,则线条相对于y轴按该函数返回的角度进行旋转。该函数接收默认角度作为输入参数。
|
| 539 |
+
#table(
|
| 540 |
+
columns: 1fr,
|
| 541 |
+
align: left,
|
| 542 |
+
stroke: none,
|
| 543 |
+
[
|
| 544 |
+
|
| 545 |
+
```typ
|
| 546 |
+
$ cancel(Pi)
|
| 547 |
+
cancel(Pi, angle: #0deg)
|
| 548 |
+
cancel(Pi, angle: #45deg)
|
| 549 |
+
cancel(Pi, angle: #90deg)
|
| 550 |
+
cancel(1/(1+x), angle: #(a => a + 45deg))
|
| 551 |
+
cancel(1/(1+x), angle: #(a => a + 90deg)) $
|
| 552 |
+
|
| 553 |
+
```
|
| 554 |
+
],
|
| 555 |
+
[
|
| 556 |
+
#set quote(block: true)
|
| 557 |
+
#show quote: set align(center)
|
| 558 |
+
#rect(
|
| 559 |
+
fill: luma(240),
|
| 560 |
+
width: 100%,
|
| 561 |
+
height: auto,
|
| 562 |
+
quote[
|
| 563 |
+
#image("images/5021.png",width: 80%)
|
| 564 |
+
]
|
| 565 |
+
)
|
| 566 |
+
]
|
| 567 |
+
)
|
| 568 |
+
- *stroke*: length color gradient stroke tiling dictionary
|
| 569 |
+
如何[添加]删除线。默认值:```typc 0.05em```。
|
| 570 |
+
#table(
|
| 571 |
+
columns: (1fr,1fr),
|
| 572 |
+
align: (left,left),
|
| 573 |
+
stroke: none,
|
| 574 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 575 |
+
[
|
| 576 |
+
```typ
|
| 577 |
+
$ cancel(
|
| 578 |
+
sum x,
|
| 579 |
+
stroke: #(
|
| 580 |
+
paint: red,
|
| 581 |
+
thickness: 1.5pt,
|
| 582 |
+
dash: "dashed",
|
| 583 |
+
),
|
| 584 |
+
) $
|
| 585 |
+
|
| 586 |
+
```
|
| 587 |
+
],[
|
| 588 |
+
#set align(horizon)
|
| 589 |
+
#image("images/5022.png",width: auto)
|
| 590 |
+
]
|
| 591 |
+
)
|
| 592 |
+
|
| 593 |
+
== 分情况(cases)<cases>
|
| 594 |
+
分情况讨论。
|
| 595 |
+
不同分支的内容可通过 & 符号对齐。
|
| 596 |
+
=== 示例(Example)
|
| 597 |
+
#table(
|
| 598 |
+
columns: (1fr,1fr),
|
| 599 |
+
align: (left,left),
|
| 600 |
+
stroke: none,
|
| 601 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 602 |
+
[
|
| 603 |
+
```typ
|
| 604 |
+
$ f(x, y) := cases(
|
| 605 |
+
1 "if" (x dot y)/2 <= 0,
|
| 606 |
+
2 "if" x "is even",
|
| 607 |
+
3 "if" x in NN,
|
| 608 |
+
4 "else",
|
| 609 |
+
) $
|
| 610 |
+
```
|
| 611 |
+
],[
|
| 612 |
+
#set align(horizon)
|
| 613 |
+
#image("images/5023.png",width: auto)
|
| 614 |
+
]
|
| 615 |
+
)
|
| 616 |
+
=== 参数(Parameters)
|
| 617 |
+
```typc
|
| 618 |
+
cases(
|
| 619 |
+
delim: none str symbol array,
|
| 620 |
+
reverse: bool,
|
| 621 |
+
gap: relative,
|
| 622 |
+
children: content,
|
| 623 |
+
) → content
|
| 624 |
+
```
|
| 625 |
+
- *delim*: none str symbol array
|
| 626 |
+
要使用的分隔符。默认值:```typc ("{","}")```。
|
| 627 |
+
|
| 628 |
+
可以是单个字符,用于指定左分隔符,此时会自动推断出右分隔符。也可以是包含左、右分隔符的数组。
|
| 629 |
+
#table(
|
| 630 |
+
columns: (1fr,1fr),
|
| 631 |
+
align: (left,left),
|
| 632 |
+
stroke: none,
|
| 633 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 634 |
+
[
|
| 635 |
+
```typ
|
| 636 |
+
#set math.cases(delim: "[")
|
| 637 |
+
$ x = cases(1, 2) $
|
| 638 |
+
```
|
| 639 |
+
],[
|
| 640 |
+
#set align(horizon)
|
| 641 |
+
#image("images/5024.png",width: auto)
|
| 642 |
+
]
|
| 643 |
+
)
|
| 644 |
+
- *reverse*: bool
|
| 645 |
+
是否应当反转案例的方向。默认值:```typc false```。
|
| 646 |
+
|
| 647 |
+
查看示例
|
| 648 |
+
#table(
|
| 649 |
+
columns: (1fr,1fr),
|
| 650 |
+
align: (left,left),
|
| 651 |
+
stroke: none,
|
| 652 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 653 |
+
[
|
| 654 |
+
```typ
|
| 655 |
+
#set math.cases(reverse: true)
|
| 656 |
+
$ cases(1, 2) = x $
|
| 657 |
+
```
|
| 658 |
+
],[
|
| 659 |
+
#set align(horizon)
|
| 660 |
+
#image("images/5025.png",width: auto)
|
| 661 |
+
]
|
| 662 |
+
)
|
| 663 |
+
- *gap*: relative
|
| 664 |
+
分支之间的间隙。默认值:```typc 0%+0.2em```。
|
| 665 |
+
#table(
|
| 666 |
+
columns: (1fr,1fr),
|
| 667 |
+
align: (left,left),
|
| 668 |
+
stroke: none,
|
| 669 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 670 |
+
[
|
| 671 |
+
```typ
|
| 672 |
+
#set math.cases(gap: 1em)
|
| 673 |
+
$ x = cases(1, 2) $
|
| 674 |
+
```
|
| 675 |
+
],[
|
| 676 |
+
#set align(horizon)
|
| 677 |
+
#image("images/5026.png",width: auto)
|
| 678 |
+
]
|
| 679 |
+
)
|
| 680 |
+
- *children*: content
|
| 681 |
+
不同情况的各个分支。
|
| 682 |
+
== 类(class)<class>
|
| 683 |
+
强制使用指定的数学类别。
|
| 684 |
+
|
| 685 |
+
这一功能可将特定符号视作其他类别的符号来处理,例如让某个符号表现得像关系符号。符号的类别决定其排版方式,包括符号周边的间距,以及上下标的默认附着形式。请注意,后者始终可以通过limits与scripts手动改写。
|
| 686 |
+
=== 示例(Example)
|
| 687 |
+
#table(
|
| 688 |
+
columns: (1fr,1fr),
|
| 689 |
+
align: (left,left),
|
| 690 |
+
stroke: none,
|
| 691 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 692 |
+
[
|
| 693 |
+
```typ
|
| 694 |
+
#let loves = math.class(
|
| 695 |
+
"relation",
|
| 696 |
+
sym.suit.heart,
|
| 697 |
+
)
|
| 698 |
+
|
| 699 |
+
$x loves y and y loves 5$
|
| 700 |
+
```
|
| 701 |
+
],[
|
| 702 |
+
#set align(horizon)
|
| 703 |
+
#image("images/5027.png",width: auto)
|
| 704 |
+
]
|
| 705 |
+
)
|
| 706 |
+
=== 参数(Parameters)
|
| 707 |
+
```typc
|
| 708 |
+
class(
|
| 709 |
+
class: str,
|
| 710 |
+
body: content,
|
| 711 |
+
) → content
|
| 712 |
+
```
|
| 713 |
+
- *class*: str
|
| 714 |
+
要应用于内容的类。
|
| 715 |
+
#table(
|
| 716 |
+
columns: (0.5fr,1.5fr),
|
| 717 |
+
stroke: none,
|
| 718 |
+
align: left,
|
| 719 |
+
table.header([Variant],[Details]),
|
| 720 |
+
table.hline(),
|
| 721 |
+
[\"normal\"],[非特殊对象的默认类别。],
|
| 722 |
+
[\"punctuation\"],[标点符号,例如逗号。],
|
| 723 |
+
[\"opening\"],[��始分隔符,例如 (。],
|
| 724 |
+
[\"closing\"],[结束分隔符,例如 )。],
|
| 725 |
+
[\"fence\"],[两侧相同的分隔符,例如 |。],
|
| 726 |
+
[\"large\"],[像求和符号这样的大型运算符。如果主体是一个单一字符,则此类运算符会在数学轴(分数线所在的位置)上垂直居中,并在显示样式中垂直拉伸。],
|
| 727 |
+
|
| 728 |
+
[\"relation\"],[一种诸如等号 = 或预序符号 prec 的关系符号。],
|
| 729 |
+
[\"unary\"],[一元运算符,例如非。],
|
| 730 |
+
[\"binary\"],[类似乘号这样的二元运算符。],
|
| 731 |
+
[\"vary\"],[一种既可作为一元运算符、也可作为二元运算符的运算符,例如加号+。],
|
| 732 |
+
)
|
| 733 |
+
- *body*: content
|
| 734 |
+
应用该类的内容。
|
| 735 |
+
|
| 736 |
+
== 公式(equation)<equation>
|
| 737 |
+
一个数学公式。
|
| 738 |
+
|
| 739 |
+
可以和文本行内展示,也可以作为独立块展示。若起始美元符号后存在空白字符,且结束美元符号前存在空白字符,则该公式会变为块级公式。
|
| 740 |
+
=== 示例(Example)
|
| 741 |
+
#table(
|
| 742 |
+
columns: 1fr,
|
| 743 |
+
align: left,
|
| 744 |
+
stroke: none,
|
| 745 |
+
[
|
| 746 |
+
```typ
|
| 747 |
+
#set text(font: "New Computer Modern")
|
| 748 |
+
|
| 749 |
+
Let $a$, $b$, and $c$ be the side
|
| 750 |
+
lengths of a right-angled triangle.
|
| 751 |
+
Then, we know that:
|
| 752 |
+
$ a^2 + b^2 = c^2 $
|
| 753 |
+
|
| 754 |
+
Prove by induction:
|
| 755 |
+
$ sum_(k=1)^n k = (n(n+1)) / 2 $
|
| 756 |
+
```
|
| 757 |
+
],
|
| 758 |
+
[
|
| 759 |
+
#set quote(block: true)
|
| 760 |
+
#show quote: set align(center)
|
| 761 |
+
#rect(
|
| 762 |
+
fill: luma(240),
|
| 763 |
+
width: 100%,
|
| 764 |
+
height: auto,
|
| 765 |
+
quote[
|
| 766 |
+
#image("images/5028.png",width: 80%)
|
| 767 |
+
]
|
| 768 |
+
)
|
| 769 |
+
]
|
| 770 |
+
)
|
| 771 |
+
=== 语法(Syntax)
|
| 772 |
+
该函数还有专用语法:在美元符号内编写数学标记,即可生成公式。若在公式首尾添加空白字符,公式将单独成块并水平居中。有关数学语法的更多详情,请参阅#link(<math>)[数学主页]。
|
| 773 |
+
=== 参数(Parameters)
|
| 774 |
+
```typc
|
| 775 |
+
equation(
|
| 776 |
+
block: bool,
|
| 777 |
+
numbering: none str function,
|
| 778 |
+
number-align: alignment,
|
| 779 |
+
supplement: none auto content function,
|
| 780 |
+
alt: none str,
|
| 781 |
+
body: content,
|
| 782 |
+
) → content
|
| 783 |
+
```
|
| 784 |
+
- *block*: bool<equation_block>
|
| 785 |
+
该方程是否以独立块形式显示。默认值:```typc false```。
|
| 786 |
+
- *numbering*: none str function<equation_numbering>
|
| 787 |
+
如何给块级方程编号。可接收编号格式字符串,或是仅接收单个数字作为参数的函数。默认值:```typc none```。
|
| 788 |
+
#table(
|
| 789 |
+
columns: 1fr,
|
| 790 |
+
align: left,
|
| 791 |
+
stroke: none,
|
| 792 |
+
[
|
| 793 |
+
```typ
|
| 794 |
+
#set math.equation(numbering: "(1)")
|
| 795 |
+
|
| 796 |
+
We define:
|
| 797 |
+
$ phi.alt := (1 + sqrt(5)) / 2 $ <ratio>
|
| 798 |
+
|
| 799 |
+
With @ratio, we get:
|
| 800 |
+
$ F_n = floor(1 / sqrt(5) phi.alt^n) $
|
| 801 |
+
```
|
| 802 |
+
],
|
| 803 |
+
[
|
| 804 |
+
#set quote(block: true)
|
| 805 |
+
#show quote: set align(center)
|
| 806 |
+
#rect(
|
| 807 |
+
fill: luma(240),
|
| 808 |
+
width: 100%,
|
| 809 |
+
height: auto,
|
| 810 |
+
quote[
|
| 811 |
+
#image("images/5029.png",width: 80%)
|
| 812 |
+
]
|
| 813 |
+
)
|
| 814 |
+
]
|
| 815 |
+
)
|
| 816 |
+
- *number-align*: alignment<equation_number-align>
|
| 817 |
+
公式编号的对齐方式。默认值:```typc end+horizon```。
|
| 818 |
+
|
| 819 |
+
默认对齐方式为底端+水平居中。水平方向可选用右对齐、左对齐,或是文字阅读方向的起始端与末尾端;垂直方向可选用顶端、水平居中、底端。
|
| 820 |
+
#table(
|
| 821 |
+
columns: 1fr,
|
| 822 |
+
align: left,
|
| 823 |
+
stroke: none,
|
| 824 |
+
[
|
| 825 |
+
```typ
|
| 826 |
+
#set math.equation(numbering: "(1)", number-align: bottom)
|
| 827 |
+
|
| 828 |
+
We can calculate:
|
| 829 |
+
$ E &= sqrt(m_0^2 + p^2) \
|
| 830 |
+
&approx 125 "GeV" $
|
| 831 |
+
```
|
| 832 |
+
],
|
| 833 |
+
[
|
| 834 |
+
#set quote(block: true)
|
| 835 |
+
#show quote: set align(center)
|
| 836 |
+
#rect(
|
| 837 |
+
fill: luma(240),
|
| 838 |
+
width: 100%,
|
| 839 |
+
height: auto,
|
| 840 |
+
quote[
|
| 841 |
+
#image("images/5030.png",width: 80%)
|
| 842 |
+
]
|
| 843 |
+
)
|
| 844 |
+
]
|
| 845 |
+
)
|
| 846 |
+
- *supplement*: none auto content function<equation_supplement>
|
| 847 |
+
方程式的补充说明。默认值:```typc auto```。
|
| 848 |
+
|
| 849 |
+
在引用方程式时,该内容会添加在引用编号之前。
|
| 850 |
+
|
| 851 |
+
如果指定了函数,会将被引用的方程式传入该函数,并由函数返回内容。
|
| 852 |
+
#table(
|
| 853 |
+
columns: 1fr,
|
| 854 |
+
align: left,
|
| 855 |
+
stroke: none,
|
| 856 |
+
[
|
| 857 |
+
```typ
|
| 858 |
+
#set math.equation(numbering: "(1)", supplement: [Eq.])
|
| 859 |
+
|
| 860 |
+
We define:
|
| 861 |
+
$ phi.alt := (1 + sqrt(5)) / 2 $ <ratio>
|
| 862 |
+
|
| 863 |
+
With @ratio, we get:
|
| 864 |
+
$ F_n = floor(1 / sqrt(5) phi.alt^n) $
|
| 865 |
+
```
|
| 866 |
+
],
|
| 867 |
+
[
|
| 868 |
+
#set quote(block: true)
|
| 869 |
+
#show quote: set align(center)
|
| 870 |
+
#rect(
|
| 871 |
+
fill: luma(240),
|
| 872 |
+
width: 100%,
|
| 873 |
+
height: auto,
|
| 874 |
+
quote[
|
| 875 |
+
#image("images/5031.png",width: 80%)
|
| 876 |
+
]
|
| 877 |
+
)
|
| 878 |
+
]
|
| 879 |
+
)
|
| 880 |
+
- *alt*: none str<equation_alt>
|
| 881 |
+
该数学方程式的另一种描述。默认值:```typc none```。
|
| 882 |
+
|
| 883 |
+
需使用自然语言完整描述方程式,该内容将提供给辅助技术。你可以在无障碍指南的文本表示章节了解更多信息。
|
| 884 |
+
#table(
|
| 885 |
+
columns: 1fr,
|
| 886 |
+
align: left,
|
| 887 |
+
stroke: none,
|
| 888 |
+
[
|
| 889 |
+
```typ
|
| 890 |
+
#math.equation(
|
| 891 |
+
alt: "integral from 1 to infinity of a x squared plus b with respect to x",
|
| 892 |
+
block: true,
|
| 893 |
+
$ integral_1^oo a x^2 + b dif x $,
|
| 894 |
+
)
|
| 895 |
+
```
|
| 896 |
+
],
|
| 897 |
+
[
|
| 898 |
+
#set quote(block: true)
|
| 899 |
+
#show quote: set align(center)
|
| 900 |
+
#rect(
|
| 901 |
+
fill: luma(240),
|
| 902 |
+
width: 100%,
|
| 903 |
+
height: auto,
|
| 904 |
+
quote[
|
| 905 |
+
#image("images/5032.png",width: 80%)
|
| 906 |
+
]
|
| 907 |
+
)
|
| 908 |
+
]
|
| 909 |
+
)
|
| 910 |
+
- *body*: content<equation_body>
|
| 911 |
+
该方程的内容。
|
| 912 |
+
|
| 913 |
+
== 分数(frac)<frac>
|
| 914 |
+
一个数学分数。
|
| 915 |
+
=== 示例(Example)
|
| 916 |
+
#table(
|
| 917 |
+
columns: 1fr,
|
| 918 |
+
align: left,
|
| 919 |
+
stroke: none,
|
| 920 |
+
[
|
| 921 |
+
```typ
|
| 922 |
+
$ 1/2 < (x+1)/2 $
|
| 923 |
+
$ ((x+1)) / 2 = frac(a, b) $
|
| 924 |
+
```
|
| 925 |
+
],
|
| 926 |
+
[
|
| 927 |
+
#set quote(block: true)
|
| 928 |
+
#show quote: set align(center)
|
| 929 |
+
#rect(
|
| 930 |
+
fill: luma(240),
|
| 931 |
+
width: 100%,
|
| 932 |
+
height: auto,
|
| 933 |
+
quote[
|
| 934 |
+
#image("images/5033.png",width: 80%)
|
| 935 |
+
]
|
| 936 |
+
)
|
| 937 |
+
]
|
| 938 |
+
)
|
| 939 |
+
=== 语法(Syntax)
|
| 940 |
+
该函数还有专用语法:使用斜杠可将相邻表达式转换为分数。可通过圆括号将多个原子组合为单个表达式。这类括号不会出现在输出结果中,但你可以多层嵌套括号来保留括号。
|
| 941 |
+
=== 参数(Parameters)
|
| 942 |
+
```typc
|
| 943 |
+
frac(
|
| 944 |
+
num: content,
|
| 945 |
+
denom: content,
|
| 946 |
+
style: str,
|
| 947 |
+
) → content
|
| 948 |
+
```
|
| 949 |
+
- *num*: content
|
| 950 |
+
该分数的分子。
|
| 951 |
+
- *denom*: content
|
| 952 |
+
该分数的分子。
|
| 953 |
+
- *style*: str<frac_style>
|
| 954 |
+
分数应该如何排版。默认值:```typc "vertical"```。
|
| 955 |
+
#table(
|
| 956 |
+
columns: (1fr,1fr),
|
| 957 |
+
align: (left,left),
|
| 958 |
+
stroke: none,
|
| 959 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 960 |
+
[
|
| 961 |
+
```typ
|
| 962 |
+
$ frac(x, y, style: "vertical") $
|
| 963 |
+
$ frac(x, y, style: "skewed") $
|
| 964 |
+
$ frac(x, y, style: "horizontal") $
|
| 965 |
+
```
|
| 966 |
+
],[
|
| 967 |
+
#set align(horizon)
|
| 968 |
+
#image("images/5034.png",width: auto)
|
| 969 |
+
]
|
| 970 |
+
)
|
| 971 |
+
#table(
|
| 972 |
+
columns: (1fr,1fr),
|
| 973 |
+
align: (left,left),
|
| 974 |
+
stroke: none,
|
| 975 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 976 |
+
[
|
| 977 |
+
```typ
|
| 978 |
+
#set math.frac(style: "skewed")
|
| 979 |
+
$ a / b $
|
| 980 |
+
```
|
| 981 |
+
],[
|
| 982 |
+
#set align(horizon)
|
| 983 |
+
#image("images/5035.png",width: auto)
|
| 984 |
+
]
|
| 985 |
+
)
|
| 986 |
+
#table(
|
| 987 |
+
columns: (1fr,1fr),
|
| 988 |
+
align: (left,left),
|
| 989 |
+
stroke: none,
|
| 990 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 991 |
+
[
|
| 992 |
+
```typ
|
| 993 |
+
// Grouping parentheses are removed.
|
| 994 |
+
#set math.frac(style: "vertical")
|
| 995 |
+
$ (a + b) / b $
|
| 996 |
+
|
| 997 |
+
// Grouping parentheses are removed.
|
| 998 |
+
#set math.frac(style: "skewed")
|
| 999 |
+
$ (a + b) / b $
|
| 1000 |
+
|
| 1001 |
+
// Grouping parentheses are retained.
|
| 1002 |
+
#set math.frac(style: "horizontal")
|
| 1003 |
+
$ (a + b) / b $
|
| 1004 |
+
```
|
| 1005 |
+
],[
|
| 1006 |
+
#set align(horizon)
|
| 1007 |
+
#image("images/5036.png",width: auto)
|
| 1008 |
+
]
|
| 1009 |
+
)
|
| 1010 |
+
#table(
|
| 1011 |
+
columns: 1fr,
|
| 1012 |
+
align: left,
|
| 1013 |
+
stroke: none,
|
| 1014 |
+
[
|
| 1015 |
+
```typ
|
| 1016 |
+
// This changes the style for inline equations only.
|
| 1017 |
+
#show math.equation.where(block: false): set math.frac(style: "horizontal")
|
| 1018 |
+
|
| 1019 |
+
This $(x-y)/z = 3$ is inline math, and this is block math:
|
| 1020 |
+
$ (x-y)/z = 3 $
|
| 1021 |
+
```
|
| 1022 |
+
],
|
| 1023 |
+
[
|
| 1024 |
+
#set quote(block: true)
|
| 1025 |
+
#show quote: set align(center)
|
| 1026 |
+
#rect(
|
| 1027 |
+
fill: luma(240),
|
| 1028 |
+
width: 100%,
|
| 1029 |
+
height: auto,
|
| 1030 |
+
quote[
|
| 1031 |
+
#image("images/5037.png",width: 80%)
|
| 1032 |
+
]
|
| 1033 |
+
)
|
| 1034 |
+
]
|
| 1035 |
+
)
|
| 1036 |
+
#table(
|
| 1037 |
+
columns: 1fr,
|
| 1038 |
+
align: left,
|
| 1039 |
+
stroke: none,
|
| 1040 |
+
[
|
| 1041 |
+
```typ
|
| 1042 |
+
// Change the default style.
|
| 1043 |
+
#set math.frac(style: "horizontal")
|
| 1044 |
+
// Define a shorthand with the original style.
|
| 1045 |
+
#let frac = math.frac.with(style: "vertical")
|
| 1046 |
+
|
| 1047 |
+
$ p/q = frac(p, q) $
|
| 1048 |
+
|
| 1049 |
+
// The shadowed definition can still be accessed.
|
| 1050 |
+
#assert.eq($p/q$, $std.math.frac(p, q)$)
|
| 1051 |
+
```
|
| 1052 |
+
],
|
| 1053 |
+
[
|
| 1054 |
+
#set quote(block: true)
|
| 1055 |
+
#show quote: set align(center)
|
| 1056 |
+
#rect(
|
| 1057 |
+
fill: luma(240),
|
| 1058 |
+
width: 100%,
|
| 1059 |
+
height: auto,
|
| 1060 |
+
quote[
|
| 1061 |
+
#image("images/5038.png",width: 80%)
|
| 1062 |
+
]
|
| 1063 |
+
)
|
| 1064 |
+
]
|
| 1065 |
+
)
|
| 1066 |
+
#table(
|
| 1067 |
+
columns: (0.5fr,1.5fr),
|
| 1068 |
+
align: left,
|
| 1069 |
+
stroke: none,
|
| 1070 |
+
table.header([Variant],[Details]),
|
| 1071 |
+
table.hline(),
|
| 1072 |
+
[\"vertical\"],[带有分数线的叠式分子与分母。],
|
| 1073 |
+
[\"skewed\"],[分子和分母用斜杠分隔。],
|
| 1074 |
+
[\"horizontal\"],[分子与分母行内排布,且括号不会被合并。],
|
| 1075 |
+
)
|
| 1076 |
+
== 左/右(Left/Right)<Left_Right>
|
| 1077 |
+
分隔符匹配。
|
| 1078 |
+
|
| 1079 |
+
lr 函数可让你匹配两个分隔符,并根据其包含的内容调整分隔符大小。虽然语法上相匹配的分隔符会自动执行该操作,但 lr 支持匹配任意两个分隔符,并精准控制它们的尺寸。除 lr 函数外,Typst
|
| 1080 |
+
还提供了其他若干函数,用于生成对应绝对值、向上取整值、向下取整值以及范数的分隔符对。
|
| 1081 |
+
|
| 1082 |
+
若想让 Typst 不对某个分隔符进行匹配,从而关闭自动缩放功能,可使用反斜杠对其转义。如果需要完全禁用自动缩放,则使用 set math.lr(size: 1em)。
|
| 1083 |
+
=== 示例(Example)
|
| 1084 |
+
#table(
|
| 1085 |
+
columns: (1fr,1fr),
|
| 1086 |
+
align: (left,left),
|
| 1087 |
+
stroke: none,
|
| 1088 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 1089 |
+
[
|
| 1090 |
+
```typ
|
| 1091 |
+
$ [a, b/2] $
|
| 1092 |
+
$ lr(]sum_(x=1)^n], size: #50%) x $
|
| 1093 |
+
$ abs((x + y) / 2) $
|
| 1094 |
+
$ \{ (x / y) \} $
|
| 1095 |
+
#set math.lr(size: 1em)
|
| 1096 |
+
$ { (a / b), a, b in (0; 1/2] } $
|
| 1097 |
+
```
|
| 1098 |
+
],[
|
| 1099 |
+
#set align(horizon)
|
| 1100 |
+
#image("images/5039.png",width: auto)
|
| 1101 |
+
]
|
| 1102 |
+
)
|
| 1103 |
+
=== 函数(Functions)
|
| 1104 |
+
- lr
|
| 1105 |
+
缩放分隔符。
|
| 1106 |
+
|
| 1107 |
+
虽然默认情况下匹配的分隔符会进行缩放,但此功能也可用于缩放非匹配的分隔符,并更精确地控制分隔符的缩放。
|
| 1108 |
+
```typc
|
| 1109 |
+
math.lr(
|
| 1110 |
+
size: relative,
|
| 1111 |
+
body: content,
|
| 1112 |
+
) → content
|
| 1113 |
+
```
|
| 1114 |
+
|
| 1115 |
+
-- *size*: relative<Left_Right_lr_size>
|
| 1116 |
+
|
| 1117 |
+
括号的大小相对于所包裹内容的高度。默认值:```typc 100%+0pt```。
|
| 1118 |
+
|
| 1119 |
+
-- *body*: content
|
| 1120 |
+
|
| 1121 |
+
定界内容,包括定界符。
|
| 1122 |
+
|
| 1123 |
+
- mid<Left_Right_lr_mid>
|
| 1124 |
+
刻度分隔符会垂直限定到距离最近的外层lr()组。
|
| 1125 |
+
```typc
|
| 1126 |
+
math.mid(body: content) → content
|
| 1127 |
+
```
|
| 1128 |
+
-- *body*: content
|
| 1129 |
+
|
| 1130 |
+
待缩放的内容。
|
| 1131 |
+
- abs<Left_Right_abs>
|
| 1132 |
+
计算表达式的绝对值。
|
| 1133 |
+
#table(
|
| 1134 |
+
columns: (1fr,1fr),
|
| 1135 |
+
align: (left,left),
|
| 1136 |
+
stroke: none,
|
| 1137 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 1138 |
+
[
|
| 1139 |
+
```typ
|
| 1140 |
+
$ abs(x/2) $
|
| 1141 |
+
|
| 1142 |
+
```
|
| 1143 |
+
],[
|
| 1144 |
+
#set align(horizon)
|
| 1145 |
+
#image("images/5040.png",width: auto)
|
| 1146 |
+
]
|
| 1147 |
+
)
|
| 1148 |
+
```typc
|
| 1149 |
+
math.abs(
|
| 1150 |
+
size: relative,
|
| 1151 |
+
body: content,
|
| 1152 |
+
) → content
|
| 1153 |
+
```
|
| 1154 |
+
-- *size*: relative<Left_Right_abs_size>
|
| 1155 |
+
|
| 1156 |
+
括号的尺寸,相对于所包裹内容的高度。
|
| 1157 |
+
|
| 1158 |
+
默认值:#link(<Left_Right_lr_size>)[lr.size] 的当前值。
|
| 1159 |
+
|
| 1160 |
+
-- *body*: content<Left_Right_abs_body>
|
| 1161 |
+
|
| 1162 |
+
待求取绝对值的表达式。
|
| 1163 |
+
- norm<Left_Right_norm>
|
| 1164 |
+
计算表达式的范数。
|
| 1165 |
+
```typc
|
| 1166 |
+
math.norm(
|
| 1167 |
+
size: relative,
|
| 1168 |
+
body: content,
|
| 1169 |
+
) → content
|
| 1170 |
+
```
|
| 1171 |
+
-- *size*: relative
|
| 1172 |
+
|
| 1173 |
+
括号的尺寸,相对于所包裹内容的高度。
|
| 1174 |
+
|
| 1175 |
+
默认值:#link(<Left_Right_lr_size>)[lr.size] 的当前值。
|
| 1176 |
+
|
| 1177 |
+
-- *body*: content
|
| 1178 |
+
|
| 1179 |
+
要求取范数的表达式。
|
| 1180 |
+
|
| 1181 |
+
- floor
|
| 1182 |
+
对表达式向下取整。
|
| 1183 |
+
#table(
|
| 1184 |
+
columns: (1fr,1fr),
|
| 1185 |
+
align: (left,left),
|
| 1186 |
+
stroke: none,
|
| 1187 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 1188 |
+
[
|
| 1189 |
+
```typ
|
| 1190 |
+
$ floor(x/2) $
|
| 1191 |
+
|
| 1192 |
+
```
|
| 1193 |
+
],[
|
| 1194 |
+
#set align(horizon)
|
| 1195 |
+
#image("images/5041.png",width: auto)
|
| 1196 |
+
]
|
| 1197 |
+
)
|
| 1198 |
+
```typc
|
| 1199 |
+
math.floor(
|
| 1200 |
+
size: relative,
|
| 1201 |
+
body: content,
|
| 1202 |
+
) → content
|
| 1203 |
+
```
|
| 1204 |
+
-- *size*: relative
|
| 1205 |
+
|
| 1206 |
+
括号的尺寸,相对于所包裹内容的高度。
|
| 1207 |
+
|
| 1208 |
+
默认值:#link(<Left_Right_lr_size>)[lr.size] 的当前值。
|
| 1209 |
+
|
| 1210 |
+
-- *body*: content
|
| 1211 |
+
|
| 1212 |
+
待向下取整的表达式。
|
| 1213 |
+
|
| 1214 |
+
- ceil
|
| 1215 |
+
对表达式向上取整。
|
| 1216 |
+
#table(
|
| 1217 |
+
columns: (1fr,1fr),
|
| 1218 |
+
align: (left,left),
|
| 1219 |
+
stroke: none,
|
| 1220 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 1221 |
+
[
|
| 1222 |
+
```typ
|
| 1223 |
+
$ ceil(x/2) $
|
| 1224 |
+
|
| 1225 |
+
```
|
| 1226 |
+
],[
|
| 1227 |
+
#set align(horizon)
|
| 1228 |
+
#image("images/5042.png",width: auto)
|
| 1229 |
+
]
|
| 1230 |
+
)
|
| 1231 |
+
```typc
|
| 1232 |
+
math.ceil(
|
| 1233 |
+
size: relative,
|
| 1234 |
+
body: content,
|
| 1235 |
+
) → content
|
| 1236 |
+
```
|
| 1237 |
+
-- *size*: relative
|
| 1238 |
+
|
| 1239 |
+
括号的尺寸,相对于所包裹内容的高度。
|
| 1240 |
+
|
| 1241 |
+
默认值:#link(<Left_Right_lr_size>)[lr.size] 的当前值。
|
| 1242 |
+
|
| 1243 |
+
-- *body*: content
|
| 1244 |
+
|
| 1245 |
+
待向上取整的表达式。
|
| 1246 |
+
|
| 1247 |
+
- round
|
| 1248 |
+
对表达式进行四舍五入。
|
| 1249 |
+
#table(
|
| 1250 |
+
columns: (1fr,1fr),
|
| 1251 |
+
align: (left,left),
|
| 1252 |
+
stroke: none,
|
| 1253 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 1254 |
+
[
|
| 1255 |
+
```typ
|
| 1256 |
+
$ round(x/2) $
|
| 1257 |
+
|
| 1258 |
+
```
|
| 1259 |
+
],[
|
| 1260 |
+
#set align(horizon)
|
| 1261 |
+
#image("images/5043.png",width: auto)
|
| 1262 |
+
]
|
| 1263 |
+
)
|
| 1264 |
+
```typc
|
| 1265 |
+
math.round(
|
| 1266 |
+
size: relative,
|
| 1267 |
+
body: content,
|
| 1268 |
+
) → content
|
| 1269 |
+
```
|
| 1270 |
+
-- *size*: relative
|
| 1271 |
+
|
| 1272 |
+
括号的尺寸,相对于所包裹内容的高度。
|
| 1273 |
+
|
| 1274 |
+
默认值:#link(<Left_Right_lr_size>)[lr.size] 的当前值。
|
| 1275 |
+
|
| 1276 |
+
-- *body*: content
|
| 1277 |
+
|
| 1278 |
+
要进行舍入运算的表达式。
|
| 1279 |
+
|
| 1280 |
+
== 矩阵(Matrix)<mat>
|
| 1281 |
+
一个矩阵。
|
| 1282 |
+
|
| 1283 |
+
一行内的元素应以逗号分隔,各行之间则以分号分隔。分号语法会将前面由逗号分隔的参数合并为一个数组。你也可以在数学函数调用中使用这种特殊语法,来定义可接收二维数据的自定义函数。
|
| 1284 |
+
|
| 1285 |
+
单元格中的内容可通过align参数设置对齐方式,同一行单元格的内容也可以使用&符号进行对齐。
|
| 1286 |
+
=== 示例(Example)
|
| 1287 |
+
#table(
|
| 1288 |
+
columns: (1fr,1fr),
|
| 1289 |
+
align: (left,left),
|
| 1290 |
+
stroke: none,
|
| 1291 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 1292 |
+
[
|
| 1293 |
+
```typ
|
| 1294 |
+
$ mat(
|
| 1295 |
+
1, 2, ..., 10;
|
| 1296 |
+
2, 2, ..., 10;
|
| 1297 |
+
dots.v, dots.v, dots.down, dots.v;
|
| 1298 |
+
10, 10, ..., 10;
|
| 1299 |
+
) $
|
| 1300 |
+
```
|
| 1301 |
+
],[
|
| 1302 |
+
#set align(horizon)
|
| 1303 |
+
#image("images/5044.png",width: auto)
|
| 1304 |
+
]
|
| 1305 |
+
)
|
| 1306 |
+
=== 参数(Parameters)
|
| 1307 |
+
)
|
| 1308 |
+
```typc
|
| 1309 |
+
mat(
|
| 1310 |
+
delim: none str symbol array,
|
| 1311 |
+
align: alignment,
|
| 1312 |
+
augment: none int dictionary,
|
| 1313 |
+
gap: relative,
|
| 1314 |
+
row-gap: relative,
|
| 1315 |
+
column-gap: relative,
|
| 1316 |
+
rows: ..array,
|
| 1317 |
+
) → content
|
| 1318 |
+
```
|
| 1319 |
+
- *delim*: none str symbol array
|
| 1320 |
+
|
| 1321 |
+
要使用的分隔符。
|
| 1322 |
+
可以是一个指定左分隔符的单个字符,此时右分隔符会被推断出来。否则,可以是一个包含左分隔符和右分隔符的数组。默认值:```typc ("{","}")```。
|
| 1323 |
+
#table(
|
| 1324 |
+
columns: (1fr,1fr),
|
| 1325 |
+
align: (left,left),
|
| 1326 |
+
stroke: none,
|
| 1327 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 1328 |
+
[
|
| 1329 |
+
```typ
|
| 1330 |
+
#set math.mat(delim: "[")
|
| 1331 |
+
$ mat(1, 2; 3, 4) $
|
| 1332 |
+
```
|
| 1333 |
+
],[
|
| 1334 |
+
#set align(horizon)
|
| 1335 |
+
#image("images/5045.png",width: auto)
|
| 1336 |
+
]
|
| 1337 |
+
)
|
| 1338 |
+
- *align*: alignment
|
| 1339 |
+
每个单元格应采用的水平对齐方式。默认值:```typc center```。
|
| 1340 |
+
|
| 1341 |
+
- *augment*: none int dictionary\ 在矩阵中绘制增强线。默认值:```typc none```。
|
| 1342 |
+
- 无:不绘制任何线。
|
| 1343 |
+
- 单个数字:在��定列号后绘制一条垂直增强线。负数从末尾开始计数。
|
| 1344 |
+
- 字典:使用字典可以绘制多条水平和垂直增强线。此外,还可以设置线条的样式。字典可以包含以下键:
|
| 1345 |
+
- hline:绘制水平线的偏移量。例如,偏移量为2表示在矩阵的第2行之后绘制一条水平线。可以传入单个整数用于绘制一条线,或是传入整数数组绘制多条线。和单个数字的规则一样,负数从末尾开始计数。
|
| 1346 |
+
- vline:绘制竖直线的偏移量。例如,偏移量为2表示在矩阵的第2列之后绘制一条竖直线。可以传入单个整数用于绘制一条线,或是传入整数数组绘制多条线。和单个数字的规则一样,负数从末尾开始计数。
|
| 1347 |
+
- stroke:线条的描边样式。若设置为auto,则线条粗细为0.05em,且线帽为方形。
|
| 1348 |
+
#table(
|
| 1349 |
+
columns: (1fr,1fr),
|
| 1350 |
+
align: (left,left),
|
| 1351 |
+
stroke: none,
|
| 1352 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 1353 |
+
[
|
| 1354 |
+
```typ
|
| 1355 |
+
#set math.mat(delim: "[")
|
| 1356 |
+
$ mat(1, 2; 3, 4) $
|
| 1357 |
+
```
|
| 1358 |
+
],[
|
| 1359 |
+
#set align(horizon)
|
| 1360 |
+
#image("images/5045.png",width: auto)
|
| 1361 |
+
]
|
| 1362 |
+
)
|
| 1363 |
+
#table(
|
| 1364 |
+
columns: (1fr,1fr),
|
| 1365 |
+
align: (left,left),
|
| 1366 |
+
stroke: none,
|
| 1367 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 1368 |
+
[
|
| 1369 |
+
```typ
|
| 1370 |
+
$ mat(1, 0, 1; 0, 1, 2; augment: #2) $
|
| 1371 |
+
// Equivalent to:
|
| 1372 |
+
$ mat(1, 0, 1; 0, 1, 2; augment: #(-1)) $
|
| 1373 |
+
|
| 1374 |
+
```
|
| 1375 |
+
],[
|
| 1376 |
+
#set align(horizon)
|
| 1377 |
+
#image("images/5046.png",width: auto)
|
| 1378 |
+
]
|
| 1379 |
+
)
|
| 1380 |
+
#table(
|
| 1381 |
+
columns: 1fr,
|
| 1382 |
+
align: left,
|
| 1383 |
+
stroke: none,
|
| 1384 |
+
[
|
| 1385 |
+
```typ
|
| 1386 |
+
$ mat(0, 0, 0; 1, 1, 1; augment: #(hline: 1, stroke: 2pt + green)) $
|
| 1387 |
+
```
|
| 1388 |
+
],
|
| 1389 |
+
[
|
| 1390 |
+
#set quote(block: true)
|
| 1391 |
+
#show quote: set align(center)
|
| 1392 |
+
#rect(
|
| 1393 |
+
fill: luma(240),
|
| 1394 |
+
width: 100%,
|
| 1395 |
+
height: auto,
|
| 1396 |
+
quote[
|
| 1397 |
+
#image("images/5047.png",width: 80%)
|
| 1398 |
+
]
|
| 1399 |
+
)
|
| 1400 |
+
]
|
| 1401 |
+
)
|
| 1402 |
+
- *gap*: relative
|
| 1403 |
+
行与列之间的间距。默认值:```typc 0%+0pt```。
|
| 1404 |
+
|
| 1405 |
+
这是将行间距和列间距设置为相同值的简写方式。
|
| 1406 |
+
#table(
|
| 1407 |
+
columns: (1fr,1fr),
|
| 1408 |
+
align: (left,left),
|
| 1409 |
+
stroke: none,
|
| 1410 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 1411 |
+
[
|
| 1412 |
+
```typ
|
| 1413 |
+
#set math.mat(gap: 1em)
|
| 1414 |
+
$ mat(1, 2; 3, 4) $
|
| 1415 |
+
```
|
| 1416 |
+
],[
|
| 1417 |
+
#set align(horizon)
|
| 1418 |
+
#image("images/5048.png",width: auto)
|
| 1419 |
+
]
|
| 1420 |
+
)
|
| 1421 |
+
- *row-gap*: relative
|
| 1422 |
+
行间距。默认值:```typc 0%+0.2em```。
|
| 1423 |
+
#table(
|
| 1424 |
+
columns: (1fr,1fr),
|
| 1425 |
+
align: (left,left),
|
| 1426 |
+
stroke: none,
|
| 1427 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 1428 |
+
[
|
| 1429 |
+
```typ
|
| 1430 |
+
#set math.mat(row-gap: 1em)
|
| 1431 |
+
$ mat(1, 2; 3, 4) $
|
| 1432 |
+
```
|
| 1433 |
+
],[
|
| 1434 |
+
#set align(horizon)
|
| 1435 |
+
#image("images/5049.png",width: auto)
|
| 1436 |
+
]
|
| 1437 |
+
)
|
| 1438 |
+
- *column-gap*: relative
|
| 1439 |
+
列之间的间距。默认值:```typc 0%+0.5em```。
|
| 1440 |
+
#table(
|
| 1441 |
+
columns: (1fr,1fr),
|
| 1442 |
+
align: (left,left),
|
| 1443 |
+
stroke: none,
|
| 1444 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 1445 |
+
[
|
| 1446 |
+
```typ
|
| 1447 |
+
#set math.mat(column-gap: 1em)
|
| 1448 |
+
$ mat(1, 2; 3, 4) $
|
| 1449 |
+
```
|
| 1450 |
+
],[
|
| 1451 |
+
#set align(horizon)
|
| 1452 |
+
#image("images/5050.png",width: auto)
|
| 1453 |
+
]
|
| 1454 |
+
)
|
| 1455 |
+
- *rows*: array
|
| 1456 |
+
由矩阵各行构成的数组的数组。
|
| 1457 |
+
#table(
|
| 1458 |
+
columns: (1fr,1fr),
|
| 1459 |
+
align: (left,left),
|
| 1460 |
+
stroke: none,
|
| 1461 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 1462 |
+
[
|
| 1463 |
+
```typ
|
| 1464 |
+
#let data = ((1, 2, 3), (4, 5, 6))
|
| 1465 |
+
#let matrix = math.mat(..data)
|
| 1466 |
+
$ v := matrix $
|
| 1467 |
+
```
|
| 1468 |
+
],[
|
| 1469 |
+
#set align(horizon)
|
| 1470 |
+
#image("images/5051.png",width: auto)
|
| 1471 |
+
]
|
| 1472 |
+
)
|
| 1473 |
+
== 撇号(primes)<primes>
|
| 1474 |
+
成组撇号。
|
| 1475 |
+
|
| 1476 |
+
#table(
|
| 1477 |
+
columns: (1fr,1fr),
|
| 1478 |
+
align: (left,left),
|
| 1479 |
+
stroke: none,
|
| 1480 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 1481 |
+
[
|
| 1482 |
+
```typ
|
| 1483 |
+
$ a'''_b = a^'''_b $
|
| 1484 |
+
```
|
| 1485 |
+
],[
|
| 1486 |
+
#set align(horizon)
|
| 1487 |
+
#image("images/5052.png",width: auto)
|
| 1488 |
+
]
|
| 1489 |
+
)
|
| 1490 |
+
=== 语法(Syntax)
|
| 1491 |
+
该函数有专用语法:使用撇号而非撇标记。它们会自动附着在前一个元素上,将上标提升至下一级。
|
| 1492 |
+
=== 参数(Parameters)
|
| 1493 |
+
```typc
|
| 1494 |
+
primes(count:int) → content
|
| 1495 |
+
```
|
| 1496 |
+
- *count*: int
|
| 1497 |
+
分组素数的数量
|
| 1498 |
+
#table(
|
| 1499 |
+
columns: (1fr,1fr),
|
| 1500 |
+
align: (left,left),
|
| 1501 |
+
stroke: none,
|
| 1502 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 1503 |
+
[
|
| 1504 |
+
```typ
|
| 1505 |
+
#math.primes(5)
|
| 1506 |
+
```
|
| 1507 |
+
],[
|
| 1508 |
+
#set align(horizon)
|
| 1509 |
+
#math.primes(5)
|
| 1510 |
+
]
|
| 1511 |
+
)
|
| 1512 |
+
|
| 1513 |
+
== 根式(roots)<roots>
|
| 1514 |
+
平方根与非平方根。
|
| 1515 |
+
=== 示例(Example)
|
| 1516 |
+
#table(
|
| 1517 |
+
columns: (1fr,1fr),
|
| 1518 |
+
align: (left,left),
|
| 1519 |
+
stroke: none,
|
| 1520 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 1521 |
+
[
|
| 1522 |
+
```typ
|
| 1523 |
+
$ sqrt(3 - 2 sqrt(2)) = sqrt(2) - 1 $
|
| 1524 |
+
$ root(3, x) $
|
| 1525 |
+
|
| 1526 |
+
```
|
| 1527 |
+
],[
|
| 1528 |
+
#set align(horizon)
|
| 1529 |
+
#image("images/5053.png",width: auto)
|
| 1530 |
+
]
|
| 1531 |
+
)
|
| 1532 |
+
=== 函数(Functions)
|
| 1533 |
+
- *root*<roots_root>
|
| 1534 |
+
一般根号。
|
| 1535 |
+
#table(
|
| 1536 |
+
columns: (1fr,1fr),
|
| 1537 |
+
align: (left,left),
|
| 1538 |
+
stroke: none,
|
| 1539 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 1540 |
+
[
|
| 1541 |
+
```typ
|
| 1542 |
+
$ root(3, x) $
|
| 1543 |
+
```
|
| 1544 |
+
],[
|
| 1545 |
+
#set align(horizon)
|
| 1546 |
+
#image("images/5054.png",width: auto)
|
| 1547 |
+
]
|
| 1548 |
+
)
|
| 1549 |
+
```typc
|
| 1550 |
+
math.root(
|
| 1551 |
+
index: none content,
|
| 1552 |
+
radicand: content,
|
| 1553 |
+
) → content
|
| 1554 |
+
```
|
| 1555 |
+
-- *index*: none content
|
| 1556 |
+
|
| 1557 |
+
选取被开���数的哪一个根。默认值:```typc none```。
|
| 1558 |
+
|
| 1559 |
+
-- *radicand*: content
|
| 1560 |
+
|
| 1561 |
+
待求根的表达式。
|
| 1562 |
+
- *sqrt*
|
| 1563 |
+
平方根。
|
| 1564 |
+
#table(
|
| 1565 |
+
columns: (1fr,1fr),
|
| 1566 |
+
align: (left,left),
|
| 1567 |
+
stroke: none,
|
| 1568 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 1569 |
+
[
|
| 1570 |
+
```typ
|
| 1571 |
+
$ sqrt(3 - 2 sqrt(2)) = sqrt(2) - 1 $
|
| 1572 |
+
```
|
| 1573 |
+
],[
|
| 1574 |
+
#set align(horizon)
|
| 1575 |
+
#image("images/5055.png",width: auto)
|
| 1576 |
+
]
|
| 1577 |
+
)
|
| 1578 |
+
```typc
|
| 1579 |
+
math.sqrt(radicand: content) → content
|
| 1580 |
+
```
|
| 1581 |
+
-- *radicand*: content
|
| 1582 |
+
|
| 1583 |
+
待求平方根的表达式。
|
| 1584 |
+
|
| 1585 |
+
== 尺寸(Sizes)<Sizes>
|
| 1586 |
+
公式内表达式的强制尺寸样式。
|
| 1587 |
+
|
| 1588 |
+
这些函数支持手动设置公式元素的大小,使其效果与行间公式/行内公式一致,或是匹配在根式、上标或下标中使用时的显示效果。
|
| 1589 |
+
=== 函数(Functions)
|
| 1590 |
+
- *display*
|
| 1591 |
+
数学中的强制显示样式。
|
| 1592 |
+
|
| 1593 |
+
这是块方程式的标准大小。
|
| 1594 |
+
#table(
|
| 1595 |
+
columns: (1fr,1fr),
|
| 1596 |
+
align: (left,left),
|
| 1597 |
+
stroke: none,
|
| 1598 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 1599 |
+
[
|
| 1600 |
+
```typ
|
| 1601 |
+
$sum_i x_i/2 = display(sum_i x_i/2)$
|
| 1602 |
+
```
|
| 1603 |
+
],[
|
| 1604 |
+
#set align(horizon)
|
| 1605 |
+
#image("images/5056.png",width: auto)
|
| 1606 |
+
]
|
| 1607 |
+
)
|
| 1608 |
+
```typc
|
| 1609 |
+
math.display(
|
| 1610 |
+
body: content,
|
| 1611 |
+
cramped: bool,
|
| 1612 |
+
) → content
|
| 1613 |
+
```
|
| 1614 |
+
-- *body*: content
|
| 1615 |
+
|
| 1616 |
+
待确定尺寸的内容。
|
| 1617 |
+
|
| 1618 |
+
-- *cramped*: bool
|
| 1619 |
+
|
| 1620 |
+
是否对指数设置高度限制,就像普通下标和上标那样。默认值:```typc false```。
|
| 1621 |
+
|
| 1622 |
+
- *inline*
|
| 1623 |
+
数学中的强制行内(文本)样式。
|
| 1624 |
+
|
| 1625 |
+
这是行内公式的标准大小。
|
| 1626 |
+
#table(
|
| 1627 |
+
columns: (1fr,1fr),
|
| 1628 |
+
align: (left,left),
|
| 1629 |
+
stroke: none,
|
| 1630 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 1631 |
+
[
|
| 1632 |
+
```typ
|
| 1633 |
+
$ sum_i x_i/2
|
| 1634 |
+
= inline(sum_i x_i/2) $
|
| 1635 |
+
```
|
| 1636 |
+
],[
|
| 1637 |
+
#set align(horizon)
|
| 1638 |
+
#image("images/5057.png",width: auto)
|
| 1639 |
+
]
|
| 1640 |
+
)
|
| 1641 |
+
```typc
|
| 1642 |
+
math.inline(
|
| 1643 |
+
body: content,
|
| 1644 |
+
cramped: bool,
|
| 1645 |
+
) → content
|
| 1646 |
+
```
|
| 1647 |
+
|
| 1648 |
+
-- *body*: content
|
| 1649 |
+
|
| 1650 |
+
调整内容尺寸。
|
| 1651 |
+
|
| 1652 |
+
-- *cramped*: bool
|
| 1653 |
+
|
| 1654 |
+
是否要为指数设置高度限制,就像普通下标和上标那样。默认值:```typc false```。
|
| 1655 |
+
|
| 1656 |
+
- *script*
|
| 1657 |
+
数学中的强制脚本样式。
|
| 1658 |
+
|
| 1659 |
+
这是用于幂运算或上下标的小字号。
|
| 1660 |
+
#table(
|
| 1661 |
+
columns: (1fr,1fr),
|
| 1662 |
+
align: (left,left),
|
| 1663 |
+
stroke: none,
|
| 1664 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 1665 |
+
[
|
| 1666 |
+
```typ
|
| 1667 |
+
$sum_i x_i/2 = script(sum_i x_i/2)$
|
| 1668 |
+
```
|
| 1669 |
+
],[
|
| 1670 |
+
#set align(horizon)
|
| 1671 |
+
#image("images/5058.png",width: auto)
|
| 1672 |
+
]
|
| 1673 |
+
)
|
| 1674 |
+
```typc
|
| 1675 |
+
math.script(
|
| 1676 |
+
body: content,
|
| 1677 |
+
cramped: bool,
|
| 1678 |
+
) → content
|
| 1679 |
+
```
|
| 1680 |
+
|
| 1681 |
+
-- *body*: content
|
| 1682 |
+
|
| 1683 |
+
调整内容尺寸。
|
| 1684 |
+
|
| 1685 |
+
-- *cramped*: bool
|
| 1686 |
+
|
| 1687 |
+
是否对指数施加高度限制,就像普通下标和上标那样。默认值:```typc true```。
|
| 1688 |
+
|
| 1689 |
+
- *sscript*
|
| 1690 |
+
数学中的强制二级脚本样式。
|
| 1691 |
+
|
| 1692 |
+
这是最小字号,用于二级上下标(脚本的脚本)。
|
| 1693 |
+
#table(
|
| 1694 |
+
columns: (1fr,1fr),
|
| 1695 |
+
align: (left,left),
|
| 1696 |
+
stroke: none,
|
| 1697 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 1698 |
+
[
|
| 1699 |
+
```typ
|
| 1700 |
+
$sum_i x_i/2 = sscript(sum_i x_i/2)$
|
| 1701 |
+
```
|
| 1702 |
+
],[
|
| 1703 |
+
#set align(horizon)
|
| 1704 |
+
#image("images/5059.png",width: auto)
|
| 1705 |
+
]
|
| 1706 |
+
)
|
| 1707 |
+
```typc
|
| 1708 |
+
math.sscript(
|
| 1709 |
+
body: content,
|
| 1710 |
+
cramped: bool,
|
| 1711 |
+
) → content
|
| 1712 |
+
```
|
| 1713 |
+
|
| 1714 |
+
-- *body*: content
|
| 1715 |
+
|
| 1716 |
+
调整内容尺寸。
|
| 1717 |
+
|
| 1718 |
+
-- *cramped*: bool
|
| 1719 |
+
|
| 1720 |
+
是否对指数施加高度限制,就像普通下标和上标那样。默认值:```typc true```。
|
| 1721 |
+
|
| 1722 |
+
== 拉伸(stretch)<stretch>
|
| 1723 |
+
拉伸字形。
|
| 1724 |
+
|
| 1725 |
+
该函数还可用于自动拉伸附加符号的基底,使其与上下方的附加符号相适配。
|
| 1726 |
+
|
| 1727 |
+
请注意,仅有部分字形支持拉伸,具体哪些字形取决于所使用的数学字体。不过,大多数数学字体在这方面的表现是一致的。
|
| 1728 |
+
#table(
|
| 1729 |
+
columns: 1fr,
|
| 1730 |
+
align: left,
|
| 1731 |
+
stroke: none,
|
| 1732 |
+
[
|
| 1733 |
+
```typ
|
| 1734 |
+
$ H stretch(=)^"define" U + p V $
|
| 1735 |
+
$ f : X stretch(->>, size: #150%)_"surjective" Y $
|
| 1736 |
+
$ x stretch(harpoons.ltrb, size: #3em) y
|
| 1737 |
+
stretch(\[, size: #150%) z $
|
| 1738 |
+
```
|
| 1739 |
+
],
|
| 1740 |
+
[
|
| 1741 |
+
#set quote(block: true)
|
| 1742 |
+
#show quote: set align(center)
|
| 1743 |
+
#rect(
|
| 1744 |
+
fill: luma(240),
|
| 1745 |
+
width: 100%,
|
| 1746 |
+
height: auto,
|
| 1747 |
+
quote[
|
| 1748 |
+
#image("images/5060.png",width: 80%)
|
| 1749 |
+
]
|
| 1750 |
+
)
|
| 1751 |
+
]
|
| 1752 |
+
)
|
| 1753 |
+
=== 参数(Parameters)
|
| 1754 |
+
```typc
|
| 1755 |
+
stretch(
|
| 1756 |
+
body: content,
|
| 1757 |
+
size: relative,
|
| 1758 |
+
) → content
|
| 1759 |
+
```
|
| 1760 |
+
- *body*: content
|
| 1761 |
+
要拉伸的字形。
|
| 1762 |
+
- *size*: relative
|
| 1763 |
+
要拉伸到的尺寸,相对于字形及其附属元素的最大尺寸。默认值:```typc 100%+0pt```。
|
| 1764 |
+
|
| 1765 |
+
请注意,最终生成的字形可能无法达到所需的精确尺寸。经过拉伸的字形可以是预定义字形,也可以是由字体提供的基础组件拼接而成的字形。可用尺寸不一定覆盖全部区间。在下方示例中,当尺寸参数从101%增加至200%时,所选用的字形保持不变,因此实际尺寸不会发生变化。
|
| 1766 |
+
|
| 1767 |
+
#table(
|
| 1768 |
+
columns: 1fr,
|
| 1769 |
+
align: left,
|
| 1770 |
+
stroke: none,
|
| 1771 |
+
[
|
| 1772 |
+
```typ
|
| 1773 |
+
#for size in (
|
| 1774 |
+
100%, // short
|
| 1775 |
+
101%, 200%, // tall
|
| 1776 |
+
201%, 300%, 400%, 500%, 600%, // taller
|
| 1777 |
+
) {
|
| 1778 |
+
$stretch(integral, size: #size)$
|
| 1779 |
+
}
|
| 1780 |
+
```
|
| 1781 |
+
],
|
| 1782 |
+
[
|
| 1783 |
+
#set quote(block: true)
|
| 1784 |
+
#show quote: set align(center)
|
| 1785 |
+
#rect(
|
| 1786 |
+
fill: luma(240),
|
| 1787 |
+
width: 100%,
|
| 1788 |
+
height: auto,
|
| 1789 |
+
quote[
|
| 1790 |
+
#image("images/5061.png",width: 80%)
|
| 1791 |
+
]
|
| 1792 |
+
)
|
| 1793 |
+
]
|
| 1794 |
+
)
|
| 1795 |
+
|
| 1796 |
+
== 样式(Styles)<math_Styles>
|
| 1797 |
+
公式内的备选字母字形。
|
| 1798 |
+
|
| 1799 |
+
这些函数与文本函数不同,因为数学字体中每个字母都包含多种变体。
|
| 1800 |
+
|
| 1801 |
+
=== 函数(Functions)
|
| 1802 |
+
- upright<math_Styles_upright>
|
| 1803 |
+
数学中的正体(非斜体)字体样式。
|
| 1804 |
+
#table(
|
| 1805 |
+
columns: (1fr,1fr),
|
| 1806 |
+
align: (left,left),
|
| 1807 |
+
stroke: none,
|
| 1808 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 1809 |
+
[
|
| 1810 |
+
```typ
|
| 1811 |
+
$ upright(A) != A $
|
| 1812 |
+
```
|
| 1813 |
+
],[
|
| 1814 |
+
#set align(horizon)
|
| 1815 |
+
#image("images/5062.png",width: auto)
|
| 1816 |
+
]
|
| 1817 |
+
)
|
| 1818 |
+
|
| 1819 |
+
```typc
|
| 1820 |
+
math.upright(body: content) → content
|
| 1821 |
+
```
|
| 1822 |
+
-- *body*: content
|
| 1823 |
+
|
| 1824 |
+
需要设置样式的内容。
|
| 1825 |
+
|
| 1826 |
+
- *italic*
|
| 1827 |
+
数学中的斜体字体样式。
|
| 1828 |
+
|
| 1829 |
+
对于罗马字母和希腊小写字母,这已经是默认设置。
|
| 1830 |
+
|
| 1831 |
+
```typc
|
| 1832 |
+
math.italic(body: content) → content
|
| 1833 |
+
```
|
| 1834 |
+
-- *body*: content
|
| 1835 |
+
|
| 1836 |
+
需要设置样式的内容。
|
| 1837 |
+
|
| 1838 |
+
- *bold*
|
| 1839 |
+
数学中的粗体字体样式。
|
| 1840 |
+
#table(
|
| 1841 |
+
columns: (1fr,1fr),
|
| 1842 |
+
align: (left,left),
|
| 1843 |
+
stroke: none,
|
| 1844 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 1845 |
+
[
|
| 1846 |
+
```typ
|
| 1847 |
+
$ bold(A) := B^+ $
|
| 1848 |
+
```
|
| 1849 |
+
],[
|
| 1850 |
+
#set align(horizon)
|
| 1851 |
+
#image("images/5063.png",width: auto)
|
| 1852 |
+
]
|
| 1853 |
+
)
|
| 1854 |
+
```typc
|
| 1855 |
+
math.bold(body: content) → content
|
| 1856 |
+
```
|
| 1857 |
+
-- *body*: content
|
| 1858 |
+
|
| 1859 |
+
需要设置样式的内容。
|
| 1860 |
+
|
| 1861 |
+
== 文本运算符(op)<op>
|
| 1862 |
+
方程中的文本运算符
|
| 1863 |
+
=== 示例(Example)
|
| 1864 |
+
#table(
|
| 1865 |
+
columns: (1fr,1fr),
|
| 1866 |
+
align: (left,left),
|
| 1867 |
+
stroke: none,
|
| 1868 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 1869 |
+
[
|
| 1870 |
+
```typ
|
| 1871 |
+
$ tan x = (sin x)/(cos x) $
|
| 1872 |
+
$ op("custom",
|
| 1873 |
+
limits: #true)_(n->oo) n $
|
| 1874 |
+
```
|
| 1875 |
+
],[
|
| 1876 |
+
#set align(horizon)
|
| 1877 |
+
#image("images/5064.png",width: auto)
|
| 1878 |
+
]
|
| 1879 |
+
)
|
| 1880 |
+
=== 预定义运算符(Predefined Operators)
|
| 1881 |
+
Typst
|
| 1882 |
+
预定义运算符:arccos、arcsin、arctan、arg、cos、cosh、cot、coth、csc、csch、ctg、deg、det、dim、exp、gcd、lcm、hom、id、im、inf、ker、lg、lim、liminf、limsup、ln、log、max、min、mod、Pr、sec、sech、sin、sinc、sinh、sup、tan、tanh、tg
|
| 1883 |
+
和 tr。
|
| 1884 |
+
|
| 1885 |
+
=== 参数(Parameters)
|
| 1886 |
+
```typc
|
| 1887 |
+
op(
|
| 1888 |
+
text: content,
|
| 1889 |
+
limits: bool,
|
| 1890 |
+
) → content
|
| 1891 |
+
```
|
| 1892 |
+
- *text*: content
|
| 1893 |
+
运算符文本。
|
| 1894 |
+
- *limits*: bool,
|
| 1895 |
+
运算符是否应在显示模式中将附件显示为limits项。默认值:```typc false```。
|
| 1896 |
+
|
| 1897 |
+
== 低于/高于(Under/Over)<Under_Over>
|
| 1898 |
+
可在方程式局部的上方或下方添加分隔符。
|
| 1899 |
+
|
| 1900 |
+
大括号与方括号还支持在其自身上方或下方添加可选注释。
|
| 1901 |
+
=== 函数(Functions)
|
| 1902 |
+
- *underline*
|
| 1903 |
+
内容下方的一条水平线。
|
| 1904 |
+
#table(
|
| 1905 |
+
columns: (1fr,1fr),
|
| 1906 |
+
align: (left,left),
|
| 1907 |
+
stroke: none,
|
| 1908 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 1909 |
+
[
|
| 1910 |
+
```typ
|
| 1911 |
+
$ underline(1 + 2 + ... + 5) $
|
| 1912 |
+
```
|
| 1913 |
+
],[
|
| 1914 |
+
#set align(horizon)
|
| 1915 |
+
#image("images/5065.png",width: auto)
|
| 1916 |
+
]
|
| 1917 |
+
)
|
| 1918 |
+
```typ
|
| 1919 |
+
math.underline(body: content) → content
|
| 1920 |
+
```
|
| 1921 |
+
-- *body*: content
|
| 1922 |
+
|
| 1923 |
+
线上方的内容。
|
| 1924 |
+
|
| 1925 |
+
- *overline*
|
| 1926 |
+
内容下方的一条水平线。
|
| 1927 |
+
#table(
|
| 1928 |
+
columns: (1fr,1fr),
|
| 1929 |
+
align: (left,left),
|
| 1930 |
+
stroke: none,
|
| 1931 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 1932 |
+
[
|
| 1933 |
+
```typ
|
| 1934 |
+
$ overline(1 + 2 + ... + 5) $
|
| 1935 |
+
```
|
| 1936 |
+
],[
|
| 1937 |
+
#set align(horizon)
|
| 1938 |
+
#image("images/5066.png",width: auto)
|
| 1939 |
+
]
|
| 1940 |
+
)
|
| 1941 |
+
```typ
|
| 1942 |
+
math.overline(body: content) → content
|
| 1943 |
+
```
|
| 1944 |
+
-- *body*: content
|
| 1945 |
+
|
| 1946 |
+
线下方的内容。
|
| 1947 |
+
|
| 1948 |
+
- *underbrace*
|
| 1949 |
+
内容下方的一条水平线。
|
| 1950 |
+
#table(
|
| 1951 |
+
columns: (1fr,1fr),
|
| 1952 |
+
align: (left,left),
|
| 1953 |
+
stroke: none,
|
| 1954 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 1955 |
+
[
|
| 1956 |
+
```typ
|
| 1957 |
+
$ underbrace(1 + 2 + ... + 5, n + 1 "numbers") $
|
| 1958 |
+
```
|
| 1959 |
+
],[
|
| 1960 |
+
#set align(horizon)
|
| 1961 |
+
#image("images/5067.png",width: auto)
|
| 1962 |
+
]
|
| 1963 |
+
)
|
| 1964 |
+
```typ
|
| 1965 |
+
math.underbrace(
|
| 1966 |
+
body: content,
|
| 1967 |
+
annotation: none content,
|
| 1968 |
+
) → content
|
| 1969 |
+
```
|
| 1970 |
+
-- *body*: content
|
| 1971 |
+
|
| 1972 |
+
大括号上方的内容。
|
| 1973 |
+
|
| 1974 |
+
-- *annotation*: none content
|
| 1975 |
+
|
| 1976 |
+
大括号下方的可选内容。默认值:```typc none```。
|
| 1977 |
+
|
| 1978 |
+
- *overbrace*
|
| 1979 |
+
内容下方的一条水平线。
|
| 1980 |
+
#table(
|
| 1981 |
+
columns: 1fr,
|
| 1982 |
+
align: left,
|
| 1983 |
+
stroke: none,
|
| 1984 |
+
fill: luma(86.27%),
|
| 1985 |
+
[
|
| 1986 |
+
```typ
|
| 1987 |
+
$ overbrace(0 + 1 + dots.c + n, n + 1 "numbers") $
|
| 1988 |
+
```
|
| 1989 |
+
],[
|
| 1990 |
+
#set align(horizon)
|
| 1991 |
+
#image("images/5068.png",width: auto)
|
| 1992 |
+
]
|
| 1993 |
+
)
|
| 1994 |
+
```typ
|
| 1995 |
+
math.overbrace(
|
| 1996 |
+
body: content,
|
| 1997 |
+
annotation: none content,
|
| 1998 |
+
) → content
|
| 1999 |
+
```
|
| 2000 |
+
-- *body*: content
|
| 2001 |
+
|
| 2002 |
+
大括号下方的内容。
|
| 2003 |
+
|
| 2004 |
+
-- *annotation*: none content
|
| 2005 |
+
|
| 2006 |
+
大括号上方的可选内容。默认值:```typc none```。
|
| 2007 |
+
|
| 2008 |
+
- *underbracket*
|
| 2009 |
+
内容下方的水平方括号,括号下方可附带可选注释。
|
| 2010 |
+
#table(
|
| 2011 |
+
columns: 1fr,
|
| 2012 |
+
align: left,
|
| 2013 |
+
stroke: none,
|
| 2014 |
+
fill: luma(86.27%),
|
| 2015 |
+
[
|
| 2016 |
+
```typ
|
| 2017 |
+
$ underbrace(0 + 1 + dots.c + n, n + 1 "numbers") $
|
| 2018 |
+
```
|
| 2019 |
+
],[
|
| 2020 |
+
#set align(horizon)
|
| 2021 |
+
#image("images/5069.png",width: auto)
|
| 2022 |
+
]
|
| 2023 |
+
)
|
| 2024 |
+
```typ
|
| 2025 |
+
math.underbracket(
|
| 2026 |
+
body: content,
|
| 2027 |
+
annotation: none content,
|
| 2028 |
+
) → content
|
| 2029 |
+
```
|
| 2030 |
+
-- *body*: content
|
| 2031 |
+
|
| 2032 |
+
方括号上方的内容。
|
| 2033 |
+
|
| 2034 |
+
-- *annotation*: none content
|
| 2035 |
+
|
| 2036 |
+
方括号下方的可选内容。
|
| 2037 |
+
|
| 2038 |
+
- *overbracket*
|
| 2039 |
+
在内容上方添加水平方括号,可在上方附带可选注释。默认值:```typc none```。
|
| 2040 |
+
#table(
|
| 2041 |
+
columns: 1fr,
|
| 2042 |
+
align: left,
|
| 2043 |
+
stroke: none,
|
| 2044 |
+
fill: luma(86.27%),
|
| 2045 |
+
[
|
| 2046 |
+
```typ
|
| 2047 |
+
$ overbracket(0 + 1 + dots.c + n, n + 1 "numbers") $
|
| 2048 |
+
```
|
| 2049 |
+
],[
|
| 2050 |
+
#set align(horizon)
|
| 2051 |
+
#image("images/5070.png",width: auto)
|
| 2052 |
+
]
|
| 2053 |
+
)
|
| 2054 |
+
```typ
|
| 2055 |
+
math.overbracket(
|
| 2056 |
+
body: content,
|
| 2057 |
+
annotation: none content,
|
| 2058 |
+
) → content
|
| 2059 |
+
```
|
| 2060 |
+
-- *body*: content
|
| 2061 |
+
|
| 2062 |
+
方括号下方的内容。
|
| 2063 |
+
|
| 2064 |
+
-- *annotation*: none content
|
| 2065 |
+
|
| 2066 |
+
方括号上方的可选内容。默认值:```typc none```。
|
| 2067 |
+
|
| 2068 |
+
- *underparen*
|
| 2069 |
+
内容下方的水平圆括号,圆括号下方可附带可选注释。
|
| 2070 |
+
#table(
|
| 2071 |
+
columns: 1fr,
|
| 2072 |
+
align: left,
|
| 2073 |
+
stroke: none,
|
| 2074 |
+
fill: luma(86.27%),
|
| 2075 |
+
[
|
| 2076 |
+
```typ
|
| 2077 |
+
$ underparen(0 + 1 + dots.c + n, n + 1 "numbers") $
|
| 2078 |
+
```
|
| 2079 |
+
],[
|
| 2080 |
+
#set align(horizon)
|
| 2081 |
+
#image("images/5071.png",width: auto)
|
| 2082 |
+
]
|
| 2083 |
+
)
|
| 2084 |
+
```typ
|
| 2085 |
+
math.underparen(
|
| 2086 |
+
body: content,
|
| 2087 |
+
annotation: none content,
|
| 2088 |
+
) → content
|
| 2089 |
+
```
|
| 2090 |
+
-- *body*: content
|
| 2091 |
+
|
| 2092 |
+
圆括号上方的内容。
|
| 2093 |
+
|
| 2094 |
+
-- *annotation*: none content
|
| 2095 |
+
|
| 2096 |
+
圆括号下方的可选内容。默认值:```typc none```。
|
| 2097 |
+
|
| 2098 |
+
- *overparen*
|
| 2099 |
+
在内容上方添加水平圆括号,可在上方附带可选注释。
|
| 2100 |
+
#table(
|
| 2101 |
+
columns: 1fr,
|
| 2102 |
+
align: left,
|
| 2103 |
+
stroke: none,
|
| 2104 |
+
fill: luma(86.27%),
|
| 2105 |
+
[
|
| 2106 |
+
```typ
|
| 2107 |
+
$ overparen(0 + 1 + dots.c + n, n + 1 "numbers") $
|
| 2108 |
+
|
| 2109 |
+
```
|
| 2110 |
+
],[
|
| 2111 |
+
#set align(horizon)
|
| 2112 |
+
#image("images/5072.png",width: auto)
|
| 2113 |
+
]
|
| 2114 |
+
)
|
| 2115 |
+
```typ
|
| 2116 |
+
math.overparen(
|
| 2117 |
+
body: content,
|
| 2118 |
+
annotation: none content,
|
| 2119 |
+
) → content
|
| 2120 |
+
```
|
| 2121 |
+
-- *body*: content
|
| 2122 |
+
|
| 2123 |
+
圆括号下方的内容。
|
| 2124 |
+
|
| 2125 |
+
-- *annotation*: none content
|
| 2126 |
+
|
| 2127 |
+
圆括号上方的可选内容。默认值:```typc none```。
|
| 2128 |
+
|
| 2129 |
+
- *undershell*
|
| 2130 |
+
内容下方设置横向龟壳形托架,托架下方可附加注释。
|
| 2131 |
+
#table(
|
| 2132 |
+
columns: 1fr,
|
| 2133 |
+
align: left,
|
| 2134 |
+
stroke: none,
|
| 2135 |
+
fill: luma(86.27%),
|
| 2136 |
+
[
|
| 2137 |
+
```typ
|
| 2138 |
+
$ undershell(0 + 1 + dots.c + n, n + 1 "numbers") $
|
| 2139 |
+
```
|
| 2140 |
+
],[
|
| 2141 |
+
#set align(horizon)
|
| 2142 |
+
#image("images/5073.png",width: auto)
|
| 2143 |
+
]
|
| 2144 |
+
)
|
| 2145 |
+
```typ
|
| 2146 |
+
math.undershell(
|
| 2147 |
+
body: content,
|
| 2148 |
+
annotation: none content,
|
| 2149 |
+
) → content
|
| 2150 |
+
```
|
| 2151 |
+
-- *body*: content
|
| 2152 |
+
|
| 2153 |
+
龟甲支架上方的内容。
|
| 2154 |
+
|
| 2155 |
+
-- *annotation*: none content
|
| 2156 |
+
|
| 2157 |
+
龟甲支架下方的可选内容。默认值:```typc none```。
|
| 2158 |
+
|
| 2159 |
+
- *overshell*
|
| 2160 |
+
内容上方设置横向龟壳形托架,托架下方可附加注释。
|
| 2161 |
+
#table(
|
| 2162 |
+
columns: 1fr,
|
| 2163 |
+
align: left,
|
| 2164 |
+
stroke: none,
|
| 2165 |
+
fill: luma(86.27%),
|
| 2166 |
+
[
|
| 2167 |
+
```typ
|
| 2168 |
+
$ overshell(0 + 1 + dots.c + n, n + 1 "numbers") $
|
| 2169 |
+
|
| 2170 |
+
```
|
| 2171 |
+
],[
|
| 2172 |
+
#set align(horizon)
|
| 2173 |
+
#image("images/5074.png",width: auto)
|
| 2174 |
+
]
|
| 2175 |
+
)
|
| 2176 |
+
```typ
|
| 2177 |
+
math.overshell(
|
| 2178 |
+
body: content,
|
| 2179 |
+
annotation: none content,
|
| 2180 |
+
) → content
|
| 2181 |
+
```
|
| 2182 |
+
-- *body*: content
|
| 2183 |
+
|
| 2184 |
+
龟甲支架下方的内容。
|
| 2185 |
+
|
| 2186 |
+
-- *annotation*: none content
|
| 2187 |
+
|
| 2188 |
+
龟甲支架上方的可选内容。默认值:```typc none```。
|
| 2189 |
+
|
| 2190 |
+
== 变体(Variants)<Variants>
|
| 2191 |
+
|
| 2192 |
+
在公式中使用不同的字体。
|
| 2193 |
+
|
| 2194 |
+
这些函数与文本函数不同,因为数学字体中的每个字母都包含多种变体。
|
| 2195 |
+
=== 函数(Functions)
|
| 2196 |
+
- *serif*<Variants_serif>
|
| 2197 |
+
数学中的衬线(罗马)字体样式。
|
| 2198 |
+
|
| 2199 |
+
这已经是默认设置。
|
| 2200 |
+
```typ
|
| 2201 |
+
math.serif(body: content) → content
|
| 2202 |
+
```
|
| 2203 |
+
-- *body*: content
|
| 2204 |
+
|
| 2205 |
+
要设置样式的内容。
|
| 2206 |
+
|
| 2207 |
+
- *sans*<Variants_sans>
|
| 2208 |
+
数学中的无衬线字体样式。
|
| 2209 |
+
#table(
|
| 2210 |
+
columns: (1fr,1fr),
|
| 2211 |
+
align: (left,left),
|
| 2212 |
+
stroke: none,
|
| 2213 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 2214 |
+
[
|
| 2215 |
+
```typ
|
| 2216 |
+
$ sans(A B C) $
|
| 2217 |
+
```
|
| 2218 |
+
],[
|
| 2219 |
+
#set align(horizon)
|
| 2220 |
+
#image("images/5075.png",width: auto)
|
| 2221 |
+
]
|
| 2222 |
+
)
|
| 2223 |
+
```typ
|
| 2224 |
+
math.sans(body: content) → content
|
| 2225 |
+
```
|
| 2226 |
+
-- *body*: content
|
| 2227 |
+
|
| 2228 |
+
要设置样式的内容。
|
| 2229 |
+
|
| 2230 |
+
- *frak*<Variants_frak>
|
| 2231 |
+
数学中的哥特体字体样式。
|
| 2232 |
+
#table(
|
| 2233 |
+
columns: (1fr,1fr),
|
| 2234 |
+
align: (left,left),
|
| 2235 |
+
stroke: none,
|
| 2236 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 2237 |
+
[
|
| 2238 |
+
```typ
|
| 2239 |
+
$ frak(P) $
|
| 2240 |
+
```
|
| 2241 |
+
],[
|
| 2242 |
+
#set align(horizon)
|
| 2243 |
+
#image("images/5076.png",width: auto)
|
| 2244 |
+
]
|
| 2245 |
+
)
|
| 2246 |
+
```typ
|
| 2247 |
+
math.frak(body: content) → content
|
| 2248 |
+
```
|
| 2249 |
+
-- *body*: content
|
| 2250 |
+
|
| 2251 |
+
要设置样式的内容。
|
| 2252 |
+
|
| 2253 |
+
- *mono*<Variants_mono>
|
| 2254 |
+
数学中的等宽字体样式。
|
| 2255 |
+
#table(
|
| 2256 |
+
columns: (1fr,1fr),
|
| 2257 |
+
align: (left,left),
|
| 2258 |
+
stroke: none,
|
| 2259 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 2260 |
+
[
|
| 2261 |
+
```typ
|
| 2262 |
+
$ mono(x + y = z) $
|
| 2263 |
+
```
|
| 2264 |
+
],[
|
| 2265 |
+
#set align(horizon)
|
| 2266 |
+
#image("images/5077.png",width: auto)
|
| 2267 |
+
]
|
| 2268 |
+
)
|
| 2269 |
+
```typ
|
| 2270 |
+
math.mono(body: content) → content
|
| 2271 |
+
```
|
| 2272 |
+
-- *body*: content
|
| 2273 |
+
|
| 2274 |
+
要设置样式的内容。
|
| 2275 |
+
|
| 2276 |
+
- *bb*<Variants_bb>
|
| 2277 |
+
数学中的黑板粗体(双线体)字体样式。
|
| 2278 |
+
|
| 2279 |
+
对于大写拉丁字母,还可通过形如$NN$和$RR$这类符号使用黑板粗体。
|
| 2280 |
+
#table(
|
| 2281 |
+
columns: (1fr,1fr),
|
| 2282 |
+
align: (left,left),
|
| 2283 |
+
stroke: none,
|
| 2284 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 2285 |
+
[
|
| 2286 |
+
```typ
|
| 2287 |
+
$ bb(b) $
|
| 2288 |
+
$ bb(N) = NN $
|
| 2289 |
+
$ f: NN -> RR $
|
| 2290 |
+
```
|
| 2291 |
+
],[
|
| 2292 |
+
#set align(horizon)
|
| 2293 |
+
#image("images/5078.png",width: auto)
|
| 2294 |
+
]
|
| 2295 |
+
)
|
| 2296 |
+
```typ
|
| 2297 |
+
math.bb(body: content) → content
|
| 2298 |
+
```
|
| 2299 |
+
-- *body*: content
|
| 2300 |
+
|
| 2301 |
+
要设置样式的内容。
|
| 2302 |
+
|
| 2303 |
+
- *cal*<Variants_cal>
|
| 2304 |
+
数学中的手写花体(宫廷体)字体样式。
|
| 2305 |
+
#table(
|
| 2306 |
+
columns: (1fr,1fr),
|
| 2307 |
+
align: (left,left),
|
| 2308 |
+
stroke: none,
|
| 2309 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 2310 |
+
[
|
| 2311 |
+
```typ
|
| 2312 |
+
Let $cal(P)$ be the set of ...
|
| 2313 |
+
```
|
| 2314 |
+
],[
|
| 2315 |
+
#set align(horizon)
|
| 2316 |
+
#image("images/5079.png",width: auto)
|
| 2317 |
+
]
|
| 2318 |
+
)
|
| 2319 |
+
```typ
|
| 2320 |
+
math.cal(body: content) → content
|
| 2321 |
+
```
|
| 2322 |
+
-- *body*: content
|
| 2323 |
+
|
| 2324 |
+
要设置样式的内容。
|
| 2325 |
+
|
| 2326 |
+
- *scr*<Variants_scr>
|
| 2327 |
+
数学中的手写花体(圆体)字体样式。
|
| 2328 |
+
|
| 2329 |
+
#table(
|
| 2330 |
+
columns: (1fr,1fr),
|
| 2331 |
+
align: (left,left),
|
| 2332 |
+
stroke: none,
|
| 2333 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 2334 |
+
[
|
| 2335 |
+
```typ
|
| 2336 |
+
$scr(L)$ is not the set of linear
|
| 2337 |
+
maps $cal(L)$.
|
| 2338 |
+
```
|
| 2339 |
+
],[
|
| 2340 |
+
#set align(horizon)
|
| 2341 |
+
#image("images/5080.png",width: auto)
|
| 2342 |
+
]
|
| 2343 |
+
)
|
| 2344 |
+
字体有两种方式可以支持区分大小写。第一种是使用Unicode变体序列。这在Typst中可以直接使用,但目前只有少数数学字体支持这种方式。
|
| 2345 |
+
|
| 2346 |
+
另一种方法是使用字体特性。例如,一种字体可能通过风格集1(ss01)特性提供手写体样式。要在Typst中使用它,你可以像下面的示例一样,定义自己的scr版本。
|
| 2347 |
+
#table(
|
| 2348 |
+
columns: (1fr,1fr),
|
| 2349 |
+
align: (left,left),
|
| 2350 |
+
stroke: none,
|
| 2351 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 2352 |
+
[
|
| 2353 |
+
```typ
|
| 2354 |
+
#let scr(it) = text(
|
| 2355 |
+
stylistic-set: 1,
|
| 2356 |
+
$cal(it)$,
|
| 2357 |
+
)
|
| 2358 |
+
|
| 2359 |
+
We establish $cal(P) != scr(P)$.
|
| 2360 |
+
```
|
| 2361 |
+
],[
|
| 2362 |
+
#set align(horizon)
|
| 2363 |
+
#image("images/5081.png",width: auto)
|
| 2364 |
+
]
|
| 2365 |
+
)
|
| 2366 |
+
```typ
|
| 2367 |
+
math.scr(body: content) → content
|
| 2368 |
+
```
|
| 2369 |
+
-- *body*: content
|
| 2370 |
+
|
| 2371 |
+
要设置样式的内容。
|
| 2372 |
+
|
| 2373 |
+
== 向量(vec)<vec>
|
| 2374 |
+
列向量。
|
| 2375 |
+
|
| 2376 |
+
向量元素中的内容可通过align参数或&符号进行对齐。
|
| 2377 |
+
|
| 2378 |
+
该函数用于排版向量分量。若要排版代表向量的符号,通常使用#link(<accent>)[箭头符号]和#link(<math_Styles>)[粗体]。
|
| 2379 |
+
=== 示例(Example)
|
| 2380 |
+
#table(
|
| 2381 |
+
columns: (1fr,1fr),
|
| 2382 |
+
align: (left,left),
|
| 2383 |
+
stroke: none,
|
| 2384 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 2385 |
+
[
|
| 2386 |
+
```typ
|
| 2387 |
+
$ vec(a, b, c) dot vec(1, 2, 3)
|
| 2388 |
+
= a + 2b + 3c $
|
| 2389 |
+
```
|
| 2390 |
+
],[
|
| 2391 |
+
#set align(horizon)
|
| 2392 |
+
#image("images/5082.png",width: auto)
|
| 2393 |
+
]
|
| 2394 |
+
)
|
| 2395 |
+
=== 参数(Parameters)
|
| 2396 |
+
```typc
|
| 2397 |
+
vec(
|
| 2398 |
+
delim: none str symbol array,
|
| 2399 |
+
align: alignment,
|
| 2400 |
+
gap: relative,
|
| 2401 |
+
children: content,
|
| 2402 |
+
) → content
|
| 2403 |
+
```
|
| 2404 |
+
- *delim*: none str symbol array
|
| 2405 |
+
要使用的分隔符。默认值:```typc ("(",")")```。
|
| 2406 |
+
|
| 2407 |
+
可以是单个字符,用于指定左分隔符,此时会自动推断出右分隔符。也可以是包含左、右分隔符的数组。
|
| 2408 |
+
#table(
|
| 2409 |
+
columns: (1fr,1fr),
|
| 2410 |
+
align: (left,left),
|
| 2411 |
+
stroke: none,
|
| 2412 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 2413 |
+
[
|
| 2414 |
+
```typ
|
| 2415 |
+
#set math.vec(delim: "[")
|
| 2416 |
+
$ vec(1, 2) $
|
| 2417 |
+
```
|
| 2418 |
+
],[
|
| 2419 |
+
#set align(horizon)
|
| 2420 |
+
#image("images/5083.png",width: auto)
|
| 2421 |
+
]
|
| 2422 |
+
)
|
| 2423 |
+
- *align*: alignment
|
| 2424 |
+
每个元素应具备的水平对齐方式。默认值:```typc center```。
|
| 2425 |
+
#table(
|
| 2426 |
+
columns: (1fr,1fr),
|
| 2427 |
+
align: (left,left),
|
| 2428 |
+
stroke: none,
|
| 2429 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 2430 |
+
[
|
| 2431 |
+
```typ
|
| 2432 |
+
#set math.vec(align: right)
|
| 2433 |
+
$ vec(-1, 1, -1) $
|
| 2434 |
+
```
|
| 2435 |
+
],[
|
| 2436 |
+
#set align(horizon)
|
| 2437 |
+
#image("images/5084.png",width: auto)
|
| 2438 |
+
]
|
| 2439 |
+
)
|
| 2440 |
+
- *gap*: relative
|
| 2441 |
+
元素之间的间隙。默认值:```typc 0%+0.2em```。
|
| 2442 |
+
#table(
|
| 2443 |
+
columns: (1fr,1fr),
|
| 2444 |
+
align: (left,left),
|
| 2445 |
+
stroke: none,
|
| 2446 |
+
fill: (rgb(250, 250, 250),luma(86.27%)),
|
| 2447 |
+
[
|
| 2448 |
+
```typ
|
| 2449 |
+
#set math.vec(gap: 1em)
|
| 2450 |
+
$ vec(1, 2) $
|
| 2451 |
+
```
|
| 2452 |
+
],[
|
| 2453 |
+
#set align(horizon)
|
| 2454 |
+
#image("images/5085.png",width: auto)
|
| 2455 |
+
]
|
| 2456 |
+
)
|
| 2457 |
+
- *children*: content
|
| 2458 |
+
向量的元素。
|
chp06.typ
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
chp07.typ
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
chp08.typ
ADDED
|
@@ -0,0 +1,946 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
| 1 |
+
#let rtext(content)={
|
| 2 |
+
text(fill: red,content)
|
| 3 |
+
}
|
| 4 |
+
#let btext(content)={
|
| 5 |
+
text(fill: blue,content)
|
| 6 |
+
}
|
| 7 |
+
= 自省库(Introspection)<introspection>
|
| 8 |
+
文档各部分之间的交互。
|
| 9 |
+
|
| 10 |
+
该类别包含 Typst 的自省功能:通过计数器函数,你可以访问和操作页面、章节、图片及公式计数器,也可以创建自定义计数器。同时,查询函数可用于在文档内检索元素,以此生成图片清单或显示当前章节标题的页眉等内容。
|
| 11 |
+
|
| 12 |
+
大部分函数是依赖上下文的。建议在继续阅读本章内容前,先阅读关于#link(<Context>)[上下文]的章节。
|
| 13 |
+
|
| 14 |
+
== 计数器(counter)<counter>
|
| 15 |
+
可对页面、元素等进行计数。
|
| 16 |
+
|
| 17 |
+
借助计数器功能,你可以访问并修改页面、标题、图片等对象的计数器。此外,你还可以为其他需要统计的内容自定义计数器。
|
| 18 |
+
|
| 19 |
+
计数器的值会在文档编写过程中不断变化,其当前值依赖上下文。建议在继续阅读本节前,先阅读关于#link(<Context>)[上下文]的章节。
|
| 20 |
+
=== 访问计数器(Accessing a counter)<counter_Accessing-a-counter>
|
| 21 |
+
要获取计数器的原始值,可以使用get函数。该函数返回一个数组:计数器可以拥有多个层级(适用于章节、子章节标题等场景),数组中的每一项对应一个层级。
|
| 22 |
+
#table(
|
| 23 |
+
columns: (1fr,1fr),
|
| 24 |
+
stroke: none,
|
| 25 |
+
fill: (rgb(250, 250, 250),luma(95%)),
|
| 26 |
+
[
|
| 27 |
+
```typst
|
| 28 |
+
#set heading(numbering: "1.")
|
| 29 |
+
|
| 30 |
+
= Introduction
|
| 31 |
+
Raw value of heading counter is
|
| 32 |
+
#context counter(heading).get()
|
| 33 |
+
```
|
| 34 |
+
],[
|
| 35 |
+
#set align(horizon)
|
| 36 |
+
#image("images/8001.png",width: 100%)
|
| 37 |
+
]
|
| 38 |
+
)
|
| 39 |
+
=== 显示计数器(Displaying a counter)<counter_Displaying-a-counter>
|
| 40 |
+
通常,我们希望以更易于阅读的方式显示计数器的值。为此,我们可以调用计数器的#link(<counter_display>)[显示]函数。该函数会获取计数器的当前值,并使用提供的编号方案或自动推断的#link(<numbering>)[编号]方案对其进行格式化。
|
| 41 |
+
#table(
|
| 42 |
+
columns: (1fr,1fr),
|
| 43 |
+
stroke: none,
|
| 44 |
+
fill: (rgb(250, 250, 250),luma(95%)),
|
| 45 |
+
[
|
| 46 |
+
```typst
|
| 47 |
+
#set heading(numbering: "1.")
|
| 48 |
+
|
| 49 |
+
= Introduction
|
| 50 |
+
Some text here.
|
| 51 |
+
|
| 52 |
+
= Background
|
| 53 |
+
The current value is: #context {
|
| 54 |
+
counter(heading).display()
|
| 55 |
+
}
|
| 56 |
+
|
| 57 |
+
Or in roman numerals: #context {
|
| 58 |
+
counter(heading).display("I")
|
| 59 |
+
}
|
| 60 |
+
|
| 61 |
+
```
|
| 62 |
+
],[
|
| 63 |
+
#set align(horizon)
|
| 64 |
+
#image("images/8002.png",width: 100%)
|
| 65 |
+
]
|
| 66 |
+
)
|
| 67 |
+
=== 修改计数器(Modifying a counter)<counter_Modifying-a-counter>
|
| 68 |
+
修改计数器可使用step和update方法:
|
| 69 |
+
#set par(hanging-indent: 1.3cm)
|
| 70 |
+
-- step方法将计数器的值加一。由于计数器可存在多个层级,该方法可选择性接收一个层级参数。若传入该参数,计数器将在指定深度执行递增。
|
| 71 |
+
|
| 72 |
+
-- update方法支持对计数器进行任意修改。基础用法中,为它传入一个整数(多层级场景则传入数组)。如需更高灵活性,也可以传入一个函数,该函数接收当前值并返回新值。
|
| 73 |
+
#set par(hanging-indent: 0cm)
|
| 74 |
+
标题计数器会在标题展示前执行递增操作,因此即便第二次更新后计数器值为6,Analysis获取到的数字仍是7。
|
| 75 |
+
#table(
|
| 76 |
+
columns: (1fr,1fr),
|
| 77 |
+
stroke: none,
|
| 78 |
+
fill: (rgb(250, 250, 250),luma(95%)),
|
| 79 |
+
[
|
| 80 |
+
```typst
|
| 81 |
+
#set heading(numbering: "1.")
|
| 82 |
+
|
| 83 |
+
= Introduction
|
| 84 |
+
#counter(heading).step()
|
| 85 |
+
|
| 86 |
+
= Background
|
| 87 |
+
#counter(heading).update(3)
|
| 88 |
+
#counter(heading).update(n => n * 2)
|
| 89 |
+
|
| 90 |
+
= Analysis
|
| 91 |
+
Let's skip 7.1.
|
| 92 |
+
#counter(heading).step(level: 2)
|
| 93 |
+
|
| 94 |
+
== Analysis
|
| 95 |
+
Still at #context {
|
| 96 |
+
counter(heading).display()
|
| 97 |
+
}
|
| 98 |
+
```
|
| 99 |
+
],[
|
| 100 |
+
#set align(horizon)
|
| 101 |
+
#image("images/8003.png",width: 100%)
|
| 102 |
+
]
|
| 103 |
+
)
|
| 104 |
+
=== 元素计数器(Element counters)<counter_Element-counters>
|
| 105 |
+
上文展示了多种使用#link(<heading>)[标题]计数器的示例。标题只是可被计数的一类元素。一般而言,计数器可以对任意#link(<location_Locatable-elements>)[可定位的元素]进行计数。
|
| 106 |
+
|
| 107 |
+
此外,计数器还可以仅统计匹配特定#link(<selector>)[选择器]的元素。例如,```typc counter(figure.where(kind: image))``` 会统计包含图片的图元,而忽略其他类型的图元。
|
| 108 |
+
=== 页面计数器(Page counter)<counter_Page-counter>
|
| 109 |
+
页面计数器比较特殊。每当发生分页时,它会自动计数。但和其他计数器一样,你也可以手动调整它的计数值。例如,你可以在前言部分使用罗马页码,然后在正文切换为阿拉伯页码,并将页面计数器重置为1。
|
| 110 |
+
#table(
|
| 111 |
+
columns: (1fr,1fr),
|
| 112 |
+
stroke: none,
|
| 113 |
+
fill: (rgb(250, 250, 250),luma(95%)),
|
| 114 |
+
[
|
| 115 |
+
```typst
|
| 116 |
+
#set page(numbering: "(i)")
|
| 117 |
+
|
| 118 |
+
= Preface
|
| 119 |
+
The preface is numbered with
|
| 120 |
+
roman numerals.
|
| 121 |
+
|
| 122 |
+
#set page(numbering: "1 / 1")
|
| 123 |
+
#counter(page).update(1)
|
| 124 |
+
|
| 125 |
+
= Main text
|
| 126 |
+
Here, the counter is reset to one.
|
| 127 |
+
We also display both the current
|
| 128 |
+
page and total number of pages in
|
| 129 |
+
Arabic numbers.
|
| 130 |
+
|
| 131 |
+
```
|
| 132 |
+
],[
|
| 133 |
+
#set align(horizon)
|
| 134 |
+
#image("images/8004.png",width: 100%)
|
| 135 |
+
#image("images/8005.png",width: 100%)
|
| 136 |
+
]
|
| 137 |
+
)
|
| 138 |
+
=== 自定义计数器(Custom counters)<counter_Custom-counters>
|
| 139 |
+
要定义你自己的计数器,请传入一个字符串作为键来调用counter函数。该键用于全局标识这个计数器。
|
| 140 |
+
#table(
|
| 141 |
+
columns: (1fr,1fr),
|
| 142 |
+
stroke: none,
|
| 143 |
+
fill: (rgb(250, 250, 250),luma(95%)),
|
| 144 |
+
[
|
| 145 |
+
```typst
|
| 146 |
+
#let mine = counter("mycounter")
|
| 147 |
+
#context mine.display() \
|
| 148 |
+
#mine.step()
|
| 149 |
+
#context mine.display() \
|
| 150 |
+
#mine.update(c => c * 3)
|
| 151 |
+
#context mine.display()
|
| 152 |
+
|
| 153 |
+
```
|
| 154 |
+
],[
|
| 155 |
+
#set align(horizon)
|
| 156 |
+
#image("images/8006.png",width: 100%)
|
| 157 |
+
]
|
| 158 |
+
)
|
| 159 |
+
=== 如何增加一步(How to step)<counter_How-to-step>
|
| 160 |
+
定义并使用自定义计数器时,通常应先更新计数器,再展示计数器的值。这样一来,计数器的更新行为可以由触发计数的元素决定。举个例子,如果你要为定理编写计数器,那么在定理的定义中,就需要先执行计数器更新操作,之后再显示计数器数值与定理内容。
|
| 161 |
+
#table(
|
| 162 |
+
columns: (1fr,1fr),
|
| 163 |
+
stroke: none,
|
| 164 |
+
fill: (rgb(250, 250, 250),luma(95%)),
|
| 165 |
+
[
|
| 166 |
+
```typst
|
| 167 |
+
#let c = counter("theorem")
|
| 168 |
+
#let theorem(it) = block[
|
| 169 |
+
#c.step()
|
| 170 |
+
*Theorem #context c.display():*
|
| 171 |
+
#it
|
| 172 |
+
]
|
| 173 |
+
|
| 174 |
+
#theorem[$1 = 1$]
|
| 175 |
+
#theorem[$2 < 3$]
|
| 176 |
+
```
|
| 177 |
+
],[
|
| 178 |
+
#set align(horizon)
|
| 179 |
+
#image("images/8007.png",width: 100%)
|
| 180 |
+
]
|
| 181 |
+
)
|
| 182 |
+
原理用标题计数器的例子最容易解释:标题计数器的更新取决于标题的级别。在标题之前执行计数步进,当遇到二级标题时,就能正确从1递进至1.1。如果在标题之后执行步进,就无法确定该递进到哪个数值。
|
| 183 |
+
|
| 184 |
+
由于计数器必须在其所统计的元素之前完成步进操作,因此计数器初始值永远为0。这样一来,第一次展示时(发生在第一次步进之后),数值就为1。
|
| 185 |
+
=== 时间旅行(Time travel)
|
| 186 |
+
计数器可以穿越时间!你能够在计数器的值生成之前获知它的最终值,甚至可以确定文档中任意位置处该计数器的值。
|
| 187 |
+
#table(
|
| 188 |
+
columns: (1fr,1fr),
|
| 189 |
+
stroke: none,
|
| 190 |
+
fill: (rgb(250, 250, 250),luma(95%)),
|
| 191 |
+
[
|
| 192 |
+
```typst
|
| 193 |
+
#let mine = counter("mycounter")
|
| 194 |
+
|
| 195 |
+
= Values
|
| 196 |
+
#context [
|
| 197 |
+
Value here: #mine.get() \
|
| 198 |
+
At intro: #mine.at(<intro>) \
|
| 199 |
+
Final value: #mine.final()
|
| 200 |
+
]
|
| 201 |
+
|
| 202 |
+
#mine.update(n => n + 3)
|
| 203 |
+
|
| 204 |
+
= Introduction <intro>
|
| 205 |
+
#lorem(10)
|
| 206 |
+
|
| 207 |
+
#mine.step()
|
| 208 |
+
#mine.step()
|
| 209 |
+
```
|
| 210 |
+
],[
|
| 211 |
+
#set align(horizon)
|
| 212 |
+
#image("images/8008.png",width: 100%)
|
| 213 |
+
]
|
| 214 |
+
)
|
| 215 |
+
=== 其他类型的状态(Other kinds of state)<counter_Other-kinds-of-state>
|
| 216 |
+
计数器类型与[状态]类型密切相关。阅读其文档,了解更多关于 Typst 中状态管理的信息,以及为什么计数器不直接使用普通变量。
|
| 217 |
+
=== 构造函数(Constructo)
|
| 218 |
+
创建一个由键标识的新计数器。
|
| 219 |
+
```typc
|
| 220 |
+
counter(key: str label selector location function) → counter
|
| 221 |
+
```
|
| 222 |
+
- *key*: str label selector location function\ 用于全局标识该计数器的键。
|
| 223 |
+
- 如果为字符串,则创建仅受手动更新影响的自定义计数器;
|
| 224 |
+
- 如果为页面函数,则统计页面数量;
|
| 225 |
+
- 如果为#link(<selector>)[选择器],则统计匹配该选择器的元素。例如,你可以
|
| 226 |
+
- 提供元素函数来统计该类型的元素,
|
| 227 |
+
- 提供#link(<Function_where>)[where]选择器来统计带有特定字段的某类元素,
|
| 228 |
+
- 提供#link(<label>)[\<label\>]来统计带有该标签的元素。
|
| 229 |
+
|
| 230 |
+
元素选择器与#link(<Function_where>)[where]选择器形式的计数器键仅支持#[可定位元素]。
|
| 231 |
+
=== 定义(Definitions)
|
| 232 |
+
本节元素除了step、update都是上下文相关的,
|
| 233 |
+
- *get*<counter_get>
|
| 234 |
+
获取当前位置计数器的值。始终返回整数数组,即便计数器仅包含一个数字。
|
| 235 |
+
|
| 236 |
+
这等价于 counter.at(here())。
|
| 237 |
+
```typc
|
| 238 |
+
self.get()→ int array
|
| 239 |
+
```
|
| 240 |
+
- *display*<counter_display>
|
| 241 |
+
显示计数器的值。
|
| 242 |
+
|
| 243 |
+
你可以同时指定自定义编号与自定义位置。二者默认均为自动模式,会选用合理的默认值(分别为被计数元素的编号和当前位置)。
|
| 244 |
+
|
| 245 |
+
返回格式化后的输出内容。
|
| 246 |
+
```typc
|
| 247 |
+
self.display(
|
| 248 |
+
numbering: auto str function,
|
| 249 |
+
at: auto label selector location function,
|
| 250 |
+
both: bool,
|
| 251 |
+
) → any
|
| 252 |
+
```
|
| 253 |
+
-- *numbering*: auto str function
|
| 254 |
+
|
| 255 |
+
#link(<numbering>)[编号模式或函数],用于指定计数器的显示方式。如果传入一个函数,该函数会将计数器的每个数字作为独立参数接收。若数字数量不固定(例如用于标题参数),可以使用#link(<Argument_Sinks>)[参数收集器]。默认值:```typc auto```。
|
| 256 |
+
|
| 257 |
+
如果省略此项或设置为#rtext[auto],则使用被计数元素对应的编号样式显示计数器;若无对应样式,则采用“1.1”格式。
|
| 258 |
+
|
| 259 |
+
-- *at*: auto label selector location function
|
| 260 |
+
|
| 261 |
+
计数器需要显示的位置。默认值:```typc auto```。
|
| 262 |
+
|
| 263 |
+
如果使用选择器,它必须精确匹配文档中的一个元素。对此最实用的选择器类型���#link(<label>)[标签]和#link(<location>)[位置]。
|
| 264 |
+
如果省略该参数或将其设为#rtext[auto],计数器将在当前位置显示。这等价于使用here()。
|
| 265 |
+
|
| 266 |
+
编号将在一个上下文环境中执行,在该环境中here()解析为指定位置,从而使涉及更多计数器的编号能够正确解析。
|
| 267 |
+
|
| 268 |
+
-- *both*: bool
|
| 269 |
+
|
| 270 |
+
如果启用,将同时显示当前顶级计数与最终顶级计数。二者可通过同一套编号样式设置。页码属性会使用该功能,在设置类似“1 / 1”的格式时,展示当前页码与总页数。默认值:```typc false```。
|
| 271 |
+
|
| 272 |
+
- *at*<counter_at>
|
| 273 |
+
获取指定位置的计数器值。始终返回整数数组,即便该计数器仅有一个数值。
|
| 274 |
+
|
| 275 |
+
选择器必须与文档内恰好一个元素匹配。最适用的选择器类型为标签与位置。
|
| 276 |
+
```typc
|
| 277 |
+
self.at(selector: label selector location function) → int array
|
| 278 |
+
```
|
| 279 |
+
-- *selector*: label selector location function
|
| 280 |
+
|
| 281 |
+
应获取计数器值的位置。
|
| 282 |
+
|
| 283 |
+
- *final*<counter_final>
|
| 284 |
+
检索文档末尾的计数器值。始终返回整数数组,即使计数器仅包含一个数字。
|
| 285 |
+
```typc
|
| 286 |
+
self.final() → int array
|
| 287 |
+
```
|
| 288 |
+
- *step*<counter_step>
|
| 289 |
+
将计数器的值加一。
|
| 290 |
+
该更新会在返回内容插入文档的位置生效。如果你没有将输出放入文档中,则不会产生任何效果!例如,当你编写 `let _ = counter(page).step()` 时就会出现这种情况。计数器的更新始终按照排版顺序执行,在这种情况下,Typst 将不知道何时执行计数器步进操作。
|
| 291 |
+
```typc
|
| 292 |
+
self.step(level: int) → content
|
| 293 |
+
```
|
| 294 |
+
-- *level*: int
|
| 295 |
+
|
| 296 |
+
计数器的步进深度。默认值:```typc 1```。
|
| 297 |
+
- *update*<counter_update>
|
| 298 |
+
更新计数器的值。
|
| 299 |
+
|
| 300 |
+
与步长的情况一样,只有将生成的内容放入文档中,更新才会生效。
|
| 301 |
+
```typc
|
| 302 |
+
self.update(update: int array function) → content
|
| 303 |
+
```
|
| 304 |
+
-- *update*: int array function
|
| 305 |
+
如果传入整数或整数数组,则将计数器设置为该值。如果传入函数,该函数会接收计数器的上一个值(每个数字作为独立参数),并且必须返回新值(整数或数组)。
|
| 306 |
+
|
| 307 |
+
== 此处(here)<here>
|
| 308 |
+
返回文档中的当前位置。
|
| 309 |
+
|
| 310 |
+
你可以将其视为一个底层基础组件,用于直接从活动#link(<Context>)[上下文]提取当前位置。其他部分函数会在内部使用它:例如,```typc counter.get()``` 等价于```typc counter.at(here())```。
|
| 311 |
+
|
| 312 |
+
在#link(<location_Locatable-elements>)[可定位元素]的显示规则中,```typc here()``` 将匹配被显示元素的位置。
|
| 313 |
+
|
| 314 |
+
如果你想要展示当前页码,请参考#link(<counter>)[计数器]类型的文档。虽然 here 可用于获取物理页码,但通常你需要的是逻辑页码,比如在序言之后被重新计数的页码。
|
| 315 |
+
|
| 316 |
+
=== 示例(Examples)
|
| 317 |
+
结合位置方法确定文档中的当前#link(<location_position>)[位置]:
|
| 318 |
+
|
| 319 |
+
#table(
|
| 320 |
+
columns: (1fr,1fr),
|
| 321 |
+
stroke: none,
|
| 322 |
+
fill: (rgb(250, 250, 250),luma(95%)),
|
| 323 |
+
[
|
| 324 |
+
```typst
|
| 325 |
+
#context [
|
| 326 |
+
I am located at
|
| 327 |
+
#here().position()
|
| 328 |
+
]
|
| 329 |
+
```
|
| 330 |
+
],[
|
| 331 |
+
#set align(horizon)
|
| 332 |
+
#image("images/8009.png",width: 100%)
|
| 333 |
+
]
|
| 334 |
+
)
|
| 335 |
+
#link(<query>)[查询]当前位置之前的元素:
|
| 336 |
+
#table(
|
| 337 |
+
columns: (1fr,1fr),
|
| 338 |
+
stroke: none,
|
| 339 |
+
fill: (rgb(250, 250, 250),luma(95%)),
|
| 340 |
+
[
|
| 341 |
+
```typst
|
| 342 |
+
= Introduction
|
| 343 |
+
= Background
|
| 344 |
+
|
| 345 |
+
There are
|
| 346 |
+
#context query(
|
| 347 |
+
selector(heading).before(here())
|
| 348 |
+
).len()
|
| 349 |
+
headings before me.
|
| 350 |
+
|
| 351 |
+
= Conclusion
|
| 352 |
+
```
|
| 353 |
+
],[
|
| 354 |
+
#set align(horizon)
|
| 355 |
+
#image("images/8010.png",width: 100%)
|
| 356 |
+
]
|
| 357 |
+
)
|
| 358 |
+
有关before/after选择器的更多详情,请参阅#link(<selector>)[选择器]类型。
|
| 359 |
+
=== 参数(Parameters)
|
| 360 |
+
```typc
|
| 361 |
+
here() → location
|
| 362 |
+
```
|
| 363 |
+
|
| 364 |
+
== 定位(locate)<locate>
|
| 365 |
+
确定元素在文档中的位置。
|
| 366 |
+
|
| 367 |
+
接收一个选择器,该选择器必须仅匹配一个元素,并返回该元素的#link(<location>)[位置]。该位置尤其可用于获取该元素实际所在的#link(<location_page>)[页]码与#link(<location_position>)[坐标](页面、横坐标、纵坐标)。
|
| 368 |
+
=== 示例(Example)
|
| 369 |
+
定位特定元素:
|
| 370 |
+
#table(
|
| 371 |
+
columns: (1fr,1fr),
|
| 372 |
+
stroke: none,
|
| 373 |
+
fill: (rgb(250, 250, 250),luma(95%)),
|
| 374 |
+
[
|
| 375 |
+
```typst
|
| 376 |
+
#context [
|
| 377 |
+
Introduction is at: \
|
| 378 |
+
#locate(<intro>).position()
|
| 379 |
+
]
|
| 380 |
+
|
| 381 |
+
= Introduction <intro>
|
| 382 |
+
```
|
| 383 |
+
],[
|
| 384 |
+
#set align(horizon)
|
| 385 |
+
#image("images/8011.png",width: 100%)
|
| 386 |
+
]
|
| 387 |
+
)
|
| 388 |
+
=== 参数(Parameters)
|
| 389 |
+
```typc
|
| 390 |
+
locate(selector: label selector location function) → location
|
| 391 |
+
```
|
| 392 |
+
-- *selector*: label selector location function
|
| 393 |
+
|
| 394 |
+
应当仅匹配一个元素的选择器。系统会定位该元素。
|
| 395 |
+
|
| 396 |
+
与以下场景搭配使用时尤为实用:
|
| 397 |
+
#set par(hanging-indent: 1.3cm)
|
| 398 |
+
|
| 399 |
+
-- 用于#link(<here>)[定位]当前上下文,
|
| 400 |
+
|
| 401 |
+
-- 通过内容上的#link(<content_location>)[location()]方法,从某个查询元素获取的#link(<location>)[位置]。
|
| 402 |
+
#set par(hanging-indent: 0cm)
|
| 403 |
+
|
| 404 |
+
== 位置(location)<location>
|
| 405 |
+
用于标识文档中的元素。
|
| 406 |
+
|
| 407 |
+
位置可唯一标识文档内的元素,并支持获取该元素在页面上的绝对位置。你可以通过#link(<here>)[here]函数获取当前位置,也可以通过内容对象上的#link(<content_location>)[location()]方法获取查询或展示元素的位置。
|
| 408 |
+
|
| 409 |
+
=== 可定位元素(Locatable elements)<location_Locatable-elements>
|
| 410 |
+
自动分配位置的元素称为可定位元素,可通过#link(<query>)[查询]找到:
|
| 411 |
+
#set par(hanging-indent: 1.3cm)
|
| 412 |
+
-- 在[模型类别]中,以下元素为可定位元素:#link(<assert>)[资源]、#link(<bibliography>)[参考文献]、#link(<cite>)[引用]、#link(<document>)[文档]、#link(<Emphasis>)[强调]、#link(<enum>)[编号列表]、#link(<figure>)[图形]、#link(<figure_Caption_customization>)[图形标题]、#link(<footnote>)[脚注]、#link(<footnote_entry>)[脚注条目]、#link(<heading>)[标题]、#link(<link>)[链接]、#link(<list>)[列表]、#link(<outline>)[目录]、#link(<outline_entry>)[目录条目]、#link(<Paragraph>)[段落]、#link(<quote>)[引文]、#link(<ref>)[引用]、#link(<strong>)[加粗]、#link(<table>)[表格]、#link(<terms>)[术语]和#link(<title>)[题名]。模型类别中的大部分元素都是可定位元素,因为标题、图形这类语义元素常配合自省功能使用。
|
| 413 |
+
|
| 414 |
+
-- 在#link(<text_type>)[文本类别]中,#link(<raw>)[原代码]元素以及#link(<underline>)[下划线]、#link(<overline>)[上划线]、#link(<strike>)[删除线]、#link(<highlight>)[高亮]这类装饰元素为可定位元素,它们本身也具备较强语义特性。
|
| 415 |
+
|
| 416 |
+
-- 在#link(<introspection>)[自省类别]中,#link(<metadata>)[元数据元素]是可定位元素,查询元数据是它的主要用途。
|
| 417 |
+
|
| 418 |
+
-- 在其他类别中,大多数元素不可定位。例外项为#link(<equation>)[数学公式]、#link(<image>)[图像]以及#link(<PDF_attach>)[PDF附件]。
|
| 419 |
+
#set par(hanging-indent: 0cm)
|
| 420 |
+
想要确定某个特定元素是否为可定位元素,你可以尝试对其执行查询。
|
| 421 |
+
|
| 422 |
+
请注意,你仍然可以通过其他方式观察到查询中无法定位的元素,例如当这些元素附带标签时。
|
| 423 |
+
|
| 424 |
+
=== 定义(Definitions)
|
| 425 |
+
- *page*<location_page>
|
| 426 |
+
返回该位置对应的页码。
|
| 427 |
+
|
| 428 |
+
请注意,该方法返回的并非此位置处#link(<counter_Page-counter>)[页面计数器]的值,而是真实页码(从1开始计数)。
|
| 429 |
+
|
| 430 |
+
如果你想获取页面计数器的值,请改用```typc counter(page).at(loc)```。
|
| 431 |
+
|
| 432 |
+
可与 #link(<here>)[here] 搭配使用,获取当前上下文的实际页面位置:
|
| 433 |
+
#table(
|
| 434 |
+
columns: (1fr,1fr),
|
| 435 |
+
stroke: none,
|
| 436 |
+
fill: (rgb(250, 250, 250),luma(95%)),
|
| 437 |
+
[
|
| 438 |
+
```typst
|
| 439 |
+
#context [
|
| 440 |
+
I am located on
|
| 441 |
+
page #here().page()
|
| 442 |
+
]
|
| 443 |
+
```
|
| 444 |
+
],[
|
| 445 |
+
#set align(horizon)
|
| 446 |
+
#image("images/8012.png",width: 100%)
|
| 447 |
+
]
|
| 448 |
+
)
|
| 449 |
+
```typc
|
| 450 |
+
self.page() → int
|
| 451 |
+
```
|
| 452 |
+
- *position*<location_position>
|
| 453 |
+
返回一个字典,包含该位置对应的页码以及x、y坐标。页码从1开始计数,坐标以页面左上角为原点进行计量。
|
| 454 |
+
|
| 455 |
+
如果仅需要页码,请改用 page(),这样 Typst 可以跳过不必要的运算。
|
| 456 |
+
```typc
|
| 457 |
+
self.position() → dictionary
|
| 458 |
+
```
|
| 459 |
+
- *page-numbering*<location_page_numbering>
|
| 460 |
+
返回该位置页面的页码编号样式。可在展示页面计数器时使用,以获取本地编号。在创建自定义索引或目录时该功能十分有用。
|
| 461 |
+
|
| 462 |
+
若该位置的页码编号设置为无,此函数将返回无。
|
| 463 |
+
```typc
|
| 464 |
+
self.page-numbering() → none str function
|
| 465 |
+
```
|
| 466 |
+
|
| 467 |
+
== 元数据(metadata)<metadata>
|
| 468 |
+
将一个值暴露给查询系统,且不会生成可见内容。
|
| 469 |
+
|
| 470 |
+
可以通过查询函数获取该元素,也可以在命令行使用 typst query 进行获取。它的作用是向自省系统暴露任意值。若要在众多元数据值中定位某一个,你可以给它附加标签,再针对该标签执行查询。
|
| 471 |
+
|
| 472 |
+
元数据元素对于命令行查询尤为实用,因为它能够向外部暴露任意值。
|
| 473 |
+
#table(
|
| 474 |
+
columns: (1fr,1fr),
|
| 475 |
+
stroke: none,
|
| 476 |
+
fill: (rgb(250, 250, 250),luma(95%)),
|
| 477 |
+
[
|
| 478 |
+
```typst
|
| 479 |
+
// Put metadata somewhere.
|
| 480 |
+
#metadata("This is a note") <note>
|
| 481 |
+
|
| 482 |
+
// And find it from anywhere else.
|
| 483 |
+
#context {
|
| 484 |
+
query(<note>).first().value
|
| 485 |
+
}
|
| 486 |
+
|
| 487 |
+
```
|
| 488 |
+
],[
|
| 489 |
+
#set align(horizon)
|
| 490 |
+
// Put metadata somewhere.
|
| 491 |
+
#metadata("This is a note") <note>
|
| 492 |
+
|
| 493 |
+
// And find it from anywhere else.
|
| 494 |
+
#context {
|
| 495 |
+
query(<note>).first().value
|
| 496 |
+
}
|
| 497 |
+
]
|
| 498 |
+
)
|
| 499 |
+
=== 参数(Parameters)
|
| 500 |
+
```typc
|
| 501 |
+
metadata(value: any) → content
|
| 502 |
+
```
|
| 503 |
+
-- *value*: any
|
| 504 |
+
|
| 505 |
+
要嵌入文档的值。
|
| 506 |
+
|
| 507 |
+
== 查询(query)<query>
|
| 508 |
+
查找文档中的元素。
|
| 509 |
+
|
| 510 |
+
查询函数可在文档内搜索特定类型或带有特定标签的元素。使用该函数前,你需要先确保#link(<Context>)[上下文]可用。
|
| 511 |
+
=== 查找元素(Finding elements)<query_Finding-elements>
|
| 512 |
+
在下面的示例中,我们手动创建目录,而不使用#link(<outline>)[outline]函数。
|
| 513 |
+
|
| 514 |
+
为此,我们首先查询文档中所有一级���大纲属性为真的标题。仅查询一级标题可以保证,在本示例中,子标题不会被纳入目录。大纲字段用于排除“目录”这个标题本身。
|
| 515 |
+
请注意,我们需要打开一个上下文,才能使用查询函数。
|
| 516 |
+
#table(
|
| 517 |
+
columns: 1fr,
|
| 518 |
+
align: left,
|
| 519 |
+
stroke: none,
|
| 520 |
+
fill: (x,y)=>
|
| 521 |
+
if (y==0) {white}
|
| 522 |
+
else if (y==1) {luma(240)}
|
| 523 |
+
,
|
| 524 |
+
[
|
| 525 |
+
```typst
|
| 526 |
+
#set page(numbering: "1")
|
| 527 |
+
|
| 528 |
+
#heading(outlined: false)[
|
| 529 |
+
Table of Contents
|
| 530 |
+
]
|
| 531 |
+
#context {
|
| 532 |
+
let chapters = query(
|
| 533 |
+
heading.where(
|
| 534 |
+
level: 1,
|
| 535 |
+
outlined: true,
|
| 536 |
+
)
|
| 537 |
+
)
|
| 538 |
+
for chapter in chapters {
|
| 539 |
+
let loc = chapter.location()
|
| 540 |
+
let nr = counter(page).display(at: loc)
|
| 541 |
+
[#chapter.body #h(1fr) #nr \ ]
|
| 542 |
+
}
|
| 543 |
+
}
|
| 544 |
+
|
| 545 |
+
= Introduction
|
| 546 |
+
#lorem(10)
|
| 547 |
+
#pagebreak()
|
| 548 |
+
|
| 549 |
+
== Sub-Heading
|
| 550 |
+
#lorem(8)
|
| 551 |
+
|
| 552 |
+
= Discussion
|
| 553 |
+
#lorem(18)
|
| 554 |
+
```
|
| 555 |
+
],
|
| 556 |
+
[
|
| 557 |
+
#set align(horizon)
|
| 558 |
+
#image("images/8013.png")
|
| 559 |
+
#image("images/8014.png")
|
| 560 |
+
]
|
| 561 |
+
)
|
| 562 |
+
要获取页码,我们首先通过#link(<location>)[位置]获取查询返回元素的位置。随后我们也会读取该位置处的#link(<page_numbering>)[页码编号]与#link(<counter_Page-counter>)[页面计数器],并将编号应用到计数器上。
|
| 563 |
+
|
| 564 |
+
=== 一句提醒(A word of caution)<query_A-word-of-caution>
|
| 565 |
+
为解决所有查询,Typst会对文档的各个部分执行多次求值与排版。但并不能保证你的查询一定可以完全解析。如果不加留意,查询可能会对自身产生影响,导致结果永远无法稳定。
|
| 566 |
+
|
| 567 |
+
在下面的示例中,我们查询文档内所有标题,随后根据查询结果生成同等数量的标题。一开始只有一个标题,标题名称为Real。因此计数值为1,并生成一个Fake标题。Typst发现查询结果发生变化,会再次进行处理。这一次,计数值变成2,于是生成两个Fake标题。这个过程会持续进行。可以看到,最终输出的标题数量是有限的。这是因为Typst在尝试若干次后就会停止迭代。
|
| 568 |
+
|
| 569 |
+
通常情况下,应当尽量不要编写会影响自身的查询。这条注意事项同样适用于计数器、状态变量等其他自省功能。
|
| 570 |
+
#table(
|
| 571 |
+
columns: 1fr,
|
| 572 |
+
align: left,
|
| 573 |
+
stroke: none,
|
| 574 |
+
fill: (x,y)=>
|
| 575 |
+
if (y==0) {white}
|
| 576 |
+
else if (y==1) {luma(240)}
|
| 577 |
+
,
|
| 578 |
+
[
|
| 579 |
+
```typst
|
| 580 |
+
= Real
|
| 581 |
+
#context {
|
| 582 |
+
let elems = query(heading)
|
| 583 |
+
let count = elems.len()
|
| 584 |
+
count * [= Fake]
|
| 585 |
+
}
|
| 586 |
+
|
| 587 |
+
```
|
| 588 |
+
],
|
| 589 |
+
[
|
| 590 |
+
#set align(horizon)
|
| 591 |
+
#image("images/8015.png")
|
| 592 |
+
]
|
| 593 |
+
)
|
| 594 |
+
=== 命令行查询(Command line queries)<query_Command-line-queries>
|
| 595 |
+
(如下内容,我个人没有试通)
|
| 596 |
+
|
| 597 |
+
你也可以在命令行中使用 typst eval 命令执行查询。该命令会运行 Typst 代码(可在文档上下文环境中执行),并以序列化形式输出结果值。它将待执行的代码作为第一个参数,还可通过 --in 参数(可选)指定文档路径。
|
| 598 |
+
|
| 599 |
+
请看下面这个包含部分不可见元数据的example.typ文件示例:
|
| 600 |
+
```typst
|
| 601 |
+
#metadata("This is a note") <note>
|
| 602 |
+
```
|
| 603 |
+
你可以按下面的方式使用 Typst 的命令行界面对其执行查询。
|
| 604 |
+
```typc
|
| 605 |
+
$ typst eval 'query(<note>)' --in example.typ
|
| 606 |
+
[
|
| 607 |
+
{
|
| 608 |
+
"func": "metadata",
|
| 609 |
+
"value": "This is a note",
|
| 610 |
+
"label": "<note>"
|
| 611 |
+
}
|
| 612 |
+
]
|
| 613 |
+
```
|
| 614 |
+
该命令指示 Typst 编译 example.typ,随后执行代码 query(\<note\>),并可访问生成的文档。
|
| 615 |
+
|
| 616 |
+
注意:代码被引号包裹,防止特殊字符被命令行解释器解析。字符串的引用方式取决于你的平台/命令行。
|
| 617 |
+
|
| 618 |
+
*检索特定字段(Retrieving a specific field)*
|
| 619 |
+
|
| 620 |
+
通常,你可能只关心返回元素中的某一个特定字段。对于元数据元素而言,value字段就是我们需要关注的字段。你可以通过修改代码,仅提取该字段。
|
| 621 |
+
```typc
|
| 622 |
+
$ typst eval 'query(<note>).map(it => it.value)' --in example.typ
|
| 623 |
+
["This is a note"]
|
| 624 |
+
```
|
| 625 |
+
*查询特定导出目标(Querying for a specific export target)*
|
| 626 |
+
|
| 627 |
+
如果在针对特定目标导出时需要查询文档,可以使用 ```typc --target``` 参数。有效值为 paged 和 html(已启用 #link(<HTML>)[html] 功能时)。
|
| 628 |
+
|
| 629 |
+
=== 参数(Parameters)
|
| 630 |
+
```typc
|
| 631 |
+
query(target: label selector location function) → array
|
| 632 |
+
```
|
| 633 |
+
- *target*: label selector location function
|
| 634 |
+
可以是
|
| 635 |
+
#set par(hanging-indent: 1.3cm)
|
| 636 |
+
-- 诸如标题或图形这类元素函数,
|
| 637 |
+
|
| 638 |
+
-- 一个\<label\>,
|
| 639 |
+
|
| 640 |
+
-- 像heading.where(level: 1)这样更复杂的选择器,
|
| 641 |
+
|
| 642 |
+
-- 或者selector(heading).before(here())。
|
| 643 |
+
#set par(hanging-indent: 0cm)
|
| 644 |
+
仅支持#link(<location_Locatable-elements>)[可定位]的元素函数。
|
| 645 |
+
|
| 646 |
+
== 状态(state)<state>
|
| 647 |
+
管理文档中有状态的部分。
|
| 648 |
+
|
| 649 |
+
假设你的文档里有一些计算,并且想要保存上一次的计算结果,供下一次计算使用。你可能会尝试编写类似下面的代码,期望它依次输出 10、13、26 和 21。但这在 Typst 中无法实现。如果你运行这段代码,会看到 Typst 抛���如下报错信息:函数外部的变量为只读状态,不可修改。
|
| 650 |
+
```typst
|
| 651 |
+
// This doesn't work!
|
| 652 |
+
#let star = 0
|
| 653 |
+
#let compute(expr) = {
|
| 654 |
+
star = eval(
|
| 655 |
+
expr.replace("⭐", str(star))
|
| 656 |
+
)
|
| 657 |
+
[New value is #star.]
|
| 658 |
+
}
|
| 659 |
+
|
| 660 |
+
#compute("10") \
|
| 661 |
+
#compute("⭐ + 3") \
|
| 662 |
+
#compute("⭐ * 2") \
|
| 663 |
+
#compute("⭐ - 5")
|
| 664 |
+
```
|
| 665 |
+
=== 状态与文档标记(State and document markup)<state_State-and-document-markup>
|
| 666 |
+
为什么会出现这种情况?因为一般来说,这类带有副作用的计算在文档标记中会产生问题,而 Typst 对此直言不讳。要让计算结果具备合理性,计算的执行顺序必须和结果在文档里的排版顺序保持一致。在我们这个简单示例中,确实满足该条件,但在一般场景下未必如此。
|
| 667 |
+
|
| 668 |
+
我们来看一种略有区别但性质相近的状态:标题编号。我们希望每遇到一个标题就把标题计数器加一。听起来很简单,对吧?直接加1就行。但实际并没有这么简单。请看下面这个示例:
|
| 669 |
+
#table(
|
| 670 |
+
columns: 1fr,
|
| 671 |
+
align: left,
|
| 672 |
+
stroke: none,
|
| 673 |
+
fill: (x,y)=>
|
| 674 |
+
if (y==0) {white}
|
| 675 |
+
else if (y==1) {luma(240)}
|
| 676 |
+
,
|
| 677 |
+
[
|
| 678 |
+
```typst
|
| 679 |
+
#set heading(numbering: "1.")
|
| 680 |
+
#let template(body) = [
|
| 681 |
+
= Outline
|
| 682 |
+
...
|
| 683 |
+
#body
|
| 684 |
+
]
|
| 685 |
+
|
| 686 |
+
#show: template
|
| 687 |
+
|
| 688 |
+
= Introduction
|
| 689 |
+
...
|
| 690 |
+
```
|
| 691 |
+
],
|
| 692 |
+
[
|
| 693 |
+
#set align(horizon)
|
| 694 |
+
#image("images/8016.png")
|
| 695 |
+
]
|
| 696 |
+
)
|
| 697 |
+
在这里,Typst 会先处理显示规则之后的文档正文,识别到“引言”标题,再将处理后的内容传入模板函数,之后才会读取目录。如果单纯依次计数,引言会被编为1,目录则编为2。
|
| 698 |
+
=== 在Typst中管理状态(Managing state in Typst)<state_Managing-state-in-Typst>
|
| 699 |
+
那我们该用什么替代方案呢?我们使用 Typst 的状态管理系统。调用 state 函数时传入标识字符串键以及可选的初始值,就可以得到一个状态值,该状态值会提供若干方法。其中最重要的两个是 get 和 update:
|
| 700 |
+
|
| 701 |
+
-- #link(<state_get>)[get] 函数获取状态的当前值。由于该值会在文档生成过程中发生变化,它是一个上下文函数,仅在存在上下文的场景下可用。
|
| 702 |
+
|
| 703 |
+
-- #link(<state_update>)[update] 函数修改状态。你可以向它传入任意值。如果传入非函数值,它会将状态设置为该值;如果传入函数,该函数会接收上一个状态,并且必须返回新的状态。
|
| 704 |
+
|
| 705 |
+
我们最初的示例现在会是这样:
|
| 706 |
+
#table(
|
| 707 |
+
columns: 1fr,
|
| 708 |
+
align: left,
|
| 709 |
+
stroke: none,
|
| 710 |
+
fill: (x,y)=>
|
| 711 |
+
if (y==0) {white}
|
| 712 |
+
else if (y==1) {luma(240)}
|
| 713 |
+
,
|
| 714 |
+
[
|
| 715 |
+
```typst
|
| 716 |
+
#let star = state("star", 0)
|
| 717 |
+
#let compute(expr) = {
|
| 718 |
+
star.update(old =>
|
| 719 |
+
eval(expr.replace("⭐", str(old)))
|
| 720 |
+
)
|
| 721 |
+
[New value is #context star.get().]
|
| 722 |
+
}
|
| 723 |
+
|
| 724 |
+
#compute("10") \
|
| 725 |
+
#compute("⭐ + 3") \
|
| 726 |
+
#compute("⭐ * 2") \
|
| 727 |
+
#compute("⭐ - 5")
|
| 728 |
+
```
|
| 729 |
+
],
|
| 730 |
+
[
|
| 731 |
+
#set align(horizon)
|
| 732 |
+
#image("images/8017.png")
|
| 733 |
+
]
|
| 734 |
+
)
|
| 735 |
+
Typst 管理的状态始终按照排版顺序更新,而非求值顺序。update 方法会返回内容,其作用效果发生在返回内容被插入文档的位置。
|
| 736 |
+
|
| 737 |
+
因此,我们现在也可以将部分计算结果存入变量中,且它们仍然会输出正确的结果:
|
| 738 |
+
#table(
|
| 739 |
+
columns: (1fr,1fr),
|
| 740 |
+
stroke: none,
|
| 741 |
+
fill: (rgb(250, 250, 250),luma(95%)),
|
| 742 |
+
[
|
| 743 |
+
```typst
|
| 744 |
+
#let star = state("star", 0)
|
| 745 |
+
#let compute(expr) = {
|
| 746 |
+
star.update(old =>
|
| 747 |
+
eval(expr.replace("⭐", str(old)))
|
| 748 |
+
)
|
| 749 |
+
[New value is #context star.get().]
|
| 750 |
+
}
|
| 751 |
+
#let more = [
|
| 752 |
+
#compute("⭐ * 2") \
|
| 753 |
+
#compute("⭐ - 5")
|
| 754 |
+
]
|
| 755 |
+
|
| 756 |
+
#compute("10") \
|
| 757 |
+
#compute("⭐ + 3") \
|
| 758 |
+
#more
|
| 759 |
+
|
| 760 |
+
```
|
| 761 |
+
],[
|
| 762 |
+
#set align(horizon+left)
|
| 763 |
+
#let star = state("star", 0)
|
| 764 |
+
#let compute(expr) = {
|
| 765 |
+
star.update(old =>
|
| 766 |
+
eval(expr.replace("⭐", str(old)))
|
| 767 |
+
)
|
| 768 |
+
[New value is #context star.get().]
|
| 769 |
+
}
|
| 770 |
+
#let more = [
|
| 771 |
+
#compute("⭐ * 2") \
|
| 772 |
+
#compute("⭐ - 5")
|
| 773 |
+
]
|
| 774 |
+
|
| 775 |
+
#compute("10") \
|
| 776 |
+
#compute("⭐ + 3") \
|
| 777 |
+
#more
|
| 778 |
+
]
|
| 779 |
+
)
|
| 780 |
+
这个例子当然有点滑稽,但在实际应用中,这往往正是你想要的效果!标题计数器就是一个很好的例子,这也是 Typst 的计数系统与其状态系统非常相似的原因。
|
| 781 |
+
|
| 782 |
+
=== 时间回溯(Time Travel)<state_Time-Travel>
|
| 783 |
+
借助 Typst 的状态管理系统,你还能获得时间回溯功能!我们可以在文档任意位置,查询文档里其他任意位置处的状态值。具体来说,at 方法可获取文档中任意特定位置的状态值,而 final 方法则能获取文档末尾处的状态值。
|
| 784 |
+
#table(
|
| 785 |
+
columns: (1fr,1fr),
|
| 786 |
+
stroke: none,
|
| 787 |
+
fill: (rgb(250, 250, 250),luma(95%)),
|
| 788 |
+
[
|
| 789 |
+
```typst
|
| 790 |
+
...
|
| 791 |
+
Value at `<here>` is
|
| 792 |
+
#context star.at(<here>)
|
| 793 |
+
|
| 794 |
+
#compute("10") \
|
| 795 |
+
#compute("⭐ + 3") \
|
| 796 |
+
*Here.* <here> \
|
| 797 |
+
#compute("⭐ * 2") \
|
| 798 |
+
#compute("⭐ - 5")
|
| 799 |
+
|
| 800 |
+
```
|
| 801 |
+
],[
|
| 802 |
+
#set align(horizon)
|
| 803 |
+
#image("images/8018.png")
|
| 804 |
+
]
|
| 805 |
+
)
|
| 806 |
+
|
| 807 |
+
=== 提醒一句(A word of caution)<state_A-word-of-caution>
|
| 808 |
+
为求解所有状态的值���Typst 会多次执行代码的各个部分。但无法保证你对状态的操作一定可以完全求解。
|
| 809 |
+
|
| 810 |
+
例如,如果你依据某个状态的最终值来生成状态更新,计算结果可能永远无法收敛。下面这个例子就说明了这一点。我们将状态初始化为 1,随后把它更新为其自身最终值加 1。那么它本应等于 2,可此时它的最终值变成了 2,于是又应该等于 3,以此类推。这个示例会输出一个有限数值,原因是 Typst 在尝试数次后就会直接停止迭代。
|
| 811 |
+
#table(
|
| 812 |
+
columns: (1fr,1fr),
|
| 813 |
+
stroke: none,
|
| 814 |
+
fill: (rgb(250, 250, 250),luma(95%)),
|
| 815 |
+
[
|
| 816 |
+
```typc
|
| 817 |
+
// This is bad!
|
| 818 |
+
#let x = state("key", 1)
|
| 819 |
+
#context x.update(x.final() + 1)
|
| 820 |
+
#context x.get()
|
| 821 |
+
```
|
| 822 |
+
],[
|
| 823 |
+
#set align(horizon)
|
| 824 |
+
#let x = state("key", 1)
|
| 825 |
+
#context x.update(x.final() + 1)
|
| 826 |
+
#context x.get()
|
| 827 |
+
]
|
| 828 |
+
)
|
| 829 |
+
一般来说,应尽量避免在上下文表达式内部生成状态更新。如果可行,请将更新逻辑写为非上下文相关的值,或是能够基于旧值计算出新值的函数。有时难免需要这样做,但在这类情况下,需要由你来保证结果能够收敛。
|
| 830 |
+
|
| 831 |
+
=== 构造函数(Constructor)
|
| 832 |
+
```typc
|
| 833 |
+
state(
|
| 834 |
+
key: str,
|
| 835 |
+
init: any,
|
| 836 |
+
) → state
|
| 837 |
+
```
|
| 838 |
+
- *key*: str
|
| 839 |
+
用于标识该状态的键。
|
| 840 |
+
|
| 841 |
+
对该状态的任何更新都将通过这个字符串键进行识别。如果你使用相同的键创建多个状态,那么更新其中任意一个都会影响所有状态。
|
| 842 |
+
- *init*: any
|
| 843 |
+
状态的初始值。缺省值:none。
|
| 844 |
+
|
| 845 |
+
如果你使用相同键但不同初始值构造多个状态,它们会各自使用自身的初始值,但共享更新操作。具体来说,文档中某个位置的状态值,将由该状态的初始值以及该状态键对应的所有前置更新计算得出。
|
| 846 |
+
#table(
|
| 847 |
+
columns: (1fr,1fr),
|
| 848 |
+
stroke: none,
|
| 849 |
+
fill: (rgb(250, 250, 250),luma(95%)),
|
| 850 |
+
[
|
| 851 |
+
```typst
|
| 852 |
+
#let banana = state("key", "🍌")
|
| 853 |
+
#let broccoli = state("key", "🥦")
|
| 854 |
+
|
| 855 |
+
#banana.update(it => it + "😋")
|
| 856 |
+
|
| 857 |
+
#context [
|
| 858 |
+
- #state("key", "🍎").get()
|
| 859 |
+
- #banana.get()
|
| 860 |
+
- #broccoli.get()
|
| 861 |
+
]
|
| 862 |
+
```
|
| 863 |
+
],[
|
| 864 |
+
#set align(horizon)
|
| 865 |
+
#image("images/8019.png")
|
| 866 |
+
]
|
| 867 |
+
)
|
| 868 |
+
=== 定义(Definitions)
|
| 869 |
+
- *get* (上下文)<state_get>
|
| 870 |
+
获取当前位置的状态值。
|
| 871 |
+
|
| 872 |
+
这等价于```typc state.at(here())```。
|
| 873 |
+
```typc
|
| 874 |
+
self.get() → any
|
| 875 |
+
```
|
| 876 |
+
- *at* (上下文)<state_at>
|
| 877 |
+
检索指定选择器唯一匹配项处的状态值。
|
| 878 |
+
|
| 879 |
+
该选择器必须与文档内恰好一个元素匹配。#link(<label>)[标签]和#link(<location>)[位置]是这类场景下最实用的选择器类型。
|
| 880 |
+
```typc
|
| 881 |
+
self.at(selector: label selector location function) → any
|
| 882 |
+
```
|
| 883 |
+
-- *selector*: label selector location function
|
| 884 |
+
|
| 885 |
+
应获取该状态值的位置。
|
| 886 |
+
- *final* (上下文)<state_final>
|
| 887 |
+
检索文档末尾处的状态值。
|
| 888 |
+
```typc
|
| 889 |
+
self.final() → any
|
| 890 |
+
```
|
| 891 |
+
- *update*<state_update>
|
| 892 |
+
更新状态的值。
|
| 893 |
+
|
| 894 |
+
返回一段不可见#link(<content>)[内容],必须将其插入文档才能生效。该不可见内容会告知 Typst,在内容插入文档的位置执行指定更新操作。
|
| 895 |
+
|
| 896 |
+
状态是文档的组成部分,如同嵌入文档内容中的一条线索。状态的值是文档内到当前位置为止所有状态更新执行后的结果。
|
| 897 |
+
|
| 898 |
+
这就是 ```typc state.update``` 会返回一小段不可见内容,且你必须把它放回文档中的原因——没有在文档里“放置”的状态更新不会执行;更新发生的时机由放置位置决定。这也是读取状态需要上下文的原因:你需要借助文档当前位置,确定自己处于状态这条“线索”的哪个节点。
|
| 899 |
+
|
| 900 |
+
将状态更新存入变量(例如 ```typc let my-update = state("key").update(c => c * 2)```)本身不会产生任何效果。只有当你把变量 ```typ #my-update``` 插入文档内容的某处时,更新才会在插入位置生效。你也可以在不同位置多次使用 `#my-update`,此时该更新也会多次执行。
|
| 901 |
+
|
| 902 |
+
与 #link(<state_get>)[get]、#link(<state_at>)[at] 和 #link(<state_final>)[final]
|
| 903 |
+
不同,本函数不需要#link(<Context>)[上下文]。这是因为创建状态更新时,我们无需知道当前在文档中的位置;只有解析状态的值时才需要该信息。
|
| 904 |
+
```typc
|
| 905 |
+
self.update(update: function any) → content
|
| 906 |
+
```
|
| 907 |
+
-- *update*: function any
|
| 908 |
+
|
| 909 |
+
用于更新的目标值,或是用于更新的函数。
|
| 910 |
+
|
| 911 |
+
-- 如果传入非函数类型的值,则将状态设置为该值。
|
| 912 |
+
|
| 913 |
+
-- 如果传入函数,该函数会接收状态的上一个值,并且需要返回状态的新值。
|
| 914 |
+
|
| 915 |
+
基于上一个值更新状态时,应当优先使用函数形式,而不是从#link(<Context>)[上下文]中读取上一个值。这种方式能让编译器高效解析最终状态,最大限度减少所需的#link(<Context_Compiler>)[布局迭代次数]。
|
| 916 |
+
|
| 917 |
+
在下面的示例中,```typc fill.update(f => not f)``` 会按预期渲染项目���号列表里的奇数项。但如果将其替换为 ```typc context fill.update(not fill.get())```,布局在5次尝试内将无法收敛,因为每次更新都需要额外一次迭代来传递变更。
|
| 918 |
+
#table(
|
| 919 |
+
columns: 1fr,
|
| 920 |
+
align: left,
|
| 921 |
+
stroke: none,
|
| 922 |
+
fill: (x,y)=>
|
| 923 |
+
if (y==0) {white}
|
| 924 |
+
else if (y==1) {luma(240)}
|
| 925 |
+
,
|
| 926 |
+
[
|
| 927 |
+
```typst
|
| 928 |
+
#let fill = state("fill", false)
|
| 929 |
+
|
| 930 |
+
#show list.item: it => {
|
| 931 |
+
fill.update(f => not f)
|
| 932 |
+
context {
|
| 933 |
+
set text(fill: fuchsia) if fill.get()
|
| 934 |
+
it
|
| 935 |
+
}
|
| 936 |
+
}
|
| 937 |
+
|
| 938 |
+
#lorem(5).split().map(list.item).join()
|
| 939 |
+
...
|
| 940 |
+
```
|
| 941 |
+
],
|
| 942 |
+
[
|
| 943 |
+
#set align(horizon)
|
| 944 |
+
#image("images/8020.png")
|
| 945 |
+
]
|
| 946 |
+
)
|
chp09.typ
ADDED
|
@@ -0,0 +1,2587 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#let ctext(content)={
|
| 2 |
+
text(fill: red,content)
|
| 3 |
+
}
|
| 4 |
+
= 符号(Symbols)
|
| 5 |
+
通用符号和表情符号模块为各类符号与表情赋予名称,方便通过普通键盘输入。此外,你也可以直接在文本和公式中录入Unicode符号。除下方列出的符号外,数学模式中还定义了dif与Dif。二者并非普通符号值,它们还会影响间距和字体样式。
|
| 6 |
+
|
| 7 |
+
你可以使用符号类型的构造函数自定义符号。
|
| 8 |
+
|
| 9 |
+
*简写形式*
|
| 10 |
+
|
| 11 |
+
简写是可唤起特定字形的简洁字符序列。简写与其他符号生成方式可以互换使用。你可以在数学模式和标记模式下使用不同的简写集合。部分简写(例如代表不间断空格的 ~)会生成不可打印符号,这类符号以灰色占位文本标识。
|
| 12 |
+
|
| 13 |
+
你可以对简写中的任意字符转义,从而禁用该简写的解析。如果对简写里单个字符做转义,剩下未转义的字符可能会构成另一个简写。
|
| 14 |
+
|
| 15 |
+
*标记模式下*
|
| 16 |
+
#table(
|
| 17 |
+
columns: 3,
|
| 18 |
+
align: center,
|
| 19 |
+
inset: 20pt,
|
| 20 |
+
gutter: 10pt,
|
| 21 |
+
stroke: none,
|
| 22 |
+
fill: luma(220),
|
| 23 |
+
[--\ \-\-],[...\ ...],[---\ \-\-\-]
|
| 24 |
+
)
|
| 25 |
+
*数学模式*
|
| 26 |
+
|
| 27 |
+
#table(
|
| 28 |
+
columns: 5,
|
| 29 |
+
align: center,
|
| 30 |
+
inset: 20pt,
|
| 31 |
+
gutter: 10pt,
|
| 32 |
+
stroke: none,
|
| 33 |
+
fill: luma(220),
|
| 34 |
+
[$a/b$\ a/b],[$->$\ ->],[$*$\ \*],[$!=$\ !=],[ $[|$\ \[| ],
|
| 35 |
+
[$<-<$\ \<\-\<],[$<<-$\ \<\<\-],[$<->$\ \<\-\>],[$~>$\ ~\>],[$<=>$\ \<\=\>]
|
| 36 |
+
)
|
| 37 |
+
|
| 38 |
+
== 通用符号(General Symbols)<Symbols>
|
| 39 |
+
命名通用符号。
|
| 40 |
+
|
| 41 |
+
例如,\#sym.arrow 生成 → 符号。在数学环境内,使用这些符号时可以省略 \#sym. 前缀。
|
| 42 |
+
|
| 43 |
+
积分表达式 dx 中的 d 可以写作 \$dif x\$。在数学公式外,dif 可通过 math.dif 调用。
|
| 44 |
+
#show table.cell: set text(hyphenate: true)
|
| 45 |
+
#table(
|
| 46 |
+
columns: 3,
|
| 47 |
+
align: center,
|
| 48 |
+
inset: 20pt,
|
| 49 |
+
gutter: 10pt,
|
| 50 |
+
stroke: none,
|
| 51 |
+
fill: luma(220),
|
| 52 |
+
[$AA$\ AA],
|
| 53 |
+
[$Alpha$\ Alpha],
|
| 54 |
+
[$BB$\ BB],
|
| 55 |
+
[$Beta$\ Beta],
|
| 56 |
+
[$CC$\ CC],
|
| 57 |
+
[$Chi$\ Chi],
|
| 58 |
+
[$DD$\ DD],
|
| 59 |
+
[$Delta$\ Delta],
|
| 60 |
+
[$Digamma$\ Digamma],
|
| 61 |
+
[$EE$\ EE],
|
| 62 |
+
[$Epsilon$\ Epsilon],
|
| 63 |
+
[$Eta$\ Eta],
|
| 64 |
+
[$FF$\ FF],
|
| 65 |
+
[$GG$\ GG],
|
| 66 |
+
[$Gamma$\ Gamma],
|
| 67 |
+
[$HH$\ HH],
|
| 68 |
+
[$II$\ II],
|
| 69 |
+
[$Im$\ Im],
|
| 70 |
+
[$Iota$\ Iota],
|
| 71 |
+
[$JJ$\ JJ],
|
| 72 |
+
[$KK$\ KK],
|
| 73 |
+
[$Kappa$\ Kappa],
|
| 74 |
+
[$LL$\ LL],
|
| 75 |
+
[$Lambda$\ Lambda],
|
| 76 |
+
[$MM$\ MM],
|
| 77 |
+
[$Mu$\ Mu],
|
| 78 |
+
[$NN$\ NN],
|
| 79 |
+
[$Nu$\ Nu],
|
| 80 |
+
[$OO$\ OO],
|
| 81 |
+
[$Omega$\ Omega],
|
| 82 |
+
[$Omega.inv$\ Omega.inv],
|
| 83 |
+
[$Omicron$\ Omicron],
|
| 84 |
+
[$PP$\ PP],
|
| 85 |
+
[$Phi$\ Phi],
|
| 86 |
+
[$Pi$\ Pi],
|
| 87 |
+
[$Psi$\ Psi],
|
| 88 |
+
[$QQ$\ QQ],
|
| 89 |
+
[$RR$\ RR],
|
| 90 |
+
[$Re$\ Re],
|
| 91 |
+
[$Rho$\ Rho],
|
| 92 |
+
[$SS$\ SS],
|
| 93 |
+
[$Sha$\ Sha],
|
| 94 |
+
[$Sigma$\ Sigma],
|
| 95 |
+
[$TT$\ TT],
|
| 96 |
+
[$Tau$\ Tau],
|
| 97 |
+
[$Theta$\ Theta],
|
| 98 |
+
[$Theta.alt$\ Theta.alt],
|
| 99 |
+
[$UU$\ UU],
|
| 100 |
+
[$Upsilon$\ Upsilon],
|
| 101 |
+
[$VV$\ VV],
|
| 102 |
+
[$WW$\ WW],
|
| 103 |
+
[$XX$\ XX],
|
| 104 |
+
[$Xi$\ Xi],
|
| 105 |
+
[$YY$\ YY],
|
| 106 |
+
[$ZZ$\ ZZ],
|
| 107 |
+
[$Zeta$\ Zeta],
|
| 108 |
+
[$acute$\ acute],
|
| 109 |
+
[$acute.double$\ acute.double],
|
| 110 |
+
[$afghani$\ afghani],
|
| 111 |
+
[$aleph$\ aleph],
|
| 112 |
+
[$alpha$\ alpha],
|
| 113 |
+
[$amp$\ amp],
|
| 114 |
+
[$amp.inv$\ amp.inv],
|
| 115 |
+
[$and$\ and],
|
| 116 |
+
[$and.big$\ and.big],
|
| 117 |
+
[$and.curly$\ and.curly],
|
| 118 |
+
[$and.dot$\ and.dot],
|
| 119 |
+
[$and.double$\ and.double],
|
| 120 |
+
[$angle$\ angle],
|
| 121 |
+
[$angle.acute$\ angle.acute],
|
| 122 |
+
[$angle.arc$\ angle.arc],
|
| 123 |
+
[$angle.arc.rev$\ angle.arc.rev],
|
| 124 |
+
[$angle.azimuth$\ angle.azimuth],
|
| 125 |
+
[$angle.obtuse$\ angle.obtuse],
|
| 126 |
+
[$angle.rev$\ angle.rev],
|
| 127 |
+
[$angle.right$\ angle.right],
|
| 128 |
+
[$angle.right.rev$\ angle.right.rev],
|
| 129 |
+
[$angle.right.arc$\ angle.right.arc],
|
| 130 |
+
[$angle.right.dot$\ angle.right.dot],
|
| 131 |
+
[$angle.right.square$\ angle.right.square],
|
| 132 |
+
[$angle.s$\ angle.s],
|
| 133 |
+
[$angle.spatial$\ angle.spatial],
|
| 134 |
+
[$angle.spheric$\ angle.spheric],
|
| 135 |
+
[$angle.spheric.rev$\ angle.spheric.rev],
|
| 136 |
+
[$angle.spheric.t$\ angle.spheric.t],
|
| 137 |
+
[$angstrom$\ angstrom],
|
| 138 |
+
[$angzarr$\ angzarr],
|
| 139 |
+
[$approx$\ approx],
|
| 140 |
+
[$approx.eq$\ approx.eq],
|
| 141 |
+
[$approx.not$\ approx.not],
|
| 142 |
+
[$approx.hat$\ approx.hat],
|
| 143 |
+
[$arrow.r$\ arrow.r],
|
| 144 |
+
[$arrow.r.long.bar$\ arrow.r.long.bar],
|
| 145 |
+
[$arrow.r.bar$\ arrow.r.bar],
|
| 146 |
+
[$arrow.r.curve$\ arrow.r.curve],
|
| 147 |
+
[$arrow.r.turn$\ arrow.r.turn],
|
| 148 |
+
[$arrow.dashed$\ arrow.dashed],
|
| 149 |
+
[$arrow.r.dotted$\ arrow.r.dotted],
|
| 150 |
+
[$arrow.r.double$\ arrow.r.double],
|
| 151 |
+
[$arrow.r.double.bar$\ arrow.r.double.bar],
|
| 152 |
+
[$arrow.r.double.long$\ arrow.r.double.long],
|
| 153 |
+
[$arrow.r.double.long.bar$\ arrow.r.double.long.bar],
|
| 154 |
+
[$arrow.r.double.not$\ arrow.r.double.not],
|
| 155 |
+
[$arrow.r.double.struck$\ arrow.r.double.struck],
|
| 156 |
+
[$arrow.r.filled$\ arrow.r.filled],
|
| 157 |
+
[$arrow.r.hook$\ arrow.r.hook],
|
| 158 |
+
[$arrow.r.long$\ arrow.r.long],
|
| 159 |
+
[$arrow.r.long.squiggly$\ arrow.r.long.squiggly],
|
| 160 |
+
[$arrow.r.loop$\ arrow.r.loop],
|
| 161 |
+
[$arrow.r.not$\ arrow.r.not],
|
| 162 |
+
[$arrow.r.quad$\ arrow.r.quad],
|
| 163 |
+
[$arrow.r.squiggly$\ arrow.r.squiggly],
|
| 164 |
+
[$arrow.r.stop$\ arrow.r.stop],
|
| 165 |
+
[$arrow.r.stroked$\ arrow.r.stroked],
|
| 166 |
+
[$arrow.r.struck$\ arrow.r.struck],
|
| 167 |
+
[$arrow.r.dstruck$\ arrow.r.dstruck],
|
| 168 |
+
[$arrow.r.tail$\ arrow.r.tail],
|
| 169 |
+
[$arrow.r.tail.struck$\ arrow.r.tail.struck],
|
| 170 |
+
[$arrow.r.tail.dstruck$\ arrow.r.tail.dstruck],
|
| 171 |
+
[$arrow.r.tilde$\ arrow.r.tilde],
|
| 172 |
+
[$arrow.r.triple$\ arrow.r.triple],
|
| 173 |
+
[$arrow.r.twohead$\ arrow.r.twohead],
|
| 174 |
+
[$arrow.r.twohead.bar$\ arrow.r.twohead.bar],
|
| 175 |
+
[$arrow.r.twohead.struck$\ arrow.r.twohead.struck],
|
| 176 |
+
[$arrow.r.twohead.dstruck$\ arrow.r.twohead.dstruck],
|
| 177 |
+
[$arrow.r.twohead.tail$\ arrow.r.twohead.tail],
|
| 178 |
+
[$arrow.r.twohead.tail.struck$\ arrow.r.twohead.tail.struck],
|
| 179 |
+
[$arrow.r.twohead.tail.dstruck$\ arrow.r.twohead.tail.dstruck],
|
| 180 |
+
[$arrow.r.open$\ arrow.r.open],
|
| 181 |
+
[$arrow.r.wave$\ arrow.r.wave],
|
| 182 |
+
[$arrow.l$\ arrow.l],
|
| 183 |
+
[$arrow.l.long.bar$\ arrow.l.long.bar],
|
| 184 |
+
[$arrow.l.bar$\ arrow.l.bar],
|
| 185 |
+
[$arrow.l.curve$\ arrow.l.curve],
|
| 186 |
+
[$arrow.l.turn$\ arrow.l.turn],
|
| 187 |
+
[$arrow.dashed$\ arrow.dashed],
|
| 188 |
+
[$arrow.l.dotted$\ arrow.l.dotted],
|
| 189 |
+
[$arrow.l.double$\ arrow.l.double],
|
| 190 |
+
[$arrow.l.double.bar$\ arrow.l.double.bar],
|
| 191 |
+
[$arrow.l.double.long$\ arrow.l.double.long],
|
| 192 |
+
[$arrow.l.double.long.bar$\ arrow.l.double.long.bar],
|
| 193 |
+
[$arrow.l.double.not$\ arrow.l.double.not],
|
| 194 |
+
[$arrow.l.double.struck$\ arrow.l.double.struck],
|
| 195 |
+
[$arrow.l.filled$\ arrow.l.filled],
|
| 196 |
+
[$arrow.l.hook$\ arrow.l.hook],
|
| 197 |
+
[$arrow.l.long$\ arrow.l.long],
|
| 198 |
+
[$arrow.l.long.squiggly$\ arrow.l.long.squiggly],
|
| 199 |
+
[$arrow.l.loop$\ arrow.l.loop],
|
| 200 |
+
[$arrow.l.not$\ arrow.l.not],
|
| 201 |
+
[$arrow.l.quad$\ arrow.l.quad],
|
| 202 |
+
[$arrow.l.squiggly$\ arrow.l.squiggly],
|
| 203 |
+
[$arrow.l.stop$\ arrow.l.stop],
|
| 204 |
+
[$arrow.l.stroked$\ arrow.l.stroked],
|
| 205 |
+
[$arrow.l.struck$\ arrow.l.struck],
|
| 206 |
+
[$arrow.l.dstruck$\ arrow.l.dstruck],
|
| 207 |
+
[$arrow.l.tail$\ arrow.l.tail],
|
| 208 |
+
[$arrow.l.tail.struck$\ arrow.l.tail.struck],
|
| 209 |
+
[$arrow.l.tail.dstruck$\ arrow.l.tail.dstruck],
|
| 210 |
+
[$arrow.l.tilde$\ arrow.l.tilde],
|
| 211 |
+
[$arrow.l.triple$\ arrow.l.triple],
|
| 212 |
+
[$arrow.l.twohead$\ arrow.l.twohead],
|
| 213 |
+
[$arrow.l.twohead.bar$\ arrow.l.twohead.bar],
|
| 214 |
+
[$arrow.l.twohead.struck$\ arrow.l.twohead.struck],
|
| 215 |
+
[$arrow.l.twohead.dstruck$\ arrow.l.twohead.dstruck],
|
| 216 |
+
[$arrow.l.twohead.tail$\ arrow.l.twohead.tail],
|
| 217 |
+
[$arrow.l.twohead.tail.struck$\ arrow.l.twohead.tail.struck],
|
| 218 |
+
[$arrow.l.twohead.tail.dstruck$\ arrow.l.twohead.tail.dstruck],
|
| 219 |
+
[$arrow.l.open$\ arrow.l.open],
|
| 220 |
+
[$arrow.l.wave$\ arrow.l.wave],
|
| 221 |
+
[$arrow.t$\ arrow.t],
|
| 222 |
+
[$arrow.t.bar$\ arrow.t.bar],
|
| 223 |
+
[$arrow.t.curve$\ arrow.t.curve],
|
| 224 |
+
[$arrow.t.turn$\ arrow.t.turn],
|
| 225 |
+
[$arrow.dashed$\ arrow.dashed],
|
| 226 |
+
[$arrow.t.double$\ arrow.t.double],
|
| 227 |
+
[$arrow.t.filled$\ arrow.t.filled],
|
| 228 |
+
[$arrow.t.quad$\ arrow.t.quad],
|
| 229 |
+
[$arrow.t.stop$\ arrow.t.stop],
|
| 230 |
+
[$arrow.t.stroked$\ arrow.t.stroked],
|
| 231 |
+
[$arrow.t.struck$\ arrow.t.struck],
|
| 232 |
+
[$arrow.t.dstruck$\ arrow.t.dstruck],
|
| 233 |
+
[$arrow.t.triple$\ arrow.t.triple],
|
| 234 |
+
[$arrow.t.twohead$\ arrow.t.twohead],
|
| 235 |
+
[$arrow.b$\ arrow.b],
|
| 236 |
+
[$arrow.b.bar$\ arrow.b.bar],
|
| 237 |
+
[$arrow.b.curve$\ arrow.b.curve],
|
| 238 |
+
[$arrow.b.turn$\ arrow.b.turn],
|
| 239 |
+
[$arrow.dashed$\ arrow.dashed],
|
| 240 |
+
[$arrow.b.double$\ arrow.b.double],
|
| 241 |
+
[$arrow.b.filled$\ arrow.b.filled],
|
| 242 |
+
[$arrow.b.quad$\ arrow.b.quad],
|
| 243 |
+
[$arrow.b.stop$\ arrow.b.stop],
|
| 244 |
+
[$arrow.b.stroked$\ arrow.b.stroked],
|
| 245 |
+
[$arrow.b.struck$\ arrow.b.struck],
|
| 246 |
+
[$arrow.b.dstruck$\ arrow.b.dstruck],
|
| 247 |
+
[$arrow.b.triple$\ arrow.b.triple],
|
| 248 |
+
[$arrow.b.twohead$\ arrow.b.twohead],
|
| 249 |
+
[$arrow.l.r$\ arrow.l.r],
|
| 250 |
+
[$arrow.l.r.double$\ arrow.l.r.double],
|
| 251 |
+
[$arrow.l.r.double.long$\ arrow.l.r.double.long],
|
| 252 |
+
[$arrow.l.r.double.not$\ arrow.l.r.double.not],
|
| 253 |
+
[$arrow.l.r.double.struck$\ arrow.l.r.double.struck],
|
| 254 |
+
[$arrow.l.r.filled$\ arrow.l.r.filled],
|
| 255 |
+
[$arrow.l.r.long$\ arrow.l.r.long],
|
| 256 |
+
[$arrow.l.r.not$\ arrow.l.r.not],
|
| 257 |
+
[$arrow.l.r.stroked$\ arrow.l.r.stroked],
|
| 258 |
+
[$arrow.l.r.struck$\ arrow.l.r.struck],
|
| 259 |
+
[$arrow.l.r.dstruck$\ arrow.l.r.dstruck],
|
| 260 |
+
[$arrow.l.r.open$\ arrow.l.r.open],
|
| 261 |
+
[$arrow.l.r.wave$\ arrow.l.r.wave],
|
| 262 |
+
[$arrow.t.b$\ arrow.t.b],
|
| 263 |
+
[$arrow.t.b.double$\ arrow.t.b.double],
|
| 264 |
+
[$arrow.t.b.filled$\ arrow.t.b.filled],
|
| 265 |
+
[$arrow.t.b.stroked$\ arrow.t.b.stroked],
|
| 266 |
+
[$arrow.tr$\ arrow.tr],
|
| 267 |
+
[$arrow.tr.bar$\ arrow.tr.bar],
|
| 268 |
+
[$arrow.tr.double$\ arrow.tr.double],
|
| 269 |
+
[$arrow.tr.filled$\ arrow.tr.filled],
|
| 270 |
+
[$arrow.tr.hook$\ arrow.tr.hook],
|
| 271 |
+
[$arrow.tr.stroked$\ arrow.tr.stroked],
|
| 272 |
+
[$arrow.br$\ arrow.br],
|
| 273 |
+
[$arrow.br.bar$\ arrow.br.bar],
|
| 274 |
+
[$arrow.br.double$\ arrow.br.double],
|
| 275 |
+
[$arrow.br.filled$\ arrow.br.filled],
|
| 276 |
+
[$arrow.br.hook$\ arrow.br.hook],
|
| 277 |
+
[$arrow.br.stroked$\ arrow.br.stroked],
|
| 278 |
+
[$arrow.tl$\ arrow.tl],
|
| 279 |
+
[$arrow.tl.bar$\ arrow.tl.bar],
|
| 280 |
+
[$arrow.tl.double$\ arrow.tl.double],
|
| 281 |
+
[$arrow.tl.filled$\ arrow.tl.filled],
|
| 282 |
+
[$arrow.tl.hook$\ arrow.tl.hook],
|
| 283 |
+
[$arrow.tl.stroked$\ arrow.tl.stroked],
|
| 284 |
+
[$arrow.bl$\ arrow.bl],
|
| 285 |
+
[$arrow.bl.bar$\ arrow.bl.bar],
|
| 286 |
+
[$arrow.bl.double$\ arrow.bl.double],
|
| 287 |
+
[$arrow.bl.filled$\ arrow.bl.filled],
|
| 288 |
+
[$arrow.bl.hook$\ arrow.bl.hook],
|
| 289 |
+
[$arrow.bl.stroked$\ arrow.bl.stroked],
|
| 290 |
+
[$arrow.tl.br$\ arrow.tl.br],
|
| 291 |
+
[$arrow.tr.bl$\ arrow.tr.bl],
|
| 292 |
+
[$arrow.ccw$\ arrow.ccw],
|
| 293 |
+
[$arrow.ccw.half$\ arrow.ccw.half],
|
| 294 |
+
[$arrow.cw$\ arrow.cw],
|
| 295 |
+
[$arrow.cw.half$\ arrow.cw.half],
|
| 296 |
+
[$arrow.zigzag$\ arrow.zigzag],
|
| 297 |
+
[$arrowhead.t$\ arrowhead.t],
|
| 298 |
+
[$arrowhead.b$\ arrowhead.b],
|
| 299 |
+
[$arrows.rr$\ arrows.rr],
|
| 300 |
+
[$arrows.ll$\ arrows.ll],
|
| 301 |
+
[$arrows.tt$\ arrows.tt],
|
| 302 |
+
[$arrows.bb$\ arrows.bb],
|
| 303 |
+
[$arrows.lr$\ arrows.lr],
|
| 304 |
+
[$arrows.lr.stop$\ arrows.lr.stop],
|
| 305 |
+
[$arrows.rl$\ arrows.rl],
|
| 306 |
+
[$arrows.rl.long$\ arrows.rl.long],
|
| 307 |
+
[$arrows.tb$\ arrows.tb],
|
| 308 |
+
[$arrows.bt$\ arrows.bt],
|
| 309 |
+
[$arrows.rrr$\ arrows.rrr],
|
| 310 |
+
[$arrows.lll$\ arrows.lll],
|
| 311 |
+
[$ast.op$\ ast.op],
|
| 312 |
+
[$ast.op.o$\ ast.op.o],
|
| 313 |
+
[$ast.basic$\ ast.basic],
|
| 314 |
+
[$ast.low$\ ast.low],
|
| 315 |
+
[$ast.double$\ ast.double],
|
| 316 |
+
[$ast.triple$\ ast.triple],
|
| 317 |
+
[$ast.square$\ ast.square],
|
| 318 |
+
[$asymp$\ asymp],
|
| 319 |
+
[$asymp.not$\ asymp.not],
|
| 320 |
+
[$at$\ at],
|
| 321 |
+
[$backslash$\ backslash],
|
| 322 |
+
[$backslash.o$\ backslash.o],
|
| 323 |
+
[$backslash.not$\ backslash.not],
|
| 324 |
+
[$bag.l$\ bag.l],
|
| 325 |
+
[$bag.r$\ bag.r],
|
| 326 |
+
[$baht$\ baht],
|
| 327 |
+
[$ballot$\ ballot],
|
| 328 |
+
[$ballot.cross$\ ballot.cross],
|
| 329 |
+
[$ballot.check$\ ballot.check],
|
| 330 |
+
[$ballot.check.heavy$\ ballot.check.heavy],
|
| 331 |
+
[$bar.v$\ bar.v],
|
| 332 |
+
[$bar.v.double$\ bar.v.double],
|
| 333 |
+
[$bar.v.triple$\ bar.v.triple],
|
| 334 |
+
[$bar.v.broken$\ bar.v.broken],
|
| 335 |
+
[$bar.v.o$\ bar.v.o],
|
| 336 |
+
[$bar.h$\ bar.h],
|
| 337 |
+
[$because$\ because],
|
| 338 |
+
[$beta$\ beta],
|
| 339 |
+
[$beta.alt$\ beta.alt],
|
| 340 |
+
[$beth$\ beth],
|
| 341 |
+
[$bitcoin$\ bitcoin],
|
| 342 |
+
[$bot$\ bot],
|
| 343 |
+
[$bowtie.stroked$\ bowtie.stroked],
|
| 344 |
+
[$bowtie.stroked.big$\ bowtie.stroked.big],
|
| 345 |
+
[$bowtie.stroked.big.l$\ bowtie.stroked.big.l],
|
| 346 |
+
[$bowtie.stroked.r$\ bowtie.stroked.r],
|
| 347 |
+
[$bowtie.stroked.l.r$\ bowtie.stroked.l.r],
|
| 348 |
+
[$bowtie.filled$\ bowtie.filled],
|
| 349 |
+
[$bowtie.filled.l$\ bowtie.filled.l],
|
| 350 |
+
[$bowtie.filled.r$\ bowtie.filled.r],
|
| 351 |
+
[$brace.l$\ brace.l],
|
| 352 |
+
[$brace.l.stroked$\ brace.l.stroked],
|
| 353 |
+
[$brace.r$\ brace.r],
|
| 354 |
+
[$brace.r.stroked$\ brace.r.stroked],
|
| 355 |
+
[$brace.t$\ brace.t],
|
| 356 |
+
[$brace.b$\ brace.b],
|
| 357 |
+
[$bracket.l$\ bracket.l],
|
| 358 |
+
[$bracket.l.tick.t$\ bracket.l.tick.t],
|
| 359 |
+
[$bracket.l.tick.b$\ bracket.l.tick.b],
|
| 360 |
+
[$bracket.l.stroked$\ bracket.l.stroked],
|
| 361 |
+
[$bracket.r$\ bracket.r],
|
| 362 |
+
[$bracket.r.tick.t$\ bracket.r.tick.t],
|
| 363 |
+
[$bracket.r.tick.b$\ bracket.r.tick.b],
|
| 364 |
+
[$bracket.r.stroked$\ bracket.r.stroked],
|
| 365 |
+
[$bracket.t$\ bracket.t],
|
| 366 |
+
[$bracket.b$\ bracket.b],
|
| 367 |
+
[$breve$\ breve],
|
| 368 |
+
[$bullet$\ bullet],
|
| 369 |
+
[$bullet.op$\ bullet.op],
|
| 370 |
+
[$bullet.o$\ bullet.o],
|
| 371 |
+
[$bullet.stroked$\ bullet.stroked],
|
| 372 |
+
[$bullet.stroked.o$\ bullet.stroked.o],
|
| 373 |
+
[$bullet.hole$\ bullet.hole],
|
| 374 |
+
[$bullet.hyph$\ bullet.hyph],
|
| 375 |
+
[$bullet.tri$\ bullet.tri],
|
| 376 |
+
[$bullet.l$\ bullet.l],
|
| 377 |
+
[$bullet.r$\ bullet.r],
|
| 378 |
+
[$caret$\ caret],
|
| 379 |
+
[$caron$\ caron],
|
| 380 |
+
[$cc$\ cc],
|
| 381 |
+
[$cc.by$\ cc.by],
|
| 382 |
+
[$cc.nc$\ cc.nc],
|
| 383 |
+
[$cc.nd$\ cc.nd],
|
| 384 |
+
[$cc.public$\ cc.public],
|
| 385 |
+
[$cc.sa$\ cc.sa],
|
| 386 |
+
[$cc.zero$\ cc.zero],
|
| 387 |
+
[$cedi$\ cedi],
|
| 388 |
+
[$ceil.l$\ ceil.l],
|
| 389 |
+
[$ceil.r$\ ceil.r],
|
| 390 |
+
[$cent$\ cent],
|
| 391 |
+
[$checkmark$\ checkmark],
|
| 392 |
+
[$checkmark.light$\ checkmark.light],
|
| 393 |
+
[$checkmark.heavy$\ checkmark.heavy],
|
| 394 |
+
[$chevron.l$\ chevron.l],
|
| 395 |
+
[$chevron.l.curly$\ chevron.l.curly],
|
| 396 |
+
[$chevron.l.dot$\ chevron.l.dot],
|
| 397 |
+
[$chevron.l.closed$\ chevron.l.closed],
|
| 398 |
+
[$chevron.l.double$\ chevron.l.double],
|
| 399 |
+
[$chevron.r$\ chevron.r],
|
| 400 |
+
[$chevron.r.curly$\ chevron.r.curly],
|
| 401 |
+
[$chevron.r.dot$\ chevron.r.dot],
|
| 402 |
+
[$chevron.r.closed$\ chevron.r.closed],
|
| 403 |
+
[$chevron.r.double$\ chevron.r.double],
|
| 404 |
+
[$chi$\ chi],
|
| 405 |
+
[$circle.stroked$\ circle.stroked],
|
| 406 |
+
[$circle.stroked.small$\ circle.stroked.small],
|
| 407 |
+
[$circle.stroked.big$\ circle.stroked.big],
|
| 408 |
+
[$circle.filled$\ circle.filled],
|
| 409 |
+
[$circle.filled.tiny$\ circle.filled.tiny],
|
| 410 |
+
[$circle.filled.small$\ circle.filled.small],
|
| 411 |
+
[$circle.filled.big$\ circle.filled.big],
|
| 412 |
+
[$circle.dotted$\ circle.dotted],
|
| 413 |
+
[$co$\ co],
|
| 414 |
+
[$colon$\ colon],
|
| 415 |
+
[$colon.currency$\ colon.currency],
|
| 416 |
+
[$colon.double$\ colon.double],
|
| 417 |
+
[$colon.tri$\ colon.tri],
|
| 418 |
+
[$colon.tri.op$\ colon.tri.op],
|
| 419 |
+
[$colon.eq$\ colon.eq],
|
| 420 |
+
[$colon.double.eq$\ colon.double.eq],
|
| 421 |
+
[$comma$\ comma],
|
| 422 |
+
[$comma.inv$\ comma.inv],
|
| 423 |
+
[$comma.rev$\ comma.rev],
|
| 424 |
+
[$complement$\ complement],
|
| 425 |
+
[$compose$\ compose],
|
| 426 |
+
[$compose.o$\ compose.o],
|
| 427 |
+
[$control.ack$\ control.ack],
|
| 428 |
+
[$control.bel$\ control.bel],
|
| 429 |
+
[$control.bs$\ control.bs],
|
| 430 |
+
[$control.can$\ control.can],
|
| 431 |
+
[$control.cr$\ control.cr],
|
| 432 |
+
[$control.dc.one$\ control.dc.one],
|
| 433 |
+
[$control.dc.two$\ control.dc.two],
|
| 434 |
+
[$control.dc.three$\ control.dc.three],
|
| 435 |
+
[$control.dc.four$\ control.dc.four],
|
| 436 |
+
[$control.del$\ control.del],
|
| 437 |
+
[$control.dle$\ control.dle],
|
| 438 |
+
[$control.em$\ control.em],
|
| 439 |
+
[$control.enq$\ control.enq],
|
| 440 |
+
[$control.eot$\ control.eot],
|
| 441 |
+
[$control.esc$\ control.esc],
|
| 442 |
+
[$control.etb$\ control.etb],
|
| 443 |
+
[$control.etx$\ control.etx],
|
| 444 |
+
[$control.ff$\ control.ff],
|
| 445 |
+
[$control.fs$\ control.fs],
|
| 446 |
+
[$control.gs$\ control.gs],
|
| 447 |
+
[$control.ht$\ control.ht],
|
| 448 |
+
[$control.lf$\ control.lf],
|
| 449 |
+
[$control.nak$\ control.nak],
|
| 450 |
+
[$control.nl$\ control.nl],
|
| 451 |
+
[$control.nul$\ control.nul],
|
| 452 |
+
[$control.rs$\ control.rs],
|
| 453 |
+
[$control.si$\ control.si],
|
| 454 |
+
[$control.so$\ control.so],
|
| 455 |
+
[$control.soh$\ control.soh],
|
| 456 |
+
[$control.sp$\ control.sp],
|
| 457 |
+
[$control.stx$\ control.stx],
|
| 458 |
+
[$control.sub$\ control.sub],
|
| 459 |
+
[$control.syn$\ control.syn],
|
| 460 |
+
[$control.us$\ control.us],
|
| 461 |
+
[$control.vt$\ control.vt],
|
| 462 |
+
[$convolve$\ convolve],
|
| 463 |
+
[$convolve.o$\ convolve.o],
|
| 464 |
+
[$copyleft$\ copyleft],
|
| 465 |
+
[$copyright$\ copyright],
|
| 466 |
+
[$copyright.sound$\ copyright.sound],
|
| 467 |
+
[$corner.l.t$\ corner.l.t],
|
| 468 |
+
[$corner.l.b$\ corner.l.b],
|
| 469 |
+
[$corner.r.t$\ corner.r.t],
|
| 470 |
+
[$corner.r.b$\ corner.r.b],
|
| 471 |
+
[$crossmark$\ crossmark],
|
| 472 |
+
[$crossmark.heavy$\ crossmark.heavy],
|
| 473 |
+
[$currency$\ currency],
|
| 474 |
+
[$dagger$\ dagger],
|
| 475 |
+
[$dagger.double$\ dagger.double],
|
| 476 |
+
[$dagger.triple$\ dagger.triple],
|
| 477 |
+
[$dagger.l$\ dagger.l],
|
| 478 |
+
[$dagger.r$\ dagger.r],
|
| 479 |
+
[$dagger.inv$\ dagger.inv],
|
| 480 |
+
[$daleth$\ daleth],
|
| 481 |
+
[$dash.en$\ dash.en],
|
| 482 |
+
[$dash.em$\ dash.em],
|
| 483 |
+
[$dash.em.two$\ dash.em.two],
|
| 484 |
+
[$dash.em.three$\ dash.em.three],
|
| 485 |
+
[$dash.fig$\ dash.fig],
|
| 486 |
+
[$dash.colon$\ dash.colon],
|
| 487 |
+
[$dash.o$\ dash.o],
|
| 488 |
+
[$dash.wave$\ dash.wave],
|
| 489 |
+
[$dash.wave.double$\ dash.wave.double],
|
| 490 |
+
[$degree$\ degree],
|
| 491 |
+
[$delta$\ delta],
|
| 492 |
+
[$diaer$\ diaer],
|
| 493 |
+
[$diameter$\ diameter],
|
| 494 |
+
[$diamond.stroked$\ diamond.stroked],
|
| 495 |
+
[$diamond.stroked.small$\ diamond.stroked.small],
|
| 496 |
+
[$diamond.stroked.medium$\ diamond.stroked.medium],
|
| 497 |
+
[$diamond.stroked.dot$\ diamond.stroked.dot],
|
| 498 |
+
[$diamond.filled$\ diamond.filled],
|
| 499 |
+
[$diamond.filled.medium$\ diamond.filled.medium],
|
| 500 |
+
[$diamond.filled.small$\ diamond.filled.small],
|
| 501 |
+
[$die.six$\ die.six],
|
| 502 |
+
[$die.five$\ die.five],
|
| 503 |
+
[$die.four$\ die.four],
|
| 504 |
+
[$die.three$\ die.three],
|
| 505 |
+
[$die.two$\ die.two],
|
| 506 |
+
[$die.one$\ die.one],
|
| 507 |
+
[$digamma$\ digamma],
|
| 508 |
+
[$div$\ div],
|
| 509 |
+
[$div.o$\ div.o],
|
| 510 |
+
[$div.slanted.o$\ div.slanted.o],
|
| 511 |
+
[$divides$\ divides],
|
| 512 |
+
[$divides.not$\ divides.not],
|
| 513 |
+
[$divides.not.rev$\ divides.not.rev],
|
| 514 |
+
[$divides.struck$\ divides.struck],
|
| 515 |
+
[$dollar$\ dollar],
|
| 516 |
+
[$dong$\ dong],
|
| 517 |
+
[$dorome$\ dorome],
|
| 518 |
+
[$dot.op$\ dot.op],
|
| 519 |
+
[$dot.basic$\ dot.basic],
|
| 520 |
+
[$dot.c$\ dot.c],
|
| 521 |
+
[$dot.o$\ dot.o],
|
| 522 |
+
[$dot.o.big$\ dot.o.big],
|
| 523 |
+
[$dot.square$\ dot.square],
|
| 524 |
+
[$dot.double$\ dot.double],
|
| 525 |
+
[$dot.triple$\ dot.triple],
|
| 526 |
+
[$dot.quad$\ dot.quad],
|
| 527 |
+
[$dotless.i$\ dotless.i],
|
| 528 |
+
[$dotless.j$\ dotless.j],
|
| 529 |
+
[$dots.h.c$\ dots.h.c],
|
| 530 |
+
[$dots.h$\ dots.h],
|
| 531 |
+
[$dots.v$\ dots.v],
|
| 532 |
+
[$dots.down$\ dots.down],
|
| 533 |
+
[$dots.up$\ dots.up],
|
| 534 |
+
[$dram$\ dram],
|
| 535 |
+
[$earth$\ earth],
|
| 536 |
+
[$earth.alt$\ earth.alt],
|
| 537 |
+
[$ell$\ ell],
|
| 538 |
+
[$ellipse.stroked.h$\ ellipse.stroked.h],
|
| 539 |
+
[$ellipse.stroked.v$\ ellipse.stroked.v],
|
| 540 |
+
[$ellipse.filled.h$\ ellipse.filled.h],
|
| 541 |
+
[$ellipse.filled.v$\ ellipse.filled.v],
|
| 542 |
+
[$emptyset$\ emptyset],
|
| 543 |
+
[$emptyset.zero$\ emptyset.zero],
|
| 544 |
+
[$emptyset.arrow.r$\ emptyset.arrow.r],
|
| 545 |
+
[$emptyset.arrow.l$\ emptyset.arrow.l],
|
| 546 |
+
[$emptyset.bar$\ emptyset.bar],
|
| 547 |
+
[$emptyset.circle$\ emptyset.circle],
|
| 548 |
+
[$emptyset.rev$\ emptyset.rev],
|
| 549 |
+
[$epsilon$\ epsilon],
|
| 550 |
+
[$epsilon.alt$\ epsilon.alt],
|
| 551 |
+
[$epsilon.alt.rev$\ epsilon.alt.rev],
|
| 552 |
+
[$eq$\ eq],
|
| 553 |
+
[$eq.ast$\ eq.ast],
|
| 554 |
+
[$eq.star$\ eq.star],
|
| 555 |
+
[$eq.o$\ eq.o],
|
| 556 |
+
[$eq.colon$\ eq.colon],
|
| 557 |
+
[$eq.dot$\ eq.dot],
|
| 558 |
+
[$eq.dots$\ eq.dots],
|
| 559 |
+
[$eq.dots.down$\ eq.dots.down],
|
| 560 |
+
[$eq.dots.up$\ eq.dots.up],
|
| 561 |
+
[$eq.def$\ eq.def],
|
| 562 |
+
[$eq.delta$\ eq.delta],
|
| 563 |
+
[$eq.equi$\ eq.equi],
|
| 564 |
+
[$eq.est$\ eq.est],
|
| 565 |
+
[$eq.gt$\ eq.gt],
|
| 566 |
+
[$eq.lt$\ eq.lt],
|
| 567 |
+
[$eq.m$\ eq.m],
|
| 568 |
+
[$eq.not$\ eq.not],
|
| 569 |
+
[$eq.prec$\ eq.prec],
|
| 570 |
+
[$eq.quest$\ eq.quest],
|
| 571 |
+
[$eq.succ$\ eq.succ],
|
| 572 |
+
[$eq.triple$\ eq.triple],
|
| 573 |
+
[$eq.triple.not$\ eq.triple.not],
|
| 574 |
+
[$eq.quad$\ eq.quad],
|
| 575 |
+
[$equiv$\ equiv],
|
| 576 |
+
[$equiv.not$\ equiv.not],
|
| 577 |
+
[$errorbar.square.stroked$\ errorbar.square.stroked],
|
| 578 |
+
[$errorbar.square.filled$\ errorbar.square.filled],
|
| 579 |
+
[$errorbar.diamond.stroked$\ errorbar.diamond.stroked],
|
| 580 |
+
[$errorbar.diamond.filled$\ errorbar.diamond.filled],
|
| 581 |
+
[$errorbar.circle.stroked$\ errorbar.circle.stroked],
|
| 582 |
+
[$errorbar.circle.filled$\ errorbar.circle.filled],
|
| 583 |
+
[$eta$\ eta],
|
| 584 |
+
[$euro$\ euro],
|
| 585 |
+
[$excl$\ excl],
|
| 586 |
+
[$excl.double$\ excl.double],
|
| 587 |
+
[$excl.inv$\ excl.inv],
|
| 588 |
+
[$excl.quest$\ excl.quest],
|
| 589 |
+
[$exists$\ exists],
|
| 590 |
+
[$exists.not$\ exists.not],
|
| 591 |
+
[$fence.l$\ fence.l],
|
| 592 |
+
[$fence.l.double$\ fence.l.double],
|
| 593 |
+
[$fence.r$\ fence.r],
|
| 594 |
+
[$fence.r.double$\ fence.r.double],
|
| 595 |
+
[$fence.dotted$\ fence.dotted],
|
| 596 |
+
[$flat$\ flat],
|
| 597 |
+
[$flat.t$\ flat.t],
|
| 598 |
+
[$flat.b$\ flat.b],
|
| 599 |
+
[$flat.double$\ flat.double],
|
| 600 |
+
[$flat.quarter$\ flat.quarter],
|
| 601 |
+
[$floor.l$\ floor.l],
|
| 602 |
+
[$floor.r$\ floor.r],
|
| 603 |
+
[$floral$\ floral],
|
| 604 |
+
[$floral.l$\ floral.l],
|
| 605 |
+
[$floral.r$\ floral.r],
|
| 606 |
+
[$forall$\ forall],
|
| 607 |
+
[$forces$\ forces],
|
| 608 |
+
[$forces.not$\ forces.not],
|
| 609 |
+
[$frown$\ frown],
|
| 610 |
+
[$gamma$\ gamma],
|
| 611 |
+
[$gender.female$\ gender.female],
|
| 612 |
+
[$gender.female.double$\ gender.female.double],
|
| 613 |
+
[$gender.female.male$\ gender.female.male],
|
| 614 |
+
[$gender.intersex$\ gender.intersex],
|
| 615 |
+
[$gender.male$\ gender.male],
|
| 616 |
+
[$gender.male.double$\ gender.male.double],
|
| 617 |
+
[$gender.male.female$\ gender.male.female],
|
| 618 |
+
[$gender.male.stroke$\ gender.male.stroke],
|
| 619 |
+
[$gender.male.stroke.t$\ gender.male.stroke.t],
|
| 620 |
+
[$gender.male.stroke.r$\ gender.male.stroke.r],
|
| 621 |
+
[$gender.neuter$\ gender.neuter],
|
| 622 |
+
[$gender.trans$\ gender.trans],
|
| 623 |
+
[$gimel$\ gimel],
|
| 624 |
+
[$gradient$\ gradient],
|
| 625 |
+
[$grave$\ grave],
|
| 626 |
+
[$gt$\ gt],
|
| 627 |
+
[$gt.o$\ gt.o],
|
| 628 |
+
[$gt.dot$\ gt.dot],
|
| 629 |
+
[$gt.quest$\ gt.quest],
|
| 630 |
+
[$gt.approx$\ gt.approx],
|
| 631 |
+
[$gt.arc$\ gt.arc],
|
| 632 |
+
[$gt.arc.eq$\ gt.arc.eq],
|
| 633 |
+
[$gt.closed$\ gt.closed],
|
| 634 |
+
[$gt.closed.eq$\ gt.closed.eq],
|
| 635 |
+
[$gt.closed.eq.not$\ gt.closed.eq.not],
|
| 636 |
+
[$gt.double$\ gt.double],
|
| 637 |
+
[$gt.double.nested$\ gt.double.nested],
|
| 638 |
+
[$gt.eq$\ gt.eq],
|
| 639 |
+
[$gt.eq.slant$\ gt.eq.slant],
|
| 640 |
+
[$gt.eq.lt$\ gt.eq.lt],
|
| 641 |
+
[$gt.eq.not$\ gt.eq.not],
|
| 642 |
+
[$gt.equiv$\ gt.equiv],
|
| 643 |
+
[$gt.lt$\ gt.lt],
|
| 644 |
+
[$gt.lt.not$\ gt.lt.not],
|
| 645 |
+
[$gt.neq$\ gt.neq],
|
| 646 |
+
[$gt.napprox$\ gt.napprox],
|
| 647 |
+
[$gt.nequiv$\ gt.nequiv],
|
| 648 |
+
[$gt.not$\ gt.not],
|
| 649 |
+
[$gt.ntilde$\ gt.ntilde],
|
| 650 |
+
[$gt.tilde$\ gt.tilde],
|
| 651 |
+
[$gt.tilde.not$\ gt.tilde.not],
|
| 652 |
+
[$gt.triple$\ gt.triple],
|
| 653 |
+
[$gt.triple.nested$\ gt.triple.nested],
|
| 654 |
+
[$guarani$\ guarani],
|
| 655 |
+
[$harpoon.rt$\ harpoon.rt],
|
| 656 |
+
[$harpoon.rt.bar$\ harpoon.rt.bar],
|
| 657 |
+
[$harpoon.rt.stop$\ harpoon.rt.stop],
|
| 658 |
+
[$harpoon.rb$\ harpoon.rb],
|
| 659 |
+
[$harpoon.rb.bar$\ harpoon.rb.bar],
|
| 660 |
+
[$harpoon.rb.stop$\ harpoon.rb.stop],
|
| 661 |
+
[$harpoon.lt$\ harpoon.lt],
|
| 662 |
+
[$harpoon.lt.bar$\ harpoon.lt.bar],
|
| 663 |
+
[$harpoon.lt.stop$\ harpoon.lt.stop],
|
| 664 |
+
[$harpoon.lb$\ harpoon.lb],
|
| 665 |
+
[$harpoon.lb.bar$\ harpoon.lb.bar],
|
| 666 |
+
[$harpoon.lb.stop$\ harpoon.lb.stop],
|
| 667 |
+
[$harpoon.tl$\ harpoon.tl],
|
| 668 |
+
[$harpoon.tl.bar$\ harpoon.tl.bar],
|
| 669 |
+
[$harpoon.tl.stop$\ harpoon.tl.stop],
|
| 670 |
+
[$harpoon.tr$\ harpoon.tr],
|
| 671 |
+
[$harpoon.tr.bar$\ harpoon.tr.bar],
|
| 672 |
+
[$harpoon.tr.stop$\ harpoon.tr.stop],
|
| 673 |
+
[$harpoon.bl$\ harpoon.bl],
|
| 674 |
+
[$harpoon.bl.bar$\ harpoon.bl.bar],
|
| 675 |
+
[$harpoon.bl.stop$\ harpoon.bl.stop],
|
| 676 |
+
[$harpoon.br$\ harpoon.br],
|
| 677 |
+
[$harpoon.br.bar$\ harpoon.br.bar],
|
| 678 |
+
[$harpoon.br.stop$\ harpoon.br.stop],
|
| 679 |
+
[$harpoon.lt.rt$\ harpoon.lt.rt],
|
| 680 |
+
[$harpoon.lb.rb$\ harpoon.lb.rb],
|
| 681 |
+
[$harpoon.lb.rt$\ harpoon.lb.rt],
|
| 682 |
+
[$harpoon.lt.rb$\ harpoon.lt.rb],
|
| 683 |
+
[$harpoon.tl.bl$\ harpoon.tl.bl],
|
| 684 |
+
[$harpoon.tr.br$\ harpoon.tr.br],
|
| 685 |
+
[$harpoon.tl.br$\ harpoon.tl.br],
|
| 686 |
+
[$harpoon.tr.bl$\ harpoon.tr.bl],
|
| 687 |
+
[$harpoons.rtrb$\ harpoons.rtrb],
|
| 688 |
+
[$harpoons.blbr$\ harpoons.blbr],
|
| 689 |
+
[$harpoons.bltr$\ harpoons.bltr],
|
| 690 |
+
[$harpoons.lbrb$\ harpoons.lbrb],
|
| 691 |
+
[$harpoons.ltlb$\ harpoons.ltlb],
|
| 692 |
+
[$harpoons.ltrb$\ harpoons.ltrb],
|
| 693 |
+
[$harpoons.ltrt$\ harpoons.ltrt],
|
| 694 |
+
[$harpoons.rblb$\ harpoons.rblb],
|
| 695 |
+
[$harpoons.rtlb$\ harpoons.rtlb],
|
| 696 |
+
[$harpoons.rtlt$\ harpoons.rtlt],
|
| 697 |
+
[$harpoons.tlbr$\ harpoons.tlbr],
|
| 698 |
+
[$harpoons.tltr$\ harpoons.tltr],
|
| 699 |
+
[$hash$\ hash],
|
| 700 |
+
[$hat$\ hat],
|
| 701 |
+
[$hexa.stroked$\ hexa.stroked],
|
| 702 |
+
[$hexa.filled$\ hexa.filled],
|
| 703 |
+
[$hourglass.stroked$\ hourglass.stroked],
|
| 704 |
+
[$hourglass.filled$\ hourglass.filled],
|
| 705 |
+
[$hryvnia$\ hryvnia],
|
| 706 |
+
[$hyph$\ hyph],
|
| 707 |
+
[$hyph.minus$\ hyph.minus],
|
| 708 |
+
[$hyph.nobreak$\ hyph.nobreak],
|
| 709 |
+
[$hyph.point$\ hyph.point],
|
| 710 |
+
[$hyph.soft$\ hyph.soft],
|
| 711 |
+
[$image$\ image],
|
| 712 |
+
[$in$\ in],
|
| 713 |
+
[$in.not$\ in.not],
|
| 714 |
+
[$in.rev$\ in.rev],
|
| 715 |
+
[$in.rev.not$\ in.rev.not],
|
| 716 |
+
[$in.rev.small$\ in.rev.small],
|
| 717 |
+
[$in.small$\ in.small],
|
| 718 |
+
[$infinity$\ infinity],
|
| 719 |
+
[$infinity.bar$\ infinity.bar],
|
| 720 |
+
[$infinity.incomplete$\ infinity.incomplete],
|
| 721 |
+
[$infinity.tie$\ infinity.tie],
|
| 722 |
+
[$integral$\ integral],
|
| 723 |
+
[$integral.arrow.hook$\ integral.arrow.hook],
|
| 724 |
+
[$integral.ccw$\ integral.ccw],
|
| 725 |
+
[$integral.cont$\ integral.cont],
|
| 726 |
+
[$integral.cont.ccw$\ integral.cont.ccw],
|
| 727 |
+
[$integral.cw$\ integral.cw],
|
| 728 |
+
[$integral.dash$\ integral.dash],
|
| 729 |
+
[$integral.dash.double$\ integral.dash.double],
|
| 730 |
+
[$integral.double$\ integral.double],
|
| 731 |
+
[$integral.quad$\ integral.quad],
|
| 732 |
+
[$integral.inter$\ integral.inter],
|
| 733 |
+
[$integral.slash$\ integral.slash],
|
| 734 |
+
[$integral.square$\ integral.square],
|
| 735 |
+
[$integral.surf$\ integral.surf],
|
| 736 |
+
[$integral.times$\ integral.times],
|
| 737 |
+
[$integral.triple$\ integral.triple],
|
| 738 |
+
[$integral.union$\ integral.union],
|
| 739 |
+
[$integral.vol$\ integral.vol],
|
| 740 |
+
[$inter$\ inter],
|
| 741 |
+
[$inter.serif$\ inter.serif],
|
| 742 |
+
[$inter.and$\ inter.and],
|
| 743 |
+
[$inter.big$\ inter.big],
|
| 744 |
+
[$inter.dot$\ inter.dot],
|
| 745 |
+
[$inter.double$\ inter.double],
|
| 746 |
+
[$inter.sq$\ inter.sq],
|
| 747 |
+
[$inter.sq.serif$\ inter.sq.serif],
|
| 748 |
+
[$inter.sq.big$\ inter.sq.big],
|
| 749 |
+
[$inter.sq.double$\ inter.sq.double],
|
| 750 |
+
[$interleave$\ interleave],
|
| 751 |
+
[$interleave.big$\ interleave.big],
|
| 752 |
+
[$interleave.struck$\ interleave.struck],
|
| 753 |
+
[$interrobang$\ interrobang],
|
| 754 |
+
[$interrobang.inv$\ interrobang.inv],
|
| 755 |
+
[$iota$\ iota],
|
| 756 |
+
[$iota.inv$\ iota.inv],
|
| 757 |
+
[$jupiter$\ jupiter],
|
| 758 |
+
[$kappa$\ kappa],
|
| 759 |
+
[$kappa.alt$\ kappa.alt],
|
| 760 |
+
[$kip$\ kip],
|
| 761 |
+
[$lambda$\ lambda],
|
| 762 |
+
[$laplace$\ laplace],
|
| 763 |
+
[$lari$\ lari],
|
| 764 |
+
[$lat$\ lat],
|
| 765 |
+
[$lat.eq$\ lat.eq],
|
| 766 |
+
[$lira$\ lira],
|
| 767 |
+
[$lozenge.stroked$\ lozenge.stroked],
|
| 768 |
+
[$lozenge.stroked.small$\ lozenge.stroked.small],
|
| 769 |
+
[$lozenge.stroked.medium$\ lozenge.stroked.medium],
|
| 770 |
+
[$lozenge.filled$\ lozenge.filled],
|
| 771 |
+
[$lozenge.filled.small$\ lozenge.filled.small],
|
| 772 |
+
[$lozenge.filled.medium$\ lozenge.filled.medium],
|
| 773 |
+
[$lrm$\ lrm],
|
| 774 |
+
[$lt$\ lt],
|
| 775 |
+
[$lt.o$\ lt.o],
|
| 776 |
+
[$lt.dot$\ lt.dot],
|
| 777 |
+
[$lt.quest$\ lt.quest],
|
| 778 |
+
[$lt.approx$\ lt.approx],
|
| 779 |
+
[$lt.arc$\ lt.arc],
|
| 780 |
+
[$lt.arc.eq$\ lt.arc.eq],
|
| 781 |
+
[$lt.closed$\ lt.closed],
|
| 782 |
+
[$lt.closed.eq$\ lt.closed.eq],
|
| 783 |
+
[$lt.closed.eq.not$\ lt.closed.eq.not],
|
| 784 |
+
[$lt.closed.not$\ lt.closed.not],
|
| 785 |
+
[$lt.double$\ lt.double],
|
| 786 |
+
[$lt.double.nested$\ lt.double.nested],
|
| 787 |
+
[$lt.eq$\ lt.eq],
|
| 788 |
+
[$lt.eq.slant$\ lt.eq.slant],
|
| 789 |
+
[$lt.eq.gt$\ lt.eq.gt],
|
| 790 |
+
[$lt.eq.not$\ lt.eq.not],
|
| 791 |
+
[$lt.equiv$\ lt.equiv],
|
| 792 |
+
[$lt.gt$\ lt.gt],
|
| 793 |
+
[$lt.gt.not$\ lt.gt.not],
|
| 794 |
+
[$lt.neq$\ lt.neq],
|
| 795 |
+
[$lt.napprox$\ lt.napprox],
|
| 796 |
+
[$lt.nequiv$\ lt.nequiv],
|
| 797 |
+
[$lt.not$\ lt.not],
|
| 798 |
+
[$lt.ntilde$\ lt.ntilde],
|
| 799 |
+
[$lt.tilde$\ lt.tilde],
|
| 800 |
+
[$lt.tilde.not$\ lt.tilde.not],
|
| 801 |
+
[$lt.triple$\ lt.triple],
|
| 802 |
+
[$lt.triple.nested$\ lt.triple.nested],
|
| 803 |
+
[$macron$\ macron],
|
| 804 |
+
[$maltese$\ maltese],
|
| 805 |
+
[$manat$\ manat],
|
| 806 |
+
[$mapsfrom$\ mapsfrom],
|
| 807 |
+
[$mapsfrom.long$\ mapsfrom.long],
|
| 808 |
+
[$mapsto$\ mapsto],
|
| 809 |
+
[$mapsto.long$\ mapsto.long],
|
| 810 |
+
[$mars$\ mars],
|
| 811 |
+
[$mercury$\ mercury],
|
| 812 |
+
[$minus$\ minus],
|
| 813 |
+
[$minus.o$\ minus.o],
|
| 814 |
+
[$minus.dot$\ minus.dot],
|
| 815 |
+
[$minus.plus$\ minus.plus],
|
| 816 |
+
[$minus.square$\ minus.square],
|
| 817 |
+
[$minus.tilde$\ minus.tilde],
|
| 818 |
+
[$minus.triangle$\ minus.triangle],
|
| 819 |
+
[$miny$\ miny],
|
| 820 |
+
[$models$\ models],
|
| 821 |
+
[$mu$\ mu],
|
| 822 |
+
[$multimap$\ multimap],
|
| 823 |
+
[$multimap.double$\ multimap.double],
|
| 824 |
+
[$mustache.l$\ mustache.l],
|
| 825 |
+
[$mustache.r$\ mustache.r],
|
| 826 |
+
[$nabla$\ nabla],
|
| 827 |
+
[$naira$\ naira],
|
| 828 |
+
[$natural$\ natural],
|
| 829 |
+
[$natural.t$\ natural.t],
|
| 830 |
+
[$natural.b$\ natural.b],
|
| 831 |
+
[$neptune$\ neptune],
|
| 832 |
+
[$neptune.alt$\ neptune.alt],
|
| 833 |
+
[$not$\ not],
|
| 834 |
+
[$note.up$\ note.up],
|
| 835 |
+
[$note.down$\ note.down],
|
| 836 |
+
[$note.whole$\ note.whole],
|
| 837 |
+
[$note.half$\ note.half],
|
| 838 |
+
[$note.quarter$\ note.quarter],
|
| 839 |
+
[$note.quarter.alt$\ note.quarter.alt],
|
| 840 |
+
[$note.eighth$\ note.eighth],
|
| 841 |
+
[$note.eighth.alt$\ note.eighth.alt],
|
| 842 |
+
[$note.eighth.beamed$\ note.eighth.beamed],
|
| 843 |
+
[$note.sixteenth$\ note.sixteenth],
|
| 844 |
+
[$note.sixteenth.beamed$\ note.sixteenth.beamed],
|
| 845 |
+
[$note.grace$\ note.grace],
|
| 846 |
+
[$note.grace.slash$\ note.grace.slash],
|
| 847 |
+
[$nothing$\ nothing],
|
| 848 |
+
[$nothing.zero$\ nothing.zero],
|
| 849 |
+
[$nothing.arrow.r$\ nothing.arrow.r],
|
| 850 |
+
[$nothing.arrow.l$\ nothing.arrow.l],
|
| 851 |
+
[$nothing.bar$\ nothing.bar],
|
| 852 |
+
[$nothing.circle$\ nothing.circle],
|
| 853 |
+
[$nothing.rev$\ nothing.rev],
|
| 854 |
+
[$nu$\ nu],
|
| 855 |
+
[$numero$\ numero],
|
| 856 |
+
[$omega$\ omega],
|
| 857 |
+
[$omicron$\ omicron],
|
| 858 |
+
[$oo$\ oo],
|
| 859 |
+
[$or$\ or],
|
| 860 |
+
[$or.big$\ or.big],
|
| 861 |
+
[$or.curly$\ or.curly],
|
| 862 |
+
[$or.dot$\ or.dot],
|
| 863 |
+
[$or.double$\ or.double],
|
| 864 |
+
[$original$\ original],
|
| 865 |
+
[$parallel$\ parallel],
|
| 866 |
+
[$parallel.struck$\ parallel.struck],
|
| 867 |
+
[$parallel.o$\ parallel.o],
|
| 868 |
+
[$parallel.eq$\ parallel.eq],
|
| 869 |
+
[$parallel.equiv$\ parallel.equiv],
|
| 870 |
+
[$parallel.not$\ parallel.not],
|
| 871 |
+
[$parallel.slanted.eq$\ parallel.slanted.eq],
|
| 872 |
+
[$parallel.slanted.eq.tilde$\ parallel.slanted.eq.tilde],
|
| 873 |
+
[$parallel.slanted.equiv$\ parallel.slanted.equiv],
|
| 874 |
+
[$parallel.tilde$\ parallel.tilde],
|
| 875 |
+
[$parallelogram.stroked$\ parallelogram.stroked],
|
| 876 |
+
[$parallelogram.filled$\ parallelogram.filled],
|
| 877 |
+
[$paren.l$\ paren.l],
|
| 878 |
+
[$paren.l.flat$\ paren.l.flat],
|
| 879 |
+
[$paren.l.closed$\ paren.l.closed],
|
| 880 |
+
[$paren.l.stroked$\ paren.l.stroked],
|
| 881 |
+
[$paren.r$\ paren.r],
|
| 882 |
+
[$paren.r.flat$\ paren.r.flat],
|
| 883 |
+
[$paren.r.closed$\ paren.r.closed],
|
| 884 |
+
[$paren.r.stroked$\ paren.r.stroked],
|
| 885 |
+
[$paren.t$\ paren.t],
|
| 886 |
+
[$paren.b$\ paren.b],
|
| 887 |
+
[$partial$\ partial],
|
| 888 |
+
[$pataca$\ pataca],
|
| 889 |
+
[$pee$\ pee],
|
| 890 |
+
[$penta.stroked$\ penta.stroked],
|
| 891 |
+
[$penta.filled$\ penta.filled],
|
| 892 |
+
[$percent$\ percent],
|
| 893 |
+
[$permille$\ permille],
|
| 894 |
+
[$permyriad$\ permyriad],
|
| 895 |
+
[$perp$\ perp],
|
| 896 |
+
[$perp.o$\ perp.o],
|
| 897 |
+
[$peso$\ peso],
|
| 898 |
+
[$peso.philippine$\ peso.philippine],
|
| 899 |
+
[$phi$\ phi],
|
| 900 |
+
[$phi.alt$\ phi.alt],
|
| 901 |
+
[$pi$\ pi],
|
| 902 |
+
[$pi.alt$\ pi.alt],
|
| 903 |
+
[$pilcrow$\ pilcrow],
|
| 904 |
+
[$pilcrow.rev$\ pilcrow.rev],
|
| 905 |
+
[$planck$\ planck],
|
| 906 |
+
[$plus$\ plus],
|
| 907 |
+
[$plus.o$\ plus.o],
|
| 908 |
+
[$plus.o.l$\ plus.o.l],
|
| 909 |
+
[$plus.o.r$\ plus.o.r],
|
| 910 |
+
[$plus.o.arrow$\ plus.o.arrow],
|
| 911 |
+
[$plus.o.big$\ plus.o.big],
|
| 912 |
+
[$plus.dot$\ plus.dot],
|
| 913 |
+
[$plus.double$\ plus.double],
|
| 914 |
+
[$plus.minus$\ plus.minus],
|
| 915 |
+
[$plus.square$\ plus.square],
|
| 916 |
+
[$plus.triangle$\ plus.triangle],
|
| 917 |
+
[$plus.triple$\ plus.triple],
|
| 918 |
+
[$plus.hat$\ plus.hat],
|
| 919 |
+
[$pound$\ pound],
|
| 920 |
+
[$power.standby$\ power.standby],
|
| 921 |
+
[$power.on$\ power.on],
|
| 922 |
+
[$power.off$\ power.off],
|
| 923 |
+
[$power.on.off$\ power.on.off],
|
| 924 |
+
[$power.sleep$\ power.sleep],
|
| 925 |
+
[$prec$\ prec],
|
| 926 |
+
[$prec.approx$\ prec.approx],
|
| 927 |
+
[$prec.curly.eq$\ prec.curly.eq],
|
| 928 |
+
[$prec.curly.eq.not$\ prec.curly.eq.not],
|
| 929 |
+
[$prec.double$\ prec.double],
|
| 930 |
+
[$prec.eq$\ prec.eq],
|
| 931 |
+
[$prec.equiv$\ prec.equiv],
|
| 932 |
+
[$prec.napprox$\ prec.napprox],
|
| 933 |
+
[$prec.neq$\ prec.neq],
|
| 934 |
+
[$prec.nequiv$\ prec.nequiv],
|
| 935 |
+
[$prec.not$\ prec.not],
|
| 936 |
+
[$prec.ntilde$\ prec.ntilde],
|
| 937 |
+
[$prec.tilde$\ prec.tilde],
|
| 938 |
+
[$prime$\ prime],
|
| 939 |
+
[$prime.rev$\ prime.rev],
|
| 940 |
+
[$prime.double$\ prime.double],
|
| 941 |
+
[$prime.double.rev$\ prime.double.rev],
|
| 942 |
+
[$prime.triple$\ prime.triple],
|
| 943 |
+
[$prime.triple.rev$\ prime.triple.rev],
|
| 944 |
+
[$prime.quad$\ prime.quad],
|
| 945 |
+
[$product$\ product],
|
| 946 |
+
[$product.co$\ product.co],
|
| 947 |
+
[$prop$\ prop],
|
| 948 |
+
[$psi$\ psi],
|
| 949 |
+
[$qed$\ qed],
|
| 950 |
+
[$quest$\ quest],
|
| 951 |
+
[$quest.double$\ quest.double],
|
| 952 |
+
[$quest.excl$\ quest.excl],
|
| 953 |
+
[$quest.inv$\ quest.inv],
|
| 954 |
+
[$quote.double$\ quote.double],
|
| 955 |
+
[$quote.single$\ quote.single],
|
| 956 |
+
[$quote.l.double$\ quote.l.double],
|
| 957 |
+
[$quote.l.single$\ quote.l.single],
|
| 958 |
+
[$quote.r.double$\ quote.r.double],
|
| 959 |
+
[$quote.r.single$\ quote.r.single],
|
| 960 |
+
[$quote.chevron.l.double$\ quote.chevron.l.double],
|
| 961 |
+
[$quote.l.single$\ quote.l.single],
|
| 962 |
+
[$quote.chevron.r.single$\ quote.chevron.r.single],
|
| 963 |
+
[$quote.high.double$\ quote.high.double],
|
| 964 |
+
[$quote.high.single$\ quote.high.single],
|
| 965 |
+
[$quote.low.double$\ quote.low.double],
|
| 966 |
+
[$quote.low.single$\ quote.low.single],
|
| 967 |
+
[$ratio$\ ratio],
|
| 968 |
+
[$rect.stroked.h$\ rect.stroked.h],
|
| 969 |
+
[$rect.stroked.v$\ rect.stroked.v],
|
| 970 |
+
[$rect.filled.h$\ rect.filled.h],
|
| 971 |
+
[$rect.filled.v$\ rect.filled.v],
|
| 972 |
+
[$refmark$\ refmark],
|
| 973 |
+
[$rest.whole$\ rest.whole],
|
| 974 |
+
[$rest.multiple$\ rest.multiple],
|
| 975 |
+
[$rest.multiple.measure$\ rest.multiple.measure],
|
| 976 |
+
[$rest.half$\ rest.half],
|
| 977 |
+
[$rest.quarter$\ rest.quarter],
|
| 978 |
+
[$rest.eighth$\ rest.eighth],
|
| 979 |
+
[$rest.sixteenth$\ rest.sixteenth],
|
| 980 |
+
[$rho$\ rho],
|
| 981 |
+
[$rho.alt$\ rho.alt],
|
| 982 |
+
[$riel$\ riel],
|
| 983 |
+
[$riyal$\ riyal],
|
| 984 |
+
[$rlm$\ rlm],
|
| 985 |
+
[$ruble$\ ruble],
|
| 986 |
+
[$rupee.indian$\ rupee.indian],
|
| 987 |
+
[$rupee.generic$\ rupee.generic],
|
| 988 |
+
[$rupee.tamil$\ rupee.tamil],
|
| 989 |
+
[$rupee.wancho$\ rupee.wancho],
|
| 990 |
+
[$saturn$\ saturn],
|
| 991 |
+
[$section$\ section],
|
| 992 |
+
[$semi$\ semi],
|
| 993 |
+
[$semi.inv$\ semi.inv],
|
| 994 |
+
[$semi.rev$\ semi.rev],
|
| 995 |
+
[$sha$\ sha],
|
| 996 |
+
[$sharp$\ sharp],
|
| 997 |
+
[$sharp.t$\ sharp.t],
|
| 998 |
+
[$sharp.b$\ sharp.b],
|
| 999 |
+
[$sharp.double$\ sharp.double],
|
| 1000 |
+
[$sharp.quarter$\ sharp.quarter],
|
| 1001 |
+
[$shekel$\ shekel],
|
| 1002 |
+
[$shell.l$\ shell.l],
|
| 1003 |
+
[$shell.l.stroked$\ shell.l.stroked],
|
| 1004 |
+
[$shell.l.filled$\ shell.l.filled],
|
| 1005 |
+
[$shell.r$\ shell.r],
|
| 1006 |
+
[$shell.r.stroked$\ shell.r.stroked],
|
| 1007 |
+
[$shell.r.filled$\ shell.r.filled],
|
| 1008 |
+
[$shell.t$\ shell.t],
|
| 1009 |
+
[$shell.b$\ shell.b],
|
| 1010 |
+
[$sigma$\ sigma],
|
| 1011 |
+
[$sigma.alt$\ sigma.alt],
|
| 1012 |
+
[$slash$\ slash],
|
| 1013 |
+
[$slash.o$\ slash.o],
|
| 1014 |
+
[$slash.double$\ slash.double],
|
| 1015 |
+
[$slash.triple$\ slash.triple],
|
| 1016 |
+
[$slash.big$\ slash.big],
|
| 1017 |
+
[$smash$\ smash],
|
| 1018 |
+
[$smile$\ smile],
|
| 1019 |
+
[$smt$\ smt],
|
| 1020 |
+
[$smt.eq$\ smt.eq],
|
| 1021 |
+
[$som$\ som],
|
| 1022 |
+
[$space$\ space],
|
| 1023 |
+
[$space.nobreak$\ space.nobreak],
|
| 1024 |
+
[$space.nobreak.narrow$\ space.nobreak.narrow],
|
| 1025 |
+
[$space.en$\ space.en],
|
| 1026 |
+
[$space.quad$\ space.quad],
|
| 1027 |
+
[$space.third$\ space.third],
|
| 1028 |
+
[$space.quarter$\ space.quarter],
|
| 1029 |
+
[$space.sixth$\ space.sixth],
|
| 1030 |
+
[$space.med$\ space.med],
|
| 1031 |
+
[$space.fig$\ space.fig],
|
| 1032 |
+
[$space.punct$\ space.punct],
|
| 1033 |
+
[$space.thin$\ space.thin],
|
| 1034 |
+
[$space.hair$\ space.hair],
|
| 1035 |
+
[$spacebar$\ spacebar],
|
| 1036 |
+
[$square.stroked$\ square.stroked],
|
| 1037 |
+
[$square.stroked.tiny$\ square.stroked.tiny],
|
| 1038 |
+
[$square.stroked.small$\ square.stroked.small],
|
| 1039 |
+
[$square.stroked.medium$\ square.stroked.medium],
|
| 1040 |
+
[$square.stroked.big$\ square.stroked.big],
|
| 1041 |
+
[$square.stroked.dotted$\ square.stroked.dotted],
|
| 1042 |
+
[$square.stroked.rounded$\ square.stroked.rounded],
|
| 1043 |
+
[$square.filled$\ square.filled],
|
| 1044 |
+
[$square.filled.tiny$\ square.filled.tiny],
|
| 1045 |
+
[$square.filled.small$\ square.filled.small],
|
| 1046 |
+
[$square.filled.medium$\ square.filled.medium],
|
| 1047 |
+
[$square.filled.big$\ square.filled.big],
|
| 1048 |
+
[$star.op$\ star.op],
|
| 1049 |
+
[$star.stroked$\ star.stroked],
|
| 1050 |
+
[$star.filled$\ star.filled],
|
| 1051 |
+
[$subset$\ subset],
|
| 1052 |
+
[$subset.approx$\ subset.approx],
|
| 1053 |
+
[$subset.closed$\ subset.closed],
|
| 1054 |
+
[$subset.closed.eq$\ subset.closed.eq],
|
| 1055 |
+
[$subset.dot$\ subset.dot],
|
| 1056 |
+
[$subset.double$\ subset.double],
|
| 1057 |
+
[$subset.eq$\ subset.eq],
|
| 1058 |
+
[$subset.eq.dot$\ subset.eq.dot],
|
| 1059 |
+
[$subset.eq.not$\ subset.eq.not],
|
| 1060 |
+
[$subset.eq.sq$\ subset.eq.sq],
|
| 1061 |
+
[$subset.eq.sq.not$\ subset.eq.sq.not],
|
| 1062 |
+
[$subset.equiv$\ subset.equiv],
|
| 1063 |
+
[$subset.neq$\ subset.neq],
|
| 1064 |
+
[$subset.nequiv$\ subset.nequiv],
|
| 1065 |
+
[$subset.not$\ subset.not],
|
| 1066 |
+
[$subset.plus$\ subset.plus],
|
| 1067 |
+
[$subset.sq$\ subset.sq],
|
| 1068 |
+
[$subset.sq.neq$\ subset.sq.neq],
|
| 1069 |
+
[$subset.tilde$\ subset.tilde],
|
| 1070 |
+
[$subset.times$\ subset.times],
|
| 1071 |
+
[$succ$\ succ],
|
| 1072 |
+
[$succ.approx$\ succ.approx],
|
| 1073 |
+
[$succ.curly.eq$\ succ.curly.eq],
|
| 1074 |
+
[$succ.curly.eq.not$\ succ.curly.eq.not],
|
| 1075 |
+
[$succ.double$\ succ.double],
|
| 1076 |
+
[$succ.eq$\ succ.eq],
|
| 1077 |
+
[$succ.equiv$\ succ.equiv],
|
| 1078 |
+
[$succ.napprox$\ succ.napprox],
|
| 1079 |
+
[$succ.neq$\ succ.neq],
|
| 1080 |
+
[$succ.nequiv$\ succ.nequiv],
|
| 1081 |
+
[$succ.not$\ succ.not],
|
| 1082 |
+
[$succ.ntilde$\ succ.ntilde],
|
| 1083 |
+
[$succ.tilde$\ succ.tilde],
|
| 1084 |
+
[$suit.club.filled$\ suit.club.filled],
|
| 1085 |
+
[$suit.club.stroked$\ suit.club.stroked],
|
| 1086 |
+
[$suit.diamond.filled$\ suit.diamond.filled],
|
| 1087 |
+
[$suit.diamond.stroked$\ suit.diamond.stroked],
|
| 1088 |
+
[$suit.heart.filled$\ suit.heart.filled],
|
| 1089 |
+
[$suit.heart.stroked$\ suit.heart.stroked],
|
| 1090 |
+
[$suit.heart.filled$\ suit.heart.filled],
|
| 1091 |
+
[$suit.spade.filled$\ suit.spade.filled],
|
| 1092 |
+
[$suit.spade.stroked$\ suit.spade.stroked],
|
| 1093 |
+
[$sum$\ sum],
|
| 1094 |
+
[$sum.integral$\ sum.integral],
|
| 1095 |
+
[$sun$\ sun],
|
| 1096 |
+
[$supset$\ supset],
|
| 1097 |
+
[$supset.approx$\ supset.approx],
|
| 1098 |
+
[$supset.closed$\ supset.closed],
|
| 1099 |
+
[$supset.closed.eq$\ supset.closed.eq],
|
| 1100 |
+
[$supset.dot$\ supset.dot],
|
| 1101 |
+
[$supset.double$\ supset.double],
|
| 1102 |
+
[$supset.eq$\ supset.eq],
|
| 1103 |
+
[$supset.eq.dot$\ supset.eq.dot],
|
| 1104 |
+
[$supset.eq.not$\ supset.eq.not],
|
| 1105 |
+
[$supset.eq.sq$\ supset.eq.sq],
|
| 1106 |
+
[$supset.eq.sq.not$\ supset.eq.sq.not],
|
| 1107 |
+
[$supset.equiv$\ supset.equiv],
|
| 1108 |
+
[$supset.neq$\ supset.neq],
|
| 1109 |
+
[$supset.nequiv$\ supset.nequiv],
|
| 1110 |
+
[$supset.not$\ supset.not],
|
| 1111 |
+
[$supset.plus$\ supset.plus],
|
| 1112 |
+
[$supset.sq$\ supset.sq],
|
| 1113 |
+
[$supset.sq.neq$\ supset.sq.neq],
|
| 1114 |
+
[$supset.tilde$\ supset.tilde],
|
| 1115 |
+
[$supset.times$\ supset.times],
|
| 1116 |
+
[$tack.r$\ tack.r],
|
| 1117 |
+
[$tack.r.not$\ tack.r.not],
|
| 1118 |
+
[$tack.r.long$\ tack.r.long],
|
| 1119 |
+
[$tack.r.short$\ tack.r.short],
|
| 1120 |
+
[$tack.rr$\ tack.rr],
|
| 1121 |
+
[$tack.rr.not$\ tack.rr.not],
|
| 1122 |
+
[$tack.rrr$\ tack.rrr],
|
| 1123 |
+
[$tack.l$\ tack.l],
|
| 1124 |
+
[$tack.l.long$\ tack.l.long],
|
| 1125 |
+
[$tack.l.short$\ tack.l.short],
|
| 1126 |
+
[$tack.ll$\ tack.ll],
|
| 1127 |
+
[$tack.t$\ tack.t],
|
| 1128 |
+
[$tack.t.big$\ tack.t.big],
|
| 1129 |
+
[$tack.tt$\ tack.tt],
|
| 1130 |
+
[$tack.t.short$\ tack.t.short],
|
| 1131 |
+
[$tack.b$\ tack.b],
|
| 1132 |
+
[$tack.b.big$\ tack.b.big],
|
| 1133 |
+
[$tack.bb$\ tack.bb],
|
| 1134 |
+
[$tack.b.short$\ tack.b.short],
|
| 1135 |
+
[$tack.l.r$\ tack.l.r],
|
| 1136 |
+
[$taka$\ taka],
|
| 1137 |
+
[$taman$\ taman],
|
| 1138 |
+
[$tau$\ tau],
|
| 1139 |
+
[$tenge$\ tenge],
|
| 1140 |
+
[$therefore$\ therefore],
|
| 1141 |
+
[$theta$\ theta],
|
| 1142 |
+
[$theta.alt$\ theta.alt],
|
| 1143 |
+
[$tilde.op$\ tilde.op],
|
| 1144 |
+
[$tilde.basic$\ tilde.basic],
|
| 1145 |
+
[$tilde.dot$\ tilde.dot],
|
| 1146 |
+
[$tilde.eq$\ tilde.eq],
|
| 1147 |
+
[$tilde.eq.not$\ tilde.eq.not],
|
| 1148 |
+
[$tilde.eq.rev$\ tilde.eq.rev],
|
| 1149 |
+
[$tilde.equiv$\ tilde.equiv],
|
| 1150 |
+
[$tilde.equiv.not$\ tilde.equiv.not],
|
| 1151 |
+
[$tilde.nequiv$\ tilde.nequiv],
|
| 1152 |
+
[$tilde.not$\ tilde.not],
|
| 1153 |
+
[$tilde.rev$\ tilde.rev],
|
| 1154 |
+
[$tilde.rev.equiv$\ tilde.rev.equiv],
|
| 1155 |
+
[$tilde.triple$\ tilde.triple],
|
| 1156 |
+
[$times$\ times],
|
| 1157 |
+
[$times.big$\ times.big],
|
| 1158 |
+
[$times.o$\ times.o],
|
| 1159 |
+
[$times.o.l$\ times.o.l],
|
| 1160 |
+
[$times.o.r$\ times.o.r],
|
| 1161 |
+
[$times.o.hat$\ times.o.hat],
|
| 1162 |
+
[$times.o.big$\ times.o.big],
|
| 1163 |
+
[$times.div$\ times.div],
|
| 1164 |
+
[$times.three.l$\ times.three.l],
|
| 1165 |
+
[$times.three.r$\ times.three.r],
|
| 1166 |
+
[$times.l$\ times.l],
|
| 1167 |
+
[$times.r$\ times.r],
|
| 1168 |
+
[$times.square$\ times.square],
|
| 1169 |
+
[$times.triangle$\ times.triangle],
|
| 1170 |
+
[$tiny$\ tiny],
|
| 1171 |
+
[$togrog$\ togrog],
|
| 1172 |
+
[$top$\ top],
|
| 1173 |
+
[$trademark$\ trademark],
|
| 1174 |
+
[$trademark.registered$\ trademark.registered],
|
| 1175 |
+
[$trademark.service$\ trademark.service],
|
| 1176 |
+
[$triangle.stroked.t$\ triangle.stroked.t],
|
| 1177 |
+
[$triangle.stroked.b$\ triangle.stroked.b],
|
| 1178 |
+
[$triangle.stroked.r$\ triangle.stroked.r],
|
| 1179 |
+
[$triangle.stroked.l$\ triangle.stroked.l],
|
| 1180 |
+
[$triangle.stroked.bl$\ triangle.stroked.bl],
|
| 1181 |
+
[$triangle.stroked.br$\ triangle.stroked.br],
|
| 1182 |
+
[$triangle.stroked.tl$\ triangle.stroked.tl],
|
| 1183 |
+
[$triangle.stroked.tr$\ triangle.stroked.tr],
|
| 1184 |
+
[$triangle.stroked.small.t$\ triangle.stroked.small.t],
|
| 1185 |
+
[$triangle.stroked.small.b$\ triangle.stroked.small.b],
|
| 1186 |
+
[$triangle.stroked.small.r$\ triangle.stroked.small.r],
|
| 1187 |
+
[$triangle.stroked.small.l$\ triangle.stroked.small.l],
|
| 1188 |
+
[$underscore$\ underscore],
|
| 1189 |
+
[$union$\ union],
|
| 1190 |
+
[$union.serif$\ union.serif],
|
| 1191 |
+
[$union.arrow$\ union.arrow],
|
| 1192 |
+
[$union.big$\ union.big],
|
| 1193 |
+
[$union.dot$\ union.dot],
|
| 1194 |
+
[$union.dot.big$\ union.dot.big],
|
| 1195 |
+
[$union.double$\ union.double],
|
| 1196 |
+
[$union.minus$\ union.minus],
|
| 1197 |
+
[$union.or$\ union.or],
|
| 1198 |
+
[$union.plus$\ union.plus],
|
| 1199 |
+
[$union.plus.big$\ union.plus.big],
|
| 1200 |
+
[$union.sq$\ union.sq],
|
| 1201 |
+
[$union.sq.big$\ union.sq.big],
|
| 1202 |
+
[$union.sq.double$\ union.sq.double],
|
| 1203 |
+
[$upsilon$\ upsilon],
|
| 1204 |
+
[$uranus$\ uranus],
|
| 1205 |
+
[$uranus.alt$\ uranus.alt],
|
| 1206 |
+
[$venus$\ venus],
|
| 1207 |
+
[$without$\ without],
|
| 1208 |
+
[$wj$\ wj],
|
| 1209 |
+
[$won$\ won],
|
| 1210 |
+
[$wreath$\ wreath],
|
| 1211 |
+
[$xi$\ xi],
|
| 1212 |
+
[$xor$\ xor],
|
| 1213 |
+
[$xor.big$\ xor.big],
|
| 1214 |
+
[$yen$\ yen],
|
| 1215 |
+
[$yuan$\ yuan],
|
| 1216 |
+
[$zero$\ zero],
|
| 1217 |
+
[$zero.slashed$\ zero.slashed],
|
| 1218 |
+
[$zeta$\ zeta],
|
| 1219 |
+
[$zwj$\ zwj],
|
| 1220 |
+
[$zwnj$\ zwnj],
|
| 1221 |
+
[$zws$\ zws],
|
| 1222 |
+
)
|
| 1223 |
+
== 表情符号(Emoji)<Emoji>
|
| 1224 |
+
命名表情符号。
|
| 1225 |
+
例如,```typc #emoji.face``` 会生成 😀 表情。如果你经常使用某些表情符号,也可以从 emoji 模块中导入它们(```typc #import emoji: face```),这样使用时就无需添加 emoji. 前缀。
|
| 1226 |
+
|
| 1227 |
+
#table(
|
| 1228 |
+
columns: 4,
|
| 1229 |
+
align: center,
|
| 1230 |
+
inset: 20pt,
|
| 1231 |
+
gutter: 10pt,
|
| 1232 |
+
stroke: none,
|
| 1233 |
+
fill: luma(220),
|
| 1234 |
+
[#emoji.ABCD\ ABCD],
|
| 1235 |
+
[#emoji.a\ a],
|
| 1236 |
+
[#emoji.ab\ ab],
|
| 1237 |
+
[#emoji.abacus\ abacus],
|
| 1238 |
+
[#emoji.abc\ abc],
|
| 1239 |
+
[#emoji.abcd\ abcd],
|
| 1240 |
+
[#emoji.accordion\ accordion],
|
| 1241 |
+
[#emoji.aesculapius\ aesculapius],
|
| 1242 |
+
[#emoji.airplane\ airplane],
|
| 1243 |
+
[#emoji.airplane.landing\ airplane.landing],
|
| 1244 |
+
[#emoji.airplane.small\ airplane.small],
|
| 1245 |
+
[#emoji.airplane.takeoff\ airplane.takeoff],
|
| 1246 |
+
[#emoji.alembic\ alembic],
|
| 1247 |
+
[#emoji.alien\ alien],
|
| 1248 |
+
[#emoji.alien.monster\ alien.monster],
|
| 1249 |
+
[#emoji.ambulance\ ambulance],
|
| 1250 |
+
[#emoji.amphora\ amphora],
|
| 1251 |
+
[#emoji.anchor\ anchor],
|
| 1252 |
+
[#emoji.anger\ anger],
|
| 1253 |
+
[#emoji.ant\ ant],
|
| 1254 |
+
[#emoji.apple.green\ apple.green],
|
| 1255 |
+
[#emoji.apple.red\ apple.red],
|
| 1256 |
+
[#emoji.arm.mech\ arm.mech],
|
| 1257 |
+
[#emoji.arm.muscle\ arm.muscle],
|
| 1258 |
+
[#emoji.arm.selfie\ arm.selfie],
|
| 1259 |
+
[#emoji.arrow.r.filled\ arrow.r.filled],
|
| 1260 |
+
[#emoji.arrow.r.hook\ arrow.r.hook],
|
| 1261 |
+
[#emoji.arrow.r.soon\ arrow.r.soon],
|
| 1262 |
+
[#emoji.arrow.l.filled\ arrow.l.filled],
|
| 1263 |
+
[#emoji.arrow.l.hook\ arrow.l.hook],
|
| 1264 |
+
[#emoji.arrow.l.back\ arrow.l.back],
|
| 1265 |
+
[#emoji.arrow.l.end\ arrow.l.end],
|
| 1266 |
+
[#emoji.arrow.t.filled\ arrow.t.filled],
|
| 1267 |
+
[#emoji.arrow.t.curve\ arrow.t.curve],
|
| 1268 |
+
[#emoji.arrow.t.top\ arrow.t.top],
|
| 1269 |
+
[#emoji.arrow.b.filled\ arrow.b.filled],
|
| 1270 |
+
[#emoji.arrow.b.curve\ arrow.b.curve],
|
| 1271 |
+
[#emoji.arrow.l.r\ arrow.l.r],
|
| 1272 |
+
[#emoji.arrow.l.r.on\ arrow.l.r.on],
|
| 1273 |
+
[#emoji.arrow.t.b\ arrow.t.b],
|
| 1274 |
+
[#emoji.arrow.bl\ arrow.bl],
|
| 1275 |
+
[#emoji.arrow.br\ arrow.br],
|
| 1276 |
+
[#emoji.arrow.tl\ arrow.tl],
|
| 1277 |
+
[#emoji.arrow.tr\ arrow.tr],
|
| 1278 |
+
[#emoji.arrows.cycle\ arrows.cycle],
|
| 1279 |
+
[#emoji.ast\ ast],
|
| 1280 |
+
[#emoji.ast.box\ ast.box],
|
| 1281 |
+
[#emoji.atm\ atm],
|
| 1282 |
+
[#emoji.atom\ atom],
|
| 1283 |
+
[#emoji.aubergine\ aubergine],
|
| 1284 |
+
[#emoji.avocado\ avocado],
|
| 1285 |
+
[#emoji.axe\ axe],
|
| 1286 |
+
[#emoji.b\ b],
|
| 1287 |
+
[#emoji.baby\ baby],
|
| 1288 |
+
[#emoji.baby.angel\ baby.angel],
|
| 1289 |
+
[#emoji.baby.box\ baby.box],
|
| 1290 |
+
[#emoji.babybottle\ babybottle],
|
| 1291 |
+
[#emoji.backpack\ backpack],
|
| 1292 |
+
[#emoji.bacon\ bacon],
|
| 1293 |
+
[#emoji.badger\ badger],
|
| 1294 |
+
[#emoji.badminton\ badminton],
|
| 1295 |
+
[#emoji.bagel\ bagel],
|
| 1296 |
+
[#emoji.baggageclaim\ baggageclaim],
|
| 1297 |
+
[#emoji.barberpole\ barberpole],
|
| 1298 |
+
[#emoji.baseball\ baseball],
|
| 1299 |
+
[#emoji.basecap\ basecap],
|
| 1300 |
+
[#emoji.basket\ basket],
|
| 1301 |
+
[#emoji.basketball\ basketball],
|
| 1302 |
+
[#emoji.basketball.ball\ basketball.ball],
|
| 1303 |
+
[#emoji.bat\ bat],
|
| 1304 |
+
[#emoji.bathtub\ bathtub],
|
| 1305 |
+
[#emoji.bathtub.foam\ bathtub.foam],
|
| 1306 |
+
[#emoji.battery\ battery],
|
| 1307 |
+
[#emoji.battery.low\ battery.low],
|
| 1308 |
+
[#emoji.beach.palm\ beach.palm],
|
| 1309 |
+
[#emoji.beach.umbrella\ beach.umbrella],
|
| 1310 |
+
[#emoji.beads\ beads],
|
| 1311 |
+
[#emoji.beans\ beans],
|
| 1312 |
+
[#emoji.bear\ bear],
|
| 1313 |
+
[#emoji.beaver\ beaver],
|
| 1314 |
+
[#emoji.bed\ bed],
|
| 1315 |
+
[#emoji.bed.person\ bed.person],
|
| 1316 |
+
[#emoji.bee\ bee],
|
| 1317 |
+
[#emoji.beer\ beer],
|
| 1318 |
+
[#emoji.beer.clink\ beer.clink],
|
| 1319 |
+
[#emoji.beet\ beet],
|
| 1320 |
+
[#emoji.beetle\ beetle],
|
| 1321 |
+
[#emoji.beetle.lady\ beetle.lady],
|
| 1322 |
+
[#emoji.bell\ bell],
|
| 1323 |
+
[#emoji.bell.ding\ bell.ding],
|
| 1324 |
+
[#emoji.bell.not\ bell.not],
|
| 1325 |
+
[#emoji.bento\ bento],
|
| 1326 |
+
[#emoji.bicyclist\ bicyclist],
|
| 1327 |
+
[#emoji.bigfoot\ bigfoot],
|
| 1328 |
+
[#emoji.bike\ bike],
|
| 1329 |
+
[#emoji.bike.not\ bike.not],
|
| 1330 |
+
[#emoji.bikini\ bikini],
|
| 1331 |
+
[#emoji.billiards\ billiards],
|
| 1332 |
+
[#emoji.bin\ bin],
|
| 1333 |
+
[#emoji.biohazard\ biohazard],
|
| 1334 |
+
[#emoji.bird\ bird],
|
| 1335 |
+
[#emoji.bison\ bison],
|
| 1336 |
+
[#emoji.blood\ blood],
|
| 1337 |
+
[#emoji.blouse\ blouse],
|
| 1338 |
+
[#emoji.blowfish\ blowfish],
|
| 1339 |
+
[#emoji.blueberries\ blueberries],
|
| 1340 |
+
[#emoji.boar\ boar],
|
| 1341 |
+
[#emoji.boat.sail\ boat.sail],
|
| 1342 |
+
[#emoji.boat.row\ boat.row],
|
| 1343 |
+
[#emoji.boat.motor\ boat.motor],
|
| 1344 |
+
[#emoji.boat.speed\ boat.speed],
|
| 1345 |
+
[#emoji.boat.canoe\ boat.canoe],
|
| 1346 |
+
[#emoji.bolt\ bolt],
|
| 1347 |
+
[#emoji.bomb\ bomb],
|
| 1348 |
+
[#emoji.bone\ bone],
|
| 1349 |
+
[#emoji.book.red\ book.red],
|
| 1350 |
+
[#emoji.book.blue\ book.blue],
|
| 1351 |
+
[#emoji.book.green\ book.green],
|
| 1352 |
+
[#emoji.book.orange\ book.orange],
|
| 1353 |
+
[#emoji.book.spiral\ book.spiral],
|
| 1354 |
+
[#emoji.book.open\ book.open],
|
| 1355 |
+
[#emoji.bookmark\ bookmark],
|
| 1356 |
+
[#emoji.books\ books],
|
| 1357 |
+
[#emoji.boomerang\ boomerang],
|
| 1358 |
+
[#emoji.bordercontrol\ bordercontrol],
|
| 1359 |
+
[#emoji.bouquet\ bouquet],
|
| 1360 |
+
[#emoji.bow\ bow],
|
| 1361 |
+
[#emoji.bowl.spoon\ bowl.spoon],
|
| 1362 |
+
[#emoji.bowl.steam\ bowl.steam],
|
| 1363 |
+
[#emoji.bowling\ bowling],
|
| 1364 |
+
[#emoji.boxing\ boxing],
|
| 1365 |
+
[#emoji.boy\ boy],
|
| 1366 |
+
[#emoji.brain\ brain],
|
| 1367 |
+
[#emoji.bread\ bread],
|
| 1368 |
+
[#emoji.brick\ brick],
|
| 1369 |
+
[#emoji.bride\ bride],
|
| 1370 |
+
[#emoji.bridge.fog\ bridge.fog],
|
| 1371 |
+
[#emoji.bridge.night\ bridge.night],
|
| 1372 |
+
[#emoji.briefcase\ briefcase],
|
| 1373 |
+
[#emoji.briefs\ briefs],
|
| 1374 |
+
[#emoji.brightness.high\ brightness.high],
|
| 1375 |
+
[#emoji.brightness.low\ brightness.low],
|
| 1376 |
+
[#emoji.broccoli\ broccoli],
|
| 1377 |
+
[#emoji.broom\ broom],
|
| 1378 |
+
[#emoji.brush\ brush],
|
| 1379 |
+
[#emoji.bubble.speech.r\ bubble.speech.r],
|
| 1380 |
+
[#emoji.bubble.speech.l\ bubble.speech.l],
|
| 1381 |
+
[#emoji.bubble.thought\ bubble.thought],
|
| 1382 |
+
[#emoji.bubble.anger.r\ bubble.anger.r],
|
| 1383 |
+
[#emoji.bubbles\ bubbles],
|
| 1384 |
+
[#emoji.bubbletea\ bubbletea],
|
| 1385 |
+
[#emoji.bucket\ bucket],
|
| 1386 |
+
[#emoji.buffalo.water\ buffalo.water],
|
| 1387 |
+
[#emoji.bug\ bug],
|
| 1388 |
+
[#emoji.builder\ builder],
|
| 1389 |
+
[#emoji.burger\ burger],
|
| 1390 |
+
[#emoji.burrito\ burrito],
|
| 1391 |
+
[#emoji.bus\ bus],
|
| 1392 |
+
[#emoji.bus.front\ bus.front],
|
| 1393 |
+
[#emoji.bus.small\ bus.small],
|
| 1394 |
+
[#emoji.bus.stop\ bus.stop],
|
| 1395 |
+
[#emoji.bus.trolley\ bus.trolley],
|
| 1396 |
+
[#emoji.butter\ butter],
|
| 1397 |
+
[#emoji.butterfly\ butterfly],
|
| 1398 |
+
[#emoji.button\ button],
|
| 1399 |
+
[#emoji.button.alt\ button.alt],
|
| 1400 |
+
[#emoji.button.radio\ button.radio],
|
| 1401 |
+
[#emoji.cabinet.file\ cabinet.file],
|
| 1402 |
+
[#emoji.cablecar\ cablecar],
|
| 1403 |
+
[#emoji.cablecar.small\ cablecar.small],
|
| 1404 |
+
[#emoji.cactus\ cactus],
|
| 1405 |
+
[#emoji.cake\ cake],
|
| 1406 |
+
[#emoji.cake.fish\ cake.fish],
|
| 1407 |
+
[#emoji.cake.moon\ cake.moon],
|
| 1408 |
+
[#emoji.cake.slice\ cake.slice],
|
| 1409 |
+
[#emoji.calendar\ calendar],
|
| 1410 |
+
[#emoji.calendar.spiral\ calendar.spiral],
|
| 1411 |
+
[#emoji.calendar.tearoff\ calendar.tearoff],
|
| 1412 |
+
[#emoji.camel\ camel],
|
| 1413 |
+
[#emoji.camel.dromedar\ camel.dromedar],
|
| 1414 |
+
[#emoji.camera\ camera],
|
| 1415 |
+
[#emoji.camera.flash\ camera.flash],
|
| 1416 |
+
[#emoji.camera.movie\ camera.movie],
|
| 1417 |
+
[#emoji.camera.movie.box\ camera.movie.box],
|
| 1418 |
+
[#emoji.camera.video\ camera.video],
|
| 1419 |
+
[#emoji.camping\ camping],
|
| 1420 |
+
[#emoji.can\ can],
|
| 1421 |
+
[#emoji.candle\ candle],
|
| 1422 |
+
[#emoji.candy\ candy],
|
| 1423 |
+
[#emoji.cane\ cane],
|
| 1424 |
+
[#emoji.car\ car],
|
| 1425 |
+
[#emoji.car.front\ car.front],
|
| 1426 |
+
[#emoji.car.pickup\ car.pickup],
|
| 1427 |
+
[#emoji.car.police\ car.police],
|
| 1428 |
+
[#emoji.car.police.front\ car.police.front],
|
| 1429 |
+
[#emoji.car.racing\ car.racing],
|
| 1430 |
+
[#emoji.car.rickshaw\ car.rickshaw],
|
| 1431 |
+
[#emoji.car.suv\ car.suv],
|
| 1432 |
+
[#emoji.card.credit\ card.credit],
|
| 1433 |
+
[#emoji.card.id\ card.id],
|
| 1434 |
+
[#emoji.cardindex\ cardindex],
|
| 1435 |
+
[#emoji.carrot\ carrot],
|
| 1436 |
+
[#emoji.cart\ cart],
|
| 1437 |
+
[#emoji.cassette\ cassette],
|
| 1438 |
+
[#emoji.castle.jp\ castle.jp],
|
| 1439 |
+
[#emoji.cat\ cat],
|
| 1440 |
+
[#emoji.cat.face\ cat.face],
|
| 1441 |
+
[#emoji.cat.face.angry\ cat.face.angry],
|
| 1442 |
+
[#emoji.cat.face.cry\ cat.face.cry],
|
| 1443 |
+
[#emoji.cat.face.heart\ cat.face.heart],
|
| 1444 |
+
[#emoji.cat.face.joy\ cat.face.joy],
|
| 1445 |
+
[#emoji.cat.face.kiss\ cat.face.kiss],
|
| 1446 |
+
[#emoji.cat.face.laugh\ cat.face.laugh],
|
| 1447 |
+
[#emoji.cat.face.shock\ cat.face.shock],
|
| 1448 |
+
[#emoji.cat.face.smile\ cat.face.smile],
|
| 1449 |
+
[#emoji.cat.face.smirk\ cat.face.smirk],
|
| 1450 |
+
[#emoji.chain\ chain],
|
| 1451 |
+
[#emoji.chains\ chains],
|
| 1452 |
+
[#emoji.chair\ chair],
|
| 1453 |
+
[#emoji.champagne\ champagne],
|
| 1454 |
+
[#emoji.chart.bar\ chart.bar],
|
| 1455 |
+
[#emoji.chart.up\ chart.up],
|
| 1456 |
+
[#emoji.chart.down\ chart.down],
|
| 1457 |
+
[#emoji.chart.yen.up\ chart.yen.up],
|
| 1458 |
+
[#emoji.checkmark.heavy\ checkmark.heavy],
|
| 1459 |
+
[#emoji.checkmark.box\ checkmark.box],
|
| 1460 |
+
[#emoji.cheese\ cheese],
|
| 1461 |
+
[#emoji.cherries\ cherries],
|
| 1462 |
+
[#emoji.chess\ chess],
|
| 1463 |
+
[#emoji.chestnut\ chestnut],
|
| 1464 |
+
[#emoji.chicken\ chicken],
|
| 1465 |
+
[#emoji.chicken.baby\ chicken.baby],
|
| 1466 |
+
[#emoji.chicken.baby.egg\ chicken.baby.egg],
|
| 1467 |
+
[#emoji.chicken.baby.head\ chicken.baby.head],
|
| 1468 |
+
[#emoji.chicken.leg\ chicken.leg],
|
| 1469 |
+
[#emoji.chicken.male\ chicken.male],
|
| 1470 |
+
[#emoji.child\ child],
|
| 1471 |
+
[#emoji.chipmunk\ chipmunk],
|
| 1472 |
+
[#emoji.chocolate\ chocolate],
|
| 1473 |
+
[#emoji.chopsticks\ chopsticks],
|
| 1474 |
+
[#emoji.church\ church],
|
| 1475 |
+
[#emoji.church.love\ church.love],
|
| 1476 |
+
[#emoji.cigarette\ cigarette],
|
| 1477 |
+
[#emoji.\ ],
|
| 1478 |
+
[#emoji.cigarette.not\ cigarette.not],
|
| 1479 |
+
[#emoji.circle.black\ circle.black],
|
| 1480 |
+
[#emoji.circle.blue\ circle.blue],
|
| 1481 |
+
[#emoji.circle.brown\ circle.brown],
|
| 1482 |
+
[#emoji.circle.green\ circle.green],
|
| 1483 |
+
[#emoji.circle.orange\ circle.orange],
|
| 1484 |
+
[#emoji.circle.purple\ circle.purple],
|
| 1485 |
+
[#emoji.circle.white\ circle.white],
|
| 1486 |
+
[#emoji.circle.red\ circle.red],
|
| 1487 |
+
[#emoji.circle.yellow\ circle.yellow],
|
| 1488 |
+
[#emoji.circle.stroked\ circle.stroked],
|
| 1489 |
+
[#emoji.circus\ circus],
|
| 1490 |
+
[#emoji.city\ city],
|
| 1491 |
+
[#emoji.city.dusk\ city.dusk],
|
| 1492 |
+
[#emoji.city.night\ city.night],
|
| 1493 |
+
[#emoji.city.sunset\ city.sunset],
|
| 1494 |
+
[#emoji.cl\ cl],
|
| 1495 |
+
[#emoji.clamp\ clamp],
|
| 1496 |
+
[#emoji.clapperboard\ clapperboard],
|
| 1497 |
+
[#emoji.climbing\ climbing],
|
| 1498 |
+
[#emoji.clip\ clip],
|
| 1499 |
+
[#emoji.clipboard\ clipboard],
|
| 1500 |
+
[#emoji.clips\ clips],
|
| 1501 |
+
[#emoji.clock.one\ clock.one],
|
| 1502 |
+
[#emoji.clock.one.thirty\ clock.one.thirty],
|
| 1503 |
+
[#emoji.clock.two\ clock.two],
|
| 1504 |
+
[#emoji.clock.two.thirty\ clock.two.thirty],
|
| 1505 |
+
[#emoji.clock.three\ clock.three],
|
| 1506 |
+
[#emoji.clock.three.thirty\ clock.three.thirty],
|
| 1507 |
+
[#emoji.clock.four\ clock.four],
|
| 1508 |
+
[#emoji.clock.four.thirty\ clock.four.thirty],
|
| 1509 |
+
[#emoji.clock.five\ clock.five],
|
| 1510 |
+
[#emoji.clock.five.thirty\ clock.five.thirty],
|
| 1511 |
+
[#emoji.clock.six\ clock.six],
|
| 1512 |
+
[#emoji.clock.six.thirty\ clock.six.thirty],
|
| 1513 |
+
[#emoji.clock.seven\ clock.seven],
|
| 1514 |
+
[#emoji.clock.seven.thirty\ clock.seven.thirty],
|
| 1515 |
+
[#emoji.clock.eight\ clock.eight],
|
| 1516 |
+
[#emoji.clock.eight.thirty\ clock.eight.thirty],
|
| 1517 |
+
[#emoji.clock.nine\ clock.nine],
|
| 1518 |
+
[#emoji.clock.nine.thirty\ clock.nine.thirty],
|
| 1519 |
+
[#emoji.clock.ten\ clock.ten],
|
| 1520 |
+
[#emoji.clock.ten.thirty\ clock.ten.thirty],
|
| 1521 |
+
[#emoji.clock.eleven\ clock.eleven],
|
| 1522 |
+
[#emoji.clock.eleven.thirty\ clock.eleven.thirty],
|
| 1523 |
+
[#emoji.clock.twelve\ clock.twelve],
|
| 1524 |
+
[#emoji.clock.twelve.thirty\ clock.twelve.thirty],
|
| 1525 |
+
[#emoji.clock.alarm\ clock.alarm],
|
| 1526 |
+
[#emoji.clock.old\ clock.old],
|
| 1527 |
+
[#emoji.clock.timer\ clock.timer],
|
| 1528 |
+
[#emoji.cloud\ cloud],
|
| 1529 |
+
[#emoji.cloud.dust\ cloud.dust],
|
| 1530 |
+
[#emoji.cloud.rain\ cloud.rain],
|
| 1531 |
+
[#emoji.cloud.snow\ cloud.snow],
|
| 1532 |
+
[#emoji.cloud.storm\ cloud.storm],
|
| 1533 |
+
[#emoji.cloud.sun\ cloud.sun],
|
| 1534 |
+
[#emoji.cloud.sun.hidden\ cloud.sun.hidden],
|
| 1535 |
+
[#emoji.cloud.sun.rain\ cloud.sun.rain],
|
| 1536 |
+
[#emoji.cloud.thunder\ cloud.thunder],
|
| 1537 |
+
[#emoji.coat\ coat],
|
| 1538 |
+
[#emoji.coat.lab\ coat.lab],
|
| 1539 |
+
[#emoji.cockroach\ cockroach],
|
| 1540 |
+
[#emoji.cocktail.martini\ cocktail.martini],
|
| 1541 |
+
[#emoji.cocktail.tropical\ cocktail.tropical],
|
| 1542 |
+
[#emoji.coconut\ coconut],
|
| 1543 |
+
[#emoji.coffee\ coffee],
|
| 1544 |
+
[#emoji.coffin\ coffin],
|
| 1545 |
+
[#emoji.coin\ coin],
|
| 1546 |
+
[#emoji.comet\ comet],
|
| 1547 |
+
[#emoji.compass\ compass],
|
| 1548 |
+
[#emoji.computer\ computer],
|
| 1549 |
+
[#emoji.computermouse\ computermouse],
|
| 1550 |
+
[#emoji.confetti\ confetti],
|
| 1551 |
+
[#emoji.construction\ construction],
|
| 1552 |
+
[#emoji.controller\ controller],
|
| 1553 |
+
[#emoji.cookie\ cookie],
|
| 1554 |
+
[#emoji.cookie.fortune\ cookie.fortune],
|
| 1555 |
+
[#emoji.cooking\ cooking],
|
| 1556 |
+
[#emoji.cool\ cool],
|
| 1557 |
+
[#emoji.copyright\ copyright],
|
| 1558 |
+
[#emoji.coral\ coral],
|
| 1559 |
+
[#emoji.corn\ corn],
|
| 1560 |
+
[#emoji.couch\ couch],
|
| 1561 |
+
[#emoji.couple\ couple],
|
| 1562 |
+
[#emoji.cow\ cow],
|
| 1563 |
+
[#emoji.cow.face\ cow.face],
|
| 1564 |
+
[#emoji.crab\ crab],
|
| 1565 |
+
[#emoji.crane\ crane],
|
| 1566 |
+
[#emoji.crayon\ crayon],
|
| 1567 |
+
[#emoji.cricket\ cricket],
|
| 1568 |
+
[#emoji.cricketbat\ cricketbat],
|
| 1569 |
+
[#emoji.crocodile\ crocodile],
|
| 1570 |
+
[#emoji.croissant\ croissant],
|
| 1571 |
+
[#emoji.crossmark\ crossmark],
|
| 1572 |
+
[#emoji.crossmark.box\ crossmark.box],
|
| 1573 |
+
[#emoji.crown\ crown],
|
| 1574 |
+
[#emoji.crutch\ crutch],
|
| 1575 |
+
[#emoji.crystal\ crystal],
|
| 1576 |
+
[#emoji.cucumber\ cucumber],
|
| 1577 |
+
[#emoji.cup.straw\ cup.straw],
|
| 1578 |
+
[#emoji.cupcake\ cupcake],
|
| 1579 |
+
[#emoji.curling\ curling],
|
| 1580 |
+
[#emoji.curry\ curry],
|
| 1581 |
+
[#emoji.custard\ custard],
|
| 1582 |
+
[#emoji.customs\ customs],
|
| 1583 |
+
[#emoji.cutlery\ cutlery],
|
| 1584 |
+
[#emoji.cyclone\ cyclone],
|
| 1585 |
+
[#emoji.dancing.ballet\ dancing.ballet],
|
| 1586 |
+
[#emoji.dancing.man\ dancing.man],
|
| 1587 |
+
[#emoji.dancing.woman\ dancing.woman],
|
| 1588 |
+
[#emoji.dancing.bunny\ dancing.bunny],
|
| 1589 |
+
[#emoji.dancing.bunny.men\ dancing.bunny.men],
|
| 1590 |
+
[#emoji.diamond.blue.small\ diamond.blue.small],
|
| 1591 |
+
[#emoji.diamond.orange\ diamond.orange],
|
| 1592 |
+
[#emoji.diamond.orange.small\ diamond.orange.small],
|
| 1593 |
+
[#emoji.diamond.dot\ diamond.dot],
|
| 1594 |
+
[#emoji.die\ die],
|
| 1595 |
+
[#emoji.dino.pod\ dino.pod],
|
| 1596 |
+
[#emoji.dino.rex\ dino.rex],
|
| 1597 |
+
[#emoji.disc.cd\ disc.cd],
|
| 1598 |
+
[#emoji.disc.dvd\ disc.dvd],
|
| 1599 |
+
[#emoji.disc.mini\ disc.mini],
|
| 1600 |
+
[#emoji.discoball\ discoball],
|
| 1601 |
+
[#emoji.diving\ diving],
|
| 1602 |
+
[#emoji.dodo\ dodo],
|
| 1603 |
+
[#emoji.dog\ dog],
|
| 1604 |
+
[#emoji.dog.face\ dog.face],
|
| 1605 |
+
[#emoji.dog.guide\ dog.guide],
|
| 1606 |
+
[#emoji.dog.poodle\ dog.poodle],
|
| 1607 |
+
[#emoji.dollar\ dollar],
|
| 1608 |
+
[#emoji.dolphin\ dolphin],
|
| 1609 |
+
[#emoji.donkey\ donkey],
|
| 1610 |
+
[#emoji.donut\ donut],
|
| 1611 |
+
[#emoji.door\ door],
|
| 1612 |
+
[#emoji.dove.peace\ dove.peace],
|
| 1613 |
+
[#emoji.dragon\ dragon],
|
| 1614 |
+
[#emoji.dress\ dress],
|
| 1615 |
+
[#emoji.dress.kimono\ dress.kimono],
|
| 1616 |
+
[#emoji.dress.sari\ dress.sari],
|
| 1617 |
+
[#emoji.drop\ drop],
|
| 1618 |
+
[#emoji.drops\ drops],
|
| 1619 |
+
[#emoji.drum\ drum],
|
| 1620 |
+
[#emoji.drum.big\ drum.big],
|
| 1621 |
+
[#emoji.duck\ duck],
|
| 1622 |
+
[#emoji.dumpling\ dumpling],
|
| 1623 |
+
[#emoji.eagle\ eagle],
|
| 1624 |
+
[#emoji.ear\ ear],
|
| 1625 |
+
[#emoji.ear.aid\ ear.aid],
|
| 1626 |
+
[#emoji.egg\ egg],
|
| 1627 |
+
[#emoji.eighteen.not\ eighteen.not],
|
| 1628 |
+
[#emoji.elephant\ elephant],
|
| 1629 |
+
[#emoji.elevator\ elevator],
|
| 1630 |
+
[#emoji.elf\ elf],
|
| 1631 |
+
[#emoji.email\ email],
|
| 1632 |
+
[#emoji.excl\ excl],
|
| 1633 |
+
[#emoji.excl.white\ excl.white],
|
| 1634 |
+
[#emoji.excl.double\ excl.double],
|
| 1635 |
+
[#emoji.excl.quest\ excl.quest],
|
| 1636 |
+
[#emoji.explosion\ explosion],
|
| 1637 |
+
[#emoji.extinguisher\ extinguisher],
|
| 1638 |
+
[#emoji.eye\ eye],
|
| 1639 |
+
[#emoji.eyes\ eyes],
|
| 1640 |
+
[#emoji.face.grin\ face.grin],
|
| 1641 |
+
[#emoji.face.angry\ face.angry],
|
| 1642 |
+
[#emoji.face.angry.red\ face.angry.red],
|
| 1643 |
+
[#emoji.face.anguish\ face.anguish],
|
| 1644 |
+
[#emoji.face.astonish\ face.astonish],
|
| 1645 |
+
[#emoji.face.bandage\ face.bandage],
|
| 1646 |
+
[#emoji.face.beam\ face.beam],
|
| 1647 |
+
[#emoji.face.blank\ face.blank],
|
| 1648 |
+
[#emoji.face.clown\ face.clown],
|
| 1649 |
+
[#emoji.face.cold\ face.cold],
|
| 1650 |
+
[#emoji.face.concern\ face.concern],
|
| 1651 |
+
[#emoji.face.cool\ face.cool],
|
| 1652 |
+
[#emoji.face.cover\ face.cover],
|
| 1653 |
+
[#emoji.face.cowboy\ face.cowboy],
|
| 1654 |
+
[#emoji.face.cry\ face.cry],
|
| 1655 |
+
[#emoji.face.devil.smile\ face.devil.smile],
|
| 1656 |
+
[#emoji.face.devil.frown\ face.devil.frown],
|
| 1657 |
+
[#emoji.face.diagonal\ face.diagonal],
|
| 1658 |
+
[#emoji.face.disguise\ face.disguise],
|
| 1659 |
+
[#emoji.face.distorted\ face.distorted],
|
| 1660 |
+
[#emoji.face.distress\ face.distress],
|
| 1661 |
+
[#emoji.face.dizzy\ face.dizzy],
|
| 1662 |
+
[#emoji.face.dotted\ face.dotted],
|
| 1663 |
+
[#emoji.face.down\ face.down],
|
| 1664 |
+
[#emoji.face.down.sweat\ face.down.sweat],
|
| 1665 |
+
[#emoji.face.drool\ face.drool],
|
| 1666 |
+
[#emoji.face.explode\ face.explode],
|
| 1667 |
+
[#emoji.face.eyeroll\ face.eyeroll],
|
| 1668 |
+
[#emoji.face.friendly\ face.friendly],
|
| 1669 |
+
[#emoji.face.frust\ face.frust],
|
| 1670 |
+
[#emoji.face.goofy\ face.goofy],
|
| 1671 |
+
[#emoji.face.halo\ face.halo],
|
| 1672 |
+
[#emoji.face.happy\ face.happy],
|
| 1673 |
+
[#emoji.face.heart\ face.heart],
|
| 1674 |
+
[#emoji.face.hearts\ face.hearts],
|
| 1675 |
+
[#emoji.face.heat\ face.heat],
|
| 1676 |
+
[#emoji.face.hug\ face.hug],
|
| 1677 |
+
[#emoji.face.inv\ face.inv],
|
| 1678 |
+
[#emoji.face.joy\ face.joy],
|
| 1679 |
+
[#emoji.face.kiss\ face.kiss],
|
| 1680 |
+
[#emoji.face.kiss.smile\ face.kiss.smile],
|
| 1681 |
+
[#emoji.face.kiss.heart\ face.kiss.heart],
|
| 1682 |
+
[#emoji.face.kiss.blush\ face.kiss.blush],
|
| 1683 |
+
[#emoji.face.lick\ face.lick],
|
| 1684 |
+
[#emoji.face.lie\ face.lie],
|
| 1685 |
+
[#emoji.face.mask\ face.mask],
|
| 1686 |
+
[#emoji.face.meh\ face.meh],
|
| 1687 |
+
[#emoji.face.melt\ face.melt],
|
| 1688 |
+
[#emoji.face.money\ face.money],
|
| 1689 |
+
[#emoji.face.monocle\ face.monocle],
|
| 1690 |
+
[#emoji.face.nausea\ face.nausea],
|
| 1691 |
+
[#emoji.face.nerd\ face.nerd],
|
| 1692 |
+
[#emoji.face.neutral\ face.neutral],
|
| 1693 |
+
[#emoji.face.open\ face.open],
|
| 1694 |
+
[#emoji.face.party\ face.party],
|
| 1695 |
+
[#emoji.face.peek\ face.peek],
|
| 1696 |
+
[#emoji.face.plead\ face.plead],
|
| 1697 |
+
[#emoji.face.relief\ face.relief],
|
| 1698 |
+
[#emoji.face.rofl\ face.rofl],
|
| 1699 |
+
[#emoji.face.sad\ face.sad],
|
| 1700 |
+
[#emoji.face.salute\ face.salute],
|
| 1701 |
+
[#emoji.face.shaking\ face.shaking],
|
| 1702 |
+
[#emoji.face.shock\ face.shock],
|
| 1703 |
+
[#emoji.face.shush\ face.shush],
|
| 1704 |
+
[#emoji.face.skeptic\ face.skeptic],
|
| 1705 |
+
[#emoji.face.sleep\ face.sleep],
|
| 1706 |
+
[#emoji.face.sleepy\ face.sleepy],
|
| 1707 |
+
[#emoji.face.smile\ face.smile],
|
| 1708 |
+
[#emoji.face.smile.slight\ face.smile.slight],
|
| 1709 |
+
[#emoji.face.smile.sweat\ face.smile.sweat],
|
| 1710 |
+
[#emoji.face.smile.tear\ face.smile.tear],
|
| 1711 |
+
[#emoji.face.smirk\ face.smirk],
|
| 1712 |
+
[#emoji.face.sneeze\ face.sneeze],
|
| 1713 |
+
[#emoji.face.speak.not\ face.speak.not],
|
| 1714 |
+
[#emoji.face.squint\ face.squint],
|
| 1715 |
+
[#emoji.face.stars\ face.stars],
|
| 1716 |
+
[#emoji.face.straight\ face.straight],
|
| 1717 |
+
[#emoji.face.suffer\ face.suffer],
|
| 1718 |
+
[#emoji.face.surprise\ face.surprise],
|
| 1719 |
+
[#emoji.face.symbols\ face.symbols],
|
| 1720 |
+
[#emoji.face.tear\ face.tear],
|
| 1721 |
+
[#emoji.face.tear.relief\ face.tear.relief],
|
| 1722 |
+
[#emoji.face.tear.withheld\ face.tear.withheld],
|
| 1723 |
+
[#emoji.face.teeth\ face.teeth],
|
| 1724 |
+
[#emoji.face.think\ face.think],
|
| 1725 |
+
[#emoji.face.tired\ face.tired],
|
| 1726 |
+
[#emoji.face.tongue\ face.tongue],
|
| 1727 |
+
[#emoji.face.tongue.squint\ face.tongue.squint],
|
| 1728 |
+
[#emoji.face.tongue.wink\ face.tongue.wink],
|
| 1729 |
+
[#emoji.face.triumph\ face.triumph],
|
| 1730 |
+
[#emoji.face.unhappy\ face.unhappy],
|
| 1731 |
+
[#emoji.face.vomit\ face.vomit],
|
| 1732 |
+
[#emoji.face.weary\ face.weary],
|
| 1733 |
+
[#emoji.face.wink\ face.wink],
|
| 1734 |
+
[#emoji.face.woozy\ face.woozy],
|
| 1735 |
+
[#emoji.face.worry\ face.worry],
|
| 1736 |
+
[#emoji.face.wow\ face.wow],
|
| 1737 |
+
[#emoji.face.yawn\ face.yawn],
|
| 1738 |
+
[#emoji.face.zip\ face.zip],
|
| 1739 |
+
[#emoji.factory\ factory],
|
| 1740 |
+
[#emoji.fairy\ fairy],
|
| 1741 |
+
[#emoji.faith.christ\ faith.christ],
|
| 1742 |
+
[#emoji.faith.dharma\ faith.dharma],
|
| 1743 |
+
[#emoji.faith.khanda\ faith.khanda],
|
| 1744 |
+
[#emoji.faith.islam\ faith.islam],
|
| 1745 |
+
[#emoji.faith.judaism\ faith.judaism],
|
| 1746 |
+
[#emoji.faith.menorah\ faith.menorah],
|
| 1747 |
+
[#emoji.faith.om\ faith.om],
|
| 1748 |
+
[#emoji.faith.peace\ faith.peace],
|
| 1749 |
+
[#emoji.faith.star.dot\ faith.star.dot],
|
| 1750 |
+
[#emoji.faith.worship\ faith.worship],
|
| 1751 |
+
[#emoji.faith.yinyang\ faith.yinyang],
|
| 1752 |
+
[#emoji.falafel\ falafel],
|
| 1753 |
+
[#emoji.family\ family],
|
| 1754 |
+
[#emoji.fax\ fax],
|
| 1755 |
+
[#emoji.feather\ feather],
|
| 1756 |
+
[#emoji.feeding.breast\ feeding.breast],
|
| 1757 |
+
[#emoji.fencing\ fencing],
|
| 1758 |
+
[#emoji.ferriswheel\ ferriswheel],
|
| 1759 |
+
[#emoji.fightcloud\ fightcloud],
|
| 1760 |
+
[#emoji.filebox\ filebox],
|
| 1761 |
+
[#emoji.filedividers\ filedividers],
|
| 1762 |
+
[#emoji.film\ film],
|
| 1763 |
+
[#emoji.finger.r\ finger.r],
|
| 1764 |
+
[#emoji.finger.l\ finger.l],
|
| 1765 |
+
[#emoji.finger.t\ finger.t],
|
| 1766 |
+
[#emoji.finger.t.alt\ finger.t.alt],
|
| 1767 |
+
[#emoji.finger.b\ finger.b],
|
| 1768 |
+
[#emoji.finger.front\ finger.front],
|
| 1769 |
+
[#emoji.finger.m \ finger.m ],
|
| 1770 |
+
[#emoji.fingerprint\ fingerprint],
|
| 1771 |
+
[#emoji.fingers.cross\ fingers.cross],
|
| 1772 |
+
[#emoji.fingers.pinch\ fingers.pinch],
|
| 1773 |
+
[#emoji.fingers.snap\ fingers.snap],
|
| 1774 |
+
[#emoji.fire\ fire],
|
| 1775 |
+
[#emoji.firecracker\ firecracker],
|
| 1776 |
+
[#emoji.fireengine\ fireengine],
|
| 1777 |
+
[#emoji.fireworks\ fireworks],
|
| 1778 |
+
[#emoji.fish\ fish],
|
| 1779 |
+
[#emoji.fish.tropical\ fish.tropical],
|
| 1780 |
+
[#emoji.fishing\ fishing],
|
| 1781 |
+
[#emoji.fist.front\ fist.front],
|
| 1782 |
+
[#emoji.fist.r\ fist.r],
|
| 1783 |
+
[#emoji.fist.l\ fist.l],
|
| 1784 |
+
[#emoji.fist.raised\ fist.raised],
|
| 1785 |
+
[#emoji.flag.black\ flag.black],
|
| 1786 |
+
[#emoji.flag.goal\ flag.goal],
|
| 1787 |
+
[#emoji.flag.golf\ flag.golf],
|
| 1788 |
+
[#emoji.flags.jp.crossed\ flags.jp.crossed],
|
| 1789 |
+
[#emoji.flamingo\ flamingo],
|
| 1790 |
+
[#emoji.flashlight\ flashlight],
|
| 1791 |
+
[#emoji.flatbread\ flatbread],
|
| 1792 |
+
[#emoji.fleur\ fleur],
|
| 1793 |
+
[#emoji.floppy\ floppy],
|
| 1794 |
+
[#emoji.flower.hibiscus\ flower.hibiscus],
|
| 1795 |
+
[#emoji.flower.hyacinth\ flower.hyacinth],
|
| 1796 |
+
[#emoji.flower.yellow\ flower.yellow],
|
| 1797 |
+
[#emoji.flute\ flute],
|
| 1798 |
+
[#emoji.fly\ fly],
|
| 1799 |
+
[#emoji.fog\ fog],
|
| 1800 |
+
[#emoji.folder\ folder],
|
| 1801 |
+
[#emoji.folder.open\ folder.open],
|
| 1802 |
+
[#emoji.fondue\ fondue],
|
| 1803 |
+
[#emoji.foot\ foot],
|
| 1804 |
+
[#emoji.football\ football],
|
| 1805 |
+
[#emoji.football.am\ football.am],
|
| 1806 |
+
[#emoji.forex\ forex],
|
| 1807 |
+
[#emoji.fountain\ fountain],
|
| 1808 |
+
[#emoji.fox\ fox],
|
| 1809 |
+
[#emoji.free\ free],
|
| 1810 |
+
[#emoji.fries\ fries],
|
| 1811 |
+
[#emoji.frisbee\ frisbee],
|
| 1812 |
+
[#emoji.frog.face\ frog.face],
|
| 1813 |
+
[#emoji.fuelpump\ fuelpump],
|
| 1814 |
+
[#emoji.gachi\ gachi],
|
| 1815 |
+
[#emoji.garlic\ garlic],
|
| 1816 |
+
[#emoji.gear\ gear],
|
| 1817 |
+
[#emoji.gem\ gem],
|
| 1818 |
+
[#emoji.genie\ genie],
|
| 1819 |
+
[#emoji.ghost\ ghost],
|
| 1820 |
+
[#emoji.ginger\ ginger],
|
| 1821 |
+
[#emoji.giraffe\ giraffe],
|
| 1822 |
+
[#emoji.girl\ girl],
|
| 1823 |
+
[#emoji.glass.clink\ glass.clink],
|
| 1824 |
+
[#emoji.glass.milk\ glass.milk],
|
| 1825 |
+
[#emoji.glass.pour\ glass.pour],
|
| 1826 |
+
[#emoji.glass.tumbler\ glass.tumbler],
|
| 1827 |
+
[#emoji.glasses\ glasses],
|
| 1828 |
+
[#emoji.glasses.sun\ glasses.sun],
|
| 1829 |
+
[#emoji.globe.am\ globe.am],
|
| 1830 |
+
[#emoji.globe.as.au\ globe.as.au],
|
| 1831 |
+
[#emoji.globe.eu.af\ globe.eu.af],
|
| 1832 |
+
[#emoji.globe.meridian\ globe.meridian],
|
| 1833 |
+
[#emoji.gloves\ gloves],
|
| 1834 |
+
[#emoji.go\ go],
|
| 1835 |
+
[#emoji.goal\ goal],
|
| 1836 |
+
[#emoji.goat\ goat],
|
| 1837 |
+
[#emoji.goggles\ goggles],
|
| 1838 |
+
[#emoji.golfing\ golfing],
|
| 1839 |
+
[#emoji.goose\ goose],
|
| 1840 |
+
[#emoji.gorilla\ gorilla],
|
| 1841 |
+
[#emoji.grapes\ grapes],
|
| 1842 |
+
[#emoji.guard.man\ guard.man],
|
| 1843 |
+
[#emoji.guitar\ guitar],
|
| 1844 |
+
[#emoji.gymnastics\ gymnastics],
|
| 1845 |
+
[#emoji.haircut\ haircut],
|
| 1846 |
+
[#emoji.hairpick\ hairpick],
|
| 1847 |
+
[#emoji.hammer\ hammer],
|
| 1848 |
+
[#emoji.hammer.pick\ hammer.pick],
|
| 1849 |
+
[#emoji.hammer.wrench\ hammer.wrench],
|
| 1850 |
+
[#emoji.hamsa\ hamsa],
|
| 1851 |
+
[#emoji.hamster.face\ hamster.face],
|
| 1852 |
+
[#emoji.hand.raised\ hand.raised],
|
| 1853 |
+
[#emoji.hand.raised.alt\ hand.raised.alt],
|
| 1854 |
+
[#emoji.hand.r\ hand.r],
|
| 1855 |
+
[#emoji.hand.l\ hand.l],
|
| 1856 |
+
[#emoji.hand.t\ hand.t],
|
| 1857 |
+
[#emoji.hand.b\ hand.b],
|
| 1858 |
+
[#emoji.hand.ok\ hand.ok],
|
| 1859 |
+
[#emoji.hand.call\ hand.call],
|
| 1860 |
+
[#emoji.hand.love\ hand.love],
|
| 1861 |
+
[#emoji.hand.part\ hand.part],
|
| 1862 |
+
[#emoji.hand.peace\ hand.peace],
|
| 1863 |
+
[#emoji.hand.pinch\ hand.pinch],
|
| 1864 |
+
[#emoji.hand.pushing.l\ hand.pushing.l],
|
| 1865 |
+
[#emoji.hand.pushing.r\ hand.pushing.r],
|
| 1866 |
+
[#emoji.hand.rock\ hand.rock],
|
| 1867 |
+
[#emoji.hand.splay\ hand.splay],
|
| 1868 |
+
[#emoji.hand.wave\ hand.wave],
|
| 1869 |
+
[#emoji.hand.write\ hand.write],
|
| 1870 |
+
[#emoji.handbag\ handbag],
|
| 1871 |
+
[#emoji.handball\ handball],
|
| 1872 |
+
[#emoji.handfan\ handfan],
|
| 1873 |
+
[#emoji.handholding\ handholding],
|
| 1874 |
+
[#emoji.handholding.man.man\ handholding.man.man],
|
| 1875 |
+
[#emoji.handholding.woman.man\ handholding.woman.man],
|
| 1876 |
+
[#emoji.handholding.woman.woman\ handholding.woman.woman],
|
| 1877 |
+
[#emoji.hands.folded\ hands.folded],
|
| 1878 |
+
[#emoji.hands.palms\ hands.palms],
|
| 1879 |
+
[#emoji.hands.clap\ hands.clap],
|
| 1880 |
+
[#emoji.hands.heart\ hands.heart],
|
| 1881 |
+
[#emoji.hands.open\ hands.open],
|
| 1882 |
+
[#emoji.hands.raised\ hands.raised],
|
| 1883 |
+
[#emoji.hands.shake\ hands.shake],
|
| 1884 |
+
[#emoji.harp\ harp],
|
| 1885 |
+
[#emoji.hash\ hash],
|
| 1886 |
+
[#emoji.hat.ribbon\ hat.ribbon],
|
| 1887 |
+
[#emoji.hat.top\ hat.top],
|
| 1888 |
+
[#emoji.headphone\ headphone],
|
| 1889 |
+
[#emoji.heart\ heart],
|
| 1890 |
+
[#emoji.heart.arrow\ heart.arrow],
|
| 1891 |
+
[#emoji.heart.beat\ heart.beat],
|
| 1892 |
+
[#emoji.heart.black\ heart.black],
|
| 1893 |
+
[#emoji.heart.blue\ heart.blue],
|
| 1894 |
+
[#emoji.heart.box\ heart.box],
|
| 1895 |
+
[#emoji.heart.broken\ heart.broken],
|
| 1896 |
+
[#emoji.heart.brown\ heart.brown],
|
| 1897 |
+
[#emoji.heart.double\ heart.double],
|
| 1898 |
+
[#emoji.heart.excl\ heart.excl],
|
| 1899 |
+
[#emoji.heart.gray\ heart.gray],
|
| 1900 |
+
[#emoji.heart.green\ heart.green],
|
| 1901 |
+
[#emoji.heart.grow\ heart.grow],
|
| 1902 |
+
[#emoji.heart.lightblue\ heart.lightblue],
|
| 1903 |
+
[#emoji.heart.orange\ heart.orange],
|
| 1904 |
+
[#emoji.heart.pink\ heart.pink],
|
| 1905 |
+
[#emoji.heart.purple\ heart.purple],
|
| 1906 |
+
[#emoji.heart.real\ heart.real],
|
| 1907 |
+
[#emoji.heart.revolve\ heart.revolve],
|
| 1908 |
+
[#emoji.heart.ribbon\ heart.ribbon],
|
| 1909 |
+
[#emoji.heart.spark\ heart.spark],
|
| 1910 |
+
[#emoji.heart.white\ heart.white],
|
| 1911 |
+
[#emoji.heart.yellow\ heart.yellow],
|
| 1912 |
+
[#emoji.hedgehog\ hedgehog],
|
| 1913 |
+
[#emoji.helicopter\ helicopter],
|
| 1914 |
+
[#emoji.helix\ helix],
|
| 1915 |
+
[#emoji.helmet.cross\ helmet.cross],
|
| 1916 |
+
[#emoji.helmet.military\ helmet.military],
|
| 1917 |
+
[#emoji.hi\ hi],
|
| 1918 |
+
[#emoji.hippo\ hippo],
|
| 1919 |
+
[#emoji.hockey\ hockey],
|
| 1920 |
+
[#emoji.hole\ hole],
|
| 1921 |
+
[#emoji.honey\ honey],
|
| 1922 |
+
[#emoji.hongbao\ hongbao],
|
| 1923 |
+
[#emoji.hook\ hook],
|
| 1924 |
+
[#emoji.horn.postal\ horn.postal],
|
| 1925 |
+
[#emoji.horse\ horse],
|
| 1926 |
+
[#emoji.horse.carousel\ horse.carousel],
|
| 1927 |
+
[#emoji.horse.face\ horse.face],
|
| 1928 |
+
[#emoji.horse.race\ horse.race],
|
| 1929 |
+
[#emoji.hospital\ hospital],
|
| 1930 |
+
[#emoji.hotdog\ hotdog],
|
| 1931 |
+
[#emoji.hotel\ hotel],
|
| 1932 |
+
[#emoji.hotel.love\ hotel.love],
|
| 1933 |
+
[#emoji.hotspring\ hotspring],
|
| 1934 |
+
[#emoji.hourglass\ hourglass],
|
| 1935 |
+
[#emoji.hourglass.flow\ hourglass.flow],
|
| 1936 |
+
[#emoji.house\ house],
|
| 1937 |
+
[#emoji.house.derelict\ house.derelict],
|
| 1938 |
+
[#emoji.house.garden\ house.garden],
|
| 1939 |
+
[#emoji.house.multiple\ house.multiple],
|
| 1940 |
+
[#emoji.hundred\ hundred],
|
| 1941 |
+
[#emoji.hut\ hut],
|
| 1942 |
+
[#emoji.ice\ ice],
|
| 1943 |
+
[#emoji.icecream\ icecream],
|
| 1944 |
+
[#emoji.icecream.shaved\ icecream.shaved],
|
| 1945 |
+
[#emoji.icecream.soft\ icecream.soft],
|
| 1946 |
+
[#emoji.icehockey\ icehockey],
|
| 1947 |
+
[#emoji.id\ id],
|
| 1948 |
+
[#emoji.info\ info],
|
| 1949 |
+
[#emoji.izakaya\ izakaya],
|
| 1950 |
+
[#emoji.jar\ jar],
|
| 1951 |
+
[#emoji.jeans\ jeans],
|
| 1952 |
+
[#emoji.jellyfish\ jellyfish],
|
| 1953 |
+
[#emoji.jigsaw\ jigsaw],
|
| 1954 |
+
[#emoji.joystick\ joystick],
|
| 1955 |
+
[#emoji.juggling\ juggling],
|
| 1956 |
+
[#emoji.juice\ juice],
|
| 1957 |
+
[#emoji.ka\ ka],
|
| 1958 |
+
[#emoji.kaaba\ kaaba],
|
| 1959 |
+
[#emoji.kachi\ kachi],
|
| 1960 |
+
[#emoji.kadomatsu\ kadomatsu],
|
| 1961 |
+
[#emoji.kangaroo\ kangaroo],
|
| 1962 |
+
[#emoji.kara\ kara],
|
| 1963 |
+
[#emoji.kebab\ kebab],
|
| 1964 |
+
[#emoji.key\ key],
|
| 1965 |
+
[#emoji.key.old\ key.old],
|
| 1966 |
+
[#emoji.keyboard\ keyboard],
|
| 1967 |
+
[#emoji.kiss\ kiss],
|
| 1968 |
+
[#emoji.kissmark\ kissmark],
|
| 1969 |
+
[#emoji.kite\ kite],
|
| 1970 |
+
[#emoji.kiwi\ kiwi],
|
| 1971 |
+
[#emoji.knife\ knife],
|
| 1972 |
+
[#emoji.knife.dagger\ knife.dagger],
|
| 1973 |
+
[#emoji.knot\ knot],
|
| 1974 |
+
[#emoji.koala\ koala],
|
| 1975 |
+
[#emoji.koinobori\ koinobori],
|
| 1976 |
+
[#emoji.koko\ koko],
|
| 1977 |
+
[#emoji.kon\ kon],
|
| 1978 |
+
[#emoji.label\ label],
|
| 1979 |
+
[#emoji.lacrosse\ lacrosse],
|
| 1980 |
+
[#emoji.ladder\ ladder],
|
| 1981 |
+
[#emoji.lamp.diya\ lamp.diya],
|
| 1982 |
+
[#emoji.landslide\ landslide],
|
| 1983 |
+
[#emoji.laptop\ laptop],
|
| 1984 |
+
[#emoji.leaf.clover.three\ leaf.clover.three],
|
| 1985 |
+
[#emoji.leaf.clover.four\ leaf.clover.four],
|
| 1986 |
+
[#emoji.leaf.fall\ leaf.fall],
|
| 1987 |
+
[#emoji.leaf.herb\ leaf.herb],
|
| 1988 |
+
[#emoji.leaf.maple\ leaf.maple],
|
| 1989 |
+
[#emoji.leaf.wind\ leaf.wind],
|
| 1990 |
+
[#emoji.leftluggage\ leftluggage],
|
| 1991 |
+
[#emoji.leg\ leg],
|
| 1992 |
+
[#emoji.leg.mech\ leg.mech],
|
| 1993 |
+
[#emoji.lemon\ lemon],
|
| 1994 |
+
[#emoji.leopard\ leopard],
|
| 1995 |
+
[#emoji.letter.love\ letter.love],
|
| 1996 |
+
[#emoji.liberty\ liberty],
|
| 1997 |
+
[#emoji.lightbulb\ lightbulb],
|
| 1998 |
+
[#emoji.lightning\ lightning],
|
| 1999 |
+
[#emoji.lion\ lion],
|
| 2000 |
+
[#emoji.lipstick\ lipstick],
|
| 2001 |
+
[#emoji.litter\ litter],
|
| 2002 |
+
[#emoji.litter.not\ litter.not],
|
| 2003 |
+
[#emoji.lizard\ lizard],
|
| 2004 |
+
[#emoji.llama\ llama],
|
| 2005 |
+
[#emoji.lobster\ lobster],
|
| 2006 |
+
[#emoji.lock\ lock],
|
| 2007 |
+
[#emoji.lock.key\ lock.key],
|
| 2008 |
+
[#emoji.lock.open\ lock.open],
|
| 2009 |
+
[#emoji.lock.pen\ lock.pen],
|
| 2010 |
+
[#emoji.lollipop\ lollipop],
|
| 2011 |
+
[#emoji.lotion\ lotion],
|
| 2012 |
+
[#emoji.luggage\ luggage],
|
| 2013 |
+
[#emoji.lungs\ lungs],
|
| 2014 |
+
[#emoji.mage\ mage],
|
| 2015 |
+
[#emoji.magnet\ magnet],
|
| 2016 |
+
[#emoji.magnify.r\ magnify.r],
|
| 2017 |
+
[#emoji.magnify.l\ magnify.l],
|
| 2018 |
+
[#emoji.mahjong.dragon.red\ mahjong.dragon.red],
|
| 2019 |
+
[#emoji.mail\ mail],
|
| 2020 |
+
[#emoji.mail.arrow\ mail.arrow],
|
| 2021 |
+
[#emoji.mailbox.closed.empty\ mailbox.closed.empty],
|
| 2022 |
+
[#emoji.mailbox.closed.full\ mailbox.closed.full],
|
| 2023 |
+
[#emoji.mailbox.open.empty\ mailbox.open.empty],
|
| 2024 |
+
[#emoji.mailbox.open.full\ mailbox.open.full],
|
| 2025 |
+
[#emoji.mammoth\ mammoth],
|
| 2026 |
+
[#emoji.man\ man],
|
| 2027 |
+
[#emoji.man.box\ man.box],
|
| 2028 |
+
[#emoji.man.crown\ man.crown],
|
| 2029 |
+
[#emoji.man.guapimao\ man.guapimao],
|
| 2030 |
+
[#emoji.man.levitate\ man.levitate],
|
| 2031 |
+
[#emoji.man.old\ man.old],
|
| 2032 |
+
[#emoji.man.pregnant\ man.pregnant],
|
| 2033 |
+
[#emoji.man.turban\ man.turban],
|
| 2034 |
+
[#emoji.man.tuxedo\ man.tuxedo],
|
| 2035 |
+
[#emoji.mango\ mango],
|
| 2036 |
+
[#emoji.map.world\ map.world],
|
| 2037 |
+
[#emoji.map.jp\ map.jp],
|
| 2038 |
+
[#emoji.maracas\ maracas],
|
| 2039 |
+
[#emoji.martialarts\ martialarts],
|
| 2040 |
+
[#emoji.masks\ masks],
|
| 2041 |
+
[#emoji.mate\ mate],
|
| 2042 |
+
[#emoji.matryoshka\ matryoshka],
|
| 2043 |
+
[#emoji.meat\ meat],
|
| 2044 |
+
[#emoji.meat.bone\ meat.bone],
|
| 2045 |
+
[#emoji.medal.first\ medal.first],
|
| 2046 |
+
[#emoji.medal.second\ medal.second],
|
| 2047 |
+
[#emoji.medal.third\ medal.third],
|
| 2048 |
+
[#emoji.medal.sports\ medal.sports],
|
| 2049 |
+
[#emoji.medal.military\ medal.military],
|
| 2050 |
+
[#emoji.megaphone\ megaphone],
|
| 2051 |
+
[#emoji.megaphone.simple\ megaphone.simple],
|
| 2052 |
+
[#emoji.melon\ melon],
|
| 2053 |
+
[#emoji.merperson\ merperson],
|
| 2054 |
+
[#emoji.metro\ metro],
|
| 2055 |
+
[#emoji.microbe\ microbe],
|
| 2056 |
+
[#emoji.microphone\ microphone],
|
| 2057 |
+
[#emoji.microphone.studio\ microphone.studio],
|
| 2058 |
+
[#emoji.microscope\ microscope],
|
| 2059 |
+
[#emoji.milkyway\ milkyway],
|
| 2060 |
+
[#emoji.mirror\ mirror],
|
| 2061 |
+
[#emoji.mixer\ mixer],
|
| 2062 |
+
[#emoji.money.bag\ money.bag],
|
| 2063 |
+
[#emoji.money.dollar\ money.dollar],
|
| 2064 |
+
[#emoji.money.euro\ money.euro],
|
| 2065 |
+
[#emoji.money.pound\ money.pound],
|
| 2066 |
+
[#emoji.money.yen\ money.yen],
|
| 2067 |
+
[#emoji.money.wings\ money.wings],
|
| 2068 |
+
[#emoji.monkey\ monkey],
|
| 2069 |
+
[#emoji.monkey.face\ monkey.face],
|
| 2070 |
+
[#emoji.monkey.hear.not\ monkey.hear.not],
|
| 2071 |
+
[#emoji.monkey.see.not\ monkey.see.not],
|
| 2072 |
+
[#emoji.monkey.speak.not\ monkey.speak.not],
|
| 2073 |
+
[#emoji.moon.crescent\ moon.crescent],
|
| 2074 |
+
[#emoji.moon.full\ moon.full],
|
| 2075 |
+
[#emoji.moon.full.face\ moon.full.face],
|
| 2076 |
+
[#emoji.moon.new\ moon.new],
|
| 2077 |
+
[#emoji.moon.new.face\ moon.new.face],
|
| 2078 |
+
[#emoji.moon.wane.one\ moon.wane.one],
|
| 2079 |
+
[#emoji.moon.wane.two\ moon.wane.two],
|
| 2080 |
+
[#emoji.moon.wane.three\ moon.wane.three],
|
| 2081 |
+
[#emoji.moon.wax.one\ moon.wax.one],
|
| 2082 |
+
[#emoji.moon.wax.two\ moon.wax.two],
|
| 2083 |
+
[#emoji.moon.wax.face\ moon.wax.face],
|
| 2084 |
+
[#emoji.moon.wax.three\ moon.wax.three],
|
| 2085 |
+
[#emoji.moose\ moose],
|
| 2086 |
+
[#emoji.mortarboard\ mortarboard],
|
| 2087 |
+
[#emoji.mosque\ mosque],
|
| 2088 |
+
[#emoji.mosquito\ mosquito],
|
| 2089 |
+
[#emoji.motorcycle\ motorcycle],
|
| 2090 |
+
[#emoji.motorway\ motorway],
|
| 2091 |
+
[#emoji.mountain\ mountain],
|
| 2092 |
+
[#emoji.mountain.fuji\ mountain.fuji],
|
| 2093 |
+
[#emoji.mountain.snow\ mountain.snow],
|
| 2094 |
+
[#emoji.mountain.sunrise\ mountain.sunrise],
|
| 2095 |
+
[#emoji.mouse\ mouse],
|
| 2096 |
+
[#emoji.mouse.face\ mouse.face],
|
| 2097 |
+
[#emoji.mousetrap\ mousetrap],
|
| 2098 |
+
[#emoji.mouth\ mouth],
|
| 2099 |
+
[#emoji.mouth.bite\ mouth.bite],
|
| 2100 |
+
[#emoji.moyai\ moyai],
|
| 2101 |
+
[#emoji.muryo\ muryo],
|
| 2102 |
+
[#emoji.museum\ museum],
|
| 2103 |
+
[#emoji.mushroom\ mushroom],
|
| 2104 |
+
[#emoji.musicalscore\ musicalscore],
|
| 2105 |
+
[#emoji.nails.polish\ nails.polish],
|
| 2106 |
+
[#emoji.namebadge\ namebadge],
|
| 2107 |
+
[#emoji.nazar\ nazar],
|
| 2108 |
+
[#emoji.necktie\ necktie],
|
| 2109 |
+
[#emoji.needle\ needle],
|
| 2110 |
+
[#emoji.nest.empty\ nest.empty],
|
| 2111 |
+
[#emoji.nest.eggs\ nest.eggs],
|
| 2112 |
+
[#emoji.new\ new],
|
| 2113 |
+
[#emoji.newspaper\ newspaper],
|
| 2114 |
+
[#emoji.newspaper.rolled\ newspaper.rolled],
|
| 2115 |
+
[#emoji.ng\ ng],
|
| 2116 |
+
[#emoji.ningyo\ ningyo],
|
| 2117 |
+
[#emoji.ninja\ ninja],
|
| 2118 |
+
[#emoji.noentry\ noentry],
|
| 2119 |
+
[#emoji.nose\ nose],
|
| 2120 |
+
[#emoji.notebook\ notebook],
|
| 2121 |
+
[#emoji.notebook.deco\ notebook.deco],
|
| 2122 |
+
[#emoji.notepad\ notepad],
|
| 2123 |
+
[#emoji.notes\ notes],
|
| 2124 |
+
[#emoji.notes.triple\ notes.triple],
|
| 2125 |
+
[#emoji.numbers\ numbers],
|
| 2126 |
+
[#emoji.o\ o],
|
| 2127 |
+
[#emoji.octopus\ octopus],
|
| 2128 |
+
[#emoji.office\ office],
|
| 2129 |
+
[#emoji.oil\ oil],
|
| 2130 |
+
[#emoji.ok\ ok],
|
| 2131 |
+
[#emoji.olive\ olive],
|
| 2132 |
+
[#emoji.oni\ oni],
|
| 2133 |
+
[#emoji.onion\ onion],
|
| 2134 |
+
[#emoji.orca\ orca],
|
| 2135 |
+
[#emoji.otter\ otter],
|
| 2136 |
+
[#emoji.owl\ owl],
|
| 2137 |
+
[#emoji.ox\ ox],
|
| 2138 |
+
[#emoji.oyster\ oyster],
|
| 2139 |
+
[#emoji.package\ package],
|
| 2140 |
+
[#emoji.paella\ paella],
|
| 2141 |
+
[#emoji.page\ page],
|
| 2142 |
+
[#emoji.page.curl\ page.curl],
|
| 2143 |
+
[#emoji.page.pencil\ page.pencil],
|
| 2144 |
+
[#emoji.pager\ pager],
|
| 2145 |
+
[#emoji.pages.tabs\ pages.tabs],
|
| 2146 |
+
[#emoji.painting\ painting],
|
| 2147 |
+
[#emoji.palette\ palette],
|
| 2148 |
+
[#emoji.pancakes\ pancakes],
|
| 2149 |
+
[#emoji.panda\ panda],
|
| 2150 |
+
[#emoji.parachute\ parachute],
|
| 2151 |
+
[#emoji.park\ park],
|
| 2152 |
+
[#emoji.parking\ parking],
|
| 2153 |
+
[#emoji.parrot\ parrot],
|
| 2154 |
+
[#emoji.partalteration\ partalteration],
|
| 2155 |
+
[#emoji.party\ party],
|
| 2156 |
+
[#emoji.peach\ peach],
|
| 2157 |
+
[#emoji.peacock\ peacock],
|
| 2158 |
+
[#emoji.peanuts\ peanuts],
|
| 2159 |
+
[#emoji.peapod\ peapod],
|
| 2160 |
+
[#emoji.pear\ pear],
|
| 2161 |
+
[#emoji.pedestrian\ pedestrian],
|
| 2162 |
+
[#emoji.pedestrian.not\ pedestrian.not],
|
| 2163 |
+
[#emoji.pen.ball\ pen.ball],
|
| 2164 |
+
[#emoji.pen.fountain\ pen.fountain],
|
| 2165 |
+
[#emoji.pencil\ pencil],
|
| 2166 |
+
[#emoji.penguin\ penguin],
|
| 2167 |
+
[#emoji.pepper\ pepper],
|
| 2168 |
+
[#emoji.pepper.hot\ pepper.hot],
|
| 2169 |
+
[#emoji.person\ person],
|
| 2170 |
+
[#emoji.person.angry\ person.angry],
|
| 2171 |
+
[#emoji.person.beard\ person.beard],
|
| 2172 |
+
[#emoji.person.blonde\ person.blonde],
|
| 2173 |
+
[#emoji.person.bow\ person.bow],
|
| 2174 |
+
[#emoji.person.crown\ person.crown],
|
| 2175 |
+
[#emoji.person.deaf\ person.deaf],
|
| 2176 |
+
[#emoji.person.facepalm\ person.facepalm],
|
| 2177 |
+
[#emoji.person.frown\ person.frown],
|
| 2178 |
+
[#emoji.person.hijab\ person.hijab],
|
| 2179 |
+
[#emoji.person.kneel\ person.kneel],
|
| 2180 |
+
[#emoji.person.lotus\ person.lotus],
|
| 2181 |
+
[#emoji.person.massage\ person.massage],
|
| 2182 |
+
[#emoji.person.no\ person.no],
|
| 2183 |
+
[#emoji.person.ok\ person.ok],
|
| 2184 |
+
[#emoji.person.old\ person.old],
|
| 2185 |
+
[#emoji.person.pregnant\ person.pregnant],
|
| 2186 |
+
[#emoji.person.raise\ person.raise],
|
| 2187 |
+
[#emoji.person.sassy\ person.sassy],
|
| 2188 |
+
[#emoji.person.shrug\ person.shrug],
|
| 2189 |
+
[#emoji.person.stand\ person.stand],
|
| 2190 |
+
[#emoji.person.steam\ person.steam],
|
| 2191 |
+
[#emoji.petri\ petri],
|
| 2192 |
+
[#emoji.phone\ phone],
|
| 2193 |
+
[#emoji.phone.arrow\ phone.arrow],
|
| 2194 |
+
[#emoji.phone.classic\ phone.classic],
|
| 2195 |
+
[#emoji.phone.not\ phone.not],
|
| 2196 |
+
[#emoji.phone.off\ phone.off],
|
| 2197 |
+
[#emoji.phone.receiver\ phone.receiver],
|
| 2198 |
+
[#emoji.phone.signal\ phone.signal],
|
| 2199 |
+
[#emoji.phone.vibrate\ phone.vibrate],
|
| 2200 |
+
[#emoji.piano\ piano],
|
| 2201 |
+
[#emoji.pick\ pick],
|
| 2202 |
+
[#emoji.pie\ pie],
|
| 2203 |
+
[#emoji.pig\ pig],
|
| 2204 |
+
[#emoji.pig.face\ pig.face],
|
| 2205 |
+
[#emoji.pig.nose\ pig.nose],
|
| 2206 |
+
[#emoji.pill\ pill],
|
| 2207 |
+
[#emoji.pin\ pin],
|
| 2208 |
+
[#emoji.pin.round\ pin.round],
|
| 2209 |
+
[#emoji.pinata\ pinata],
|
| 2210 |
+
[#emoji.pineapple\ pineapple],
|
| 2211 |
+
[#emoji.pingpong\ pingpong],
|
| 2212 |
+
[#emoji.pistol\ pistol],
|
| 2213 |
+
[#emoji.pizza\ pizza],
|
| 2214 |
+
[#emoji.placard\ placard],
|
| 2215 |
+
[#emoji.planet\ planet],
|
| 2216 |
+
[#emoji.plant\ plant],
|
| 2217 |
+
[#emoji.plaster\ plaster],
|
| 2218 |
+
[#emoji.plate.cutlery\ plate.cutlery],
|
| 2219 |
+
[#emoji.playback.down\ playback.down],
|
| 2220 |
+
[#emoji.playback.eject\ playback.eject],
|
| 2221 |
+
[#emoji.playback.forward\ playback.forward],
|
| 2222 |
+
[#emoji.playback.pause\ playback.pause],
|
| 2223 |
+
[#emoji.playback.record\ playback.record],
|
| 2224 |
+
[#emoji.playback.repeat\ playback.repeat],
|
| 2225 |
+
[#emoji.playback.repeat.once\ playback.repeat.once],
|
| 2226 |
+
[#emoji.playback.repeat.v\ playback.repeat.v],
|
| 2227 |
+
[#emoji.playback.restart\ playback.restart],
|
| 2228 |
+
[#emoji.playback.rewind\ playback.rewind],
|
| 2229 |
+
[#emoji.playback.shuffle\ playback.shuffle],
|
| 2230 |
+
[#emoji.playback.skip\ playback.skip],
|
| 2231 |
+
[#emoji.playback.stop\ playback.stop],
|
| 2232 |
+
[#emoji.playback.toggle\ playback.toggle],
|
| 2233 |
+
[#emoji.playback.up\ playback.up],
|
| 2234 |
+
[#emoji.playingcard.flower\ playingcard.flower],
|
| 2235 |
+
[#emoji.playingcard.joker\ playingcard.joker],
|
| 2236 |
+
[#emoji.plunger\ plunger],
|
| 2237 |
+
[#emoji.policeofficer\ policeofficer],
|
| 2238 |
+
[#emoji.poo\ poo],
|
| 2239 |
+
[#emoji.popcorn\ popcorn],
|
| 2240 |
+
[#emoji.post.eu\ post.eu],
|
| 2241 |
+
[#emoji.post.jp\ post.jp],
|
| 2242 |
+
[#emoji.postbox\ postbox],
|
| 2243 |
+
[#emoji.potato\ potato],
|
| 2244 |
+
[#emoji.potato.sweet\ potato.sweet],
|
| 2245 |
+
[#emoji.pouch\ pouch],
|
| 2246 |
+
[#emoji.powerplug\ powerplug],
|
| 2247 |
+
[#emoji.present\ present],
|
| 2248 |
+
[#emoji.pretzel\ pretzel],
|
| 2249 |
+
[#emoji.printer\ printer],
|
| 2250 |
+
[#emoji.prints.foot\ prints.foot],
|
| 2251 |
+
[#emoji.prints.paw\ prints.paw],
|
| 2252 |
+
[#emoji.prohibited\ prohibited],
|
| 2253 |
+
[#emoji.projector\ projector],
|
| 2254 |
+
[#emoji.pumpkin.lantern\ pumpkin.lantern],
|
| 2255 |
+
[#emoji.purse\ purse],
|
| 2256 |
+
[#emoji.quest\ quest],
|
| 2257 |
+
[#emoji.quest.white\ quest.white],
|
| 2258 |
+
[#emoji.rabbit\ rabbit],
|
| 2259 |
+
[#emoji.rabbit.face\ rabbit.face],
|
| 2260 |
+
[#emoji.raccoon\ raccoon],
|
| 2261 |
+
[#emoji.radio\ radio],
|
| 2262 |
+
[#emoji.radioactive\ radioactive],
|
| 2263 |
+
[#emoji.railway\ railway],
|
| 2264 |
+
[#emoji.rainbow\ rainbow],
|
| 2265 |
+
[#emoji.ram\ ram],
|
| 2266 |
+
[#emoji.rat\ rat],
|
| 2267 |
+
[#emoji.razor\ razor],
|
| 2268 |
+
[#emoji.receipt\ receipt],
|
| 2269 |
+
[#emoji.recycling\ recycling],
|
| 2270 |
+
[#emoji.reg\ reg],
|
| 2271 |
+
[#emoji.restroom\ restroom],
|
| 2272 |
+
[#emoji.rhino\ rhino],
|
| 2273 |
+
[#emoji.ribbon\ ribbon],
|
| 2274 |
+
[#emoji.ribbon.remind\ ribbon.remind],
|
| 2275 |
+
[#emoji.rice\ rice],
|
| 2276 |
+
[#emoji.rice.cracker\ rice.cracker],
|
| 2277 |
+
[#emoji.rice.ear\ rice.ear],
|
| 2278 |
+
[#emoji.rice.onigiri\ rice.onigiri],
|
| 2279 |
+
[#emoji.ring\ ring],
|
| 2280 |
+
[#emoji.ringbuoy\ ringbuoy],
|
| 2281 |
+
[#emoji.robot\ robot],
|
| 2282 |
+
[#emoji.rock\ rock],
|
| 2283 |
+
[#emoji.rocket\ rocket],
|
| 2284 |
+
[#emoji.rollercoaster\ rollercoaster],
|
| 2285 |
+
[#emoji.rosette\ rosette],
|
| 2286 |
+
[#emoji.rugby\ rugby],
|
| 2287 |
+
[#emoji.ruler\ ruler],
|
| 2288 |
+
[#emoji.ruler.triangle\ ruler.triangle],
|
| 2289 |
+
[#emoji.running\ running],
|
| 2290 |
+
[#emoji.sa\ sa],
|
| 2291 |
+
[#emoji.safetypin\ safetypin],
|
| 2292 |
+
[#emoji.safetyvest\ safetyvest],
|
| 2293 |
+
[#emoji.sake\ sake],
|
| 2294 |
+
[#emoji.salad\ salad],
|
| 2295 |
+
[#emoji.salt\ salt],
|
| 2296 |
+
[#emoji.sandwich\ sandwich],
|
| 2297 |
+
[#emoji.santa.man\ santa.man],
|
| 2298 |
+
[#emoji.santa.woman\ santa.woman],
|
| 2299 |
+
[#emoji.satdish\ satdish],
|
| 2300 |
+
[#emoji.satellite\ satellite],
|
| 2301 |
+
[#emoji.saw\ saw],
|
| 2302 |
+
[#emoji.saxophone\ saxophone],
|
| 2303 |
+
[#emoji.scales\ scales],
|
| 2304 |
+
[#emoji.scarf\ scarf],
|
| 2305 |
+
[#emoji.school\ school],
|
| 2306 |
+
[#emoji.scissors\ scissors],
|
| 2307 |
+
[#emoji.scooter\ scooter],
|
| 2308 |
+
[#emoji.scooter.motor\ scooter.motor],
|
| 2309 |
+
[#emoji.scorpion\ scorpion],
|
| 2310 |
+
[#emoji.screwdriver\ screwdriver],
|
| 2311 |
+
[#emoji.scroll\ scroll],
|
| 2312 |
+
[#emoji.seal\ seal],
|
| 2313 |
+
[#emoji.seat\ seat],
|
| 2314 |
+
[#emoji.seedling\ seedling],
|
| 2315 |
+
[#emoji.shark\ shark],
|
| 2316 |
+
[#emoji.sheep\ sheep],
|
| 2317 |
+
[#emoji.shell.spiral\ shell.spiral],
|
| 2318 |
+
[#emoji.shield\ shield],
|
| 2319 |
+
[#emoji.shin\ shin],
|
| 2320 |
+
[#emoji.ship\ ship],
|
| 2321 |
+
[#emoji.ship.cruise\ ship.cruise],
|
| 2322 |
+
[#emoji.ship.ferry\ ship.ferry],
|
| 2323 |
+
[#emoji.shirt.sports\ shirt.sports],
|
| 2324 |
+
[#emoji.shirt.t\ shirt.t],
|
| 2325 |
+
[#emoji.shoe\ shoe],
|
| 2326 |
+
[#emoji.shoe.ballet\ shoe.ballet],
|
| 2327 |
+
[#emoji.shoe.flat\ shoe.flat],
|
| 2328 |
+
[#emoji.shoe.heel\ shoe.heel],
|
| 2329 |
+
[#emoji.shoe.hike\ shoe.hike],
|
| 2330 |
+
[#emoji.shoe\ shoe],
|
| 2331 |
+
[#emoji.ice\ ice],
|
| 2332 |
+
[#emoji.shoe.roller\ shoe.roller],
|
| 2333 |
+
[#emoji.shoe.sandal.heel\ shoe.sandal.heel],
|
| 2334 |
+
[#emoji.shoe.ski\ shoe.ski],
|
| 2335 |
+
[#emoji.shoe.sneaker\ shoe.sneaker],
|
| 2336 |
+
[#emoji.shoe.tall\ shoe.tall],
|
| 2337 |
+
[#emoji.shoe.thong\ shoe.thong],
|
| 2338 |
+
[#emoji.shopping\ shopping],
|
| 2339 |
+
[#emoji.shorts\ shorts],
|
| 2340 |
+
[#emoji.shoshinsha\ shoshinsha],
|
| 2341 |
+
[#emoji.shovel\ shovel],
|
| 2342 |
+
[#emoji.shower\ shower],
|
| 2343 |
+
[#emoji.shrimp\ shrimp],
|
| 2344 |
+
[#emoji.shrimp.fried\ shrimp.fried],
|
| 2345 |
+
[#emoji.shrine\ shrine],
|
| 2346 |
+
[#emoji.shuku\ shuku],
|
| 2347 |
+
[#emoji.sign.crossing\ sign.crossing],
|
| 2348 |
+
[#emoji.sign.stop\ sign.stop],
|
| 2349 |
+
[#emoji.silhouette.double\ silhouette.double],
|
| 2350 |
+
[#emoji.silhouette.hug\ silhouette.hug],
|
| 2351 |
+
[#emoji.silhouette.speak\ silhouette.speak],
|
| 2352 |
+
[#emoji.siren\ siren],
|
| 2353 |
+
[#emoji.skateboard\ skateboard],
|
| 2354 |
+
[#emoji.skewer.dango\ skewer.dango],
|
| 2355 |
+
[#emoji.skewer.oden\ skewer.oden],
|
| 2356 |
+
[#emoji.skiing\ skiing],
|
| 2357 |
+
[#emoji.skull\ skull],
|
| 2358 |
+
[#emoji.skull.bones\ skull.bones],
|
| 2359 |
+
[#emoji.skunk\ skunk],
|
| 2360 |
+
[#emoji.sled\ sled],
|
| 2361 |
+
[#emoji.slide\ slide],
|
| 2362 |
+
[#emoji.slider\ slider],
|
| 2363 |
+
[#emoji.sloth\ sloth],
|
| 2364 |
+
[#emoji.slots\ slots],
|
| 2365 |
+
[#emoji.snail\ snail],
|
| 2366 |
+
[#emoji.snake\ snake],
|
| 2367 |
+
[#emoji.snowboarding\ snowboarding],
|
| 2368 |
+
[#emoji.snowflake\ snowflake],
|
| 2369 |
+
[#emoji.snowman\ snowman],
|
| 2370 |
+
[#emoji.snowman.snow\ snowman.snow],
|
| 2371 |
+
[#emoji.soap\ soap],
|
| 2372 |
+
[#emoji.socks\ socks],
|
| 2373 |
+
[#emoji.softball\ softball],
|
| 2374 |
+
[#emoji.sos\ sos],
|
| 2375 |
+
[#emoji.soup\ soup],
|
| 2376 |
+
[#emoji.spaghetti\ spaghetti],
|
| 2377 |
+
[#emoji.sparkle.box\ sparkle.box],
|
| 2378 |
+
[#emoji.sparkler\ sparkler],
|
| 2379 |
+
[#emoji.sparkles\ sparkles],
|
| 2380 |
+
[#emoji.speaker\ speaker],
|
| 2381 |
+
[#emoji.speaker.not\ speaker.not],
|
| 2382 |
+
[#emoji.speaker.wave\ speaker.wave],
|
| 2383 |
+
[#emoji.speaker.waves\ speaker.waves],
|
| 2384 |
+
[#emoji.spider\ spider],
|
| 2385 |
+
[#emoji.spiderweb\ spiderweb],
|
| 2386 |
+
[#emoji.spinach\ spinach],
|
| 2387 |
+
[#emoji.splatter\ splatter],
|
| 2388 |
+
[#emoji.sponge\ sponge],
|
| 2389 |
+
[#emoji.spoon\ spoon],
|
| 2390 |
+
[#emoji.square.black\ square.black],
|
| 2391 |
+
[#emoji.square.black.tiny\ square.black.tiny],
|
| 2392 |
+
[#emoji.square.black.small\ square.black.small],
|
| 2393 |
+
[#emoji.square.black.medium\ square.black.medium],
|
| 2394 |
+
[#emoji.square.white\ square.white],
|
| 2395 |
+
[#emoji.square.white.tiny\ square.white.tiny],
|
| 2396 |
+
[#emoji.square.white.small\ square.white.small],
|
| 2397 |
+
[#emoji.square.white.medium\ square.white.medium],
|
| 2398 |
+
[#emoji.square.blue\ square.blue],
|
| 2399 |
+
[#emoji.square.brown\ square.brown],
|
| 2400 |
+
[#emoji.square.green\ square.green],
|
| 2401 |
+
[#emoji.square.orange\ square.orange],
|
| 2402 |
+
[#emoji.square.purple\ square.purple],
|
| 2403 |
+
[#emoji.square.red\ square.red],
|
| 2404 |
+
[#emoji.square.yellow\ square.yellow],
|
| 2405 |
+
[#emoji.squid\ squid],
|
| 2406 |
+
[#emoji.stadium\ stadium],
|
| 2407 |
+
[#emoji.star\ star],
|
| 2408 |
+
[#emoji.star.arc\ star.arc],
|
| 2409 |
+
[#emoji.star.box\ star.box],
|
| 2410 |
+
[#emoji.star.glow\ star.glow],
|
| 2411 |
+
[#emoji.star.shoot\ star.shoot],
|
| 2412 |
+
[#emoji.stethoscope\ stethoscope],
|
| 2413 |
+
[#emoji.store.big\ store.big],
|
| 2414 |
+
[#emoji.store.small\ store.small],
|
| 2415 |
+
[#emoji.strawberry\ strawberry],
|
| 2416 |
+
[#emoji.suit.club\ suit.club],
|
| 2417 |
+
[#emoji.suit.diamond\ suit.diamond],
|
| 2418 |
+
[#emoji.suit.heart\ suit.heart],
|
| 2419 |
+
[#emoji.suit.spade\ suit.spade],
|
| 2420 |
+
[#emoji.sun\ sun],
|
| 2421 |
+
[#emoji.sun.cloud\ sun.cloud],
|
| 2422 |
+
[#emoji.sun.face\ sun.face],
|
| 2423 |
+
[#emoji.sunrise\ sunrise],
|
| 2424 |
+
[#emoji.superhero\ superhero],
|
| 2425 |
+
[#emoji.supervillain\ supervillain],
|
| 2426 |
+
[#emoji.surfing\ surfing],
|
| 2427 |
+
[#emoji.sushi\ sushi],
|
| 2428 |
+
[#emoji.swan\ swan],
|
| 2429 |
+
[#emoji.swimming\ swimming],
|
| 2430 |
+
[#emoji.swimsuit\ swimsuit],
|
| 2431 |
+
[#emoji.swords\ swords],
|
| 2432 |
+
[#emoji.symbols\ symbols],
|
| 2433 |
+
[#emoji.synagogue\ synagogue],
|
| 2434 |
+
[#emoji.syringe\ syringe],
|
| 2435 |
+
[#emoji.taco\ tco],
|
| 2436 |
+
[#emoji.takeout\ takeout],
|
| 2437 |
+
[#emoji.tamale\ tamale],
|
| 2438 |
+
[#emoji.tanabata\ tanabata],
|
| 2439 |
+
[#emoji.tangerine\ tangerine],
|
| 2440 |
+
[#emoji.tap\ tap],
|
| 2441 |
+
[#emoji.tap.not\ tap.not],
|
| 2442 |
+
[#emoji.taxi\ taxi],
|
| 2443 |
+
[#emoji.taxi.front\ taxi.front],
|
| 2444 |
+
[#emoji.teacup\ teacup],
|
| 2445 |
+
[#emoji.teapot\ teapot],
|
| 2446 |
+
[#emoji.teddy\ teddy],
|
| 2447 |
+
[#emoji.telescope\ telescope],
|
| 2448 |
+
[#emoji.temple\ temple],
|
| 2449 |
+
[#emoji.ten\ ten],
|
| 2450 |
+
[#emoji.tengu\ tengu],
|
| 2451 |
+
[#emoji.tennis\ tennis],
|
| 2452 |
+
[#emoji.tent\ tent],
|
| 2453 |
+
[#emoji.testtube\ testtube],
|
| 2454 |
+
[#emoji.thermometer\ thermometer],
|
| 2455 |
+
[#emoji.thread\ thread],
|
| 2456 |
+
[#emoji.thumb.up\ thumb.up],
|
| 2457 |
+
[#emoji.thumb.down\ thumb.down],
|
| 2458 |
+
[#emoji.ticket.event\ ticket.event],
|
| 2459 |
+
[#emoji.ticket.travel\ ticket.travel],
|
| 2460 |
+
[#emoji.tiger\ tiger],
|
| 2461 |
+
[#emoji.tiger.face\ tiger.face],
|
| 2462 |
+
[#emoji.tm\ tm],
|
| 2463 |
+
[#emoji.toilet\ toilet],
|
| 2464 |
+
[#emoji.toiletpaper\ toiletpaper],
|
| 2465 |
+
[#emoji.toku\ toku],
|
| 2466 |
+
[#emoji.tomato\ tomato],
|
| 2467 |
+
[#emoji.tombstone\ tombstone],
|
| 2468 |
+
[#emoji.tongue\ tongue],
|
| 2469 |
+
[#emoji.toolbox\ toolbox],
|
| 2470 |
+
[#emoji.tooth\ tooth],
|
| 2471 |
+
[#emoji.toothbrush\ toothbrush],
|
| 2472 |
+
[#emoji.tornado\ tornado],
|
| 2473 |
+
[#emoji.tower.tokyo\ tower.tokyo],
|
| 2474 |
+
[#emoji.trackball\ trackball],
|
| 2475 |
+
[#emoji.tractor\ tractor],
|
| 2476 |
+
[#emoji.trafficlight.v\ trafficlight.v],
|
| 2477 |
+
[#emoji.trafficlight.h\ trafficlight.h],
|
| 2478 |
+
[#emoji.train\ train],
|
| 2479 |
+
[#emoji.train.car\ train.car],
|
| 2480 |
+
[#emoji.train.light\ train.light],
|
| 2481 |
+
[#emoji.train.metro\ train.metro],
|
| 2482 |
+
[#emoji.train.mono\ train.mono],
|
| 2483 |
+
[#emoji.train.mountain\ train.mountain],
|
| 2484 |
+
[#emoji.train.speed\ train.speed],
|
| 2485 |
+
[#emoji.train.speed.bullet\ train.speed.bullet],
|
| 2486 |
+
[#emoji.train.steam\ train.steam],
|
| 2487 |
+
[#emoji.train.stop\ train.stop],
|
| 2488 |
+
[#emoji.train.suspend\ train.suspend],
|
| 2489 |
+
[#emoji.train.tram\ train.tram],
|
| 2490 |
+
[#emoji.train.tram.car\ train.tram.car],
|
| 2491 |
+
[#emoji.transgender\ transgender],
|
| 2492 |
+
[#emoji.tray.inbox\ tray.inbox],
|
| 2493 |
+
[#emoji.tray.mail\ tray.mail],
|
| 2494 |
+
[#emoji.tray.outbox\ tray.outbox],
|
| 2495 |
+
[#emoji.treasure\ treasure],
|
| 2496 |
+
[#emoji.tree.deciduous\ tree.deciduous],
|
| 2497 |
+
[#emoji.tree.evergreen\ tree.evergreen],
|
| 2498 |
+
[#emoji.tree.leafless\ tree.leafless],
|
| 2499 |
+
[#emoji.tree.palm\ tree.palm],
|
| 2500 |
+
[#emoji.tree.xmas\ tree.xmas],
|
| 2501 |
+
[#emoji.triangle.r\ triangle.r],
|
| 2502 |
+
[#emoji.triangle.l\ triangle.l],
|
| 2503 |
+
[#emoji.triangle.t\ triangle.t],
|
| 2504 |
+
[#emoji.triangle.b\ triangle.b],
|
| 2505 |
+
[#emoji.triangle.t.red\ triangle.t.red],
|
| 2506 |
+
[#emoji.triangle.b.red\ triangle.b.red],
|
| 2507 |
+
[#emoji.trident\ trident],
|
| 2508 |
+
[#emoji.troll\ troll],
|
| 2509 |
+
[#emoji.trombone\ trombone],
|
| 2510 |
+
[#emoji.trophy\ trophy],
|
| 2511 |
+
[#emoji.truck\ truck],
|
| 2512 |
+
[#emoji.truck.trailer\ truck.trailer],
|
| 2513 |
+
[#emoji.trumpet\ trumpet],
|
| 2514 |
+
[#emoji.tsukimi\ tsukimi],
|
| 2515 |
+
[#emoji.turkey\ turkey],
|
| 2516 |
+
[#emoji.turtle\ turtle],
|
| 2517 |
+
[#emoji.tv\ tv],
|
| 2518 |
+
[#emoji.ufo\ ufo],
|
| 2519 |
+
[#emoji.umbrella.open\ umbrella.open],
|
| 2520 |
+
[#emoji.umbrella.closed\ umbrella.closed],
|
| 2521 |
+
[#emoji.umbrella.rain\ umbrella.rain],
|
| 2522 |
+
[#emoji.umbrella.sun\ umbrella.sun],
|
| 2523 |
+
[#emoji.unicorn\ unicorn],
|
| 2524 |
+
[#emoji.unknown\ unknown],
|
| 2525 |
+
[#emoji.up\ up],
|
| 2526 |
+
[#emoji.urn\ urn],
|
| 2527 |
+
[#emoji.vampire\ vampire],
|
| 2528 |
+
[#emoji.violin\ violin],
|
| 2529 |
+
[#emoji.volcano\ volcano],
|
| 2530 |
+
[#emoji.volleyball\ volleyball],
|
| 2531 |
+
[#emoji.vs\ vs],
|
| 2532 |
+
[#emoji.waffle\ waffle],
|
| 2533 |
+
[#emoji.wand\ wand],
|
| 2534 |
+
[#emoji.warning\ warning],
|
| 2535 |
+
[#emoji.watch\ watch],
|
| 2536 |
+
[#emoji.watch.stop\ watch.stop],
|
| 2537 |
+
[#emoji.watermelon\ watermelon],
|
| 2538 |
+
[#emoji.waterpolo\ waterpolo],
|
| 2539 |
+
[#emoji.wave\ wave],
|
| 2540 |
+
[#emoji.wc\ wc],
|
| 2541 |
+
[#emoji.weightlifting\ weightlifting],
|
| 2542 |
+
[#emoji.whale\ whale],
|
| 2543 |
+
[#emoji.whale.spout\ whale.spout],
|
| 2544 |
+
[#emoji.wheel\ wheel],
|
| 2545 |
+
[#emoji.wheelchair\ wheelchair],
|
| 2546 |
+
[#emoji.wheelchair.box\ wheelchair.box],
|
| 2547 |
+
[#emoji.wheelchair.motor\ wheelchair.motor],
|
| 2548 |
+
[#emoji.wind\ wind],
|
| 2549 |
+
[#emoji.windchime\ windchime],
|
| 2550 |
+
[#emoji.window\ window],
|
| 2551 |
+
[#emoji.wine\ wine],
|
| 2552 |
+
[#emoji.wing\ wing],
|
| 2553 |
+
[#emoji.wireless\ wireless],
|
| 2554 |
+
[#emoji.wolf\ wolf],
|
| 2555 |
+
[#emoji.woman\ woman],
|
| 2556 |
+
[#emoji.woman.box\ woman.box],
|
| 2557 |
+
[#emoji.woman.crown\ woman.crown],
|
| 2558 |
+
[#emoji.woman.old\ woman.old],
|
| 2559 |
+
[#emoji.woman.pregnant\ woman.pregnant],
|
| 2560 |
+
[#emoji.wood\ wood],
|
| 2561 |
+
[#emoji.worm\ worm],
|
| 2562 |
+
[#emoji.wrench\ wrench],
|
| 2563 |
+
[#emoji.wrestling\ wrestling],
|
| 2564 |
+
[#emoji.xray\ xray],
|
| 2565 |
+
[#emoji.yarn\ yarn],
|
| 2566 |
+
[#emoji.yo\ yo],
|
| 2567 |
+
[#emoji.yoyo\ yoyo],
|
| 2568 |
+
[#emoji.yubi\ yubi],
|
| 2569 |
+
[#emoji.yuryo\ yuryo],
|
| 2570 |
+
[#emoji.zebra\ zebra],
|
| 2571 |
+
[#emoji.zodiac.aquarius\ zodiac.aquarius],
|
| 2572 |
+
[#emoji.zodiac.aries\ zodiac.aries],
|
| 2573 |
+
[#emoji.zodiac.cancer\ zodiac.cancer],
|
| 2574 |
+
[#emoji.zodiac.capri\ zodiac.capri],
|
| 2575 |
+
[#emoji.zodiac.gemini\ zodiac.gemini],
|
| 2576 |
+
[#emoji.zodiac.leo\ zodiac.leo],
|
| 2577 |
+
[#emoji.zodiac.libra\ zodiac.libra],
|
| 2578 |
+
[#emoji.zodiac.ophi\ zodiac.ophi],
|
| 2579 |
+
[#emoji.zodiac.pisces\ zodiac.pisces],
|
| 2580 |
+
[#emoji.zodiac.sagit\ zodiac.sagit],
|
| 2581 |
+
[#emoji.zodiac.scorpio\ zodiac.scorpio],
|
| 2582 |
+
[#emoji.zodiac.taurus\ zodiac.taurus],
|
| 2583 |
+
[#emoji.zodiac.virgo\ zodiac.virgo],
|
| 2584 |
+
[#emoji.zombie\ zombie],
|
| 2585 |
+
[#emoji.zzz\ zzz],
|
| 2586 |
+
|
| 2587 |
+
)
|
chp10.typ
ADDED
|
@@ -0,0 +1,599 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#let ctext(content)={
|
| 2 |
+
text(fill: red,content)
|
| 3 |
+
}
|
| 4 |
+
= 数据加载(Data Loading)<Data-Loading>
|
| 5 |
+
从外部文件加载数据。
|
| 6 |
+
|
| 7 |
+
这些函数可帮助你加载并嵌入数据,例如来自实验结果的数据。
|
| 8 |
+
|
| 9 |
+
*编码*
|
| 10 |
+
|
| 11 |
+
部分函数同样支持编码功能,例如 cbor.encode。这类函数便于向#link(<Plugin>)[插件]传递结构化数据。
|
| 12 |
+
|
| 13 |
+
但每种数据格式都有其原生类型。因此,对于任意 Typst
|
| 14 |
+
值,编码再解码的往返转换过程可能会丢失信息。一般来说,数字、字符串,以及由它们构成的#link(<array>)[数组]或#link(<dictionary>)[字典]可以可靠转换;而其他类型会通过
|
| 15 |
+
#link(<repr>)[repr] 转为字符串,该方式#link(<repr_For-debugging-purposes-only>)[仅用于调试]。详情请查阅各数据格式对应的文档页面。
|
| 16 |
+
|
| 17 |
+
== 导入CBOR文件(cbor)<cbor>
|
| 18 |
+
从CBOR文件读取结构化数据。
|
| 19 |
+
|
| 20 |
+
简明二进制对象表示(CBOR,Concise Binary Object Representation)是基于RFC
|
| 21 |
+
7049标准定义的二进制数据交换格式,具有压缩性强、扩展性高且无需版本协商的特性,这些优势使其区别于ASN.1和MessagePack等传统二进制序列化方案,适用于结构化数据的编码与传输。该格式被System.Formats.Cbor命名空间实现,包含CborReader、CborWriter等核心类型,用于数据读写操作。
|
| 22 |
+
|
| 23 |
+
该文件必须包含有效的CBOR序列化内容。CBOR值将转换为#link(<cbor_Conversion-details>)[下表]所列的对应Typst值。
|
| 24 |
+
|
| 25 |
+
该函数返回字典、数组,或根据CBOR文件内容返回其他CBOR数据类型。
|
| 26 |
+
|
| 27 |
+
=== 转换详情(Conversion details)<cbor_Conversion-details>
|
| 28 |
+
#table(
|
| 29 |
+
align: left,
|
| 30 |
+
columns: (1fr,1fr),
|
| 31 |
+
stroke: none,
|
| 32 |
+
table.header([*CBOR value*],[*Converted into Typst*]),
|
| 33 |
+
table.hline(),
|
| 34 |
+
[integer],[#link(<Integer>)[int] (or #link(<float>)[float])],
|
| 35 |
+
[bytes],[#link(<bytes>)[bytes]],
|
| 36 |
+
[float],[#link(<float>)[float]],
|
| 37 |
+
[text],[#link(<String>)[str]],
|
| 38 |
+
[bool],[#link(<bool>)[bool]],
|
| 39 |
+
[null],[none],
|
| 40 |
+
[array],[#link(<array>)[array]],
|
| 41 |
+
[map],[#link(<dictionary>)[dictionary]],
|
| 42 |
+
)
|
| 43 |
+
|
| 44 |
+
#table(
|
| 45 |
+
align: left,
|
| 46 |
+
columns: (1fr,1fr),
|
| 47 |
+
stroke: none,
|
| 48 |
+
table.header([*Typst*],[*Converted into CBOR*]),
|
| 49 |
+
table.hline(),
|
| 50 |
+
[可从CBOR转换的类型],[对应的CBOR值],
|
| 51 |
+
[#link(<symbol>)[symbol]],[text],
|
| 52 |
+
[#link(<content>)[content]],[a map describing the content],
|
| 53 |
+
[other types (#link(<length>)[length], etc.)],[text via #link(<repr>)[repr]],
|
| 54 |
+
)
|
| 55 |
+
*注释*
|
| 56 |
+
|
| 57 |
+
-- 请注意:大于$2^(63)-1$或小于$-2^(63)$的CBOR整数会被转换为浮点数,可能产生近似值。
|
| 58 |
+
|
| 59 |
+
-- 不支持CBOR标签,遇到时将抛出错误。
|
| 60 |
+
|
| 61 |
+
-- repr函数#link(<repr_For-debugging-purposes-only>)[仅用于调试],无法保证其输出在不同Typst版本间保持稳定。
|
| 62 |
+
|
| 63 |
+
=== 参数(Parameters)
|
| 64 |
+
```typc
|
| 65 |
+
cbor(source: str path bytes) → any
|
| 66 |
+
```
|
| 67 |
+
-- *source*: str path bytes
|
| 68 |
+
|
| 69 |
+
CBOR文件的路径或原始CBOR字节。
|
| 70 |
+
|
| 71 |
+
=== 定义(Definitions)
|
| 72 |
+
- *encode*
|
| 73 |
+
将结构化数据编码为CBOR字节。
|
| 74 |
+
```typc
|
| 75 |
+
cbor.encode(value: any) → bytes
|
| 76 |
+
```
|
| 77 |
+
-- *value*: any
|
| 78 |
+
|
| 79 |
+
待编码的值。
|
| 80 |
+
|
| 81 |
+
== 导入csv格式文文件<csv>
|
| 82 |
+
从CSV文件读取结构化数据。
|
| 83 |
+
|
| 84 |
+
读取并解析CSV文件,生成字符串二维数组:CSV文件中的每一行都会表示为一个字符串数组,所有行汇总为一个数组。不会移除表头行。
|
| 85 |
+
=== 示例(Example)
|
| 86 |
+
#table(
|
| 87 |
+
columns: (1fr,1fr),
|
| 88 |
+
stroke: none,
|
| 89 |
+
fill: (rgb(250, 250, 250),luma(95%)),
|
| 90 |
+
[
|
| 91 |
+
```typst
|
| 92 |
+
#let results = csv("example.csv")
|
| 93 |
+
|
| 94 |
+
#table(
|
| 95 |
+
columns: 2,
|
| 96 |
+
[*Condition*], [*Result*],
|
| 97 |
+
..results.flatten(),
|
| 98 |
+
)
|
| 99 |
+
```
|
| 100 |
+
],[
|
| 101 |
+
#set align(horizon)
|
| 102 |
+
#let results = csv("data/example.csv")
|
| 103 |
+
|
| 104 |
+
#table(
|
| 105 |
+
columns: 2,
|
| 106 |
+
[*Condition*], [*Result*],
|
| 107 |
+
..results.flatten(),
|
| 108 |
+
)
|
| 109 |
+
]
|
| 110 |
+
)
|
| 111 |
+
|
| 112 |
+
附csv文件格式:csv文件是一个普通的文本文件,各行的数据一样多,通常每列的数据由逗号","隔开,当然也可以换成其它符号,不过默认的是逗号,example.csv中的数据如下面所示
|
| 113 |
+
```txt
|
| 114 |
+
1..2, small
|
| 115 |
+
3..5, medium
|
| 116 |
+
6.., big
|
| 117 |
+
```
|
| 118 |
+
=== 参数(Parameters)
|
| 119 |
+
```typc
|
| 120 |
+
csv(
|
| 121 |
+
source: str path bytes,
|
| 122 |
+
delimiter: str,
|
| 123 |
+
row-type: type,
|
| 124 |
+
) → array
|
| 125 |
+
```
|
| 126 |
+
- *source*: str path bytes
|
| 127 |
+
CSV文件的路径或者原始CSV字节数据。
|
| 128 |
+
- *delimiter*: str
|
| 129 |
+
CSV文件中用于分隔列的分隔符。必须是单个ASCII字符。
|
| 130 |
+
- *row-type*: type
|
| 131 |
+
如何表示文件中的行。
|
| 132 |
+
|
| 133 |
+
-- 若设置为array,每一行将以普通字符串数组表示。
|
| 134 |
+
|
| 135 |
+
-- 若设置为dictionary,每一行将以字典表示,字典将表头键映射为字符串。该选项仅在CSV文件包含表头行时有效。
|
| 136 |
+
|
| 137 |
+
== 导入json格式文文件(json)<json>
|
| 138 |
+
从JSON文件读取结构化数据。
|
| 139 |
+
|
| 140 |
+
该文件必须包含有效的JSON值,例如对象或数组。JSON值将转换为下表所列的对应Typst值。
|
| 141 |
+
|
| 142 |
+
此函数返回字典、数组,或是根据JSON文���内容返回其他JSON数据类型。
|
| 143 |
+
|
| 144 |
+
示例中的JSON文件包含带有temperature、unit和weather这些键的对象。
|
| 145 |
+
=== 示例(Example)
|
| 146 |
+
#table(
|
| 147 |
+
columns: (1fr,1fr),
|
| 148 |
+
stroke: none,
|
| 149 |
+
fill: (rgb(250, 250, 250),luma(95%)),
|
| 150 |
+
[
|
| 151 |
+
```typst
|
| 152 |
+
#let forecast(day) = block[
|
| 153 |
+
#box(square(
|
| 154 |
+
width: 2cm,
|
| 155 |
+
inset: 8pt,
|
| 156 |
+
fill: if day.weather == "sunny" {
|
| 157 |
+
yellow
|
| 158 |
+
} else {
|
| 159 |
+
aqua
|
| 160 |
+
},
|
| 161 |
+
align(
|
| 162 |
+
bottom + right,
|
| 163 |
+
strong(day.weather),
|
| 164 |
+
),
|
| 165 |
+
))
|
| 166 |
+
#h(6pt)
|
| 167 |
+
#set text(22pt, baseline: -8pt)
|
| 168 |
+
#day.temperature °#day.unit
|
| 169 |
+
]
|
| 170 |
+
|
| 171 |
+
#forecast(json("monday.json"))
|
| 172 |
+
#forecast(json("tuesday.json"))
|
| 173 |
+
```
|
| 174 |
+
],[
|
| 175 |
+
#let forecast(day) = block[
|
| 176 |
+
#box(square(
|
| 177 |
+
width: 2cm,
|
| 178 |
+
inset: 8pt,
|
| 179 |
+
fill: if day.weather == "sunny" {
|
| 180 |
+
yellow
|
| 181 |
+
} else {
|
| 182 |
+
aqua
|
| 183 |
+
},
|
| 184 |
+
align(
|
| 185 |
+
bottom + right,
|
| 186 |
+
strong(day.weather),
|
| 187 |
+
),
|
| 188 |
+
))
|
| 189 |
+
#h(6pt)
|
| 190 |
+
#set text(22pt, baseline: -8pt)
|
| 191 |
+
#day.temperature °#day.unit
|
| 192 |
+
]
|
| 193 |
+
|
| 194 |
+
#forecast(json("data/monday.json"))
|
| 195 |
+
#forecast(json("data/tuesday.json"))
|
| 196 |
+
]
|
| 197 |
+
)
|
| 198 |
+
附:monday.json文件内容:
|
| 199 |
+
```json
|
| 200 |
+
{
|
| 201 |
+
"weather": "sunny",
|
| 202 |
+
"temperature": "18.5",
|
| 203 |
+
"unit": "C"
|
| 204 |
+
}
|
| 205 |
+
```
|
| 206 |
+
和tuesday.json文件内容:
|
| 207 |
+
```json
|
| 208 |
+
{
|
| 209 |
+
"weather": "windy",
|
| 210 |
+
"temperature": "14.5",
|
| 211 |
+
"unit": "C"
|
| 212 |
+
}
|
| 213 |
+
```
|
| 214 |
+
=== 转换详情(Conversion details)<json_Conversion-details>
|
| 215 |
+
#table(
|
| 216 |
+
align: left,
|
| 217 |
+
columns: (1fr,1fr),
|
| 218 |
+
stroke: none,
|
| 219 |
+
table.header([*JSON value*],[*Converted into Typst*]),
|
| 220 |
+
table.hline(),
|
| 221 |
+
[null],[none],
|
| 222 |
+
[bool],[#link(<bool>)[bool]],
|
| 223 |
+
[number],[#link(<float>)[float] or #link(<Integer>)[int]],
|
| 224 |
+
[string],[#link(<String>)[str]],
|
| 225 |
+
[array],[#link(<array>)[array]],
|
| 226 |
+
[Object],[#link(<dictionary>)[dictionary]],
|
| 227 |
+
)
|
| 228 |
+
|
| 229 |
+
#table(
|
| 230 |
+
align: left,
|
| 231 |
+
columns: (1fr,1fr),
|
| 232 |
+
stroke: none,
|
| 233 |
+
table.header([*Typst*],[*Converted into JSON*]),
|
| 234 |
+
table.hline(),
|
| 235 |
+
[可从JSON转换而来的类型],[对应的JSON值],
|
| 236 |
+
[#link(<bytes>)[bytes]],[string via repr],
|
| 237 |
+
[#link(<symbol>)[symbol]],[string],
|
| 238 |
+
[#link(<content>)[content]],[an object describing the content],
|
| 239 |
+
[other types (#link(<length>)[length], etc.)],[string via #link(<repr>)[repr]],
|
| 240 |
+
)
|
| 241 |
+
*注释*
|
| 242 |
+
|
| 243 |
+
-- 在大多数情况下,JSON 数字会根据是否为整数,转换为浮点数或整数。但请注意:大于 $2^(63)-1$ 或小于 $-2^(63)$ 的整数会被转换为浮点数,这可能产生近似值。
|
| 244 |
+
|
| 245 |
+
-- 出于性能和可读性考虑,字节不会编码为 JSON 数组。处理二进制数据可考虑使用 cbor.encode。
|
| 246 |
+
|
| 247 |
+
-- repr 函数仅用于调试,不保证其输出在不同 Typst 版本间保持稳定。
|
| 248 |
+
=== 参数(Parameters)
|
| 249 |
+
```typc
|
| 250 |
+
json(source: str path bytes) → any
|
| 251 |
+
```
|
| 252 |
+
- *source*: str path bytes
|
| 253 |
+
JSON文件的路径或原始JSON字节数据。
|
| 254 |
+
=== 定义(Definitions)
|
| 255 |
+
- *encode*<json_encode>
|
| 256 |
+
将结构化数据编码为JSON字符串。
|
| 257 |
+
```typc
|
| 258 |
+
json.encode(
|
| 259 |
+
value: any,
|
| 260 |
+
pretty: bool,
|
| 261 |
+
) → str
|
| 262 |
+
```
|
| 263 |
+
#set par(hanging-indent: 1.3cm)
|
| 264 |
+
-- *value*: any
|
| 265 |
+
|
| 266 |
+
待编码的值。
|
| 267 |
+
|
| 268 |
+
-- *pretty*: bool
|
| 269 |
+
|
| 270 |
+
是否使用换行和缩进对JSON进行美化输出。默认是:true.
|
| 271 |
+
#set par(hanging-indent: 0cm)
|
| 272 |
+
|
| 273 |
+
== 取数据(read)<read>
|
| 274 |
+
从文件读取纯文本或数据。
|
| 275 |
+
|
| 276 |
+
默认情况下,文件将以UTF-8编码读取,并以字符串形式返回。
|
| 277 |
+
|
| 278 |
+
如果你指定encoding: none,则会返回原始字节。
|
| 279 |
+
=== 示例(Example)
|
| 280 |
+
#table(
|
| 281 |
+
columns: (1fr,1fr),
|
| 282 |
+
stroke: none,
|
| 283 |
+
fill: (rgb(250, 250, 250),luma(95%)),
|
| 284 |
+
[
|
| 285 |
+
```typc
|
| 286 |
+
An example for a HTML file: \
|
| 287 |
+
#let text = read("example.html")
|
| 288 |
+
#raw(text, block: true, lang: "html")
|
| 289 |
+
|
| 290 |
+
Raw bytes:
|
| 291 |
+
#read("tiger.jpg", encoding: none)
|
| 292 |
+
```
|
| 293 |
+
],[
|
| 294 |
+
#set align(horizon+center)
|
| 295 |
+
#image("images/x01.png",width: 95%)
|
| 296 |
+
]
|
| 297 |
+
)
|
| 298 |
+
=== 参数(Parameters)
|
| 299 |
+
```typc
|
| 300 |
+
read(
|
| 301 |
+
path: str path,
|
| 302 |
+
encoding: none str,
|
| 303 |
+
) → strbytes
|
| 304 |
+
```
|
| 305 |
+
- *path*: str path
|
| 306 |
+
文件的路径。
|
| 307 |
+
- *encoding*: none str
|
| 308 |
+
读取文件所用的编码。
|
| 309 |
+
|
| 310 |
+
若设为none,该函数将返回原始字节。
|
| 311 |
+
#table(
|
| 312 |
+
stroke: none,
|
| 313 |
+
columns: (1fr,1fr),
|
| 314 |
+
table.header([*Variant*],[*Details*]),
|
| 315 |
+
table.hline(),
|
| 316 |
+
[\"utf8\"],[Unicode UTF-8编码。]
|
| 317 |
+
)
|
| 318 |
+
|
| 319 |
+
== 导入toml格式文件(toml)<toml>
|
| 320 |
+
从TOML文件读取结构化数据。
|
| 321 |
+
|
| 322 |
+
该文件必须包含合法的TOML表。TOML的值会转换为下表所列的对应Typst值。
|
| 323 |
+
此函数返回一个代表该TOML表的字典。
|
| 324 |
+
|
| 325 |
+
示例中的TOML文件包含一张表,拥有标题、版本和作者这些键。
|
| 326 |
+
=== 示例(Example)
|
| 327 |
+
#table(
|
| 328 |
+
columns: (1fr,1fr),
|
| 329 |
+
stroke: none,
|
| 330 |
+
align: left,
|
| 331 |
+
fill: (rgb(250, 250, 250),luma(95%)),
|
| 332 |
+
[
|
| 333 |
+
```typc
|
| 334 |
+
#let details = toml("data/details.toml")
|
| 335 |
+
|
| 336 |
+
Title: #details.title \
|
| 337 |
+
Version: #details.version \
|
| 338 |
+
Authors: #(details.authors
|
| 339 |
+
.join(", ", last: " and "))
|
| 340 |
+
|
| 341 |
+
```
|
| 342 |
+
],[
|
| 343 |
+
#let details = toml("data/details.toml")
|
| 344 |
+
|
| 345 |
+
Title: #details.title
|
| 346 |
+
|
| 347 |
+
Version: #details.version
|
| 348 |
+
|
| 349 |
+
Authors: #(details.authors
|
| 350 |
+
.join(", ", last: " and "))
|
| 351 |
+
]
|
| 352 |
+
)
|
| 353 |
+
其中details.toml文件的内容为:
|
| 354 |
+
```toml
|
| 355 |
+
title="Secret project"
|
| 356 |
+
version=2
|
| 357 |
+
authors=["Mr Robert","Miss Enola"]
|
| 358 |
+
```
|
| 359 |
+
=== 转换详情(Conversion details)<toml_Conversion-details>
|
| 360 |
+
首先,TOML文档本质是表。其他值必须放入表中,才能进行编码或解码。
|
| 361 |
+
#table(
|
| 362 |
+
align: left,
|
| 363 |
+
columns: (1fr,1fr),
|
| 364 |
+
stroke: none,
|
| 365 |
+
table.header([*TOML value*],[*Converted into Typst*]),
|
| 366 |
+
table.hline(),
|
| 367 |
+
[string],[#link(<String>)[str]],
|
| 368 |
+
[integer],[#link(<Integer>)[int]],
|
| 369 |
+
[float],[#link(<float>)[float]],
|
| 370 |
+
[boolean],[#link(<bool>)[bool]],
|
| 371 |
+
[datetime],[#link(<datetime>)[datetime]],
|
| 372 |
+
[array],[#link(<array>)[array]],
|
| 373 |
+
[table],[#link(<dictionary>)[dictionary]],
|
| 374 |
+
)
|
| 375 |
+
#table(
|
| 376 |
+
align: left,
|
| 377 |
+
columns: (1fr,1fr),
|
| 378 |
+
stroke: none,
|
| 379 |
+
table.header([*Typst value*],[*Converted into TOML*]),
|
| 380 |
+
table.hline(),
|
| 381 |
+
[可从TOML转换的类型],[对应的TOML值],
|
| 382 |
+
[#ctext[none]],[ignored],
|
| 383 |
+
[#link(<bytes>)[bytes]],[string via #link(<repr>)[repr]],
|
| 384 |
+
[#link(<symbol>)[symbol]],[string],
|
| 385 |
+
[#link(<content>)[content]],[a table describing the content],
|
| 386 |
+
[other types (#link(<length>)[length], etc.)],[string via #link(<repr>)[repr]],
|
| 387 |
+
)
|
| 388 |
+
*注释*
|
| 389 |
+
|
| 390 |
+
-- 请注意:大于$2^(63)−1$或小于$−2^(63)$的TOML整数无法在Typst中无损表示,依据#link("https://toml.io/en/v1.0.0#integer")[规范],此时会抛出错误。
|
| 391 |
+
|
| 392 |
+
-- 出于性能与可读性考虑,字节不会编码为TOML数组。处理二进制数据可考虑使用#link(<cbor>)[cbor.encode]。
|
| 393 |
+
|
| 394 |
+
-- repr函数#link(<repr_For-debugging-purposes-only>)[仅用于调试],无法保证其输出在不同Typst版本间保持稳定。
|
| 395 |
+
=== 参数(Parameters)
|
| 396 |
+
```typc
|
| 397 |
+
toml(source: str path bytes) → any
|
| 398 |
+
```
|
| 399 |
+
- *source*: str path bytes
|
| 400 |
+
TOML文件的路径或原始TOML字节数据。
|
| 401 |
+
=== 定义(Definitions)
|
| 402 |
+
- *encode*<toml_encode>
|
| 403 |
+
将结构化数据编码为TOML字符串。
|
| 404 |
+
```typc
|
| 405 |
+
toml.encode(
|
| 406 |
+
value: dictionary,
|
| 407 |
+
pretty: bool,
|
| 408 |
+
) → str
|
| 409 |
+
```
|
| 410 |
+
- *value*: dictionary,
|
| 411 |
+
待编码的值。
|
| 412 |
+
|
| 413 |
+
TOML文档本质是表结构,因此仅字典类型适用。
|
| 414 |
+
|
| 415 |
+
- *pretty*: bool,
|
| 416 |
+
是否对生成的TOML进行美化输出。
|
| 417 |
+
|
| 418 |
+
== 导入XML格式文件(xml)<xml>
|
| 419 |
+
从XML文件读取结构化数据。
|
| 420 |
+
|
| 421 |
+
XML文件会被解析为字典与字符串组成的数组。XML节点可以是元素或字符串。元素以字典形式表示,包含以下键:
|
| 422 |
+
|
| 423 |
+
-- tag:字符串类型的元素名称。
|
| 424 |
+
|
| 425 |
+
-- attrs:由字符串构成的元素属性字典。
|
| 426 |
+
|
| 427 |
+
-- children:该元素子节点组成的数组。
|
| 428 |
+
|
| 429 |
+
示例中的XML文件包含一个根news标签,内部有多个article标签。每篇文章拥有title、author以及content标签。content标签包含一个或多个段落,段落用p标签表示。
|
| 430 |
+
=== 示例(Example)
|
| 431 |
+
#table(
|
| 432 |
+
columns: 1fr,
|
| 433 |
+
stroke: none,
|
| 434 |
+
fill: (x,y)=>
|
| 435 |
+
if (x==0 and y==1) {luma(220)},
|
| 436 |
+
[
|
| 437 |
+
```typc
|
| 438 |
+
#let find-child(elem, tag) = {
|
| 439 |
+
elem.children
|
| 440 |
+
.find(e => "tag" in e and e.tag == tag)
|
| 441 |
+
}
|
| 442 |
+
|
| 443 |
+
#let article(elem) = {
|
| 444 |
+
let title = find-child(elem, "title")
|
| 445 |
+
let author = find-child(elem, "author")
|
| 446 |
+
let pars = find-child(elem, "content")
|
| 447 |
+
|
| 448 |
+
[= #title.children.first()]
|
| 449 |
+
text(10pt, weight: "medium")[
|
| 450 |
+
Published by
|
| 451 |
+
#author.children.first()
|
| 452 |
+
]
|
| 453 |
+
|
| 454 |
+
for p in pars.children {
|
| 455 |
+
if type(p) == dictionary {
|
| 456 |
+
parbreak()
|
| 457 |
+
p.children.first()
|
| 458 |
+
}
|
| 459 |
+
}
|
| 460 |
+
}
|
| 461 |
+
|
| 462 |
+
#let data = xml("example.xml")
|
| 463 |
+
#for elem in data.first().children {
|
| 464 |
+
if type(elem) == dictionary {
|
| 465 |
+
article(elem)
|
| 466 |
+
}
|
| 467 |
+
}
|
| 468 |
+
```
|
| 469 |
+
],
|
| 470 |
+
[
|
| 471 |
+
#set align(center)
|
| 472 |
+
#image("images/x02.png",width: 80%)
|
| 473 |
+
]
|
| 474 |
+
)
|
| 475 |
+
其中example.xml文件的内容为:
|
| 476 |
+
```xml
|
| 477 |
+
<menu>
|
| 478 |
+
<work>
|
| 479 |
+
<title>2022 Budget approved</title>
|
| 480 |
+
<author>John Doe</author>
|
| 481 |
+
<content>
|
| 482 |
+
<c1>The 2022 budget has been approved by Senate.</c1>
|
| 483 |
+
</content>
|
| 484 |
+
</work>
|
| 485 |
+
<work>
|
| 486 |
+
<title>Tiger win the World Series</title>
|
| 487 |
+
<author>John Doe</author>
|
| 488 |
+
<content>
|
| 489 |
+
<c1>The Tigers have won the World Series.</c1>
|
| 490 |
+
<c2>The beat the Giants 4 to 3.</c2>
|
| 491 |
+
</content>
|
| 492 |
+
</work>
|
| 493 |
+
</menu>
|
| 494 |
+
```
|
| 495 |
+
|
| 496 |
+
=== 参数(Parameters)
|
| 497 |
+
```typc
|
| 498 |
+
xml(source: str path bytes) → any
|
| 499 |
+
```
|
| 500 |
+
- *source*: str path bytes
|
| 501 |
+
XML文件的路径或原始XML字节。
|
| 502 |
+
|
| 503 |
+
== 导入YAML格式文件(yaml)<yaml>
|
| 504 |
+
从YAML文件读取结构化数据。
|
| 505 |
+
|
| 506 |
+
该文件必须包含有效的YAML对象或数组。YAML值将转换为[下表]所列的对应Typst值。
|
| 507 |
+
|
| 508 |
+
该函数返回字典、数组,或根据YAML文件内容返回其他YAML数据类型。
|
| 509 |
+
|
| 510 |
+
示例中的YAML文件包含以作者为键的对象,每个作者对象带有一组子映射,子映射的键为“title”和“published”。
|
| 511 |
+
=== 示例(Example)
|
| 512 |
+
#table(
|
| 513 |
+
columns: (1fr,1fr),
|
| 514 |
+
stroke: none,
|
| 515 |
+
fill: (luma(255),luma(240)),
|
| 516 |
+
[
|
| 517 |
+
```typc
|
| 518 |
+
#let bookshelf(contents) = {
|
| 519 |
+
for (author, works) in contents {
|
| 520 |
+
author
|
| 521 |
+
for work in works [
|
| 522 |
+
- #work.title (#work.published)
|
| 523 |
+
]
|
| 524 |
+
}
|
| 525 |
+
}
|
| 526 |
+
|
| 527 |
+
#bookshelf(
|
| 528 |
+
yaml("data/scifi-authors.yaml")
|
| 529 |
+
)
|
| 530 |
+
```
|
| 531 |
+
],
|
| 532 |
+
[
|
| 533 |
+
#set align(horizon+center)
|
| 534 |
+
#image("images/x03.png",width: 100%)
|
| 535 |
+
]
|
| 536 |
+
)
|
| 537 |
+
其中scifi-authors.yaml文件的内容如下:
|
| 538 |
+
```yaml
|
| 539 |
+
Arthur C. Clarke:
|
| 540 |
+
- title: Against the Fall of Night(1978)
|
| 541 |
+
published: 1978
|
| 542 |
+
- title: The songs of distant earth
|
| 543 |
+
published: 1986
|
| 544 |
+
Isaac Asimov:
|
| 545 |
+
- title: Quasar, Quasar, Burning Bright
|
| 546 |
+
published: 1977
|
| 547 |
+
- title: Far as Human Eye Could See
|
| 548 |
+
published: 1987
|
| 549 |
+
```
|
| 550 |
+
=== 转换详情(Conversion details)<toml_Conversion-details>
|
| 551 |
+
|
| 552 |
+
#table(
|
| 553 |
+
align: left,
|
| 554 |
+
columns: (1fr,2fr),
|
| 555 |
+
stroke: none,
|
| 556 |
+
table.header([*YAML value*],[*Converted into Typst*]),
|
| 557 |
+
table.hline(),
|
| 558 |
+
[null-values (null, ~ or empty )],[none],
|
| 559 |
+
[boolean],[#link(<bool>)[bool]],
|
| 560 |
+
[number],[#link(<float>)[float] or #link(<Integer>)[int]],
|
| 561 |
+
[string],[str],
|
| 562 |
+
[sequence],[array],
|
| 563 |
+
[mapping],[dictionary],
|
| 564 |
+
)
|
| 565 |
+
#table(
|
| 566 |
+
align: left,
|
| 567 |
+
columns: (1fr,1fr),
|
| 568 |
+
stroke: none,
|
| 569 |
+
table.header([*Typst*],[*Converted into YAML*]),
|
| 570 |
+
table.hline(),
|
| 571 |
+
[可从YAML转换而来的类型],[对应的YAML值],
|
| 572 |
+
[#link(<bytes>)[bytes]],[string via repr],
|
| 573 |
+
[#link(<symbol>)[symbol]],[string],
|
| 574 |
+
[#link(<content>)[content]],[a mapping describing the content],
|
| 575 |
+
[other types (#link(<length>)[length], etc.)],[string via #link(<repr>)[repr]],
|
| 576 |
+
)
|
| 577 |
+
*注释*
|
| 578 |
+
|
| 579 |
+
-- 在大多数情况下,YAML数字会根据是否为整数,转换为浮点数或整数。但请注意:大于2⁶³−1或小于−2⁶³的整数会被转换为浮点数,这可能产生近似值。
|
| 580 |
+
|
| 581 |
+
-- 自定义YAML标签会被忽略,但加载后的值仍然保留。
|
| 582 |
+
|
| 583 |
+
-- 出于性能和可读性考虑,字节不会编码为YAML序列。二进制数据可考虑使用#link(<cbor>)[cbor.encode]。
|
| 584 |
+
|
| 585 |
+
-- repr函数#link(<repr_For-debugging-purposes-only>)[仅用于调试],其输出无法保证在不同Typst版本间保持稳定。
|
| 586 |
+
|
| 587 |
+
=== 参数(Parameters)
|
| 588 |
+
```typc
|
| 589 |
+
yaml(source: str path bytes) → any
|
| 590 |
+
```
|
| 591 |
+
- *source*: str path bytes
|
| 592 |
+
YAML文件的路径或原始JSON字节数据。
|
| 593 |
+
=== 定义(Definitions)
|
| 594 |
+
将结构化数据编码为YAML字符串。
|
| 595 |
+
```typc
|
| 596 |
+
yaml.encode(value: any) → str
|
| 597 |
+
```
|
| 598 |
+
- *value*: any
|
| 599 |
+
待编码的值。
|
chp11.typ
ADDED
|
@@ -0,0 +1,487 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
= 数据导出(EXPORT)
|
| 2 |
+
本章,引入文件导出为PDF、HTML、PNG、SVG格式和数据邦定。
|
| 3 |
+
== 导出为PDF格式(PDF)<PDF>
|
| 4 |
+
PDF文件侧重对文档进行精准的可视化描述,同时也具备标注文档结构的功能。这种混合模式使其非常适合文档交换:PDF在所有设备上的显示效果完全一致,同时还支持提取文档的内容与结构(至少在一定程度上可以实现)。与PNG文件不同,PDF不受特定分辨率限制。因此,你可以任意缩放查看,而不会产生画质损失。
|
| 5 |
+
=== 导出为PDF(Exporting as PDF)<PDF_Exporting-as-PDF>
|
| 6 |
+
- *命令行(Command Line)*
|
| 7 |
+
PDF是Typst的默认导出格式。运行compile或watch子命令时,若不指定格式,将生成PDF文件。导出PDF时,你可以使用以下配置选项:
|
| 8 |
+
#set par(hanging-indent: 1.3cm)
|
| 9 |
+
-- 通过`--pdf-standard`并后跟一个或多个以逗号分隔的标准,指定Typst需要遵循的PDF标准。可用标准包括1.4、1.5、1.6、1.7、2.0、a-1b、a-1a、a-2b、a-2u、a-2a、a-3b、a-3u、a-3a、a-4、a-4f、a-4e以及ua-1。默认情况下,Typst输出符合PDF-1.7标准的文件。
|
| 10 |
+
|
| 11 |
+
-- 你可以使用`--no-pdf-tags`完全禁用PDF标签。默认情况下,Typst会始终生成带标签PDF,提供基础的可访问性。使用该参数可以关闭标签。这会让你的文件丧失可访问性,且无法满足PDF/A的可访问性规范等级以及PDF/UA所有部分的合规要求。
|
| 12 |
+
|
| 13 |
+
-- 通过`--pages`并后跟逗号分隔的页码列表或短横线分隔的页码范围,指定需要导出的页面。范围可以是半开区间。示例:2,3,7-9,11-。
|
| 14 |
+
#set par(hanging-indent: 0cm)
|
| 15 |
+
- *Web App*
|
| 16 |
+
点击右上角的快速下载按钮,即可按默认设置导出PDF文件。如需更多配置,点击“文件”>“导出为”>“PDF”,或者点击快速下载按钮旁的下拉箭头,选择“导出为PDF”。导出PDF时,你拥有以下配置选项:
|
| 17 |
+
#set par(hanging-indent: 1.3cm)
|
| 18 |
+
-- Typst需要遵循的PDF标准。默认情况下,Typst输出符合PDF-1.7规范的文件。你可在1.4至2.0之间自由选择PDF版本。其他可用标准包括A-1b、A-1a、A-2b、A-2u、A-2a、A-3b、A-3u、A-3a、A-4、A-4f、A-4e以及UA-1。
|
| 19 |
+
|
| 20 |
+
-- 需要导出的页面。可选项目为“全部页面”、“当前页面”以及“自定义范围”。自定义范围是以逗号分隔的页码,或是以短横线分隔的页码区间。区间支持半开区间。示例:2,3,7-9,11-。
|
| 21 |
+
#set par(hanging-indent: 0cm)
|
| 22 |
+
=== PDF标准(PDF standards)<PDF_standards>
|
| 23 |
+
国际标准化组织(ISO)发布了PDF基础标准以及各类扩展标准,这些扩展标准让PDF更适配特定使用场景。Typst默认导出PDF 1.7格式文件。Adobe Acrobat 8及更高版本,以及其他所有常用PDF查看器都兼容该PDF版本。
|
| 24 |
+
|
| 25 |
+
你选择的PDF标准不同,可用的Typst功能也会有所差异。你可以组合使用互相兼容的PDF/A与PDF/UA标准。值得注意的是,PDF/UA-1和PDF/A-4无法同时使用,因为前者要求PDF 1.7或更低版本,而后者需要PDF 2.0版本。
|
| 26 |
+
- *PDF版本(PDF versions)*<PDF_versions>
|
| 27 |
+
Typst支持五种不同的PDF版本:1.4、1.5、1.6、1.7(默认)以及2.0。你可以在导出文档时选择其中任意版本。但根据你所使用的功能,文档可能存在最低版本要求。同样,你要适配的标准也会限制可选择的版本(更多信息见下文)。
|
| 28 |
+
|
| 29 |
+
以下是各新版本相较于PDF 1.4在Typst文档方面的改进清单:
|
| 30 |
+
#set par(hanging-indent: 1.3cm)
|
| 31 |
+
-- PDF 1.5(2003年):优化色彩管理、文本提取、表格无障碍支持、内容重排以及表情符号字体
|
| 32 |
+
|
| 33 |
+
-- PDF 1.6(2004年):链接功能更加灵活
|
| 34 |
+
|
| 35 |
+
-- PDF 1.7(2006年):支持附件功能,优化内容重排
|
| 36 |
+
|
| 37 |
+
-- PDF 2.0(2017年):同时改进用于无障碍访问的元数据与标签语义
|
| 38 |
+
#set par(hanging-indent: 0cm)
|
| 39 |
+
用于读取文件的软件必须支持你的PDF版本。一般情况下这不会产生问题,但在老旧硬件上使用时,这可能会引发错误。为便于通用交互,建议保留默认的PDF 1.7设置,或选择PDF 2.0。
|
| 40 |
+
|
| 41 |
+
当在文档中将PDF文件作为图片使用时,导出的PDF版本必须大于或等于图片文件的版本。
|
| 42 |
+
- *PDF/UA*
|
| 43 |
+
ypst支持编写符合PDF/UA规范的文件。PDF/UA文件面向通用无障碍访问设计。当你选择此PDF标准时,Typst在导出文档时会执行额外检查。这些检查将确保你遵循无障碍设计的最佳实践。例如,它会确保你的所有图片都附带替代描述。
|
| 44 |
+
|
| 45 |
+
请注意,PDF/UA中有部分规则对于无障碍访问至关重要,但无法自动校验。因此,在导出PDF/UA-1文档时,请务必完成以下操作:
|
| 46 |
+
#set par(hanging-indent: 1.3cm)
|
| 47 |
+
-- 如果文档的编写语言不是英语,请在添加任何内容前设置文本语言。
|
| 48 |
+
|
| 49 |
+
-- 请在合适的场景下使用Typst的语义元素(如标题、图形和列表),而非自定义结构。这样Typst可以识别并导出该结构在���档中的角色。更多信息可参阅无障碍指南。
|
| 50 |
+
|
| 51 |
+
-- 不要仅依靠对比度、颜色、格式或布局来传递信息。应使用文本或替代描述,替代或补充上述元素。
|
| 52 |
+
|
| 53 |
+
-- 将所有无语义含义的装饰元素包裹在pdf.artifact中。
|
| 54 |
+
|
| 55 |
+
-- 不要使用文字图片。请直接在标记内插入文本。
|
| 56 |
+
#set par(hanging-indent: 0cm)
|
| 57 |
+
Typst 目前仅支持第一部分(PDF/UA-1),该标准基于 PDF 1.7(2006版)。导出为 PDF/UA-1 时请注意,你需要手动用自然语言为数学内容提供替代描述。
|
| 58 |
+
|
| 59 |
+
PDF 2.0(2017版)新增了无障碍相关功能。当设置导出为 PDF 2.0 时,Typst 会启用其中部分功能。但 PDF 2.0 和 PDF/UA-1 二者互不兼容。对于无障碍文档,我们目前建议导出为 PDF/UA-1
|
| 60 |
+
而非 PDF 2.0,以获得更多校验项和更好的兼容性。PDF/UA 的第二部分是为 PDF 2.0 设计的,Typst 暂不支持该部分。
|
| 61 |
+
- *PDF/A*
|
| 62 |
+
Typst可选择输出符合PDF/A规范的文件。PDF/A文件旨在最大限度兼容当前以及未来的PDF工具。这类文件不依赖难以实现的专有功能,并且包含完备的元数据,适合长期存档。
|
| 63 |
+
|
| 64 |
+
PDF/A标准拥有多个版本(在ISO术语中称为部分),大部分版本都包含多种配置项,用于标明文件的合规等级。你每次只能选择一个版本与对应的合规等级。目前,Typst支持以下PDF/A输出配置:
|
| 65 |
+
#set par(hanging-indent: 1.3cm)
|
| 66 |
+
-- PDF/A-1b:ISO 19005-1的基础合规等级。该版本的PDF/A基于PDF 1.4(2001年),可生成独立完整、适合归档的PDF文件。与PDF/A标准后续版本不同,PDF/A-1文件不允许使用透明效果。
|
| 67 |
+
|
| 68 |
+
-- PDF/A-1a:在基础等级PDF/A-1b之上的无障碍合规等级。要满足该等级要求,你的文件必须是带标签的无障碍PDF文件。请注意,后续版本的无障碍能力更强,因为PDF 1.4文件无法支持全部PDF无障碍特性。此外,文件内所有文本必须使用已知的Unicode码点。
|
| 69 |
+
|
| 70 |
+
-- PDF/A-2b:ISO 19005-2的基础合规等级。该版本的PDF/A基于PDF 1.7(2006年),可生成独立完整、适合归档的PDF文件。
|
| 71 |
+
|
| 72 |
+
-- PDF/A-2u:在基础等级A-2b之上的Unicode可映射合规等级。该等级额外增加一条规则:文档内所有文本必须使用已知的Unicode码点。条件允许时,相比PDF/A-2b,优先选用此标准。
|
| 73 |
+
|
| 74 |
+
-- PDF/A-2a:在Unicode可映射等级A-2u之上的无障碍合规等级。该合规等级还有两项附加要求:文件必须是带标签的无障碍PDF文件。Typst会自动添加标签,辅助你达到该合规等级。在使用该等级时,请留意参考文档各处的无障碍章节以及无障碍指南。最后,PDF/A-2a禁止使用Unicode私有使用区的码点。如果你需要生成无障碍文件,可以额外选择PDF/UA-1,它支持更多自动无障碍校验功能。
|
| 75 |
+
|
| 76 |
+
-- PDF/A-3b:ISO 19005-3的基础合规等级。该版本的PDF/A基于PDF 1.7(2006年),生成的归档PDF文件可以将任意其他相关文件作为附件嵌入。它和PDF/A-2b唯一的区别是支持附加不符合PDF/A规范的文件。
|
| 77 |
+
|
| 78 |
+
-- PDF/A-3u:在基础等级A-3b之上的Unicode可映射合规等级。和PDF/A-2u一样,它要求所有文本使用已知Unicode码点,这些规则不适用于附件。条件允许时,相比PDF/A-3b,优先选用此标准。
|
| 79 |
+
|
| 80 |
+
-- PDF/A-3a:在Unicode可映射等级A-3u之上的无障碍合规等级。和PDF/A-2a一致,该等级要求文件为带标签的无障碍PDF,且不能使用Unicode私有使用区字符。同样,这些规则不适用于附件。
|
| 81 |
+
|
| 82 |
+
-- PDF/A-4:ISO 19005-4的基础合规等级。该版本PDF/A基于PDF 2.0(2017年),生成独立完整、适合归档的PDF文件。PDF/A-4不再设置无障碍相关子版本,无障碍相关规范在独立的PDF/UA标准中做了更详细的定义。PDF/A-4文件可兼容PDF/UA-2(Typst目前暂不支持)。
|
| 83 |
+
|
| 84 |
+
-- PDF/A-4f:在基础等级A-4之上的嵌入文件合规等级。符合该等级的文件可以像ISO 19005第3部分那样,嵌入任意其他相关文件作为附件。它和PDF/A-4唯一的区别是支持附加不符合PDF/A规范的文件。
|
| 85 |
+
|
| 86 |
+
-- PDF/A-4e:在嵌入文件等级A-4f之上的工程用途合规等级。符合该等级的文件可以包含3D对象。Typst不支持3D内容,因此在Typst中使用该等级的效果等同于PDF/A-4f。
|
| 87 |
+
#set par(hanging-indent: 0cm)
|
| 88 |
+
如果你想生成PDF/A格式,但不确定该选用哪一项具体设置,可以参考下面几条实用经验。首先,你需要确定标准的分册,也就是该标准的“版本号”。请思考以下问题:
|
| 89 |
+
#set par(hanging-indent: 1.3cm)
|
| 90 |
+
|
| 91 |
+
1.是否需要2006年之前的软件或设备能够读取你的文件?如果需要,请选择第一分册(PDF/A-1)。
|
| 92 |
+
|
| 93 |
+
2.如果不需要,你的文件是否需要附带附件?如果需要,你必须选择第三分册(PDF/A-3)或是第四分册的嵌入文件级别(PDF/A-4f)。
|
| 94 |
+
|
| 95 |
+
3.你的文件是否需要使用PDF 2.0新增的功能?���前,Typst中PDF
|
| 96 |
+
2.0功能的使用仅限于无障碍访问方面的少量优化,例如标题元素。如果你不需要这些优化,可选择第二分册(不需要附件时)或第三分册(需要附件时),以获得最佳兼容性。如果你必须使用PDF 2.0相关功能,请选择第四分册。
|
| 97 |
+
#set par(hanging-indent: 0cm)
|
| 98 |
+
现在,你只需选择一个合规等级(末尾的小写字母)。
|
| 99 |
+
#set par(hanging-indent: 1.3cm)
|
| 100 |
+
|
| 101 |
+
-- 如果你选定第一、第二或第三部分,通常应选择对应部分的可访问性合规等级,该等级以末尾小写字母a标识。如果你的文档本身不具备可访问性(例如无法简化为替代描述的艺术家作品集),则改为选择合规等级u。仅当上述选择引发编译器错误时(比如使用了Unicode私用区码点),才使用基础等级b。
|
| 102 |
+
|
| 103 |
+
-- 如果你选择第四部分,则应选用基础合规等级(PDF/A-4),需要嵌入文件的情况除外。
|
| 104 |
+
#set par(hanging-indent: 0cm)
|
| 105 |
+
在选择导出PDF/A格式还是普通PDF格式时,请记住:PDF/A文件包含额外的元数据,并且部分阅读器会禁止用户修改PDF/A文件。
|
| 106 |
+
=== PDF专用功能(PDF-specific functionality)<PDF_PDF-specific-functionality>
|
| 107 |
+
Typst 在全局 pdf 模块中提供 PDF 专用功能。下文列出该模块包含的定义。
|
| 108 |
+
|
| 109 |
+
该模块中的部分函数尚未确定最终 API。这些函数用于提升含复杂表格文档的可访问性,包括 table-summary、header-cell 和 data-cell。在未来的 Typst
|
| 110 |
+
版本中,这些函数将会被移除,要么整合到表格相关函数中,要么直接删除。你可以通过传入 --features a11y-extras 参数,或将环境变量 TYPST_FEATURES 设置为 a11y-extras
|
| 111 |
+
来启用这些函数。网页版应用目前暂不支持这些功能。
|
| 112 |
+
=== 定义(Definitions)
|
| 113 |
+
- *artifact*<PDF_artifact>
|
| 114 |
+
将内容标记为PDF构件。
|
| 115 |
+
|
| 116 |
+
构件是文档中不供辅助技术(AT,例如屏幕阅读器)读取的部分。典型示例包括不承载文档语义、仅作装饰用的图片、水印,或是页码这类重复内容。
|
| 117 |
+
|
| 118 |
+
Typst会自动将页眉、页脚、背景与前景等特定内容标记为构件。路径和形状同样会被自动标记为构件,但它们内部的内容不会。使用#link(<Paragraph_line>)[par.line]生成的行号、重复出现的表格表头与表尾,也会自动标记为构件。
|
| 119 |
+
|
| 120 |
+
一旦某内容被标记为构件,就无法再将其内部内容恢复为可访问状态。如果你只需要将某个对象的一部分标记为构件,可能需要多次调用该函数。
|
| 121 |
+
|
| 122 |
+
如果你不确定什么属于构件,请查阅无障碍指南。
|
| 123 |
+
|
| 124 |
+
未来,该函数可能会移出pdf模块,从而支持在导出HTML时,让辅助技术无法读取指定内容。
|
| 125 |
+
|
| 126 |
+
-- *参数(Parameters)*
|
| 127 |
+
```typc
|
| 128 |
+
artifact(
|
| 129 |
+
kind: str,
|
| 130 |
+
body: content,
|
| 131 |
+
) → content
|
| 132 |
+
```
|
| 133 |
+
*kind*: str
|
| 134 |
+
|
| 135 |
+
构件类型。
|
| 136 |
+
|
| 137 |
+
你可以选用可用范围内最具体的构件类型,以此提升可访问性。你选择的类型将决定PDF阅读器在重排和提取内容(例如复制粘贴)时如何处理该构件。
|
| 138 |
+
构件类型已在多种不同的PDF规范中被定义。根据你指定的PDF版本,Typst会结合此处的选择,挑选最合适的构件类型。
|
| 139 |
+
|
| 140 |
+
*body*: content
|
| 141 |
+
|
| 142 |
+
构件的内容。
|
| 143 |
+
|
| 144 |
+
- *attach*<PDF_attach>
|
| 145 |
+
将作为附件添加到输出PDF中的文件。
|
| 146 |
+
|
| 147 |
+
可利用该功能在PDF内部分发与之关联的附加文件。PDF阅读器会在文件列表中展示这些文件。
|
| 148 |
+
|
| 149 |
+
部分国际标准使用此机制附加机器可读数据(例如用于发票的ZUGFeRD/Factur-X),这类数据与PDF的可视化内容保持一致。
|
| 150 |
+
|
| 151 |
+
-- *示例(Example)*
|
| 152 |
+
```typ
|
| 153 |
+
#pdf.attach(
|
| 154 |
+
"experiment.csv",
|
| 155 |
+
relationship: "supplement",
|
| 156 |
+
mime-type: "text/csv",
|
| 157 |
+
description: "Raw Oxygen readings from the Arctic experiment",
|
| 158 |
+
)
|
| 159 |
+
```
|
| 160 |
+
*注释*
|
| 161 |
+
#set par(hanging-indent: 1.3cm)
|
| 162 |
+
-- 如果导出为PDF以外的格式,此元素将被忽略。
|
| 163 |
+
|
| 164 |
+
-- PDF/A-2目前不支持文件附件,即使附件文件符合PDF/A-1或PDF/A-2规范。
|
| 165 |
+
#set par(hanging-indent: 0cm)
|
| 166 |
+
-- *参数(Parameters)*
|
| 167 |
+
```typc
|
| 168 |
+
attach(
|
| 169 |
+
path: str path,
|
| 170 |
+
data: bytes,
|
| 171 |
+
relationship: none str,
|
| 172 |
+
mime-type: none str,
|
| 173 |
+
description: none str,
|
| 174 |
+
) → content
|
| 175 |
+
```
|
| 176 |
+
*path*: str path
|
| 177 |
+
|
| 178 |
+
待附加文件的路径。
|
| 179 |
+
|
| 180 |
+
该参数必须始终指定,但仅当后续参数未提供数据时,才会读取此路径。
|
| 181 |
+
|
| 182 |
+
*data*: bytes
|
| 183 |
+
|
| 184 |
+
原始文件数据,可选。
|
| 185 |
+
|
| 186 |
+
若省略,则从指定路径读取数据。
|
| 187 |
+
|
| 188 |
+
*relationship*: none str
|
| 189 |
+
|
| 190 |
+
附件与文档之间的关联关系。
|
| 191 |
+
|
| 192 |
+
若导出目标不是PDF/A-3,则忽略此项。
|
| 193 |
+
#table(
|
| 194 |
+
columns: (1fr,1fr),
|
| 195 |
+
stroke: none,
|
| 196 |
+
table.header([*Variant*],[*Details*]),
|
| 197 |
+
table.hline(),
|
| 198 |
+
[\"source\"],[该PDF文档由源文件生成。],
|
| 199 |
+
[\"data\"],[该文件用于生成PDF中的可视化展示内容。],
|
| 200 |
+
[\"alternative\"],[文档的另一种表示形式。],
|
| 201 |
+
[\"supplement\"],[文档的附加资��。],
|
| 202 |
+
)
|
| 203 |
+
|
| 204 |
+
*mime-type*: none str
|
| 205 |
+
|
| 206 |
+
附件文件的MIME类型。
|
| 207 |
+
|
| 208 |
+
*description*: none str
|
| 209 |
+
|
| 210 |
+
对附件文件的描述。
|
| 211 |
+
|
| 212 |
+
- *data-cell*<PDF_data-cell>
|
| 213 |
+
将此单元格显式定义为数据单元格。
|
| 214 |
+
|
| 215 |
+
表格中的每个单元格要么是表头单元格,要么是数据单元格。默认情况下,table.header 内的所有单元格均为表头单元格,其余全部单元格为数据单元格。
|
| 216 |
+
|
| 217 |
+
如果你的表头里包含不属于表头的单元格,可以使用该函数将其标记为数据单元格。
|
| 218 |
+
|
| 219 |
+
该功能的应用程序接口为临时接口。因此,目前调用此函数需要开启 a11y-extras 功能标记。在未来的 Typst 版本中,该功能可能会移出 pdf 模块,以便其他导出目标中的表格也能包含相同信息。
|
| 220 |
+
#table(
|
| 221 |
+
columns: 1fr,
|
| 222 |
+
stroke: none,
|
| 223 |
+
fill: (x,y)=>
|
| 224 |
+
if (x==0 and y==1) {luma(220)},
|
| 225 |
+
[
|
| 226 |
+
```typc
|
| 227 |
+
#show table.cell.where(x: 0): set text(weight: "bold")
|
| 228 |
+
#show table.cell.where(x: 1): set text(style: "italic")
|
| 229 |
+
#show table.cell.where(x: 1, y: 0): set text(style: "normal")
|
| 230 |
+
|
| 231 |
+
#table(
|
| 232 |
+
columns: 3,
|
| 233 |
+
align: (left, left, center),
|
| 234 |
+
|
| 235 |
+
table.header[Objective][Key Result][Status],
|
| 236 |
+
|
| 237 |
+
table.header(
|
| 238 |
+
level: 2,
|
| 239 |
+
table.cell(colspan: 2)[Improve Customer Satisfaction],
|
| 240 |
+
// Status is data for this objective, not a header
|
| 241 |
+
table.cell[✓ On Track],
|
| 242 |
+
),
|
| 243 |
+
[], [Increase NPS to 50+], [45],
|
| 244 |
+
[], [Reduce churn to \<5%], [4.2%],
|
| 245 |
+
|
| 246 |
+
table.header(
|
| 247 |
+
level: 2,
|
| 248 |
+
table.cell(colspan: 2)[Grow Revenue],
|
| 249 |
+
table.cell[⚠ At Risk],
|
| 250 |
+
),
|
| 251 |
+
[], [Achieve \$2M ARR], [\$1.8M],
|
| 252 |
+
[], [Close 50 enterprise deals], [38],
|
| 253 |
+
)
|
| 254 |
+
```
|
| 255 |
+
],
|
| 256 |
+
[
|
| 257 |
+
#set align(center)
|
| 258 |
+
#image("images/x101.png",width: 80%)
|
| 259 |
+
]
|
| 260 |
+
)
|
| 261 |
+
经测试,没有pdf.data-cell语句,只能调用table.cell语句。后面的pdf.header、pdf.header-cell和pdf.table-summary在当前版本的Typst中均无效。
|
| 262 |
+
|
| 263 |
+
== 导出为HTML格式(HTML)<HTML>
|
| 264 |
+
#rect(
|
| 265 |
+
fill: color.linear-rgb(220, 240, 255,255),
|
| 266 |
+
width: 100%,
|
| 267 |
+
height: auto,
|
| 268 |
+
stroke: 1pt,
|
| 269 |
+
[信息:
|
| 270 |
+
|
| 271 |
+
Typst 的 HTML 导出功能目前正在积极开发中。该功能仍非常不完善,仅可通过功能标记开启,供实验测试使用。请勿在生产场景中使用此功能。在命令行界面中,你可以传入 --features html,或将环境变量
|
| 272 |
+
TYPST_FEATURES 设置为 html,来体验 HTML 导出。在网页应用中,你同样可以将它作为实验性功能启用。你可以查看跟踪工单,了解 HTML 导出的开发进度以及更多规划中的功能。
|
| 273 |
+
]
|
| 274 |
+
)
|
| 275 |
+
HTML 文件用于从结构层面描述文档。Typst 的 HTML 导出功能旨在捕获输入文档的结构,生成保留该结构、具备丰富语义信息的 HTML。导出得到的 HTML 需要具备良好的可访问性、可读性,支持人工手动编辑,也可被后续工具处理。
|
| 276 |
+
|
| 277 |
+
与之相对,PDF、PNG 和 SVG 导出均生成排版完成后的文档视觉呈现。不同格式定位上的这种差异,意味着 Typst 无法直接为你现有的 Typst 文档生成完美的 HTML。它并不总能判断出你的内容最合适的语义化 HTML 表达方式。
|
| 278 |
+
|
| 279 |
+
Typst 转而将完整控制权交给你:你可以通过 #link(<target>)[target] 函数检测当前导出格式;当目标格式设为 HTML 时,就可以生成原生 HTML
|
| 280 |
+
元素。这类元素主要用于模板和显示规则。通过这种方式,文档内容可以完全不依赖导出目标,内容能够在 PDF 导出与 HTML 导出之间复用。
|
| 281 |
+
|
| 282 |
+
在 html 导出模式下,Typst 会输出单个 HTML 文件。你也可以使用 Typst 制作由多个 HTML 文档和附加资源组成的网站。Typst 将这一组文件集合称为捆绑包,并通过专门的 bundle
|
| 283 |
+
导出目标来支持该场景。更多详情请查阅其相关文档。需要注意:在 html 和 bundle 两种导出目标下,Typst 目前始终输出独立完整的 HTML 文件。后续计划支持输出可嵌入其他 HTML 文档的代码片段。
|
| 284 |
+
|
| 285 |
+
Typst 当前不会输出 CSS 样式表,而是专注于生成语义标记。你当然可以自行编写 CSS 样式,同时继续享受内容在 PDF 和 HTML 间复用的便利。未来我们计划提供自动生成 CSS 的选项,在生成样式时更多读取你已设置的排版规则。
|
| 286 |
+
=== 导出为HTML(Exporting as HTML)<HTML_Exporting-as-HTML>
|
| 287 |
+
*命令行(Command Line)*
|
| 288 |
+
|
| 289 |
+
向 compile(编译)或 watch(监听)子命令传入 --format html 参数,或者提供以 .html 结尾的输出文件名。请注意,你还必须传入 --features html,或者设置环境变量
|
| 290 |
+
TYPST_FEATURES=html,才能启用这个实验性导出目标。
|
| 291 |
+
|
| 292 |
+
使用 typst watch 时,Typst 会启动支持实时重载的 HTTP 服务器。你可以按如下方式对其进行配置:
|
| 293 |
+
#set par(hanging-indent: 1.3cm)
|
| 294 |
+
-- 传入 --port 来修改端口号。(默认使用 3000-3005 区间内第一个可用端口。)
|
| 295 |
+
|
| 296 |
+
-- 传入 --no-reload 可关闭实时重载脚本的注入。(无论是否开启,写入磁盘的 HTML 文件均不受影响。)
|
| 297 |
+
|
| 298 |
+
-- 传入 --no-serve 可完全禁用该服务器。
|
| 299 |
+
#set par(hanging-indent: 0cm)
|
| 300 |
+
=== HTML专用功能(HTML-specific functionality)
|
| 301 |
+
Typst 在全局 html 模块中提供专用于HTML的功能。下文列出该模块包含的定义。
|
| 302 |
+
=== 定义(Definitions)
|
| 303 |
+
- *elem*<HTML_elem>
|
| 304 |
+
可承载 Typst 内容的 HTML 元素。
|
| 305 |
+
|
| 306 |
+
Typst 的 HTML 导出功能会自动为大多数元素生成对应的标签。不过,有时我们希望拥有更高的控制权。例如,使用 Typst 搭建博客时,你可以借助该函数将每篇文章包裹在 `<article>` 标签内。
|
| 307 |
+
|
| 308 |
+
Typst 能够识别合法的 HTML 规范。标签及其属性必须构成语法有效的 HTML。部分标签(如 meta)不支持包含内容,因此你不能为这类标签提供主体内容。我们后续可能会增加更多校验规则,所以在使用此函数时,请确保生成的
|
| 309 |
+
HTML 是有效的。
|
| 310 |
+
|
| 311 |
+
一般情况下,Typst 会自动生成 html、head 和 body 标签。如果你改用该函数手动创建这些标签,Typst 将不再自动生成内置的对应标签。
|
| 312 |
+
```typ
|
| 313 |
+
#html.elem("div", attrs: (style: "background: aqua"))[
|
| 314 |
+
A div with _Typst content_ inside!
|
| 315 |
+
]
|
| 316 |
+
```
|
| 317 |
+
*参数(Parameters)*
|
| 318 |
+
```typc
|
| 319 |
+
elem(
|
| 320 |
+
tag: str,
|
| 321 |
+
attrs: dictionary,
|
| 322 |
+
body: none content,
|
| 323 |
+
) → content
|
| 324 |
+
```
|
| 325 |
+
*tag*: str
|
| 326 |
+
|
| 327 |
+
该元素的标签。
|
| 328 |
+
|
| 329 |
+
*attrs*: dictionary
|
| 330 |
+
|
| 331 |
+
该元素的HTML属性。
|
| 332 |
+
|
| 333 |
+
*body*: none content
|
| 334 |
+
|
| 335 |
+
HTML元素的内容。
|
| 336 |
+
|
| 337 |
+
主体可以是任意Typst内容。
|
| 338 |
+
- *frame*<HTML_frame>
|
| 339 |
+
一种将自身内容以内联SVG形式排版的元素。
|
| 340 |
+
|
| 341 |
+
有时,将Typst内容转换为HTML并非理想选择。图表以及其他依赖定位和样式来表达信息的内容就属于这类情况。
|
| 342 |
+
|
| 343 |
+
该函数可以使用Typst排版引擎(也就是导出PDF、SVG和PNG时所用的引擎)来渲染文档的局部内容,效果和导出为上述格式时完全一致。它会将内容以内联SVG的形式嵌入文档。
|
| 344 |
+
|
| 345 |
+
*参数(Parameters)*
|
| 346 |
+
```typc
|
| 347 |
+
frame(body: content) → content
|
| 348 |
+
```
|
| 349 |
+
*body*: content
|
| 350 |
+
|
| 351 |
+
待排版的内容。
|
| 352 |
+
- *类型化HTML(Typed HTML)*<HTML_Typed_HTML>
|
| 353 |
+
此部分内容过于复杂,请#link("https://typst.app/docs/reference/html/typed/")[参考原文]。
|
| 354 |
+
|
| 355 |
+
== 导出为PNG文件<PNG>
|
| 356 |
+
Typst除了导出PDF,还可以直接将页面渲染为PNG光栅图像。PNG属于无损压缩图像,单个文件仅可存放一页内容。导出多页文档时,Typst会生成多个PNG文件。如果你需要在图像编辑软件中使用Typst的输出结果,或是无法使用Typst其他导出格式,PNG会是不错的选择。
|
| 357 |
+
|
| 358 |
+
与Typst其他导出格式不同,PNG会绑定固定分辨率。导出PNG时,你可以配置分辨率,单位为每英寸像素(PPI)。如果查看PNG的设备分辨率高于导出图片的分辨率,你就会察觉到画质损失。Typst会根据每页的物理尺寸和设置的PPI计算PNG图像分辨率。如果你不知道如何选择PPI数值,可以参考下面的建议:
|
| 359 |
+
#set par(hanging-indent: 1.3cm)
|
| 360 |
+
-- 桌面打印一般选用300或600PPI。
|
| 361 |
+
|
| 362 |
+
-- 细节丰富的专业印刷图形最高可设置为1200PPI。
|
| 363 |
+
|
| 364 |
+
-- 如果文档是远距离观看(例如海报),PPI可以低于300。
|
| 365 |
+
|
| 366 |
+
-- 如果文档仅在屏幕上浏览,智能手机常用PPI为400–500。
|
| 367 |
+
#set par(hanging-indent: 0cm)
|
| 368 |
+
由于PNG仅包含像素光栅,其中的文本无法直接自动提取(不借助光学字符识别OCR),例如不能通过复制粘贴或屏幕阅读器获取。如果你需要让文本具备可访问性,请改为导出PDF或HTML文件。
|
| 369 |
+
|
| 370 |
+
PNG支持透明背景。默认情况下,Typst会导出带有不透明白色背景的PNG图片。你可以使用```typ #set page(fill: none)```将背景设置为透明。可在#link(<page_fill>)[页面函数参考页]了解更多信息。
|
| 371 |
+
=== 导出为PNG<PDF_Exporting-as-PNG>
|
| 372 |
+
- *命令行*
|
| 373 |
+
向 compile(编译)或 watch(监听)子命令传入 --format png 参数,或者提供后缀为 .png 的输出文件名。
|
| 374 |
+
如果你的文档包含多页,Typst 将生成多个图像文件。此时输出文件名必须是模板字符串,且至少包含以下占位符之一:
|
| 375 |
+
|
| 376 |
+
-- {p}:将被替换为页码
|
| 377 |
+
|
| 378 |
+
-- {0p}:将被替换为补零页码(保证所有数字长度一致)
|
| 379 |
+
|
| 380 |
+
-- {t}:将被替换为总页数
|
| 381 |
+
|
| 382 |
+
导出为PNG格式时,可使用以下配置选项:
|
| 383 |
+
#set par(hanging-indent: 1.3cm)
|
| 384 |
+
-- 通过指定--ppi并后跟每英寸像素数值,设置渲染分辨率。默认值为144。
|
| 385 |
+
|
| 386 |
+
-- 通过指定--pages并后跟逗号分隔的页码或短横线分隔的页码范围,选择需要导出的页面。页码范围支持半开区间。示例:2,3,7-9,11-。
|
| 387 |
+
#set par(hanging-indent: 0cm)
|
| 388 |
+
- *网页应用*
|
| 389 |
+
点击“文件”>“导出为”>“PNG”,或点击快速下载按钮旁的向下箭头,选择“导出为PNG”。导出为PNG格式时,你可使用以下配置选项:
|
| 390 |
+
#set par(hanging-indent: 1.3cm)
|
| 391 |
+
-- 页面渲染分辨率,单位为像素每英寸。默认值为144。
|
| 392 |
+
|
| 393 |
+
-- 需要导出的页面。可选值为“所有页面”、“当前页面”以及“自定义范围”。自定义范围是以逗号分隔的数字列表,或是以连字符分隔的数字区间。区间可以是半开区间。示例:2,3,7-9,11-。
|
| 394 |
+
#set par(hanging-indent: 0cm)
|
| 395 |
+
|
| 396 |
+
== 导出为SVG文件<SVG>
|
| 397 |
+
Typst
|
| 398 |
+
不一定非要生成PDF,它也可以直接将页面渲染为可缩放矢量图形(SVG),这是在网页中嵌入矢量图形的首选格式。和PDF文件一样,SVG会按照你在Typst里设置的布局原样展示文档。同样,二者都具备不受特定分辨率限制的优点。因此,你可以在任意设备上打印或查看SVG文件,且不会出现画质损失。(注意:PDF的字体打印效果可能更好。)与PDF不同,单个SVG无法包含多页内容。导出多页文档时,Typst会生成多个SVG文件。
|
| 399 |
+
|
| 400 |
+
SVG可以用两种方式呈现文字:一种是嵌入文本本身,依靠查看设备上已安装的字体渲染文字;另一种是嵌入文档所用字体里每个字形的轮廓。为了保证SVG文件在所有查看设备上显示效果一致,Typst会选用后一种方式。这意味着SVG中的文本无法被自动提取,比如无法复制粘贴,也不能被屏幕阅读器读取。如果需要文本具备可访问性,请改为导出PDF或HTML文件。
|
| 401 |
+
|
| 402 |
+
SVG支持透明背景。默认情况下,Typst输出的SVG背景为不透明的白色。你可以通过```typ #set page(fill: none)```将背景设置为透明。更多信息请查阅#link(<page_fill>)[页面函数的参考文档]。
|
| 403 |
+
=== 导出为SVG<SVG_Exporting-as-SVG>
|
| 404 |
+
- *命令行*
|
| 405 |
+
在 compile 或 watch 子命令中传入 --format svg,或者提供后缀为 .svg 的输出文件名。
|
| 406 |
+
如果你的文档包含多页,Typst 将会生成多个图像文件。此时输出文件名必须是模板字符串,且至少包含以下占位符之一:
|
| 407 |
+
#set par(hanging-indent: 1.3cm)
|
| 408 |
+
-- {p},将被替换为页码
|
| 409 |
+
|
| 410 |
+
-- {0p},将被替换为带前导零的页码(保证所有数字长度一致)
|
| 411 |
+
|
| 412 |
+
-- {t},将被替换为总页数
|
| 413 |
+
|
| 414 |
+
导出 SVG 时,你可以使用以下配置选项:
|
| 415 |
+
|
| 416 |
+
-- 通过 --pages 参数指定需要导出的页面,后跟以逗号分隔的页码列表,或短横线分隔的页码范围。范围可以是半开区间。示例:2,3,7-9,11-。
|
| 417 |
+
#set par(hanging-indent: 0cm)
|
| 418 |
+
- *网页应用*
|
| 419 |
+
点击“文件”>“导出为”>“SVG”,或者点击快速下载按钮旁的向下箭头,选择“导出为SVG”。导出为SVG时,你可以使用以下配置选项:
|
| 420 |
+
#set par(hanging-indent: 1.3cm)
|
| 421 |
+
-- 需要导出的页面。可选值为“所有页面”、“当前页面”和“自定义范围”。自定义范围是以逗号分隔的数字列表,或以短横线分隔的数字区间。区间可以是半开区间。示例:2,3,7-9,11-。
|
| 422 |
+
#set par(hanging-indent: 0cm)
|
| 423 |
+
|
| 424 |
+
== 包导出<bundle>
|
| 425 |
+
#rect(
|
| 426 |
+
fill: color.linear-rgb(220, 240, 255,255),
|
| 427 |
+
width: 100%,
|
| 428 |
+
height: auto,
|
| 429 |
+
stroke: 1pt,
|
| 430 |
+
[信息:
|
| 431 |
+
|
| 432 |
+
打包导出功能仅可在功能标记后方用于实验。请勿在生产场景下使用该功能。在命令行中,你可以传入 ```typc --features bundle```,或将环境变量 TYPST_FEATURES 设置为 bundle 来试用该功能。如需同时启用打包和html两项功能,用逗号分隔两者进行指定(即 bundle,html)。网页应用目前暂不支持打包导出功能。
|
| 433 |
+
]
|
| 434 |
+
)
|
| 435 |
+
借助Typst的打包导出功能,你可以从单个Typst项目生成多个输出文件。打包输出适用于通过HTML导出制作多页网站,但并不仅限于HTML导出。你可以创建包含HTML页面、PDF、PNG、SVG以及任意资源的任意组合的打包文件。
|
| 436 |
+
|
| 437 |
+
=== 导出为包<bundle_Exporting-as-a-bundle>
|
| 438 |
+
- *命令行*
|
| 439 |
+
在 compile 或 watch 子命令后添加 --format bundle 参数。请注意,你还必须传入 --features bundle,或设置环境变量 TYPST_FEATURES=bundle,才能启用这个实验性导出目标。
|
| 440 |
+
|
| 441 |
+
使用 typst watch 时,Typst 会启动支持实时重载的 HTTP 服务器来提供你的文件。你可以按以下方式配置:
|
| 442 |
+
#set par(hanging-indent: 1.3cm)
|
| 443 |
+
-- 使用 `--port` 参数修改端口。(默认选用 3000-3005 区间内第一个可用端口。)
|
| 444 |
+
|
| 445 |
+
-- 使用 `--no-reload` 参数,禁止向 HTML 页面注入实时重载脚本。(无论是否开启该功能,写入磁盘的 HTML 文件都不会受到影响。)非 HTML 文档不支持实时重载。
|
| 446 |
+
|
| 447 |
+
-- 使用 `--no-serve` 参数,完全关闭服务器。
|
| 448 |
+
#set par(hanging-indent: 0cm)
|
| 449 |
+
- *网页应用*
|
| 450 |
+
暂不可用。
|
| 451 |
+
=== 创建文件<bundle_Creating-files>
|
| 452 |
+
包是一组文件的集合。这些包文件分为两类:文档或资源。#link(<document>)[文档]接收通过 Typst
|
| 453 |
+
的其他导出格式导出的#link(<content>)[内容]。而#link(<assert>)[资源]接收你选定的原始#link(<bytes>)[字节数据],这些数据会原样写入磁盘。这两种元素都将目标输出路径作为第一个参数。
|
| 454 |
+
|
| 455 |
+
下面的示例展示了在实际使用中如��运用软件包导出的基础范例:
|
| 456 |
+
```typ
|
| 457 |
+
#document("index.html", title: [Home])[
|
| 458 |
+
#title()
|
| 459 |
+
- #link(<blog>)[Go to blog]
|
| 460 |
+
]
|
| 461 |
+
|
| 462 |
+
#document("blog.html", title: [Blog])[
|
| 463 |
+
#title()
|
| 464 |
+
Welcome to my blog!
|
| 465 |
+
|
| 466 |
+
...
|
| 467 |
+
|
| 468 |
+
This blog also exists as a
|
| 469 |
+
#link(<blog-pdf>)[single PDF].
|
| 470 |
+
] <blog>
|
| 471 |
+
|
| 472 |
+
#document("blog.pdf", title: [Blog])[
|
| 473 |
+
...
|
| 474 |
+
] <blog-pdf>
|
| 475 |
+
|
| 476 |
+
#asset(
|
| 477 |
+
"favicon.ico",
|
| 478 |
+
read("images/favicon.ico", encoding: none),
|
| 479 |
+
)
|
| 480 |
+
```
|
| 481 |
+
在这个示例中,我们创建了两份HTML文档:一个主页和一篇博客。主页通过标签链接指向博客。Typst 的内置链接机制原生支持跨文档链接,并会自动为你解析正确的相对路径。打包文件中还包含博客的PDF版本,HTML版本里带有指向该PDF的链接。在实际使用中,你可以将内容存入变量并在HTML与PDF版本中同时调用,以此实现二者内容共用。为简洁起见,此处省略了这部分代码。最后,打包文件中还包含网站所用的图标资源。本例中,我们通过读取本地磁盘文件来提供资源数据。你也可以直接在Typst内部生成资源数据(例如通过`json.encode`这类函数)。
|
| 482 |
+
|
| 483 |
+
文档和资源都属于普通元素,因此你可以结合Typst常规的脚本、样式以及内省机制来使用它们。更多详情,请参阅文档与资源相关的说明文档。
|
| 484 |
+
=== 内省<bundle_Introspection>
|
| 485 |
+
内省操作始终作用于整个文档包,而非单个文档。例如,查询标题时,会返回所有文档里的全部标题,而不只是当前文档中的标题。同理,标签在整个文档包内是全局可用的——你可以查找其他文档里的标签并建立链接。计数器与状态也同样是全局的#footnote[页面计数器是此规则的例外,它(理所当然)按文档进行统计。]。特别是,如果你开启标题编号这类功能,编号会在整个文档包内连续递增。
|
| 486 |
+
|
| 487 |
+
如果你使用文档包导出,用来生成一份被拆分为多个输出文件的完整作品,这种全局特性通常正是你所需要的。但如果你使用文档包导出,来导出多份相互独立的作品,你可能希望内省操作单独处理每一份文档。目前你只能手动实现该需求(例如重置计数器、调整选择器等)。我们计划在未来提供更多工具,用于精准控制内省操作的作用范围。
|
chp12.typ
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/data.csv
ADDED
|
@@ -0,0 +1,1171 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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Re
|
| 40 |
+
Rho,Rho
|
| 41 |
+
SS,SS
|
| 42 |
+
Sha,Sha
|
| 43 |
+
Sigma,Sigma
|
| 44 |
+
TT,TT
|
| 45 |
+
Tau,Tau
|
| 46 |
+
Theta,Theta
|
| 47 |
+
Theta.alt,Theta.alt
|
| 48 |
+
UU,UU
|
| 49 |
+
Upsilon,Upsilon
|
| 50 |
+
VV,VV
|
| 51 |
+
WW,WW
|
| 52 |
+
XX,XX
|
| 53 |
+
Xi,Xi
|
| 54 |
+
YY,YY
|
| 55 |
+
ZZ,ZZ
|
| 56 |
+
Zeta,Zeta
|
| 57 |
+
acute,acute
|
| 58 |
+
acute.double,acute.double
|
| 59 |
+
afghani,afghani
|
| 60 |
+
aleph,aleph
|
| 61 |
+
alpha,alpha
|
| 62 |
+
amp,amp
|
| 63 |
+
amp.inv,amp.inv
|
| 64 |
+
and,and
|
| 65 |
+
and.big,and.big
|
| 66 |
+
and.curly,and.curly
|
| 67 |
+
and.dot,and.dot
|
| 68 |
+
and.double,and.double
|
| 69 |
+
angle,angle
|
| 70 |
+
angle.acute,angle.acute
|
| 71 |
+
angle.arc,angle.arc
|
| 72 |
+
angle.arc.rev,angle.arc.rev
|
| 73 |
+
angle.azimuth,angle.azimuth
|
| 74 |
+
angle.obtuse,angle.obtuse
|
| 75 |
+
angle.rev,angle.rev
|
| 76 |
+
angle.right,angle.right
|
| 77 |
+
angle.right.rev,angle.right.rev
|
| 78 |
+
angle.right.arc,angle.right.arc
|
| 79 |
+
angle.right.dot,angle.right.dot
|
| 80 |
+
angle.right.square,angle.right.square
|
| 81 |
+
angle.s,angle.s
|
| 82 |
+
angle.spatial,angle.spatial
|
| 83 |
+
angle.spheric,angle.spheric
|
| 84 |
+
angle.spheric.rev,angle.spheric.rev
|
| 85 |
+
angle.spheric.t,angle.spheric.t
|
| 86 |
+
angstrom,angstrom
|
| 87 |
+
angzarr,angzarr
|
| 88 |
+
approx,approx
|
| 89 |
+
approx.eq,approx.eq
|
| 90 |
+
approx.not,approx.not
|
| 91 |
+
approx.hat,approx.hat
|
| 92 |
+
arrow.r,arrow.r
|
| 93 |
+
arrow.r.long.bar,arrow.r.long.bar
|
| 94 |
+
arrow.r.bar,arrow.r.bar
|
| 95 |
+
arrow.r.curve,arrow.r.curve
|
| 96 |
+
arrow.r.turn,arrow.r.turn
|
| 97 |
+
arrow.dashed,arrow.dashed
|
| 98 |
+
arrow.r.dotted,arrow.r.dotted
|
| 99 |
+
arrow.r.double,arrow.r.double
|
| 100 |
+
arrow.r.double.bar,arrow.r.double.bar
|
| 101 |
+
arrow.r.double.long,arrow.r.double.long
|
| 102 |
+
arrow.r.double.long.bar,arrow.r.double.long.bar
|
| 103 |
+
arrow.r.double.not,arrow.r.double.not
|
| 104 |
+
arrow.r.double.struck,arrow.r.double.struck
|
| 105 |
+
arrow.r.filled,arrow.r.filled
|
| 106 |
+
arrow.r.hook,arrow.r.hook
|
| 107 |
+
arrow.r.long,arrow.r.long
|
| 108 |
+
arrow.r.long.squiggly,arrow.r.long.squiggly
|
| 109 |
+
arrow.r.loop,arrow.r.loop
|
| 110 |
+
arrow.r.not,arrow.r.not
|
| 111 |
+
arrow.r.quad,arrow.r.quad
|
| 112 |
+
arrow.r.squiggly,arrow.r.squiggly
|
| 113 |
+
arrow.r.stop,arrow.r.stop
|
| 114 |
+
arrow.r.stroked,arrow.r.stroked
|
| 115 |
+
arrow.r.struck,arrow.r.struck
|
| 116 |
+
arrow.r.dstruck,arrow.r.dstruck
|
| 117 |
+
arrow.r.tail,arrow.r.tail
|
| 118 |
+
arrow.r.tail.struck,arrow.r.tail.struck
|
| 119 |
+
arrow.r.tail.dstruck,arrow.r.tail.dstruck
|
| 120 |
+
arrow.r.tilde,arrow.r.tilde
|
| 121 |
+
arrow.r.triple,arrow.r.triple
|
| 122 |
+
arrow.r.twohead,arrow.r.twohead
|
| 123 |
+
arrow.r.twohead.bar,arrow.r.twohead.bar
|
| 124 |
+
arrow.r.twohead.struck,arrow.r.twohead.struck
|
| 125 |
+
arrow.r.twohead.dstruck,arrow.r.twohead.dstruck
|
| 126 |
+
arrow.r.twohead.tail,arrow.r.twohead.tail
|
| 127 |
+
arrow.r.twohead.tail.struck,arrow.r.twohead.tail.struck
|
| 128 |
+
arrow.r.twohead.tail.dstruck,arrow.r.twohead.tail.dstruck
|
| 129 |
+
arrow.r.open,arrow.r.open
|
| 130 |
+
arrow.r.wave,arrow.r.wave
|
| 131 |
+
arrow.l,arrow.l
|
| 132 |
+
arrow.l.long.bar,arrow.l.long.bar
|
| 133 |
+
arrow.l.bar,arrow.l.bar
|
| 134 |
+
arrow.l.curve,arrow.l.curve
|
| 135 |
+
arrow.l.turn,arrow.l.turn
|
| 136 |
+
arrow.dashed,arrow.dashed
|
| 137 |
+
arrow.l.dotted,arrow.l.dotted
|
| 138 |
+
arrow.l.double,arrow.l.double
|
| 139 |
+
arrow.l.double.bar,arrow.l.double.bar
|
| 140 |
+
arrow.l.double.long,arrow.l.double.long
|
| 141 |
+
arrow.l.double.long.bar,arrow.l.double.long.bar
|
| 142 |
+
arrow.l.double.not,arrow.l.double.not
|
| 143 |
+
arrow.l.double.struck,arrow.l.double.struck
|
| 144 |
+
arrow.l.filled,arrow.l.filled
|
| 145 |
+
arrow.l.hook,arrow.l.hook
|
| 146 |
+
arrow.l.long,arrow.l.long
|
| 147 |
+
arrow.l.long.squiggly,arrow.l.long.squiggly
|
| 148 |
+
arrow.l.loop,arrow.l.loop
|
| 149 |
+
arrow.l.not,arrow.l.not
|
| 150 |
+
arrow.l.quad,arrow.l.quad
|
| 151 |
+
arrow.l.squiggly,arrow.l.squiggly
|
| 152 |
+
arrow.l.stop,arrow.l.stop
|
| 153 |
+
arrow.l.stroked,arrow.l.stroked
|
| 154 |
+
arrow.l.struck,arrow.l.struck
|
| 155 |
+
arrow.l.dstruck,arrow.l.dstruck
|
| 156 |
+
arrow.l.tail,arrow.l.tail
|
| 157 |
+
arrow.l.tail.struck,arrow.l.tail.struck
|
| 158 |
+
arrow.l.tail.dstruck,arrow.l.tail.dstruck
|
| 159 |
+
arrow.l.tilde,arrow.l.tilde
|
| 160 |
+
arrow.l.triple,arrow.l.triple
|
| 161 |
+
arrow.l.twohead,arrow.l.twohead
|
| 162 |
+
arrow.l.twohead.bar,arrow.l.twohead.bar
|
| 163 |
+
arrow.l.twohead.struck,arrow.l.twohead.struck
|
| 164 |
+
arrow.l.twohead.dstruck,arrow.l.twohead.dstruck
|
| 165 |
+
arrow.l.twohead.tail,arrow.l.twohead.tail
|
| 166 |
+
arrow.l.twohead.tail.struck,arrow.l.twohead.tail.struck
|
| 167 |
+
arrow.l.twohead.tail.dstruck,arrow.l.twohead.tail.dstruck
|
| 168 |
+
arrow.l.open,arrow.l.open
|
| 169 |
+
arrow.l.wave,arrow.l.wave
|
| 170 |
+
arrow.t,arrow.t
|
| 171 |
+
arrow.t.bar,arrow.t.bar
|
| 172 |
+
arrow.t.curve,arrow.t.curve
|
| 173 |
+
arrow.t.turn,arrow.t.turn
|
| 174 |
+
arrow.dashed,arrow.dashed
|
| 175 |
+
arrow.t.double,arrow.t.double
|
| 176 |
+
arrow.t.filled,arrow.t.filled
|
| 177 |
+
arrow.t.quad,arrow.t.quad
|
| 178 |
+
arrow.t.stop,arrow.t.stop
|
| 179 |
+
arrow.t.stroked,arrow.t.stroked
|
| 180 |
+
arrow.t.struck,arrow.t.struck
|
| 181 |
+
arrow.t.dstruck,arrow.t.dstruck
|
| 182 |
+
arrow.t.triple,arrow.t.triple
|
| 183 |
+
arrow.t.twohead,arrow.t.twohead
|
| 184 |
+
arrow.b,arrow.b
|
| 185 |
+
arrow.b.bar,arrow.b.bar
|
| 186 |
+
arrow.b.curve,arrow.b.curve
|
| 187 |
+
arrow.b.turn,arrow.b.turn
|
| 188 |
+
arrow.dashed,arrow.dashed
|
| 189 |
+
arrow.b.double,arrow.b.double
|
| 190 |
+
arrow.b.filled,arrow.b.filled
|
| 191 |
+
arrow.b.quad,arrow.b.quad
|
| 192 |
+
arrow.b.stop,arrow.b.stop
|
| 193 |
+
arrow.b.stroked,arrow.b.stroked
|
| 194 |
+
arrow.b.struck,arrow.b.struck
|
| 195 |
+
arrow.b.dstruck,arrow.b.dstruck
|
| 196 |
+
arrow.b.triple,arrow.b.triple
|
| 197 |
+
arrow.b.twohead,arrow.b.twohead
|
| 198 |
+
arrow.l.r,arrow.l.r
|
| 199 |
+
arrow.l.r.double,arrow.l.r.double
|
| 200 |
+
arrow.l.r.double.long,arrow.l.r.double.long
|
| 201 |
+
arrow.l.r.double.not,arrow.l.r.double.not
|
| 202 |
+
arrow.l.r.double.struck,arrow.l.r.double.struck
|
| 203 |
+
arrow.l.r.filled,arrow.l.r.filled
|
| 204 |
+
arrow.l.r.long,arrow.l.r.long
|
| 205 |
+
arrow.l.r.not,arrow.l.r.not
|
| 206 |
+
arrow.l.r.stroked,arrow.l.r.stroked
|
| 207 |
+
arrow.l.r.struck,arrow.l.r.struck
|
| 208 |
+
arrow.l.r.dstruck,arrow.l.r.dstruck
|
| 209 |
+
arrow.l.r.open,arrow.l.r.open
|
| 210 |
+
arrow.l.r.wave,arrow.l.r.wave
|
| 211 |
+
arrow.t.b,arrow.t.b
|
| 212 |
+
arrow.t.b.double,arrow.t.b.double
|
| 213 |
+
arrow.t.b.filled,arrow.t.b.filled
|
| 214 |
+
arrow.t.b.stroked,arrow.t.b.stroked
|
| 215 |
+
arrow.tr,arrow.tr
|
| 216 |
+
arrow.tr.bar,arrow.tr.bar
|
| 217 |
+
arrow.tr.double,arrow.tr.double
|
| 218 |
+
arrow.tr.filled,arrow.tr.filled
|
| 219 |
+
arrow.tr.hook,arrow.tr.hook
|
| 220 |
+
arrow.tr.stroked,arrow.tr.stroked
|
| 221 |
+
arrow.br,arrow.br
|
| 222 |
+
arrow.br.bar,arrow.br.bar
|
| 223 |
+
arrow.br.double,arrow.br.double
|
| 224 |
+
arrow.br.filled,arrow.br.filled
|
| 225 |
+
arrow.br.hook,arrow.br.hook
|
| 226 |
+
arrow.br.stroked,arrow.br.stroked
|
| 227 |
+
arrow.tl,arrow.tl
|
| 228 |
+
arrow.tl.bar,arrow.tl.bar
|
| 229 |
+
arrow.tl.double,arrow.tl.double
|
| 230 |
+
arrow.tl.filled,arrow.tl.filled
|
| 231 |
+
arrow.tl.hook,arrow.tl.hook
|
| 232 |
+
arrow.tl.stroked,arrow.tl.stroked
|
| 233 |
+
arrow.bl,arrow.bl
|
| 234 |
+
arrow.bl.bar,arrow.bl.bar
|
| 235 |
+
arrow.bl.double,arrow.bl.double
|
| 236 |
+
arrow.bl.filled,arrow.bl.filled
|
| 237 |
+
arrow.bl.hook,arrow.bl.hook
|
| 238 |
+
arrow.bl.stroked,arrow.bl.stroked
|
| 239 |
+
arrow.tl.br,arrow.tl.br
|
| 240 |
+
arrow.tr.bl,arrow.tr.bl
|
| 241 |
+
arrow.ccw,arrow.ccw
|
| 242 |
+
arrow.ccw.half,arrow.ccw.half
|
| 243 |
+
arrow.cw,arrow.cw
|
| 244 |
+
arrow.cw.half,arrow.cw.half
|
| 245 |
+
arrow.zigzag,arrow.zigzag
|
| 246 |
+
arrowhead.t,arrowhead.t
|
| 247 |
+
arrowhead.b,arrowhead.b
|
| 248 |
+
arrows.rr,arrows.rr
|
| 249 |
+
arrows.ll,arrows.ll
|
| 250 |
+
arrows.tt,arrows.tt
|
| 251 |
+
arrows.bb,arrows.bb
|
| 252 |
+
arrows.lr,arrows.lr
|
| 253 |
+
arrows.lr.stop,arrows.lr.stop
|
| 254 |
+
arrows.rl,arrows.rl
|
| 255 |
+
arrows.rl.long,arrows.rl.long
|
| 256 |
+
arrows.tb,arrows.tb
|
| 257 |
+
arrows.bt,arrows.bt
|
| 258 |
+
arrows.rrr,arrows.rrr
|
| 259 |
+
arrows.lll,arrows.lll
|
| 260 |
+
ast.op,ast.op
|
| 261 |
+
ast.op.o,ast.op.o
|
| 262 |
+
ast.basic,ast.basic
|
| 263 |
+
ast.low,ast.low
|
| 264 |
+
ast.double,ast.double
|
| 265 |
+
ast.triple,ast.triple
|
| 266 |
+
ast.square,ast.square
|
| 267 |
+
asymp,asymp
|
| 268 |
+
asymp.not,asymp.not
|
| 269 |
+
at,at
|
| 270 |
+
backslash,backslash
|
| 271 |
+
backslash.o,backslash.o
|
| 272 |
+
backslash.not,backslash.not
|
| 273 |
+
bag.l,bag.l
|
| 274 |
+
bag.r,bag.r
|
| 275 |
+
baht,baht
|
| 276 |
+
ballot,ballot
|
| 277 |
+
ballot.cross,ballot.cross
|
| 278 |
+
ballot.check,ballot.check
|
| 279 |
+
ballot.check.heavy,ballot.check.heavy
|
| 280 |
+
bar.v,bar.v
|
| 281 |
+
bar.v.double,bar.v.double
|
| 282 |
+
bar.v.triple,bar.v.triple
|
| 283 |
+
bar.v.broken,bar.v.broken
|
| 284 |
+
bar.v.o,bar.v.o
|
| 285 |
+
bar.h,bar.h
|
| 286 |
+
because,because
|
| 287 |
+
beta,beta
|
| 288 |
+
beta.alt,beta.alt
|
| 289 |
+
beth,beth
|
| 290 |
+
bitcoin,bitcoin
|
| 291 |
+
bot,bot
|
| 292 |
+
bowtie.stroked,bowtie.stroked
|
| 293 |
+
bowtie.stroked.big,bowtie.stroked.big
|
| 294 |
+
bowtie.stroked.big.l,bowtie.stroked.big.l
|
| 295 |
+
bowtie.stroked.r,bowtie.stroked.r
|
| 296 |
+
bowtie.stroked.l.r,bowtie.stroked.l.r
|
| 297 |
+
bowtie.filled,bowtie.filled
|
| 298 |
+
bowtie.filled.l,bowtie.filled.l
|
| 299 |
+
bowtie.filled.r,bowtie.filled.r
|
| 300 |
+
brace.l,brace.l
|
| 301 |
+
brace.l.stroked,brace.l.stroked
|
| 302 |
+
brace.r,brace.r
|
| 303 |
+
brace.r.stroked,brace.r.stroked
|
| 304 |
+
brace.t,brace.t
|
| 305 |
+
brace.b,brace.b
|
| 306 |
+
bracket.l,bracket.l
|
| 307 |
+
bracket.l.tick.t,bracket.l.tick.t
|
| 308 |
+
bracket.l.tick.b,bracket.l.tick.b
|
| 309 |
+
bracket.l.stroked,bracket.l.stroked
|
| 310 |
+
bracket.r,bracket.r
|
| 311 |
+
bracket.r.tick.t,bracket.r.tick.t
|
| 312 |
+
bracket.r.tick.b,bracket.r.tick.b
|
| 313 |
+
bracket.r.stroked,bracket.r.stroked
|
| 314 |
+
bracket.t,bracket.t
|
| 315 |
+
bracket.b,bracket.b
|
| 316 |
+
breve,breve
|
| 317 |
+
bullet,bullet
|
| 318 |
+
bullet.op,bullet.op
|
| 319 |
+
bullet.o,bullet.o
|
| 320 |
+
bullet.stroked,bullet.stroked
|
| 321 |
+
bullet.stroked.o,bullet.stroked.o
|
| 322 |
+
bullet.hole,bullet.hole
|
| 323 |
+
bullet.hyph,bullet.hyph
|
| 324 |
+
bullet.tri,bullet.tri
|
| 325 |
+
bullet.l,bullet.l
|
| 326 |
+
bullet.r,bullet.r
|
| 327 |
+
caret,caret
|
| 328 |
+
caron,caron
|
| 329 |
+
cc,cc
|
| 330 |
+
cc.by,cc.by
|
| 331 |
+
cc.nc,cc.nc
|
| 332 |
+
cc.nd,cc.nd
|
| 333 |
+
cc.public,cc.public
|
| 334 |
+
cc.sa,cc.sa
|
| 335 |
+
cc.zero,cc.zero
|
| 336 |
+
cedi,cedi
|
| 337 |
+
ceil.l,ceil.l
|
| 338 |
+
ceil.r,ceil.r
|
| 339 |
+
cent,cent
|
| 340 |
+
checkmark,checkmark
|
| 341 |
+
checkmark.light,checkmark.light
|
| 342 |
+
checkmark.heavy,checkmark.heavy
|
| 343 |
+
chevron.l,chevron.l
|
| 344 |
+
chevron.l.curly,chevron.l.curly
|
| 345 |
+
chevron.l.dot,chevron.l.dot
|
| 346 |
+
chevron.l.closed,chevron.l.closed
|
| 347 |
+
chevron.l.double,chevron.l.double
|
| 348 |
+
chevron.r,chevron.r
|
| 349 |
+
chevron.r.curly,chevron.r.curly
|
| 350 |
+
chevron.r.dot,chevron.r.dot
|
| 351 |
+
chevron.r.closed,chevron.r.closed
|
| 352 |
+
chevron.r.double,chevron.r.double
|
| 353 |
+
chi,chi
|
| 354 |
+
circle.stroked,circle.stroked
|
| 355 |
+
circle.stroked.small,circle.stroked.small
|
| 356 |
+
circle.stroked.big,circle.stroked.big
|
| 357 |
+
circle.filled,circle.filled
|
| 358 |
+
circle.filled.tiny,circle.filled.tiny
|
| 359 |
+
circle.filled.small,circle.filled.small
|
| 360 |
+
circle.filled.big,circle.filled.big
|
| 361 |
+
circle.dotted,circle.dotted
|
| 362 |
+
co,co
|
| 363 |
+
colon,colon
|
| 364 |
+
colon.currency,colon.currency
|
| 365 |
+
colon.double,colon.double
|
| 366 |
+
colon.tri,colon.tri
|
| 367 |
+
colon.tri.op,colon.tri.op
|
| 368 |
+
colon.eq,colon.eq
|
| 369 |
+
colon.double.eq,colon.double.eq
|
| 370 |
+
comma,comma
|
| 371 |
+
comma.inv,comma.inv
|
| 372 |
+
comma.rev,comma.rev
|
| 373 |
+
complement,complement
|
| 374 |
+
compose,compose
|
| 375 |
+
compose.o,compose.o
|
| 376 |
+
control.ack,control.ack
|
| 377 |
+
control.bel,control.bel
|
| 378 |
+
control.bs,control.bs
|
| 379 |
+
control.can,control.can
|
| 380 |
+
control.cr,control.cr
|
| 381 |
+
control.dc.one,control.dc.one
|
| 382 |
+
control.dc.two,control.dc.two
|
| 383 |
+
control.dc.three,control.dc.three
|
| 384 |
+
control.dc.four,control.dc.four
|
| 385 |
+
control.del,control.del
|
| 386 |
+
control.dle,control.dle
|
| 387 |
+
control.em,control.em
|
| 388 |
+
control.enq,control.enq
|
| 389 |
+
control.eot,control.eot
|
| 390 |
+
control.esc,control.esc
|
| 391 |
+
control.etb,control.etb
|
| 392 |
+
control.etx,control.etx
|
| 393 |
+
control.ff,control.ff
|
| 394 |
+
control.fs,control.fs
|
| 395 |
+
control.gs,control.gs
|
| 396 |
+
control.ht,control.ht
|
| 397 |
+
control.lf,control.lf
|
| 398 |
+
control.nak,control.nak
|
| 399 |
+
control.nl,control.nl
|
| 400 |
+
control.nul,control.nul
|
| 401 |
+
control.rs,control.rs
|
| 402 |
+
control.si,control.si
|
| 403 |
+
control.so,control.so
|
| 404 |
+
control.soh,control.soh
|
| 405 |
+
control.sp,control.sp
|
| 406 |
+
control.stx,control.stx
|
| 407 |
+
control.sub,control.sub
|
| 408 |
+
control.syn,control.syn
|
| 409 |
+
control.us,control.us
|
| 410 |
+
control.vt,control.vt
|
| 411 |
+
convolve,convolve
|
| 412 |
+
convolve.o,convolve.o
|
| 413 |
+
copyleft,copyleft
|
| 414 |
+
copyright,copyright
|
| 415 |
+
copyright.sound,copyright.sound
|
| 416 |
+
corner.l.t,corner.l.t
|
| 417 |
+
corner.l.b,corner.l.b
|
| 418 |
+
corner.r.t,corner.r.t
|
| 419 |
+
corner.r.b,corner.r.b
|
| 420 |
+
crossmark,crossmark
|
| 421 |
+
crossmark.heavy,crossmark.heavy
|
| 422 |
+
currency,currency
|
| 423 |
+
dagger,dagger
|
| 424 |
+
dagger.double,dagger.double
|
| 425 |
+
dagger.triple,dagger.triple
|
| 426 |
+
dagger.l,dagger.l
|
| 427 |
+
dagger.r,dagger.r
|
| 428 |
+
dagger.inv,dagger.inv
|
| 429 |
+
daleth,daleth
|
| 430 |
+
dash.en,dash.en
|
| 431 |
+
dash.em,dash.em
|
| 432 |
+
dash.em.two,dash.em.two
|
| 433 |
+
dash.em.three,dash.em.three
|
| 434 |
+
dash.fig,dash.fig
|
| 435 |
+
dash.colon,dash.colon
|
| 436 |
+
dash.o,dash.o
|
| 437 |
+
dash.wave,dash.wave
|
| 438 |
+
dash.wave.double,dash.wave.double
|
| 439 |
+
degree,degree
|
| 440 |
+
delta,delta
|
| 441 |
+
diaer,diaer
|
| 442 |
+
diameter,diameter
|
| 443 |
+
diamond.stroked,diamond.stroked
|
| 444 |
+
diamond.stroked.small,diamond.stroked.small
|
| 445 |
+
diamond.stroked.medium,diamond.stroked.medium
|
| 446 |
+
diamond.stroked.dot,diamond.stroked.dot
|
| 447 |
+
diamond.filled,diamond.filled
|
| 448 |
+
diamond.filled.medium,diamond.filled.medium
|
| 449 |
+
diamond.filled.small,diamond.filled.small
|
| 450 |
+
die.six,die.six
|
| 451 |
+
die.five,die.five
|
| 452 |
+
die.four,die.four
|
| 453 |
+
die.three,die.three
|
| 454 |
+
die.two,die.two
|
| 455 |
+
die.one,die.one
|
| 456 |
+
digamma,digamma
|
| 457 |
+
div,div
|
| 458 |
+
div.o,div.o
|
| 459 |
+
div.slanted.o,div.slanted.o
|
| 460 |
+
divides,divides
|
| 461 |
+
divides.not,divides.not
|
| 462 |
+
divides.not.rev,divides.not.rev
|
| 463 |
+
divides.struck,divides.struck
|
| 464 |
+
dollar,dollar
|
| 465 |
+
dong,dong
|
| 466 |
+
dorome,dorome
|
| 467 |
+
dot.op,dot.op
|
| 468 |
+
dot.basic,dot.basic
|
| 469 |
+
dot.c,dot.c
|
| 470 |
+
dot.o,dot.o
|
| 471 |
+
dot.o.big,dot.o.big
|
| 472 |
+
dot.square,dot.square
|
| 473 |
+
dot.double,dot.double
|
| 474 |
+
dot.triple,dot.triple
|
| 475 |
+
dot.quad,dot.quad
|
| 476 |
+
dotless.i,dotless.i
|
| 477 |
+
dotless.j,dotless.j
|
| 478 |
+
dots.h.c,dots.h.c
|
| 479 |
+
dots.h,dots.h
|
| 480 |
+
dots.v,dots.v
|
| 481 |
+
dots.down,dots.down
|
| 482 |
+
dots.up,dots.up
|
| 483 |
+
dram,dram
|
| 484 |
+
earth,earth
|
| 485 |
+
earth.alt,earth.alt
|
| 486 |
+
ell,ell
|
| 487 |
+
ellipse.stroked.h,ellipse.stroked.h
|
| 488 |
+
ellipse.stroked.v,ellipse.stroked.v
|
| 489 |
+
ellipse.filled.h,ellipse.filled.h
|
| 490 |
+
ellipse.filled.v,ellipse.filled.v
|
| 491 |
+
emptyset,emptyset
|
| 492 |
+
emptyset.zero,emptyset.zero
|
| 493 |
+
emptyset.arrow.r,emptyset.arrow.r
|
| 494 |
+
emptyset.arrow.l,emptyset.arrow.l
|
| 495 |
+
emptyset.bar,emptyset.bar
|
| 496 |
+
emptyset.circle,emptyset.circle
|
| 497 |
+
emptyset.rev,emptyset.rev
|
| 498 |
+
epsilon,epsilon
|
| 499 |
+
epsilon.alt,epsilon.alt
|
| 500 |
+
epsilon.alt.rev,epsilon.alt.rev
|
| 501 |
+
eq,eq
|
| 502 |
+
eq.ast,eq.ast
|
| 503 |
+
eq.star,eq.star
|
| 504 |
+
eq.o,eq.o
|
| 505 |
+
eq.colon,eq.colon
|
| 506 |
+
eq.dot,eq.dot
|
| 507 |
+
eq.dots,eq.dots
|
| 508 |
+
eq.dots.down,eq.dots.down
|
| 509 |
+
eq.dots.up,eq.dots.up
|
| 510 |
+
eq.def,eq.def
|
| 511 |
+
eq.delta,eq.delta
|
| 512 |
+
eq.equi,eq.equi
|
| 513 |
+
eq.est,eq.est
|
| 514 |
+
eq.gt,eq.gt
|
| 515 |
+
eq.lt,eq.lt
|
| 516 |
+
eq.m,eq.m
|
| 517 |
+
eq.not,eq.not
|
| 518 |
+
eq.prec,eq.prec
|
| 519 |
+
eq.quest,eq.quest
|
| 520 |
+
eq.succ,eq.succ
|
| 521 |
+
eq.triple,eq.triple
|
| 522 |
+
eq.triple.not,eq.triple.not
|
| 523 |
+
eq.quad,eq.quad
|
| 524 |
+
equiv,equiv
|
| 525 |
+
equiv.not,equiv.not
|
| 526 |
+
errorbar.square.stroked,errorbar.square.stroked
|
| 527 |
+
errorbar.square.filled,errorbar.square.filled
|
| 528 |
+
errorbar.diamond.stroked,errorbar.diamond.stroked
|
| 529 |
+
errorbar.diamond.filled,errorbar.diamond.filled
|
| 530 |
+
errorbar.circle.stroked,errorbar.circle.stroked
|
| 531 |
+
errorbar.circle.filled,errorbar.circle.filled
|
| 532 |
+
eta,eta
|
| 533 |
+
euro,euro
|
| 534 |
+
excl,excl
|
| 535 |
+
excl.double,excl.double
|
| 536 |
+
excl.inv,excl.inv
|
| 537 |
+
excl.quest,excl.quest
|
| 538 |
+
exists,exists
|
| 539 |
+
exists.not,exists.not
|
| 540 |
+
fence.l,fence.l
|
| 541 |
+
fence.l.double,fence.l.double
|
| 542 |
+
fence.r,fence.r
|
| 543 |
+
fence.r.double,fence.r.double
|
| 544 |
+
fence.dotted,fence.dotted
|
| 545 |
+
flat,flat
|
| 546 |
+
flat.t,flat.t
|
| 547 |
+
flat.b,flat.b
|
| 548 |
+
flat.double,flat.double
|
| 549 |
+
flat.quarter,flat.quarter
|
| 550 |
+
floor.l,floor.l
|
| 551 |
+
floor.r,floor.r
|
| 552 |
+
floral,floral
|
| 553 |
+
floral.l,floral.l
|
| 554 |
+
floral.r,floral.r
|
| 555 |
+
forall,forall
|
| 556 |
+
forces,forces
|
| 557 |
+
forces.not,forces.not
|
| 558 |
+
frown,frown
|
| 559 |
+
gamma,gamma
|
| 560 |
+
gender.female,gender.female
|
| 561 |
+
gender.female.double,gender.female.double
|
| 562 |
+
gender.female.male,gender.female.male
|
| 563 |
+
gender.intersex,gender.intersex
|
| 564 |
+
gender.male,gender.male
|
| 565 |
+
gender.male.double,gender.male.double
|
| 566 |
+
gender.male.female,gender.male.female
|
| 567 |
+
gender.male.stroke,gender.male.stroke
|
| 568 |
+
gender.male.stroke.t,gender.male.stroke.t
|
| 569 |
+
gender.male.stroke.r,gender.male.stroke.r
|
| 570 |
+
gender.neuter,gender.neuter
|
| 571 |
+
gender.trans,gender.trans
|
| 572 |
+
gimel,gimel
|
| 573 |
+
gradient,gradient
|
| 574 |
+
grave,grave
|
| 575 |
+
gt,gt
|
| 576 |
+
gt.o,gt.o
|
| 577 |
+
gt.dot,gt.dot
|
| 578 |
+
gt.quest,gt.quest
|
| 579 |
+
gt.approx,gt.approx
|
| 580 |
+
gt.arc,gt.arc
|
| 581 |
+
gt.arc.eq,gt.arc.eq
|
| 582 |
+
gt.closed,gt.closed
|
| 583 |
+
gt.closed.eq,gt.closed.eq
|
| 584 |
+
gt.closed.eq.not,gt.closed.eq.not
|
| 585 |
+
gt.double,gt.double
|
| 586 |
+
gt.double.nested,gt.double.nested
|
| 587 |
+
gt.eq,gt.eq
|
| 588 |
+
gt.eq.slant,gt.eq.slant
|
| 589 |
+
gt.eq.lt,gt.eq.lt
|
| 590 |
+
gt.eq.not,gt.eq.not
|
| 591 |
+
gt.equiv,gt.equiv
|
| 592 |
+
gt.lt,gt.lt
|
| 593 |
+
gt.lt.not,gt.lt.not
|
| 594 |
+
gt.neq,gt.neq
|
| 595 |
+
gt.napprox,gt.napprox
|
| 596 |
+
gt.nequiv,gt.nequiv
|
| 597 |
+
gt.not,gt.not
|
| 598 |
+
gt.ntilde,gt.ntilde
|
| 599 |
+
gt.tilde,gt.tilde
|
| 600 |
+
gt.tilde.not,gt.tilde.not
|
| 601 |
+
gt.triple,gt.triple
|
| 602 |
+
gt.triple.nested,gt.triple.nested
|
| 603 |
+
guarani,guarani
|
| 604 |
+
harpoon.rt,harpoon.rt
|
| 605 |
+
harpoon.rt.bar,harpoon.rt.bar
|
| 606 |
+
harpoon.rt.stop,harpoon.rt.stop
|
| 607 |
+
harpoon.rb,harpoon.rb
|
| 608 |
+
harpoon.rb.bar,harpoon.rb.bar
|
| 609 |
+
harpoon.rb.stop,harpoon.rb.stop
|
| 610 |
+
harpoon.lt,harpoon.lt
|
| 611 |
+
harpoon.lt.bar,harpoon.lt.bar
|
| 612 |
+
harpoon.lt.stop,harpoon.lt.stop
|
| 613 |
+
harpoon.lb,harpoon.lb
|
| 614 |
+
harpoon.lb.bar,harpoon.lb.bar
|
| 615 |
+
harpoon.lb.stop,harpoon.lb.stop
|
| 616 |
+
harpoon.tl,harpoon.tl
|
| 617 |
+
harpoon.tl.bar,harpoon.tl.bar
|
| 618 |
+
harpoon.tl.stop,harpoon.tl.stop
|
| 619 |
+
harpoon.tr,harpoon.tr
|
| 620 |
+
harpoon.tr.bar,harpoon.tr.bar
|
| 621 |
+
harpoon.tr.stop,harpoon.tr.stop
|
| 622 |
+
harpoon.bl,harpoon.bl
|
| 623 |
+
harpoon.bl.bar,harpoon.bl.bar
|
| 624 |
+
harpoon.bl.stop,harpoon.bl.stop
|
| 625 |
+
harpoon.br,harpoon.br
|
| 626 |
+
harpoon.br.bar,harpoon.br.bar
|
| 627 |
+
harpoon.br.stop,harpoon.br.stop
|
| 628 |
+
harpoon.lt.rt,harpoon.lt.rt
|
| 629 |
+
harpoon.lb.rb,harpoon.lb.rb
|
| 630 |
+
harpoon.lb.rt,harpoon.lb.rt
|
| 631 |
+
harpoon.lt.rb,harpoon.lt.rb
|
| 632 |
+
harpoon.tl.bl,harpoon.tl.bl
|
| 633 |
+
harpoon.tr.br,harpoon.tr.br
|
| 634 |
+
harpoon.tl.br,harpoon.tl.br
|
| 635 |
+
harpoon.tr.bl,harpoon.tr.bl
|
| 636 |
+
harpoons.rtrb,harpoons.rtrb
|
| 637 |
+
harpoons.blbr,harpoons.blbr
|
| 638 |
+
harpoons.bltr,harpoons.bltr
|
| 639 |
+
harpoons.lbrb,harpoons.lbrb
|
| 640 |
+
harpoons.ltlb,harpoons.ltlb
|
| 641 |
+
harpoons.ltrb,harpoons.ltrb
|
| 642 |
+
harpoons.ltrt,harpoons.ltrt
|
| 643 |
+
harpoons.rblb,harpoons.rblb
|
| 644 |
+
harpoons.rtlb,harpoons.rtlb
|
| 645 |
+
harpoons.rtlt,harpoons.rtlt
|
| 646 |
+
harpoons.tlbr,harpoons.tlbr
|
| 647 |
+
harpoons.tltr,harpoons.tltr
|
| 648 |
+
hash,hash
|
| 649 |
+
hat,hat
|
| 650 |
+
hexa.stroked,hexa.stroked
|
| 651 |
+
hexa.filled,hexa.filled
|
| 652 |
+
hourglass.stroked,hourglass.stroked
|
| 653 |
+
hourglass.filled,hourglass.filled
|
| 654 |
+
hryvnia,hryvnia
|
| 655 |
+
hyph,hyph
|
| 656 |
+
hyph.minus,hyph.minus
|
| 657 |
+
hyph.nobreak,hyph.nobreak
|
| 658 |
+
hyph.point,hyph.point
|
| 659 |
+
hyph.soft,hyph.soft
|
| 660 |
+
image,image
|
| 661 |
+
in,in
|
| 662 |
+
in.not,in.not
|
| 663 |
+
in.rev,in.rev
|
| 664 |
+
in.rev.not,in.rev.not
|
| 665 |
+
in.rev.small,in.rev.small
|
| 666 |
+
in.small,in.small
|
| 667 |
+
infinity,infinity
|
| 668 |
+
infinity.bar,infinity.bar
|
| 669 |
+
infinity.incomplete,infinity.incomplete
|
| 670 |
+
infinity.tie,infinity.tie
|
| 671 |
+
integral,integral
|
| 672 |
+
integral.arrow.hook,integral.arrow.hook
|
| 673 |
+
integral.ccw,integral.ccw
|
| 674 |
+
integral.cont,integral.cont
|
| 675 |
+
integral.cont.ccw,integral.cont.ccw
|
| 676 |
+
integral.cw,integral.cw
|
| 677 |
+
integral.dash,integral.dash
|
| 678 |
+
integral.dash.double,integral.dash.double
|
| 679 |
+
integral.double,integral.double
|
| 680 |
+
integral.quad,integral.quad
|
| 681 |
+
integral.inter,integral.inter
|
| 682 |
+
integral.slash,integral.slash
|
| 683 |
+
integral.square,integral.square
|
| 684 |
+
integral.surf,integral.surf
|
| 685 |
+
integral.times,integral.times
|
| 686 |
+
integral.triple,integral.triple
|
| 687 |
+
integral.union,integral.union
|
| 688 |
+
integral.vol,integral.vol
|
| 689 |
+
inter,inter
|
| 690 |
+
inter.serif,inter.serif
|
| 691 |
+
inter.and,inter.and
|
| 692 |
+
inter.big,inter.big
|
| 693 |
+
inter.dot,inter.dot
|
| 694 |
+
inter.double,inter.double
|
| 695 |
+
inter.sq,inter.sq
|
| 696 |
+
inter.sq.serif,inter.sq.serif
|
| 697 |
+
inter.sq.big,inter.sq.big
|
| 698 |
+
inter.sq.double,inter.sq.double
|
| 699 |
+
interleave,interleave
|
| 700 |
+
interleave.big,interleave.big
|
| 701 |
+
interleave.struck,interleave.struck
|
| 702 |
+
interrobang,interrobang
|
| 703 |
+
interrobang.inv,interrobang.inv
|
| 704 |
+
iota,iota
|
| 705 |
+
iota.inv,iota.inv
|
| 706 |
+
jupiter,jupiter
|
| 707 |
+
kappa,kappa
|
| 708 |
+
kappa.alt,kappa.alt
|
| 709 |
+
kip,kip
|
| 710 |
+
lambda,lambda
|
| 711 |
+
laplace,laplace
|
| 712 |
+
lari,lari
|
| 713 |
+
lat,lat
|
| 714 |
+
lat.eq,lat.eq
|
| 715 |
+
lira,lira
|
| 716 |
+
lozenge.stroked,lozenge.stroked
|
| 717 |
+
lozenge.stroked.small,lozenge.stroked.small
|
| 718 |
+
lozenge.stroked.medium,lozenge.stroked.medium
|
| 719 |
+
lozenge.filled,lozenge.filled
|
| 720 |
+
lozenge.filled.small,lozenge.filled.small
|
| 721 |
+
lozenge.filled.medium,lozenge.filled.medium
|
| 722 |
+
lrm,lrm
|
| 723 |
+
lt,lt
|
| 724 |
+
lt.o,lt.o
|
| 725 |
+
lt.dot,lt.dot
|
| 726 |
+
lt.quest,lt.quest
|
| 727 |
+
lt.approx,lt.approx
|
| 728 |
+
lt.arc,lt.arc
|
| 729 |
+
lt.arc.eq,lt.arc.eq
|
| 730 |
+
lt.closed,lt.closed
|
| 731 |
+
lt.closed.eq,lt.closed.eq
|
| 732 |
+
lt.closed.eq.not,lt.closed.eq.not
|
| 733 |
+
lt.closed.not,lt.closed.not
|
| 734 |
+
lt.double,lt.double
|
| 735 |
+
lt.double.nested,lt.double.nested
|
| 736 |
+
lt.eq,lt.eq
|
| 737 |
+
lt.eq.slant,lt.eq.slant
|
| 738 |
+
lt.eq.gt,lt.eq.gt
|
| 739 |
+
lt.eq.not,lt.eq.not
|
| 740 |
+
lt.equiv,lt.equiv
|
| 741 |
+
lt.gt,lt.gt
|
| 742 |
+
lt.gt.not,lt.gt.not
|
| 743 |
+
lt.neq,lt.neq
|
| 744 |
+
lt.napprox,lt.napprox
|
| 745 |
+
lt.nequiv,lt.nequiv
|
| 746 |
+
lt.not,lt.not
|
| 747 |
+
lt.ntilde,lt.ntilde
|
| 748 |
+
lt.tilde,lt.tilde
|
| 749 |
+
lt.tilde.not,lt.tilde.not
|
| 750 |
+
lt.triple,lt.triple
|
| 751 |
+
lt.triple.nested,lt.triple.nested
|
| 752 |
+
macron,macron
|
| 753 |
+
maltese,maltese
|
| 754 |
+
manat,manat
|
| 755 |
+
mapsfrom,mapsfrom
|
| 756 |
+
mapsfrom.long,mapsfrom.long
|
| 757 |
+
mapsto,mapsto
|
| 758 |
+
mapsto.long,mapsto.long
|
| 759 |
+
mars,mars
|
| 760 |
+
mercury,mercury
|
| 761 |
+
minus,minus
|
| 762 |
+
minus.o,minus.o
|
| 763 |
+
minus.dot,minus.dot
|
| 764 |
+
minus.plus,minus.plus
|
| 765 |
+
minus.square,minus.square
|
| 766 |
+
minus.tilde,minus.tilde
|
| 767 |
+
minus.triangle,minus.triangle
|
| 768 |
+
miny,miny
|
| 769 |
+
models,models
|
| 770 |
+
mu,mu
|
| 771 |
+
multimap,multimap
|
| 772 |
+
multimap.double,multimap.double
|
| 773 |
+
mustache.l,mustache.l
|
| 774 |
+
mustache.r,mustache.r
|
| 775 |
+
nabla,nabla
|
| 776 |
+
naira,naira
|
| 777 |
+
natural,natural
|
| 778 |
+
natural.t,natural.t
|
| 779 |
+
natural.b,natural.b
|
| 780 |
+
neptune,neptune
|
| 781 |
+
neptune.alt,neptune.alt
|
| 782 |
+
not,not
|
| 783 |
+
note.up,note.up
|
| 784 |
+
note.down,note.down
|
| 785 |
+
note.whole,note.whole
|
| 786 |
+
note.half,note.half
|
| 787 |
+
note.quarter,note.quarter
|
| 788 |
+
note.quarter.alt,note.quarter.alt
|
| 789 |
+
note.eighth,note.eighth
|
| 790 |
+
note.eighth.alt,note.eighth.alt
|
| 791 |
+
note.eighth.beamed,note.eighth.beamed
|
| 792 |
+
note.sixteenth,note.sixteenth
|
| 793 |
+
note.sixteenth.beamed,note.sixteenth.beamed
|
| 794 |
+
note.grace,note.grace
|
| 795 |
+
note.grace.slash,note.grace.slash
|
| 796 |
+
nothing,nothing
|
| 797 |
+
nothing.zero,nothing.zero
|
| 798 |
+
nothing.arrow.r,nothing.arrow.r
|
| 799 |
+
nothing.arrow.l,nothing.arrow.l
|
| 800 |
+
nothing.bar,nothing.bar
|
| 801 |
+
nothing.circle,nothing.circle
|
| 802 |
+
nothing.rev,nothing.rev
|
| 803 |
+
nu,nu
|
| 804 |
+
numero,numero
|
| 805 |
+
omega,omega
|
| 806 |
+
omicron,omicron
|
| 807 |
+
oo,oo
|
| 808 |
+
or,or
|
| 809 |
+
or.big,or.big
|
| 810 |
+
or.curly,or.curly
|
| 811 |
+
or.dot,or.dot
|
| 812 |
+
or.double,or.double
|
| 813 |
+
original,original
|
| 814 |
+
parallel,parallel
|
| 815 |
+
parallel.struck,parallel.struck
|
| 816 |
+
parallel.o,parallel.o
|
| 817 |
+
parallel.eq,parallel.eq
|
| 818 |
+
parallel.equiv,parallel.equiv
|
| 819 |
+
parallel.not,parallel.not
|
| 820 |
+
parallel.slanted.eq,parallel.slanted.eq
|
| 821 |
+
parallel.slanted.eq.tilde,parallel.slanted.eq.tilde
|
| 822 |
+
parallel.slanted.equiv,parallel.slanted.equiv
|
| 823 |
+
parallel.tilde,parallel.tilde
|
| 824 |
+
parallel.gram.stroked,parallel.gram.stroked
|
| 825 |
+
parallel.gram.filled,parallel.gram.filled
|
| 826 |
+
paren.l,paren.l
|
| 827 |
+
paren.l.flat,paren.l.flat
|
| 828 |
+
paren.l.closed,paren.l.closed
|
| 829 |
+
paren.l.stroked,paren.l.stroked
|
| 830 |
+
paren.r,paren.r
|
| 831 |
+
paren.r.flat,paren.r.flat
|
| 832 |
+
paren.r.closed,paren.r.closed
|
| 833 |
+
paren.r.stroked,paren.r.stroked
|
| 834 |
+
paren.t,paren.t
|
| 835 |
+
paren.b,paren.b
|
| 836 |
+
partial,partial
|
| 837 |
+
pataca,pataca
|
| 838 |
+
pee,pee
|
| 839 |
+
penta.stroked,penta.stroked
|
| 840 |
+
penta.filled,penta.filled
|
| 841 |
+
percent,percent
|
| 842 |
+
permille,permille
|
| 843 |
+
permyriad,permyriad
|
| 844 |
+
perp,perp
|
| 845 |
+
perp.o,perp.o
|
| 846 |
+
peso,peso
|
| 847 |
+
peso.philippine,peso.philippine
|
| 848 |
+
phi,phi
|
| 849 |
+
phi.alt,phi.alt
|
| 850 |
+
pi,pi
|
| 851 |
+
pi.alt,pi.alt
|
| 852 |
+
pilcrow,pilcrow
|
| 853 |
+
pilcrow.rev,pilcrow.rev
|
| 854 |
+
planck,planck
|
| 855 |
+
plus,plus
|
| 856 |
+
plus.o,plus.o
|
| 857 |
+
plus.o.l,plus.o.l
|
| 858 |
+
plus.o.r,plus.o.r
|
| 859 |
+
plus.o.arrow,plus.o.arrow
|
| 860 |
+
plus.o.big,plus.o.big
|
| 861 |
+
plus.dot,plus.dot
|
| 862 |
+
plus.double,plus.double
|
| 863 |
+
plus.minus,plus.minus
|
| 864 |
+
plus.square,plus.square
|
| 865 |
+
plus.triangle,plus.triangle
|
| 866 |
+
plus.triple,plus.triple
|
| 867 |
+
plus.hat,plus.hat
|
| 868 |
+
pound,pound
|
| 869 |
+
power.standby,power.standby
|
| 870 |
+
power.on,power.on
|
| 871 |
+
power.off,power.off
|
| 872 |
+
power.on.off,power.on.off
|
| 873 |
+
power.sleep,power.sleep
|
| 874 |
+
prec,prec
|
| 875 |
+
prec.approx,prec.approx
|
| 876 |
+
prec.curly.eq,prec.curly.eq
|
| 877 |
+
prec.curly.eq.not,prec.curly.eq.not
|
| 878 |
+
prec.double,prec.double
|
| 879 |
+
prec.eq,prec.eq
|
| 880 |
+
prec.equiv,prec.equiv
|
| 881 |
+
prec.napprox,prec.napprox
|
| 882 |
+
prec.neq,prec.neq
|
| 883 |
+
prec.nequiv,prec.nequiv
|
| 884 |
+
prec.not,prec.not
|
| 885 |
+
prec.ntilde,prec.ntilde
|
| 886 |
+
prec.tilde,prec.tilde
|
| 887 |
+
prime,prime
|
| 888 |
+
prime.rev,prime.rev
|
| 889 |
+
prime.double,prime.double
|
| 890 |
+
prime.double.rev,prime.double.rev
|
| 891 |
+
prime.triple,prime.triple
|
| 892 |
+
prime.triple.rev,prime.triple.rev
|
| 893 |
+
prime.quad,prime.quad
|
| 894 |
+
product,product
|
| 895 |
+
product.co,product.co
|
| 896 |
+
prop,prop
|
| 897 |
+
psi,psi
|
| 898 |
+
qed,qed
|
| 899 |
+
quest,quest
|
| 900 |
+
quest.double,quest.double
|
| 901 |
+
quest.excl,quest.excl
|
| 902 |
+
quest.inv,quest.inv
|
| 903 |
+
quote.double,quote.double
|
| 904 |
+
quote.single,quote.single
|
| 905 |
+
quote.l.double,quote.l.double
|
| 906 |
+
quote.l.single,quote.l.single
|
| 907 |
+
quote.r.double,quote.r.double
|
| 908 |
+
quote.r.single,quote.r.single
|
| 909 |
+
quote.chevron.l.double,quote.chevron.l.double
|
| 910 |
+
quote.l.single,quote.l.single
|
| 911 |
+
quote.chevron.r.single,quote.chevron.r.single
|
| 912 |
+
quote.high.double,quote.high.double
|
| 913 |
+
quote.high.single,quote.high.single
|
| 914 |
+
quote.low.double,quote.low.double
|
| 915 |
+
quote.low.single,quote.low.single
|
| 916 |
+
ratio,ratio
|
| 917 |
+
rect.stroked.h,rect.stroked.h
|
| 918 |
+
rect.stroked.v,rect.stroked.v
|
| 919 |
+
rect.filled.h,rect.filled.h
|
| 920 |
+
rect.filled.v,rect.filled.v
|
| 921 |
+
refmark,refmark
|
| 922 |
+
rest.whole,rest.whole
|
| 923 |
+
rest.multiple,rest.multiple
|
| 924 |
+
rest.multiple.measure,rest.multiple.measure
|
| 925 |
+
rest.half,rest.half
|
| 926 |
+
rest.quarter,rest.quarter
|
| 927 |
+
rest.eighth,rest.eighth
|
| 928 |
+
rest.sixteenth,rest.sixteenth
|
| 929 |
+
rho,rho
|
| 930 |
+
rho.alt,rho.alt
|
| 931 |
+
riel,riel
|
| 932 |
+
riyal,riyal
|
| 933 |
+
rlm,rlm
|
| 934 |
+
ruble,ruble
|
| 935 |
+
rupee.indian,rupee.indian
|
| 936 |
+
rupee.generic,rupee.generic
|
| 937 |
+
rupee.tamil,rupee.tamil
|
| 938 |
+
rupee.wancho,rupee.wancho
|
| 939 |
+
saturn,saturn
|
| 940 |
+
section,section
|
| 941 |
+
semi,semi
|
| 942 |
+
semi.inv,semi.inv
|
| 943 |
+
semi.rev,semi.rev
|
| 944 |
+
sha,sha
|
| 945 |
+
sharp,sharp
|
| 946 |
+
sharp.t,sharp.t
|
| 947 |
+
sharp.b,sharp.b
|
| 948 |
+
sharp.double,sharp.double
|
| 949 |
+
sharp.quarter,sharp.quarter
|
| 950 |
+
shekel,shekel
|
| 951 |
+
shell.l,shell.l
|
| 952 |
+
shell.l.stroked,shell.l.stroked
|
| 953 |
+
shell.l.filled,shell.l.filled
|
| 954 |
+
shell.r,shell.r
|
| 955 |
+
shell.r.stroked,shell.r.stroked
|
| 956 |
+
shell.r.filled,shell.r.filled
|
| 957 |
+
shell.t,shell.t
|
| 958 |
+
shell.b,shell.b
|
| 959 |
+
sigma,sigma
|
| 960 |
+
sigma.alt,sigma.alt
|
| 961 |
+
slash,slash
|
| 962 |
+
slash.o,slash.o
|
| 963 |
+
slash.double,slash.double
|
| 964 |
+
slash.triple,slash.triple
|
| 965 |
+
slash.big,slash.big
|
| 966 |
+
smash,smash
|
| 967 |
+
smile,smile
|
| 968 |
+
smt,smt
|
| 969 |
+
smt.eq,smt.eq
|
| 970 |
+
som,som
|
| 971 |
+
space,space
|
| 972 |
+
space.nobreak,space.nobreak
|
| 973 |
+
space.nobreak.narrow,space.nobreak.narrow
|
| 974 |
+
space.en,space.en
|
| 975 |
+
space.quad,space.quad
|
| 976 |
+
space.third,space.third
|
| 977 |
+
space.quarter,space.quarter
|
| 978 |
+
space.sixteenth,space.sixteenth
|
| 979 |
+
space.med,space.med
|
| 980 |
+
space.fig,space.fig
|
| 981 |
+
space.punct,space.punct
|
| 982 |
+
space.thin,space.thin
|
| 983 |
+
space.hair,space.hair
|
| 984 |
+
spacebar,spacebar
|
| 985 |
+
square.stroked,square.stroked
|
| 986 |
+
square.stroked.tiny,square.stroked.tiny
|
| 987 |
+
square.stroked.small,square.stroked.small
|
| 988 |
+
square.stroked.medium,square.stroked.medium
|
| 989 |
+
square.stroked.big,square.stroked.big
|
| 990 |
+
square.stroked.dotted,square.stroked.dotted
|
| 991 |
+
square.stroked.rounded,square.stroked.rounded
|
| 992 |
+
square.filled,square.filled
|
| 993 |
+
square.filled.tiny,square.filled.tiny
|
| 994 |
+
square.filled.small,square.filled.small
|
| 995 |
+
square.filled.medium,square.filled.medium
|
| 996 |
+
square.filled.big,square.filled.big
|
| 997 |
+
star.op,star.op
|
| 998 |
+
star.stroked,star.stroked
|
| 999 |
+
star.filled,star.filled
|
| 1000 |
+
subset,subset
|
| 1001 |
+
subset.approx,subset.approx
|
| 1002 |
+
subset.closed,subset.closed
|
| 1003 |
+
subset.closed.eq,subset.closed.eq
|
| 1004 |
+
subset.dot,subset.dot
|
| 1005 |
+
subset.double,subset.double
|
| 1006 |
+
subset.eq,subset.eq
|
| 1007 |
+
subset.eq.dot,subset.eq.dot
|
| 1008 |
+
subset.eq.not,subset.eq.not
|
| 1009 |
+
subset.eq.sq,subset.eq.sq
|
| 1010 |
+
subset.eq.sq.not,subset.eq.sq.not
|
| 1011 |
+
subset.equiv,subset.equiv
|
| 1012 |
+
subset.neq,subset.neq
|
| 1013 |
+
subset.nequiv,subset.nequiv
|
| 1014 |
+
subset.not,subset.not
|
| 1015 |
+
subset.plus,subset.plus
|
| 1016 |
+
subset.sq,subset.sq
|
| 1017 |
+
subset.sq.neq,subset.sq.neq
|
| 1018 |
+
subset.tilde,subset.tilde
|
| 1019 |
+
subset.times,subset.times
|
| 1020 |
+
succ,succ
|
| 1021 |
+
succ.approx,succ.approx
|
| 1022 |
+
succ.curly.eq,succ.curly.eq
|
| 1023 |
+
succ.curly.eq.not,succ.curly.eq.not
|
| 1024 |
+
succ.double,succ.double
|
| 1025 |
+
succ.eq,succ.eq
|
| 1026 |
+
succ.equiv,succ.equiv
|
| 1027 |
+
succ.napprox,succ.napprox
|
| 1028 |
+
succ.neq,succ.neq
|
| 1029 |
+
succ.nequiv,succ.nequiv
|
| 1030 |
+
succ.not,succ.not
|
| 1031 |
+
succ.ntilde,succ.ntilde
|
| 1032 |
+
succ.tilde,succ.tilde
|
| 1033 |
+
suit.club,suit.club
|
| 1034 |
+
filled,filled
|
| 1035 |
+
suit.club.stroked,suit.club.stroked
|
| 1036 |
+
suit.diamond.filled,suit.diamond.filled
|
| 1037 |
+
suit.diamond.stroked,suit.diamond.stroked
|
| 1038 |
+
suit.heart.filled,suit.heart.filled
|
| 1039 |
+
suit.heart.stroked,suit.heart.stroked
|
| 1040 |
+
suit.heart.filled,suit.heart.filled
|
| 1041 |
+
suit.spade.filled,suit.spade.filled
|
| 1042 |
+
suit.spade.stroked,suit.spade.stroked
|
| 1043 |
+
sum,sum
|
| 1044 |
+
sum.integral,sum.integral
|
| 1045 |
+
sun,sun
|
| 1046 |
+
supset,supset
|
| 1047 |
+
supset.approx,supset.approx
|
| 1048 |
+
supset.closed,supset.closed
|
| 1049 |
+
supset.closed.eq,supset.closed.eq
|
| 1050 |
+
supset.dot,supset.dot
|
| 1051 |
+
supset.double,supset.double
|
| 1052 |
+
supset.eq,supset.eq
|
| 1053 |
+
supset.eq.dot,supset.eq.dot
|
| 1054 |
+
supset.eq.not,supset.eq.not
|
| 1055 |
+
supset.eq.sq,supset.eq.sq
|
| 1056 |
+
supset.eq.sq.not,supset.eq.sq.not
|
| 1057 |
+
supset.equiv,supset.equiv
|
| 1058 |
+
supset.neq,supset.neq
|
| 1059 |
+
supset.nequiv,supset.nequiv
|
| 1060 |
+
supset.not,supset.not
|
| 1061 |
+
supset.plus,supset.plus
|
| 1062 |
+
supset.sq,supset.sq
|
| 1063 |
+
supset.sq.neq,supset.sq.neq
|
| 1064 |
+
supset.tilde,supset.tilde
|
| 1065 |
+
supset.times,supset.times
|
| 1066 |
+
tack.r,tack.r
|
| 1067 |
+
tack.r.not,tack.r.not
|
| 1068 |
+
tack.r.long,tack.r.long
|
| 1069 |
+
tack.r.short,tack.r.short
|
| 1070 |
+
tack.rr,tack.rr
|
| 1071 |
+
tack.rr.not,tack.rr.not
|
| 1072 |
+
tack.rrr,tack.rrr
|
| 1073 |
+
tack.l,tack.l
|
| 1074 |
+
tack.l.long,tack.l.long
|
| 1075 |
+
tack.l.short,tack.l.short
|
| 1076 |
+
tack.ll,tack.ll
|
| 1077 |
+
tack.t,tack.t
|
| 1078 |
+
tack.t.big,tack.t.big
|
| 1079 |
+
tack.tt,tack.tt
|
| 1080 |
+
tack.t.short,tack.t.short
|
| 1081 |
+
tack.b,tack.b
|
| 1082 |
+
tack.b.big,tack.b.big
|
| 1083 |
+
tack.bb,tack.bb
|
| 1084 |
+
tack.b.short,tack.b.short
|
| 1085 |
+
tack.l.r,tack.l.r
|
| 1086 |
+
taka,taka
|
| 1087 |
+
taman,taman
|
| 1088 |
+
tau,tau
|
| 1089 |
+
tenge,tenge
|
| 1090 |
+
therefore,therefore
|
| 1091 |
+
theta,theta
|
| 1092 |
+
theta.alt,theta.alt
|
| 1093 |
+
tilde.op,tilde.op
|
| 1094 |
+
tilde.basic,tilde.basic
|
| 1095 |
+
tilde.dot,tilde.dot
|
| 1096 |
+
tilde.eq,tilde.eq
|
| 1097 |
+
tilde.eq.not,tilde.eq.not
|
| 1098 |
+
tilde.eq.rev,tilde.eq.rev
|
| 1099 |
+
tilde.equiv,tilde.equiv
|
| 1100 |
+
tilde.equiv.not,tilde.equiv.not
|
| 1101 |
+
tilde.nequiv,tilde.nequiv
|
| 1102 |
+
tilde.not,tilde.not
|
| 1103 |
+
tilde.rev,tilde.rev
|
| 1104 |
+
tilde.rev.equiv,tilde.rev.equiv
|
| 1105 |
+
tilde.triple,tilde.triple
|
| 1106 |
+
times,times
|
| 1107 |
+
times.big,times.big
|
| 1108 |
+
times.o,times.o
|
| 1109 |
+
times.o.l,times.o.l
|
| 1110 |
+
times.o.r,times.o.r
|
| 1111 |
+
times.o.hat,times.o.hat
|
| 1112 |
+
tilde.o.big,tilde.o.big
|
| 1113 |
+
times.div,times.div
|
| 1114 |
+
times.three.l,times.three.l
|
| 1115 |
+
times.three.r,times.three.r
|
| 1116 |
+
times.l,times.l
|
| 1117 |
+
times.r,times.r
|
| 1118 |
+
times.square,times.square
|
| 1119 |
+
times.triangle,times.triangle
|
| 1120 |
+
tiny,tiny
|
| 1121 |
+
togrog,togrog
|
| 1122 |
+
top,top
|
| 1123 |
+
trademark,trademark
|
| 1124 |
+
trademark.registere,trademark.registere
|
| 1125 |
+
trademark.service,trademark.service
|
| 1126 |
+
triangle.stroked.t,triangle.stroked.t
|
| 1127 |
+
triangle.stroked.b,triangle.stroked.b
|
| 1128 |
+
triangle.stroked.r,triangle.stroked.r
|
| 1129 |
+
triangle.stroked.l,triangle.stroked.l
|
| 1130 |
+
triangle.stroked.bl,triangle.stroked.bl
|
| 1131 |
+
triangle.stroked.br,triangle.stroked.br
|
| 1132 |
+
triangle.stroked.tl,triangle.stroked.tl
|
| 1133 |
+
triangle.stroked.tr,triangle.stroked.tr
|
| 1134 |
+
triangle.stroked.small.t,triangle.stroked.small.t
|
| 1135 |
+
triangle.stroked.small.b,triangle.stroked.small.b
|
| 1136 |
+
triangle.stroked.small.r,triangle.stroked.small.r
|
| 1137 |
+
triangle.stroked.small.l,triangle.stroked.small.l
|
| 1138 |
+
underscore,underscore
|
| 1139 |
+
union,union
|
| 1140 |
+
union.serif,union.serif
|
| 1141 |
+
union.arrow,union.arrow
|
| 1142 |
+
union.big,union.big
|
| 1143 |
+
union.dot,union.dot
|
| 1144 |
+
union.dot.big,union.dot.big
|
| 1145 |
+
union.double,union.double
|
| 1146 |
+
union.minus,union.minus
|
| 1147 |
+
union.or,union.or
|
| 1148 |
+
union.plus,union.plus
|
| 1149 |
+
union.plus.big,union.plus.big
|
| 1150 |
+
union.sq,union.sq
|
| 1151 |
+
union.sq.big,union.sq.big
|
| 1152 |
+
union.sq.double,union.sq.double
|
| 1153 |
+
upsilon,upsilon
|
| 1154 |
+
uranus,uranus
|
| 1155 |
+
uranus.alt,uranus.alt
|
| 1156 |
+
venus,venus
|
| 1157 |
+
without,without
|
| 1158 |
+
wj,wj
|
| 1159 |
+
won,won
|
| 1160 |
+
wreath,wreath
|
| 1161 |
+
xi,xi
|
| 1162 |
+
xor,xor
|
| 1163 |
+
xor.big,xor.big
|
| 1164 |
+
yen,yen
|
| 1165 |
+
yuan,yuan
|
| 1166 |
+
zero,zero
|
| 1167 |
+
zero.slashed,zero.slashed
|
| 1168 |
+
zeta,zeta
|
| 1169 |
+
zwj,zwj
|
| 1170 |
+
zwnj,zwnj
|
| 1171 |
+
zws,zws
|
data/details.toml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
title="Secret project"
|
| 2 |
+
version=2
|
| 3 |
+
authors=["Mr Robert","Miss Enola"]
|
data/example.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
0..2,small
|
| 2 |
+
3..5,medium
|
| 3 |
+
6..,big
|
data/example.xml
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<menu>
|
| 2 |
+
<work>
|
| 3 |
+
<title>2022 Budget approved</title>
|
| 4 |
+
<author>John Doe</author>
|
| 5 |
+
<content>
|
| 6 |
+
<c1>The 2022 budget has been approved by Senate.</c1>
|
| 7 |
+
</content>
|
| 8 |
+
</work>
|
| 9 |
+
<work>
|
| 10 |
+
<title>Tiger win the World Series</title>
|
| 11 |
+
<author>John Doe</author>
|
| 12 |
+
<content>
|
| 13 |
+
<c1>The Tigers have won the World Series.</c1>
|
| 14 |
+
<c2>The beat the Giants 4 to 3.</c2>
|
| 15 |
+
</content>
|
| 16 |
+
</work>
|
| 17 |
+
</menu>
|
data/frame.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"up":{"white":0,"black":4,"red":8,"blue":12 },
|
| 3 |
+
"down":{"white":1,"black":5,"red":9,"blue":13},
|
| 4 |
+
"right":{"white":2,"black":6,"red":10,"blue":14},
|
| 5 |
+
"left":{"white":3,"black":7,"red":11,"blue":15}
|
| 6 |
+
}
|
data/monday.json
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"weather": "sunny",
|
| 3 |
+
"temperature": "18.5",
|
| 4 |
+
"unit": "C"
|
| 5 |
+
}
|
data/moore.csv
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Entity,Code,Year,Transistors per microprocessor
|
| 2 |
+
World,OWID_WRL,1971,2308.2417
|
| 3 |
+
World,OWID_WRL,1972,3554.5222
|
| 4 |
+
World,OWID_WRL,1974,6097.5625
|
| 5 |
+
World,OWID_WRL,1979,29163.777
|
| 6 |
+
World,OWID_WRL,1982,135772.72
|
| 7 |
+
World,OWID_WRL,1985,273841.94
|
| 8 |
+
World,OWID_WRL,1986,273841.94
|
| 9 |
+
World,OWID_WRL,1988,273841.94
|
| 10 |
+
World,OWID_WRL,1989,1207900.8
|
| 11 |
+
World,OWID_WRL,1990,1207900.8
|
| 12 |
+
World,OWID_WRL,1992,3105900.2
|
| 13 |
+
World,OWID_WRL,1993,3105900.2
|
| 14 |
+
World,OWID_WRL,1994,3105900.2
|
| 15 |
+
World,OWID_WRL,1995,9646616
|
| 16 |
+
World,OWID_WRL,1996,9646616
|
| 17 |
+
World,OWID_WRL,1997,9646616
|
| 18 |
+
World,OWID_WRL,1998,15261378
|
| 19 |
+
World,OWID_WRL,1999,21673922
|
| 20 |
+
World,OWID_WRL,2000,37180264
|
| 21 |
+
World,OWID_WRL,2001,42550656
|
| 22 |
+
World,OWID_WRL,2002,220673400
|
| 23 |
+
World,OWID_WRL,2003,220673400
|
| 24 |
+
World,OWID_WRL,2004,273842000
|
| 25 |
+
World,OWID_WRL,2005,305052770
|
| 26 |
+
World,OWID_WRL,2006,582941600
|
| 27 |
+
World,OWID_WRL,2007,805842200
|
| 28 |
+
World,OWID_WRL,2008,805842200
|
| 29 |
+
World,OWID_WRL,2009,2308241400
|
| 30 |
+
World,OWID_WRL,2010,2308241400
|
| 31 |
+
World,OWID_WRL,2011,2600000000
|
| 32 |
+
World,OWID_WRL,2012,2600000000
|
| 33 |
+
World,OWID_WRL,2013,5000000000
|
| 34 |
+
World,OWID_WRL,2014,5700000000
|
| 35 |
+
World,OWID_WRL,2016,8000000000
|
| 36 |
+
World,OWID_WRL,2017,19200000000
|
| 37 |
+
World,OWID_WRL,2018,21100000000
|
| 38 |
+
World,OWID_WRL,2019,39500000000
|
| 39 |
+
World,OWID_WRL,2020,39500000000
|
| 40 |
+
World,OWID_WRL,2021,58200000000
|
data/moore1.csv
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Entity,Code,Year,Transistors per microprocessor
|
| 2 |
+
World,OWID_WRL,1971,2308.2417
|
| 3 |
+
World,OWID_WRL,1972,3554.5222
|
| 4 |
+
World,OWID_WRL,1974,6097.5625
|
data/readme.md
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Moore's law: The number of transistors per microprocessor - Data package
|
| 2 |
+
|
| 3 |
+
This data package contains the data that powers the chart ["Moore's law: The number of transistors per microprocessor"](https://ourworldindata.org/grapher/transistors-per-microprocessor?v=1&csvType=full&useColumnShortNames=false) on the Our World in Data website. It was downloaded on October 6, 2026.
|
| 4 |
+
|
| 5 |
+
### Active Filters
|
| 6 |
+
|
| 7 |
+
A filtered subset of the full data was downloaded. The following filters were applied:
|
| 8 |
+
|
| 9 |
+
## CSV structure
|
| 10 |
+
|
| 11 |
+
Each row is an observation for an entity (usually a country or region) at a timepoint.
|
| 12 |
+
|
| 13 |
+
- "Entity" — the name of the entity, e.g. "United States".
|
| 14 |
+
- "Code" — our internal entity code. For most countries this is the [ISO alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) code, e.g. "USA"; historical and other non-standard entities get a custom code.
|
| 15 |
+
- "Year" or "Day" — the timepoint. Annual data has a "Year" column holding an integer year; otherwise a "Day" column holds a date string in the form "YYYY-MM-DD".
|
| 16 |
+
- The final column is the data column — the time series that powers the chart. Downloaded with the "full data" option it corresponds to the time series below; with "only selected data visible in the chart" it is transformed depending on the chart type, so the correspondence may be less direct.
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
## Metadata.json structure
|
| 20 |
+
|
| 21 |
+
The .metadata.json file contains metadata about the data package. The "charts" key contains information to recreate the chart, like the title, subtitle etc. The "columns" key contains information about each of the columns in the csv, like the unit, timespan covered, citation for the data etc.
|
| 22 |
+
|
| 23 |
+
## How we process data at Our World in Data
|
| 24 |
+
|
| 25 |
+
Our World in Data is almost never the original producer of the data - almost all of the data we use has been compiled by others. If you want to re-use data, it is your responsibility to ensure that you adhere to the sources' license and to credit them correctly. Please note that a single time series may have more than one source - e.g. when we stitch together data from different time periods by different producers or when we calculate per capita metrics using population data from a second source.
|
| 26 |
+
|
| 27 |
+
Preparing this data involves several processing steps. Depending on the data, this can include standardizing country names and world region definitions, converting units, calculating derived indicators such as per capita measures, as well as adding or adapting metadata such as the name or the description given to an indicator.
|
| 28 |
+
[Read about our data pipeline](https://docs.owid.io/projects/etl/).
|
| 29 |
+
|
| 30 |
+
## Detailed information about the data
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
### Transistors per microprocessor
|
| 34 |
+
Last updated: March 9, 2023
|
| 35 |
+
Date range: 1971–2021
|
| 36 |
+
Unit: transistors
|
| 37 |
+
Source: Rupp (2022) – processed by Our World in Data
|
| 38 |
+
|
| 39 |
+
#### How to cite this data
|
| 40 |
+
|
| 41 |
+
Rupp (2022) – processed by Our World in Data
|
| 42 |
+
|
| 43 |
+
|
| 44 |
+
## Sources
|
| 45 |
+
|
| 46 |
+
These are the sources behind the data in this package. Each time series above names the ones it draws on in its citation.
|
| 47 |
+
|
| 48 |
+
### Rupp – Microprocessor Trend Data
|
| 49 |
+
|
| 50 |
+
This data comes from a repository of microprocessor trend data maintained by Karl Rupp on GitHub.
|
| 51 |
+
|
| 52 |
+
Where data for several microprocessors is given for a single year, we have shown the highest transistor count per chip of that year.
|
| 53 |
+
|
| 54 |
+
Producer: Rupp
|
| 55 |
+
Published: 2022-02-22
|
| 56 |
+
Retrieved on: 2023-03-08
|
| 57 |
+
Retrieved from: https://github.com/karlrupp/microprocessor-trend-data
|
| 58 |
+
Direct download: https://raw.githubusercontent.com/karlrupp/microprocessor-trend-data/master/50yrs/transistors.dat
|
| 59 |
+
License: CC BY 4.0 (https://github.com/karlrupp/microprocessor-trend-data)
|
| 60 |
+
|
| 61 |
+
Citation: Rupp, K. (2022). Microprocessor Trend Data.
|
| 62 |
+
|
| 63 |
+
|
data/scifi-authors.yaml
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Arthur C. Clarke:
|
| 2 |
+
- title: Against the Fall of Night(1978)
|
| 3 |
+
published: 1978
|
| 4 |
+
- title: The songs of distant earth
|
| 5 |
+
published: 1986
|
| 6 |
+
Isaac Asimov:
|
| 7 |
+
- title: Quasar, Quasar, Burning Bright
|
| 8 |
+
published: 1977
|
| 9 |
+
- title: Far as Human Eye Could See
|
| 10 |
+
published: 1987
|
data/symbols.csv
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
ABCD,a,ab,abacus,abc,abcd,accordion,aesculapius,airplane,airplane.landing,airplane.small,airplane.takeoff,alembic,alien,alien.monster,ambulance,amphora,anchor,anger,ant,apple.green,apple.red,arm.mech,arm.muscle,arm.selfie,arrow.r.filled,arrow.r.hook,arrow.r.soon,arrow.l.filled,arrow.l.hook,arrow.l.back,arrow.l.end,arrow.t.filled,arrow.t.curve,arrow.t.top,arrow.b.filled,arrow.b.curve,arrow.l.r,arrow.l.r.on,arrow.t.b,arrow.bl,arrow.br,arrow.tl,arrow.tr,arrows.cycle,ast,ast.box,atm,atom,aubergine,avocado,axe,b,baby,baby.angel,baby.box,babybottle,backpack,bacon,badger,badminton,bagel,baggageclaim,barberpole,baseball,basecap,basket,basketball,basketball.ball,bat,bathtub,bathtub.foam,battery,battery.low,beach.palm,beach.umbrella,beads,beans,bear,beaver,bed,bed.person,bee,beer,beer.clink,beet,beetle,beetle.lady,bell,bell.ding,bell.not,bento,bicyclist,bigfoot,bike,bike.not,bikini,billiards,bin,biohazard,bird,bison,blood,blouse,blowfish,blueberries,boar,boat.sail,boat.row,boat.motor,boat.speed,boat.canoe,bolt,bomb,bone,book.red,book.blue,book.green,book.orange,book.spiral,book.open,bookmark,books,boomerang,bordercontrol,bouquet,bow,bowl.spoon,bowl.steam,bowling,boxing,boy,brain,bread,brick,bride,bridge.fog,bridge.night,briefcase,briefs,brightness.high,brightness.low,broccoli,broom,brush,bubble.speech.r,bubble.speech.l,bubble.thought,bubble.anger.r,bubbles,bubbletea,bucket,buffalo.water,bug,builder,burger,burrito,bus,bus.front,bus.small,bus.stop,bus.trolley,butter,butterfly,button,button.alt,button.radio,cabinet.file,cablecar,cablecar.small,cactus,cake,cake.fish,cake.moon,cake.slice,calendar,calendar.spiral,calendar.tearoff,camel,camel.dromedar,camera,camera.flash,camera.movie,camera.movie.box,camera.video,camping,can,candle,candy,cane,car,car.front,car.pickup,car.police,car.police.front,car.racing,car.rickshaw,car.suv,card.credit,card.id,cardindex,carrot,cart,cassette,castle.jp,cat,cat.face,cat.face.angry,cat.face.cry,cat.face.heart,cat.face.joy,cat.face.kiss,cat.face.laugh,cat.face.shock,cat.face.smile,cat.face.smirk,chain,chains,chair,champagne,chart.bar,chart.up,chart.down,chart.yen.up,checkmark.heavy,checkmark.box,cheese,cherries,chess,chestnut,chicken,chicken.baby,chicken.baby.egg,chicken.baby.head,chicken.leg,chicken.male,child,chipmunk,chocolate,chopsticks,church,church.love,cigarette,,cigarette.not,circle.black,circle.blue,circle.brown,circle.green,circle.orange,circle.purple,circle.white,circle.red,circle.yellow,circle.stroked,circus,city,city.dusk,city.night,city.sunset,cl,clamp,clapperboard,climbing,clip,clipboard,clips,clock.one,clock.one.thirty,clock.two,clock.two.thirty,clock.three,clock.three.thirty,clock.four,clock.four.thirty,clock.five,clock.five.thirty,clock.six,clock.six.thirty,clock.seven,clock.seven.thirty,clock.eight,clock.eight.thirty,clock.nine,clock.nine.thirty,clock.ten,clock.ten.thirty,clock.eleven,clock.eleven.thirty,clock.twelve,clock.twelve.thirty,clock.alarm,clock.old,clock.timer,cloud,cloud.dust,cloud.rain,cloud.snow,cloud.storm,cloud.sun,cloud.sun.hidden,cloud.sun.rain,cloud.thunder,coat,coat.lab,cockroach,cocktail.martini,cocktail.tropical,coconut,coffee,coffin,coin,comet,compass,computer,computermouse,confetti,construction,controller,cookie,cookie.fortune,cooking,cool,copyright,coral,corn,couch,couple,cow,cow.face,crab,crane,crayon,cricket,cricketbat,crocodile,croissant,crossmark,crossmark.box,crown,crutch,crystal,cucumber,cup.straw,cupcake,curling,curry,custard,customs,cutlery,cyclone,dancing.ballet,dancing.man,dancing.woman,dancing.bunny,dancing.bunny.men,diamond.blue.small,diamond.orange,diamond.orange.small,diamond.dot,die,dino.pod,dino.rex,disc.cd,disc.dvd,disc.mini,discoball,diving,dodo,dog,dog.face,dog.guide,dog.poodle,dollar,dolphin,donkey,donut,door,dove.peace,dragon,dress,dress.kimono,dress.sari,drop,drops,drum,drum.big,duck,dumpling,eagle,ear,ear.aid,egg,eighteen.not,elephant,elevator,elf,email,excl,excl.white,excl.double,excl.quest,explosion,extinguisher,eye,eyes,face.grin,face.angry,face.angry.red,face.anguish,face.astonish,face.bandage,face.beam,face.blank,face.clown,face.cold,face.concern,face.cool,face.cover,face.cowboy,face.cry,face.devil.smile,face.devil.frown,face.diagonal,face.disguise,face.distorted,face.distress,face.dizzy,face.dotted,face.down,face.down.sweat,face.drool,face.explode,face.eyeroll,face.friendly,face.frust,face.goofy,face.halo,face.happy,face.heart,face.hearts,face.heat,face.hug,face.inv,face.joy,face.kiss,face.kiss.smile,face.kiss.heart,face.kiss.blush,face.lick,face.lie,face.mask,face.meh,face.melt,face.money,face.monocle,face.nausea,face.nerd,face.neutral,face.open,face.party,face.peek,face.plead,face.relief,face.rofl,face.sad,face.salute,face.shaking,face.shock,face.shush,face.skeptic,face.sleep,face.sleepy,face.smile,face.smile.slight,face.smile.sweat,face.smile.tear,face.smirk,face.sneeze,face.speak.not,face.squint,face.stars,face.straight,face.suffer,face.surprise,face.symbols,face.tear,face.tear.relief,face.tear.withheld,face.teeth,face.think,face.tired,face.tongue,face.tongue.squint,face.tongue.wink,face.triumph,face.unhappy,face.vomit,face.weary,face.wink,face.woozy,face.worry,face.wow,face.yawn,face.zip,factory,fairy,faith.christ,faith.dharma,faith.khanda,faith.islam,faith.judaism,faith.menorah,faith.om,faith.peace,faith.star.dot,faith.worship,faith.yinyang,falafel,family,fax,feather,feeding.breast,fencing,ferriswheel,fightcloud,filebox,filedividers,film,finger.r,finger.l,finger.t,finger.t.alt,finger.b,finger.front,finger.m ,fingerprint,fingers.cross,fingers.pinch,fingers.snap,fire,firecracker,fireengine,fireworks,fish,fish.tropical,fishing,fist.front,fist.r,fist.l,fist.raised,flag.black,flag.goal,flag.golf,flags.jp.crossed,flamingo,flashlight,flatbread,fleur,floppy,flower.hibiscus,flower.hyacinth,flower.yellow,flute,fly,fog,folder,folder.open,fondue,foot,football,football.am,forex,fountain,fox,free,fries,frisbee,frog.face,fuelpump,gachi,garlic,gear,gem,genie,ghost,ginger,giraffe,girl,glass.clink,glass.milk,glass.pour,glass.tumbler,glasses,gla.sun,globe.am,globe.as.au,globe.eu.af,globe.meridian,gloves,go,goal,goat,goggles,golfing,goose,gorilla,grapes,guard.man,guitar,gymnastics,haircut,hairpick,hammer,hammer.pick,hammer.wrench,hamsa,hamster.face,hand.raised,hand.raised.alt,hand.r,hand.l,hand.t,hand.b,hand.ok,hand.call,hand.love,hand.part,hand.peace,hand.pinch,hand.pushing.l,hand.pushing.r,hand.rock,hand.splay,hand.wave,hand.write,handbag,handball,handfan,handholding,handholding.man.man,handholding.woman.man,handholding.woman.woman,hands.folded,hands.palms,hands.clap,hands.heart,hands.open,hands.raised,hands.shake,harp,hash,hat.ribbon,hat.top,headphone,heart,heart.arrow,heart.beat,heart.black,heart.blue,heart.box,heart.broken,heart.brown,heart.double,heart.excl,heart.gray,heart.green,heart.grow,heart.lightblue,heart.orange,heart.pink,heart.purple,heart.real,heart.revolve,heart.ribbon,heart.spark,heart.white,heart.yellow,hedgehog,helicopter,helix,helmet.cross,helmet.military,hi,hippo,hockey,hole,honey,hongbao,hook,horn.postal,horse,horse.carousel,horse.face,horse.race,hospital,hotdog,hotel,hotel.love,hotspring,hourglass,hourglass.flow,house,house.derelict,house.garden,house.multiple,hundred,hut,ice,icecream,icecream.shaved,icecream.soft,icehockey,id,info,izakaya,jar,jeans,jellyfish,jigsaw,joystick,juggling,juice,ka,kaaba,kachi,kadomatsu,kangaroo,kara,kebab,key,key.old,keyboard,kiss,kissmark,kite,kiwi,knife,knife.dagger,knot,koala,koinobori,koko,kon,label,lacrosse,ladder,lamp.diya,landslide,laptop,leaf.colver.three,leaf.clover.four,leaf.fall,leaf.herb,leaf.maple,leaf.wind,leftluggage,leg,leg.mech,lemon,leopard,letter.love,liberty,lightbulb,lightning,lion,lipstick,litter,litter.not,lizard,llama,lobster,lock,lock.key,lock.open,lock.pen,lollipop,lotion,luggage,lungs,mage,magnet,magnify.r,magnify.l,mahjong.dragon.red,mail,mail.arrow,mailbox.closed.empty,mailbox.closed.full,mailbox.open.empty,mailbox.open.full,mammoth,man,man.box,man.crown,man.guapimao,man.levitate,man.old,man.pregnant,man.turban,man.tuxedo,mango,map.world,map.jp,maracas,martialarts,masks,mate,matryoshka,meat,meat.bone,medal.first,medal.second,medal.third,medal.sports,medal.military,megaphone,megaphone.simple,melon,merperson,metro,microbe,microphone,microphone.stuio,microscope,milkymay,mirror,mixer,money.bag,money.dollar,money.euro,money.pound,money.yen,money.wings,monkey,monkey.face,money.hear.not,monkey.see.not,monkey.speak.not,moon.crescent,moon.full,moon.full.face,moon.new,moon.new.face,moon.wane.one,moon.wane.two,moon.wane.three,moon.wax.one,moon.wax.two,moon.wax.face,moon.wax.three,moose,mortarboard,mosque,mosquite,motorcycle,motorway,mountain,mountain.fuji,mountain.snow,mountain.sunrise,mouse,mouse.face,mousetrap,mouth,mouth.bite,moyai,muryo,museum,mushroom,musicalscore,nails.polish,namebadge,nazar,necktie,needle,nest.empty,nest.eggs,new,newspaper,newspaper.rolled,ng,ningyo,ninja,noentry,nose,notebook,notebook.deco,notepad,notes,notes.triple,numbers,o,octopus,office,oil,ok,olive,oni,onion,orca,otter,owl,ox,oyster,package,paella,page,page.curl,page.pencil,pager,pages.tabs,painting,palette,pancakes,panda,parachute,park,parking,parrot,partalteration,party,peach,peacock,peanuts,peapod,pear,pedestrian,pedestrian.not,pen.ball,pen.fountain,pencil,penguin,pepper,pepper.hot,person,person.angry,person.beard,person.blonde,person.bow,person.crown,person.deaf,person.facepalm,person.frown,person.hijab,person.kneel,person.lotus,person.massage,person.no,person.ok,person.old,person.pregnant,person.raise,person.sassy,person.shrug,person.stand,person.steam,petri,phone,phone.arrow,phone.classic,phone.not,phone.off,phone.receiver,phone.signal,phone.vibrate,piano,pick,pie,pig,pig.face,pig.nose,pill,pin,pin.round,pinata,pineapple,pingpong,pistol,pizza,placard,planet,plant,plaster,plate.cutlery,playback.down,playback.eject,playback.forward,playback.pause,playback.record,playback.repeat,playback.repeat.once,playback.repeat.v,playback.restart,playback.rewind,playback.shuffle,playback.skip,playback.stop,playback.toggle,playback.up,playingcard.flower,playingcard.joker,plunger,policeofficer,poo,popcorn,post.eu,post.jp,posbox,potato,potato.sweet,pouch,powerplug,present,pretzel,printer,prints.foot,prints.paw,prohibited,projector,pumpkin.lantern,purse,quest,quest.white,rabbit,rabbit.face,raccoon,radio,radioactive,railway,rainbow,ram,rat,razor,receipt,recycling,reg,restroom,rhino,ribbon,ribbon.remind,rice,rice.cracker,rice.ear,rice.onigiri,ring,ringuoy,robot,rock,rocket,rollercoaster,rosette,rugby,ruler,ruler.triangle,running,sa,safetypin,safetyvest,sake,salad,salt,sandwich,santa.man,santa.woman,satdish,satellite,saw,saxophone,scales,scarf,school,scissors,scooter,scooter.motor,scorpion,screwdriver,scroll,seal,seat,seedling,shark,sheep,shell.spiral,shield,shin,ship,ship.cruise,ship.ferry,shirt.sports,shirt.t,shoe,shoe.ballet,shoe,flat,shoe.heel,shoe.hike,shoe,ice,shoe.roller,shoe.sandal.heel,shoe.ski,shoe.sneaker,shoe.tall,shoe.thong,shopping,shorts,shoshinsha,shovel,shower,shrimp,shrimp.fried,shrine,shuku,sign.crossing,sign.stop,silhouette.double,silhouette.hug,silhouette.speak,siren,skateboard,skewer.dango,skewer.oden,skiing,skull,skull.bones,skunk,sled,slide,slider,sloth,slots,smail,snake,snowboarding,snowflake,snowman,snowman.snow,soap,socks,softball,sos,soup,spaghetti,sparkle.box,sparkler,sparkles,speaker,speaker.not,speaker.wave,speaker.waves,spider,spiderweb,spinach,splatter,sponge,spoon,square.black,square.black.tiny,square.black.small,square.black.medium,square.white,square.white.tiny,square.white.small,square.white.medium,square.blue,square.brown,square.green,square.orange,square.purple,square.red,square.yellow,squid,stadium,star,star.arc,star.box,star.glow,star.shoot,stethoscope,store.big,store.small,strawberry,suit.club,suit.diamond,suit.heart,suit.spade,sun,sun.cloud,sun.face,sunrise,superhero,supervillain,surfingsushi,swan,swimming,swimsuit,swords,symbols,synagogue,syringe,trco,takeout,tamale,tanabata,tangerine,tap,tap.not,taxi,taxi.front,teacup,teapot,teddy,telescope,temple,ten,tengu,tennis,tent,testtube,thermomet,thread,thumb.up,thumb.down,ticket.event,ticket.travel,tiger,tiger.face,tm,toilet,toiletpaper,toku,tomato,tombstone,tongue,toolbox,tooth,toothbrush,tornado,tower.tokyo,trackball,tractor,trafficlight.v,trafficlight.h,train,train.car,train.light,train.metro,train.mono,train.mountain,train.speed,train.speed.bullet,train.steam,train.stop,train.suspend,train.tram,train.tram.car,transgender,tray.inbox,tray.mail,tray.outbox,treasure,tree.deciduous,tree.evergreen,tree.leafless,tree.palm,tree.xmas,triangle.r,triangle.l,triangle.t,triangle.b,triangle.t.red,triangle.b.red,trident,troll,trombone,trophy,truck,truck.trailer,trumpet,tsukimi,turkey,turtle,tv,ufo,umbrella.open,umbrella.closed,umbrella.rain,umbrella.sun,unicorn,unknown,up,urn,vampire,violin,volcano,volleyball,vs,waffle,wand,warning,watch,watch.stop,watermelon,waterpolo,wave,wc,weightlifting,whale,whale.spout,wheel,wheelchair,wheelchair.box,wheelchair.motor,wind,windchime,window,wine,wing,wireless,wolf,woman,woman.box,woman.crown,woman.old,woman.pregnant,wood,worm,wrench,wrestling,xray,yarn,yo,yoyo,yubi,yuryo,zebra,zodiac.aquarius,zodiac.aries,zodiac.cancer,zodiac.capri,zodiac.gemini,zodiac.leo,zodiac.libra,zodiac.ophi,zodiac.pisces,zodiac.sagit,zodiac.scorpio,zodiac.taurus,zodiac.virgo,zombie,zzz
|
data/test.yaml
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Employees:
|
| 2 |
+
- name: John Doe
|
| 3 |
+
department: Engineering
|
| 4 |
+
country: USA
|
| 5 |
+
- name: Kate Kateson
|
| 6 |
+
department: IT support
|
| 7 |
+
country: United Kingdom
|
| 8 |
+
Employees1:
|
| 9 |
+
- name: John1 Doe
|
| 10 |
+
department: Engineering1
|
| 11 |
+
country: USA1
|
| 12 |
+
- name: Kate Kateson1
|
| 13 |
+
department: IT support1
|
| 14 |
+
country: United Kingdom1
|
data/test01.csv
ADDED
|
@@ -0,0 +1,1352 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
ABCD,ABCD
|
| 2 |
+
a,a
|
| 3 |
+
ab,ab
|
| 4 |
+
abacus,abacus
|
| 5 |
+
abc,abc
|
| 6 |
+
abcd,abcd
|
| 7 |
+
accordion,accordion
|
| 8 |
+
aesculapius,aesculapius
|
| 9 |
+
airplane,airplane
|
| 10 |
+
airplane.landing,airplane.landing
|
| 11 |
+
airplane.small,airplane.small
|
| 12 |
+
airplane.takeoff,airplane.takeoff
|
| 13 |
+
alembic,alembic
|
| 14 |
+
alien,alien
|
| 15 |
+
alien.monster,alien.monster
|
| 16 |
+
ambulance,ambulance
|
| 17 |
+
amphora,amphora
|
| 18 |
+
anchor,anchor
|
| 19 |
+
anger,anger
|
| 20 |
+
ant,ant
|
| 21 |
+
apple.green,apple.green
|
| 22 |
+
apple.red,apple.red
|
| 23 |
+
arm.mech,arm.mech
|
| 24 |
+
arm.muscle,arm.muscle
|
| 25 |
+
arm.selfie,arm.selfie
|
| 26 |
+
arrow.r.filled,arrow.r.filled
|
| 27 |
+
arrow.r.hook,arrow.r.hook
|
| 28 |
+
arrow.r.soon,arrow.r.soon
|
| 29 |
+
arrow.l.filled,arrow.l.filled
|
| 30 |
+
arrow.l.hook,arrow.l.hook
|
| 31 |
+
arrow.l.back,arrow.l.back
|
| 32 |
+
arrow.l.end,arrow.l.end
|
| 33 |
+
arrow.t.filled,arrow.t.filled
|
| 34 |
+
arrow.t.curve,arrow.t.curve
|
| 35 |
+
arrow.t.top,arrow.t.top
|
| 36 |
+
arrow.b.filled,arrow.b.filled
|
| 37 |
+
arrow.b.curve,arrow.b.curve
|
| 38 |
+
arrow.l.r,arrow.l.r
|
| 39 |
+
arrow.l.r.on,arrow.l.r.on
|
| 40 |
+
arrow.t.b,arrow.t.b
|
| 41 |
+
arrow.bl,arrow.bl
|
| 42 |
+
arrow.br,arrow.br
|
| 43 |
+
arrow.tl,arrow.tl
|
| 44 |
+
arrow.tr,arrow.tr
|
| 45 |
+
arrows.cycle,arrows.cycle
|
| 46 |
+
ast,ast
|
| 47 |
+
ast.box,ast.box
|
| 48 |
+
atm,atm
|
| 49 |
+
atom,atom
|
| 50 |
+
aubergine,aubergine
|
| 51 |
+
avocado,avocado
|
| 52 |
+
axe,axe
|
| 53 |
+
b,b
|
| 54 |
+
baby,baby
|
| 55 |
+
baby.angel,baby.angel
|
| 56 |
+
baby.box,baby.box
|
| 57 |
+
babybottle,babybottle
|
| 58 |
+
backpack,backpack
|
| 59 |
+
bacon,bacon
|
| 60 |
+
badger,badger
|
| 61 |
+
badminton,badminton
|
| 62 |
+
bagel,bagel
|
| 63 |
+
baggageclaim,baggageclaim
|
| 64 |
+
barberpole,barberpole
|
| 65 |
+
baseball,baseball
|
| 66 |
+
basecap,basecap
|
| 67 |
+
basket,basket
|
| 68 |
+
basketball,basketball
|
| 69 |
+
basketball.ball,basketball.ball
|
| 70 |
+
bat,bat
|
| 71 |
+
bathtub,bathtub
|
| 72 |
+
bathtub.foam,bathtub.foam
|
| 73 |
+
battery,battery
|
| 74 |
+
battery.low,battery.low
|
| 75 |
+
beach.palm,beach.palm
|
| 76 |
+
beach.umbrella,beach.umbrella
|
| 77 |
+
beads,beads
|
| 78 |
+
beans,beans
|
| 79 |
+
bear,bear
|
| 80 |
+
beaver,beaver
|
| 81 |
+
bed,bed
|
| 82 |
+
bed.person,bed.person
|
| 83 |
+
bee,bee
|
| 84 |
+
beer,beer
|
| 85 |
+
beer.clink,beer.clink
|
| 86 |
+
beet,beet
|
| 87 |
+
beetle,beetle
|
| 88 |
+
beetle.lady,beetle.lady
|
| 89 |
+
bell,bell
|
| 90 |
+
bell.ding,bell.ding
|
| 91 |
+
bell.not,bell.not
|
| 92 |
+
bento,bento
|
| 93 |
+
bicyclist,bicyclist
|
| 94 |
+
bigfoot,bigfoot
|
| 95 |
+
bike,bike
|
| 96 |
+
bike.not,bike.not
|
| 97 |
+
bikini,bikini
|
| 98 |
+
billiards,billiards
|
| 99 |
+
bin,bin
|
| 100 |
+
biohazard,biohazard
|
| 101 |
+
bird,bird
|
| 102 |
+
bison,bison
|
| 103 |
+
blood,blood
|
| 104 |
+
blouse,blouse
|
| 105 |
+
blowfish,blowfish
|
| 106 |
+
blueberries,blueberries
|
| 107 |
+
boar,boar
|
| 108 |
+
boat.sail,boat.sail
|
| 109 |
+
boat.row,boat.row
|
| 110 |
+
boat.motor,boat.motor
|
| 111 |
+
boat.speed,boat.speed
|
| 112 |
+
boat.canoe,boat.canoe
|
| 113 |
+
bolt,bolt
|
| 114 |
+
bomb,bomb
|
| 115 |
+
bone,bone
|
| 116 |
+
book.red,book.red
|
| 117 |
+
book.blue,book.blue
|
| 118 |
+
book.green,book.green
|
| 119 |
+
book.orange,book.orange
|
| 120 |
+
book.spiral,book.spiral
|
| 121 |
+
book.open,book.open
|
| 122 |
+
bookmark,bookmark
|
| 123 |
+
books,books
|
| 124 |
+
boomerang,boomerang
|
| 125 |
+
bordercontrol,bordercontrol
|
| 126 |
+
bouquet,bouquet
|
| 127 |
+
bow,bow
|
| 128 |
+
bowl.spoon,bowl.spoon
|
| 129 |
+
bowl.steam,bowl.steam
|
| 130 |
+
bowling,bowling
|
| 131 |
+
boxing,boxing
|
| 132 |
+
boy,boy
|
| 133 |
+
brain,brain
|
| 134 |
+
bread,bread
|
| 135 |
+
brick,brick
|
| 136 |
+
bride,bride
|
| 137 |
+
bridge.fog,bridge.fog
|
| 138 |
+
bridge.night,bridge.night
|
| 139 |
+
briefcase,briefcase
|
| 140 |
+
briefs,briefs
|
| 141 |
+
brightness.high,brightness.high
|
| 142 |
+
brightness.low,brightness.low
|
| 143 |
+
broccoli,broccoli
|
| 144 |
+
broom,broom
|
| 145 |
+
brush,brush
|
| 146 |
+
bubble.speech.r,bubble.speech.r
|
| 147 |
+
bubble.speech.l,bubble.speech.l
|
| 148 |
+
bubble.thought,bubble.thought
|
| 149 |
+
bubble.anger.r,bubble.anger.r
|
| 150 |
+
bubbles,bubbles
|
| 151 |
+
bubbletea,bubbletea
|
| 152 |
+
bucket,bucket
|
| 153 |
+
buffalo.water,buffalo.water
|
| 154 |
+
bug,bug
|
| 155 |
+
builder,builder
|
| 156 |
+
burger,burger
|
| 157 |
+
burrito,burrito
|
| 158 |
+
bus,bus
|
| 159 |
+
bus.front,bus.front
|
| 160 |
+
bus.small,bus.small
|
| 161 |
+
bus.stop,bus.stop
|
| 162 |
+
bus.trolley,bus.trolley
|
| 163 |
+
butter,butter
|
| 164 |
+
butterfly,butterfly
|
| 165 |
+
button,button
|
| 166 |
+
button.alt,button.alt
|
| 167 |
+
button.radio,button.radio
|
| 168 |
+
cabinet.file,cabinet.file
|
| 169 |
+
cablecar,cablecar
|
| 170 |
+
cablecar.small,cablecar.small
|
| 171 |
+
cactus,cactus
|
| 172 |
+
cake,cake
|
| 173 |
+
cake.fish,cake.fish
|
| 174 |
+
cake.moon,cake.moon
|
| 175 |
+
cake.slice,cake.slice
|
| 176 |
+
calendar,calendar
|
| 177 |
+
calendar.spiral,calendar.spiral
|
| 178 |
+
calendar.tearoff,calendar.tearoff
|
| 179 |
+
camel,camel
|
| 180 |
+
camel.dromedar,camel.dromedar
|
| 181 |
+
camera,camera
|
| 182 |
+
camera.flash,camera.flash
|
| 183 |
+
camera.movie,camera.movie
|
| 184 |
+
camera.movie.box,camera.movie.box
|
| 185 |
+
camera.video,camera.video
|
| 186 |
+
camping,camping
|
| 187 |
+
can,can
|
| 188 |
+
candle,candle
|
| 189 |
+
candy,candy
|
| 190 |
+
cane,cane
|
| 191 |
+
car,car
|
| 192 |
+
car.front,car.front
|
| 193 |
+
car.pickup,car.pickup
|
| 194 |
+
car.police,car.police
|
| 195 |
+
car.police.front,car.police.front
|
| 196 |
+
car.racing,car.racing
|
| 197 |
+
car.rickshaw,car.rickshaw
|
| 198 |
+
car.suv,car.suv
|
| 199 |
+
card.credit,card.credit
|
| 200 |
+
card.id,card.id
|
| 201 |
+
cardindex,cardindex
|
| 202 |
+
carrot,carrot
|
| 203 |
+
cart,cart
|
| 204 |
+
cassette,cassette
|
| 205 |
+
castle.jp,castle.jp
|
| 206 |
+
cat,cat
|
| 207 |
+
cat.face,cat.face
|
| 208 |
+
cat.face.angry,cat.face.angry
|
| 209 |
+
cat.face.cry,cat.face.cry
|
| 210 |
+
cat.face.heart,cat.face.heart
|
| 211 |
+
cat.face.joy,cat.face.joy
|
| 212 |
+
cat.face.kiss,cat.face.kiss
|
| 213 |
+
cat.face.laugh,cat.face.laugh
|
| 214 |
+
cat.face.shock,cat.face.shock
|
| 215 |
+
cat.face.smile,cat.face.smile
|
| 216 |
+
cat.face.smirk,cat.face.smirk
|
| 217 |
+
chain,chain
|
| 218 |
+
chains,chains
|
| 219 |
+
chair,chair
|
| 220 |
+
champagne,champagne
|
| 221 |
+
chart.bar,chart.bar
|
| 222 |
+
chart.up,chart.up
|
| 223 |
+
chart.down,chart.down
|
| 224 |
+
chart.yen.up,chart.yen.up
|
| 225 |
+
checkmark.heavy,checkmark.heavy
|
| 226 |
+
checkmark.box,checkmark.box
|
| 227 |
+
cheese,cheese
|
| 228 |
+
cherries,cherries
|
| 229 |
+
chess,chess
|
| 230 |
+
chestnut,chestnut
|
| 231 |
+
chicken,chicken
|
| 232 |
+
chicken.baby,chicken.baby
|
| 233 |
+
chicken.baby.egg,chicken.baby.egg
|
| 234 |
+
chicken.baby.head,chicken.baby.head
|
| 235 |
+
chicken.leg,chicken.leg
|
| 236 |
+
chicken.male,chicken.male
|
| 237 |
+
child,child
|
| 238 |
+
chipmunk,chipmunk
|
| 239 |
+
chocolate,chocolate
|
| 240 |
+
chopsticks,chopsticks
|
| 241 |
+
church,church
|
| 242 |
+
church.love,church.love
|
| 243 |
+
cigarette,cigarette
|
| 244 |
+
,
|
| 245 |
+
cigarette.not,cigarette.not
|
| 246 |
+
circle.black,circle.black
|
| 247 |
+
circle.blue,circle.blue
|
| 248 |
+
circle.brown,circle.brown
|
| 249 |
+
circle.green,circle.green
|
| 250 |
+
circle.orange,circle.orange
|
| 251 |
+
circle.purple,circle.purple
|
| 252 |
+
circle.white,circle.white
|
| 253 |
+
circle.red,circle.red
|
| 254 |
+
circle.yellow,circle.yellow
|
| 255 |
+
circle.stroked,circle.stroked
|
| 256 |
+
circus,circus
|
| 257 |
+
city,city
|
| 258 |
+
city.dusk,city.dusk
|
| 259 |
+
city.night,city.night
|
| 260 |
+
city.sunset,city.sunset
|
| 261 |
+
cl,cl
|
| 262 |
+
clamp,clamp
|
| 263 |
+
clapperboard,clapperboard
|
| 264 |
+
climbing,climbing
|
| 265 |
+
clip,clip
|
| 266 |
+
clipboard,clipboard
|
| 267 |
+
clips,clips
|
| 268 |
+
clock.one,clock.one
|
| 269 |
+
clock.one.thirty,clock.one.thirty
|
| 270 |
+
clock.two,clock.two
|
| 271 |
+
clock.two.thirty,clock.two.thirty
|
| 272 |
+
clock.three,clock.three
|
| 273 |
+
clock.three.thirty,clock.three.thirty
|
| 274 |
+
clock.four,clock.four
|
| 275 |
+
clock.four.thirty,clock.four.thirty
|
| 276 |
+
clock.five,clock.five
|
| 277 |
+
clock.five.thirty,clock.five.thirty
|
| 278 |
+
clock.six,clock.six
|
| 279 |
+
clock.six.thirty,clock.six.thirty
|
| 280 |
+
clock.seven,clock.seven
|
| 281 |
+
clock.seven.thirty,clock.seven.thirty
|
| 282 |
+
clock.eight,clock.eight
|
| 283 |
+
clock.eight.thirty,clock.eight.thirty
|
| 284 |
+
clock.nine,clock.nine
|
| 285 |
+
clock.nine.thirty,clock.nine.thirty
|
| 286 |
+
clock.ten,clock.ten
|
| 287 |
+
clock.ten.thirty,clock.ten.thirty
|
| 288 |
+
clock.eleven,clock.eleven
|
| 289 |
+
clock.eleven.thirty,clock.eleven.thirty
|
| 290 |
+
clock.twelve,clock.twelve
|
| 291 |
+
clock.twelve.thirty,clock.twelve.thirty
|
| 292 |
+
clock.alarm,clock.alarm
|
| 293 |
+
clock.old,clock.old
|
| 294 |
+
clock.timer,clock.timer
|
| 295 |
+
cloud,cloud
|
| 296 |
+
cloud.dust,cloud.dust
|
| 297 |
+
cloud.rain,cloud.rain
|
| 298 |
+
cloud.snow,cloud.snow
|
| 299 |
+
cloud.storm,cloud.storm
|
| 300 |
+
cloud.sun,cloud.sun
|
| 301 |
+
cloud.sun.hidden,cloud.sun.hidden
|
| 302 |
+
cloud.sun.rain,cloud.sun.rain
|
| 303 |
+
cloud.thunder,cloud.thunder
|
| 304 |
+
coat,coat
|
| 305 |
+
coat.lab,coat.lab
|
| 306 |
+
cockroach,cockroach
|
| 307 |
+
cocktail.martini,cocktail.martini
|
| 308 |
+
cocktail.tropical,cocktail.tropical
|
| 309 |
+
coconut,coconut
|
| 310 |
+
coffee,coffee
|
| 311 |
+
coffin,coffin
|
| 312 |
+
coin,coin
|
| 313 |
+
comet,comet
|
| 314 |
+
compass,compass
|
| 315 |
+
computer,computer
|
| 316 |
+
computermouse,computermouse
|
| 317 |
+
confetti,confetti
|
| 318 |
+
construction,construction
|
| 319 |
+
controller,controller
|
| 320 |
+
cookie,cookie
|
| 321 |
+
cookie.fortune,cookie.fortune
|
| 322 |
+
cooking,cooking
|
| 323 |
+
cool,cool
|
| 324 |
+
copyright,copyright
|
| 325 |
+
coral,coral
|
| 326 |
+
corn,corn
|
| 327 |
+
couch,couch
|
| 328 |
+
couple,couple
|
| 329 |
+
cow,cow
|
| 330 |
+
cow.face,cow.face
|
| 331 |
+
crab,crab
|
| 332 |
+
crane,crane
|
| 333 |
+
crayon,crayon
|
| 334 |
+
cricket,cricket
|
| 335 |
+
cricketbat,cricketbat
|
| 336 |
+
crocodile,crocodile
|
| 337 |
+
croissant,croissant
|
| 338 |
+
crossmark,crossmark
|
| 339 |
+
crossmark.box,crossmark.box
|
| 340 |
+
crown,crown
|
| 341 |
+
crutch,crutch
|
| 342 |
+
crystal,crystal
|
| 343 |
+
cucumber,cucumber
|
| 344 |
+
cup.straw,cup.straw
|
| 345 |
+
cupcake,cupcake
|
| 346 |
+
curling,curling
|
| 347 |
+
curry,curry
|
| 348 |
+
custard,custard
|
| 349 |
+
customs,customs
|
| 350 |
+
cutlery,cutlery
|
| 351 |
+
cyclone,cyclone
|
| 352 |
+
dancing.ballet,dancing.ballet
|
| 353 |
+
dancing.man,dancing.man
|
| 354 |
+
dancing.woman,dancing.woman
|
| 355 |
+
dancing.bunny,dancing.bunny
|
| 356 |
+
dancing.bunny.men,dancing.bunny.men
|
| 357 |
+
diamond.blue.small,diamond.blue.small
|
| 358 |
+
diamond.orange,diamond.orange
|
| 359 |
+
diamond.orange.small,diamond.orange.small
|
| 360 |
+
diamond.dot,diamond.dot
|
| 361 |
+
die,die
|
| 362 |
+
dino.pod,dino.pod
|
| 363 |
+
dino.rex,dino.rex
|
| 364 |
+
disc.cd,disc.cd
|
| 365 |
+
disc.dvd,disc.dvd
|
| 366 |
+
disc.mini,disc.mini
|
| 367 |
+
discoball,discoball
|
| 368 |
+
diving,diving
|
| 369 |
+
dodo,dodo
|
| 370 |
+
dog,dog
|
| 371 |
+
dog.face,dog.face
|
| 372 |
+
dog.guide,dog.guide
|
| 373 |
+
dog.poodle,dog.poodle
|
| 374 |
+
dollar,dollar
|
| 375 |
+
dolphin,dolphin
|
| 376 |
+
donkey,donkey
|
| 377 |
+
donut,donut
|
| 378 |
+
door,door
|
| 379 |
+
dove.peace,dove.peace
|
| 380 |
+
dragon,dragon
|
| 381 |
+
dress,dress
|
| 382 |
+
dress.kimono,dress.kimono
|
| 383 |
+
dress.sari,dress.sari
|
| 384 |
+
drop,drop
|
| 385 |
+
drops,drops
|
| 386 |
+
drum,drum
|
| 387 |
+
drum.big,drum.big
|
| 388 |
+
duck,duck
|
| 389 |
+
dumpling,dumpling
|
| 390 |
+
eagle,eagle
|
| 391 |
+
ear,ear
|
| 392 |
+
ear.aid,ear.aid
|
| 393 |
+
egg,egg
|
| 394 |
+
eighteen.not,eighteen.not
|
| 395 |
+
elephant,elephant
|
| 396 |
+
elevator,elevator
|
| 397 |
+
elf,elf
|
| 398 |
+
email,email
|
| 399 |
+
excl,excl
|
| 400 |
+
excl.white,excl.white
|
| 401 |
+
excl.double,excl.double
|
| 402 |
+
excl.quest,excl.quest
|
| 403 |
+
explosion,explosion
|
| 404 |
+
extinguisher,extinguisher
|
| 405 |
+
eye,eye
|
| 406 |
+
eyes,eyes
|
| 407 |
+
face.grin,face.grin
|
| 408 |
+
face.angry,face.angry
|
| 409 |
+
face.angry.red,face.angry.red
|
| 410 |
+
face.anguish,face.anguish
|
| 411 |
+
face.astonish,face.astonish
|
| 412 |
+
face.bandage,face.bandage
|
| 413 |
+
face.beam,face.beam
|
| 414 |
+
face.blank,face.blank
|
| 415 |
+
face.clown,face.clown
|
| 416 |
+
face.cold,face.cold
|
| 417 |
+
face.concern,face.concern
|
| 418 |
+
face.cool,face.cool
|
| 419 |
+
face.cover,face.cover
|
| 420 |
+
face.cowboy,face.cowboy
|
| 421 |
+
face.cry,face.cry
|
| 422 |
+
face.devil.smile,face.devil.smile
|
| 423 |
+
face.devil.frown,face.devil.frown
|
| 424 |
+
face.diagonal,face.diagonal
|
| 425 |
+
face.disguise,face.disguise
|
| 426 |
+
face.distorted,face.distorted
|
| 427 |
+
face.distress,face.distress
|
| 428 |
+
face.dizzy,face.dizzy
|
| 429 |
+
face.dotted,face.dotted
|
| 430 |
+
face.down,face.down
|
| 431 |
+
face.down.sweat,face.down.sweat
|
| 432 |
+
face.drool,face.drool
|
| 433 |
+
face.explode,face.explode
|
| 434 |
+
face.eyeroll,face.eyeroll
|
| 435 |
+
face.friendly,face.friendly
|
| 436 |
+
face.frust,face.frust
|
| 437 |
+
face.goofy,face.goofy
|
| 438 |
+
face.halo,face.halo
|
| 439 |
+
face.happy,face.happy
|
| 440 |
+
face.heart,face.heart
|
| 441 |
+
face.hearts,face.hearts
|
| 442 |
+
face.heat,face.heat
|
| 443 |
+
face.hug,face.hug
|
| 444 |
+
face.inv,face.inv
|
| 445 |
+
face.joy,face.joy
|
| 446 |
+
face.kiss,face.kiss
|
| 447 |
+
face.kiss.smile,face.kiss.smile
|
| 448 |
+
face.kiss.heart,face.kiss.heart
|
| 449 |
+
face.kiss.blush,face.kiss.blush
|
| 450 |
+
face.lick,face.lick
|
| 451 |
+
face.lie,face.lie
|
| 452 |
+
face.mask,face.mask
|
| 453 |
+
face.meh,face.meh
|
| 454 |
+
face.melt,face.melt
|
| 455 |
+
face.money,face.money
|
| 456 |
+
face.monocle,face.monocle
|
| 457 |
+
face.nausea,face.nausea
|
| 458 |
+
face.nerd,face.nerd
|
| 459 |
+
face.neutral,face.neutral
|
| 460 |
+
face.open,face.open
|
| 461 |
+
face.party,face.party
|
| 462 |
+
face.peek,face.peek
|
| 463 |
+
face.plead,face.plead
|
| 464 |
+
face.relief,face.relief
|
| 465 |
+
face.rofl,face.rofl
|
| 466 |
+
face.sad,face.sad
|
| 467 |
+
face.salute,face.salute
|
| 468 |
+
face.shaking,face.shaking
|
| 469 |
+
face.shock,face.shock
|
| 470 |
+
face.shush,face.shush
|
| 471 |
+
face.skeptic,face.skeptic
|
| 472 |
+
face.sleep,face.sleep
|
| 473 |
+
face.sleepy,face.sleepy
|
| 474 |
+
face.smile,face.smile
|
| 475 |
+
face.smile.slight,face.smile.slight
|
| 476 |
+
face.smile.sweat,face.smile.sweat
|
| 477 |
+
face.smile.tear,face.smile.tear
|
| 478 |
+
face.smirk,face.smirk
|
| 479 |
+
face.sneeze,face.sneeze
|
| 480 |
+
face.speak.not,face.speak.not
|
| 481 |
+
face.squint,face.squint
|
| 482 |
+
face.stars,face.stars
|
| 483 |
+
face.straight,face.straight
|
| 484 |
+
face.suffer,face.suffer
|
| 485 |
+
face.surprise,face.surprise
|
| 486 |
+
face.symbols,face.symbols
|
| 487 |
+
face.tear,face.tear
|
| 488 |
+
face.tear.relief,face.tear.relief
|
| 489 |
+
face.tear.withheld,face.tear.withheld
|
| 490 |
+
face.teeth,face.teeth
|
| 491 |
+
face.think,face.think
|
| 492 |
+
face.tired,face.tired
|
| 493 |
+
face.tongue,face.tongue
|
| 494 |
+
face.tongue.squint,face.tongue.squint
|
| 495 |
+
face.tongue.wink,face.tongue.wink
|
| 496 |
+
face.triumph,face.triumph
|
| 497 |
+
face.unhappy,face.unhappy
|
| 498 |
+
face.vomit,face.vomit
|
| 499 |
+
face.weary,face.weary
|
| 500 |
+
face.wink,face.wink
|
| 501 |
+
face.woozy,face.woozy
|
| 502 |
+
face.worry,face.worry
|
| 503 |
+
face.wow,face.wow
|
| 504 |
+
face.yawn,face.yawn
|
| 505 |
+
face.zip,face.zip
|
| 506 |
+
factory,factory
|
| 507 |
+
fairy,fairy
|
| 508 |
+
faith.christ,faith.christ
|
| 509 |
+
faith.dharma,faith.dharma
|
| 510 |
+
faith.khanda,faith.khanda
|
| 511 |
+
faith.islam,faith.islam
|
| 512 |
+
faith.judaism,faith.judaism
|
| 513 |
+
faith.menorah,faith.menorah
|
| 514 |
+
faith.om,faith.om
|
| 515 |
+
faith.peace,faith.peace
|
| 516 |
+
faith.star.dot,faith.star.dot
|
| 517 |
+
faith.worship,faith.worship
|
| 518 |
+
faith.yinyang,faith.yinyang
|
| 519 |
+
falafel,falafel
|
| 520 |
+
family,family
|
| 521 |
+
fax,fax
|
| 522 |
+
feather,feather
|
| 523 |
+
feeding.breast,feeding.breast
|
| 524 |
+
fencing,fencing
|
| 525 |
+
ferriswheel,ferriswheel
|
| 526 |
+
fightcloud,fightcloud
|
| 527 |
+
filebox,filebox
|
| 528 |
+
filedividers,filedividers
|
| 529 |
+
film,film
|
| 530 |
+
finger.r,finger.r
|
| 531 |
+
finger.l,finger.l
|
| 532 |
+
finger.t,finger.t
|
| 533 |
+
finger.t.alt,finger.t.alt
|
| 534 |
+
finger.b,finger.b
|
| 535 |
+
finger.front,finger.front
|
| 536 |
+
finger.m ,finger.m
|
| 537 |
+
fingerprint,fingerprint
|
| 538 |
+
fingers.cross,fingers.cross
|
| 539 |
+
fingers.pinch,fingers.pinch
|
| 540 |
+
fingers.snap,fingers.snap
|
| 541 |
+
fire,fire
|
| 542 |
+
firecracker,firecracker
|
| 543 |
+
fireengine,fireengine
|
| 544 |
+
fireworks,fireworks
|
| 545 |
+
fish,fish
|
| 546 |
+
fish.tropical,fish.tropical
|
| 547 |
+
fishing,fishing
|
| 548 |
+
fist.front,fist.front
|
| 549 |
+
fist.r,fist.r
|
| 550 |
+
fist.l,fist.l
|
| 551 |
+
fist.raised,fist.raised
|
| 552 |
+
flag.black,flag.black
|
| 553 |
+
flag.goal,flag.goal
|
| 554 |
+
flag.golf,flag.golf
|
| 555 |
+
flags.jp.crossed,flags.jp.crossed
|
| 556 |
+
flamingo,flamingo
|
| 557 |
+
flashlight,flashlight
|
| 558 |
+
flatbread,flatbread
|
| 559 |
+
fleur,fleur
|
| 560 |
+
floppy,floppy
|
| 561 |
+
flower.hibiscus,flower.hibiscus
|
| 562 |
+
flower.hyacinth,flower.hyacinth
|
| 563 |
+
flower.yellow,flower.yellow
|
| 564 |
+
flute,flute
|
| 565 |
+
fly,fly
|
| 566 |
+
fog,fog
|
| 567 |
+
folder,folder
|
| 568 |
+
folder.open,folder.open
|
| 569 |
+
fondue,fondue
|
| 570 |
+
foot,foot
|
| 571 |
+
football,football
|
| 572 |
+
football.am,football.am
|
| 573 |
+
forex,forex
|
| 574 |
+
fountain,fountain
|
| 575 |
+
fox,fox
|
| 576 |
+
free,free
|
| 577 |
+
fries,fries
|
| 578 |
+
frisbee,frisbee
|
| 579 |
+
frog.face,frog.face
|
| 580 |
+
fuelpump,fuelpump
|
| 581 |
+
gachi,gachi
|
| 582 |
+
garlic,garlic
|
| 583 |
+
gear,gear
|
| 584 |
+
gem,gem
|
| 585 |
+
genie,genie
|
| 586 |
+
ghost,ghost
|
| 587 |
+
ginger,ginger
|
| 588 |
+
giraffe,giraffe
|
| 589 |
+
girl,girl
|
| 590 |
+
glass.clink,glass.clink
|
| 591 |
+
glass.milk,glass.milk
|
| 592 |
+
glass.pour,glass.pour
|
| 593 |
+
glass.tumbler,glass.tumbler
|
| 594 |
+
glasses,glasses
|
| 595 |
+
gla.sun,gla.sun
|
| 596 |
+
globe.am,globe.am
|
| 597 |
+
globe.as.au,globe.as.au
|
| 598 |
+
globe.eu.af,globe.eu.af
|
| 599 |
+
globe.meridian,globe.meridian
|
| 600 |
+
gloves,gloves
|
| 601 |
+
go,go
|
| 602 |
+
goal,goal
|
| 603 |
+
goat,goat
|
| 604 |
+
goggles,goggles
|
| 605 |
+
golfing,golfing
|
| 606 |
+
goose,goose
|
| 607 |
+
gorilla,gorilla
|
| 608 |
+
grapes,grapes
|
| 609 |
+
guard.man,guard.man
|
| 610 |
+
guitar,guitar
|
| 611 |
+
gymnastics,gymnastics
|
| 612 |
+
haircut,haircut
|
| 613 |
+
hairpick,hairpick
|
| 614 |
+
hammer,hammer
|
| 615 |
+
hammer.pick,hammer.pick
|
| 616 |
+
hammer.wrench,hammer.wrench
|
| 617 |
+
hamsa,hamsa
|
| 618 |
+
hamster.face,hamster.face
|
| 619 |
+
hand.raised,hand.raised
|
| 620 |
+
hand.raised.alt,hand.raised.alt
|
| 621 |
+
hand.r,hand.r
|
| 622 |
+
hand.l,hand.l
|
| 623 |
+
hand.t,hand.t
|
| 624 |
+
hand.b,hand.b
|
| 625 |
+
hand.ok,hand.ok
|
| 626 |
+
hand.call,hand.call
|
| 627 |
+
hand.love,hand.love
|
| 628 |
+
hand.part,hand.part
|
| 629 |
+
hand.peace,hand.peace
|
| 630 |
+
hand.pinch,hand.pinch
|
| 631 |
+
hand.pushing.l,hand.pushing.l
|
| 632 |
+
hand.pushing.r,hand.pushing.r
|
| 633 |
+
hand.rock,hand.rock
|
| 634 |
+
hand.splay,hand.splay
|
| 635 |
+
hand.wave,hand.wave
|
| 636 |
+
hand.write,hand.write
|
| 637 |
+
handbag,handbag
|
| 638 |
+
handball,handball
|
| 639 |
+
handfan,handfan
|
| 640 |
+
handholding,handholding
|
| 641 |
+
handholding.man.man,handholding.man.man
|
| 642 |
+
handholding.woman.man,handholding.woman.man
|
| 643 |
+
handholding.woman.woman,handholding.woman.woman
|
| 644 |
+
hands.folded,hands.folded
|
| 645 |
+
hands.palms,hands.palms
|
| 646 |
+
hands.clap,hands.clap
|
| 647 |
+
hands.heart,hands.heart
|
| 648 |
+
hands.open,hands.open
|
| 649 |
+
hands.raised,hands.raised
|
| 650 |
+
hands.shake,hands.shake
|
| 651 |
+
harp,harp
|
| 652 |
+
hash,hash
|
| 653 |
+
hat.ribbon,hat.ribbon
|
| 654 |
+
hat.top,hat.top
|
| 655 |
+
headphone,headphone
|
| 656 |
+
heart,heart
|
| 657 |
+
heart.arrow,heart.arrow
|
| 658 |
+
heart.beat,heart.beat
|
| 659 |
+
heart.black,heart.black
|
| 660 |
+
heart.blue,heart.blue
|
| 661 |
+
heart.box,heart.box
|
| 662 |
+
heart.broken,heart.broken
|
| 663 |
+
heart.brown,heart.brown
|
| 664 |
+
heart.double,heart.double
|
| 665 |
+
heart.excl,heart.excl
|
| 666 |
+
heart.gray,heart.gray
|
| 667 |
+
heart.green,heart.green
|
| 668 |
+
heart.grow,heart.grow
|
| 669 |
+
heart.lightblue,heart.lightblue
|
| 670 |
+
heart.orange,heart.orange
|
| 671 |
+
heart.pink,heart.pink
|
| 672 |
+
heart.purple,heart.purple
|
| 673 |
+
heart.real,heart.real
|
| 674 |
+
heart.revolve,heart.revolve
|
| 675 |
+
heart.ribbon,heart.ribbon
|
| 676 |
+
heart.spark,heart.spark
|
| 677 |
+
heart.white,heart.white
|
| 678 |
+
heart.yellow,heart.yellow
|
| 679 |
+
hedgehog,hedgehog
|
| 680 |
+
helicopter,helicopter
|
| 681 |
+
helix,helix
|
| 682 |
+
helmet.cross,helmet.cross
|
| 683 |
+
helmet.military,helmet.military
|
| 684 |
+
hi,hi
|
| 685 |
+
hippo,hippo
|
| 686 |
+
hockey,hockey
|
| 687 |
+
hole,hole
|
| 688 |
+
honey,honey
|
| 689 |
+
hongbao,hongbao
|
| 690 |
+
hook,hook
|
| 691 |
+
horn.postal,horn.postal
|
| 692 |
+
horse,horse
|
| 693 |
+
horse.carousel,horse.carousel
|
| 694 |
+
horse.face,horse.face
|
| 695 |
+
horse.race,horse.race
|
| 696 |
+
hospital,hospital
|
| 697 |
+
hotdog,hotdog
|
| 698 |
+
hotel,hotel
|
| 699 |
+
hotel.love,hotel.love
|
| 700 |
+
hotspring,hotspring
|
| 701 |
+
hourglass,hourglass
|
| 702 |
+
hourglass.flow,hourglass.flow
|
| 703 |
+
house,house
|
| 704 |
+
house.derelict,house.derelict
|
| 705 |
+
house.garden,house.garden
|
| 706 |
+
house.multiple,house.multiple
|
| 707 |
+
hundred,hundred
|
| 708 |
+
hut,hut
|
| 709 |
+
ice,ice
|
| 710 |
+
icecream,icecream
|
| 711 |
+
icecream.shaved,icecream.shaved
|
| 712 |
+
icecream.soft,icecream.soft
|
| 713 |
+
icehockey,icehockey
|
| 714 |
+
id,id
|
| 715 |
+
info,info
|
| 716 |
+
izakaya,izakaya
|
| 717 |
+
jar,jar
|
| 718 |
+
jeans,jeans
|
| 719 |
+
jellyfish,jellyfish
|
| 720 |
+
jigsaw,jigsaw
|
| 721 |
+
joystick,joystick
|
| 722 |
+
juggling,juggling
|
| 723 |
+
juice,juice
|
| 724 |
+
ka,ka
|
| 725 |
+
kaaba,kaaba
|
| 726 |
+
kachi,kachi
|
| 727 |
+
kadomatsu,kadomatsu
|
| 728 |
+
kangaroo,kangaroo
|
| 729 |
+
kara,kara
|
| 730 |
+
kebab,kebab
|
| 731 |
+
key,key
|
| 732 |
+
key.old,key.old
|
| 733 |
+
keyboard,keyboard
|
| 734 |
+
kiss,kiss
|
| 735 |
+
kissmark,kissmark
|
| 736 |
+
kite,kite
|
| 737 |
+
kiwi,kiwi
|
| 738 |
+
knife,knife
|
| 739 |
+
knife.dagger,knife.dagger
|
| 740 |
+
knot,knot
|
| 741 |
+
koala,koala
|
| 742 |
+
koinobori,koinobori
|
| 743 |
+
koko,koko
|
| 744 |
+
kon,kon
|
| 745 |
+
label,label
|
| 746 |
+
lacrosse,lacrosse
|
| 747 |
+
ladder,ladder
|
| 748 |
+
lamp.diya,lamp.diya
|
| 749 |
+
landslide,landslide
|
| 750 |
+
laptop,laptop
|
| 751 |
+
leaf.colver.three,leaf.colver.three
|
| 752 |
+
leaf.clover.four,leaf.clover.four
|
| 753 |
+
leaf.fall,leaf.fall
|
| 754 |
+
leaf.herb,leaf.herb
|
| 755 |
+
leaf.maple,leaf.maple
|
| 756 |
+
leaf.wind,leaf.wind
|
| 757 |
+
leftluggage,leftluggage
|
| 758 |
+
leg,leg
|
| 759 |
+
leg.mech,leg.mech
|
| 760 |
+
lemon,lemon
|
| 761 |
+
leopard,leopard
|
| 762 |
+
letter.love,letter.love
|
| 763 |
+
liberty,liberty
|
| 764 |
+
lightbulb,lightbulb
|
| 765 |
+
lightning,lightning
|
| 766 |
+
lion,lion
|
| 767 |
+
lipstick,lipstick
|
| 768 |
+
litter,litter
|
| 769 |
+
litter.not,litter.not
|
| 770 |
+
lizard,lizard
|
| 771 |
+
llama,llama
|
| 772 |
+
lobster,lobster
|
| 773 |
+
lock,lock
|
| 774 |
+
lock.key,lock.key
|
| 775 |
+
lock.open,lock.open
|
| 776 |
+
lock.pen,lock.pen
|
| 777 |
+
lollipop,lollipop
|
| 778 |
+
lotion,lotion
|
| 779 |
+
luggage,luggage
|
| 780 |
+
lungs,lungs
|
| 781 |
+
mage,mage
|
| 782 |
+
magnet,magnet
|
| 783 |
+
magnify.r,magnify.r
|
| 784 |
+
magnify.l,magnify.l
|
| 785 |
+
mahjong.dragon.red,mahjong.dragon.red
|
| 786 |
+
mail,mail
|
| 787 |
+
mail.arrow,mail.arrow
|
| 788 |
+
mailbox.closed.empty,mailbox.closed.empty
|
| 789 |
+
mailbox.closed.full,mailbox.closed.full
|
| 790 |
+
mailbox.open.empty,mailbox.open.empty
|
| 791 |
+
mailbox.open.full,mailbox.open.full
|
| 792 |
+
mammoth,mammoth
|
| 793 |
+
man,man
|
| 794 |
+
man.box,man.box
|
| 795 |
+
man.crown,man.crown
|
| 796 |
+
man.guapimao,man.guapimao
|
| 797 |
+
man.levitate,man.levitate
|
| 798 |
+
man.old,man.old
|
| 799 |
+
man.pregnant,man.pregnant
|
| 800 |
+
man.turban,man.turban
|
| 801 |
+
man.tuxedo,man.tuxedo
|
| 802 |
+
mango,mango
|
| 803 |
+
map.world,map.world
|
| 804 |
+
map.jp,map.jp
|
| 805 |
+
maracas,maracas
|
| 806 |
+
martialarts,martialarts
|
| 807 |
+
masks,masks
|
| 808 |
+
mate,mate
|
| 809 |
+
matryoshka,matryoshka
|
| 810 |
+
meat,meat
|
| 811 |
+
meat.bone,meat.bone
|
| 812 |
+
medal.first,medal.first
|
| 813 |
+
medal.second,medal.second
|
| 814 |
+
medal.third,medal.third
|
| 815 |
+
medal.sports,medal.sports
|
| 816 |
+
medal.military,medal.military
|
| 817 |
+
megaphone,megaphone
|
| 818 |
+
megaphone.simple,megaphone.simple
|
| 819 |
+
melon,melon
|
| 820 |
+
merperson,merperson
|
| 821 |
+
metro,metro
|
| 822 |
+
microbe,microbe
|
| 823 |
+
microphone,microphone
|
| 824 |
+
microphone.stuio,microphone.stuio
|
| 825 |
+
microscope,microscope
|
| 826 |
+
milkymay,milkymay
|
| 827 |
+
mirror,mirror
|
| 828 |
+
mixer,mixer
|
| 829 |
+
money.bag,money.bag
|
| 830 |
+
money.dollar,money.dollar
|
| 831 |
+
money.euro,money.euro
|
| 832 |
+
money.pound,money.pound
|
| 833 |
+
money.yen,money.yen
|
| 834 |
+
money.wings,money.wings
|
| 835 |
+
monkey,monkey
|
| 836 |
+
monkey.face,monkey.face
|
| 837 |
+
money.hear.not,money.hear.not
|
| 838 |
+
monkey.see.not,monkey.see.not
|
| 839 |
+
monkey.speak.not,monkey.speak.not
|
| 840 |
+
moon.crescent,moon.crescent
|
| 841 |
+
moon.full,moon.full
|
| 842 |
+
moon.full.face,moon.full.face
|
| 843 |
+
moon.new,moon.new
|
| 844 |
+
moon.new.face,moon.new.face
|
| 845 |
+
moon.wane.one,moon.wane.one
|
| 846 |
+
moon.wane.two,moon.wane.two
|
| 847 |
+
moon.wane.three,moon.wane.three
|
| 848 |
+
moon.wax.one,moon.wax.one
|
| 849 |
+
moon.wax.two,moon.wax.two
|
| 850 |
+
moon.wax.face,moon.wax.face
|
| 851 |
+
moon.wax.three,moon.wax.three
|
| 852 |
+
moose,moose
|
| 853 |
+
mortarboard,mortarboard
|
| 854 |
+
mosque,mosque
|
| 855 |
+
mosquite,mosquite
|
| 856 |
+
motorcycle,motorcycle
|
| 857 |
+
motorway,motorway
|
| 858 |
+
mountain,mountain
|
| 859 |
+
mountain.fuji,mountain.fuji
|
| 860 |
+
mountain.snow,mountain.snow
|
| 861 |
+
mountain.sunrise,mountain.sunrise
|
| 862 |
+
mouse,mouse
|
| 863 |
+
mouse.face,mouse.face
|
| 864 |
+
mousetrap,mousetrap
|
| 865 |
+
mouth,mouth
|
| 866 |
+
mouth.bite,mouth.bite
|
| 867 |
+
moyai,moyai
|
| 868 |
+
muryo,muryo
|
| 869 |
+
museum,museum
|
| 870 |
+
mushroom,mushroom
|
| 871 |
+
musicalscore,musicalscore
|
| 872 |
+
nails.polish,nails.polish
|
| 873 |
+
namebadge,namebadge
|
| 874 |
+
nazar,nazar
|
| 875 |
+
necktie,necktie
|
| 876 |
+
needle,needle
|
| 877 |
+
nest.empty,nest.empty
|
| 878 |
+
nest.eggs,nest.eggs
|
| 879 |
+
new,new
|
| 880 |
+
newspaper,newspaper
|
| 881 |
+
newspaper.rolled,newspaper.rolled
|
| 882 |
+
ng,ng
|
| 883 |
+
ningyo,ningyo
|
| 884 |
+
ninja,ninja
|
| 885 |
+
noentry,noentry
|
| 886 |
+
nose,nose
|
| 887 |
+
notebook,notebook
|
| 888 |
+
notebook.deco,notebook.deco
|
| 889 |
+
notepad,notepad
|
| 890 |
+
notes,notes
|
| 891 |
+
notes.triple,notes.triple
|
| 892 |
+
numbers,numbers
|
| 893 |
+
o,o
|
| 894 |
+
octopus,octopus
|
| 895 |
+
office,office
|
| 896 |
+
oil,oil
|
| 897 |
+
ok,ok
|
| 898 |
+
olive,olive
|
| 899 |
+
oni,oni
|
| 900 |
+
onion,onion
|
| 901 |
+
orca,orca
|
| 902 |
+
otter,otter
|
| 903 |
+
owl,owl
|
| 904 |
+
ox,ox
|
| 905 |
+
oyster,oyster
|
| 906 |
+
package,package
|
| 907 |
+
paella,paella
|
| 908 |
+
page,page
|
| 909 |
+
page.curl,page.curl
|
| 910 |
+
page.pencil,page.pencil
|
| 911 |
+
pager,pager
|
| 912 |
+
pages.tabs,pages.tabs
|
| 913 |
+
painting,painting
|
| 914 |
+
palette,palette
|
| 915 |
+
pancakes,pancakes
|
| 916 |
+
panda,panda
|
| 917 |
+
parachute,parachute
|
| 918 |
+
park,park
|
| 919 |
+
parking,parking
|
| 920 |
+
parrot,parrot
|
| 921 |
+
partalteration,partalteration
|
| 922 |
+
party,party
|
| 923 |
+
peach,peach
|
| 924 |
+
peacock,peacock
|
| 925 |
+
peanuts,peanuts
|
| 926 |
+
peapod,peapod
|
| 927 |
+
pear,pear
|
| 928 |
+
pedestrian,pedestrian
|
| 929 |
+
pedestrian.not,pedestrian.not
|
| 930 |
+
pen.ball,pen.ball
|
| 931 |
+
pen.fountain,pen.fountain
|
| 932 |
+
pencil,pencil
|
| 933 |
+
penguin,penguin
|
| 934 |
+
pepper,pepper
|
| 935 |
+
pepper.hot,pepper.hot
|
| 936 |
+
person,person
|
| 937 |
+
person.angry,person.angry
|
| 938 |
+
person.beard,person.beard
|
| 939 |
+
person.blonde,person.blonde
|
| 940 |
+
person.bow,person.bow
|
| 941 |
+
person.crown,person.crown
|
| 942 |
+
person.deaf,person.deaf
|
| 943 |
+
person.facepalm,person.facepalm
|
| 944 |
+
person.frown,person.frown
|
| 945 |
+
person.hijab,person.hijab
|
| 946 |
+
person.kneel,person.kneel
|
| 947 |
+
person.lotus,person.lotus
|
| 948 |
+
person.massage,person.massage
|
| 949 |
+
person.no,person.no
|
| 950 |
+
person.ok,person.ok
|
| 951 |
+
person.old,person.old
|
| 952 |
+
person.pregnant,person.pregnant
|
| 953 |
+
person.raise,person.raise
|
| 954 |
+
person.sassy,person.sassy
|
| 955 |
+
person.shrug,person.shrug
|
| 956 |
+
person.stand,person.stand
|
| 957 |
+
person.steam,person.steam
|
| 958 |
+
petri,petri
|
| 959 |
+
phone,phone
|
| 960 |
+
phone.arrow,phone.arrow
|
| 961 |
+
phone.classic,phone.classic
|
| 962 |
+
phone.not,phone.not
|
| 963 |
+
phone.off,phone.off
|
| 964 |
+
phone.receiver,phone.receiver
|
| 965 |
+
phone.signal,phone.signal
|
| 966 |
+
phone.vibrate,phone.vibrate
|
| 967 |
+
piano,piano
|
| 968 |
+
pick,pick
|
| 969 |
+
pie,pie
|
| 970 |
+
pig,pig
|
| 971 |
+
pig.face,pig.face
|
| 972 |
+
pig.nose,pig.nose
|
| 973 |
+
pill,pill
|
| 974 |
+
pin,pin
|
| 975 |
+
pin.round,pin.round
|
| 976 |
+
pinata,pinata
|
| 977 |
+
pineapple,pineapple
|
| 978 |
+
pingpong,pingpong
|
| 979 |
+
pistol,pistol
|
| 980 |
+
pizza,pizza
|
| 981 |
+
placard,placard
|
| 982 |
+
planet,planet
|
| 983 |
+
plant,plant
|
| 984 |
+
plaster,plaster
|
| 985 |
+
plate.cutlery,plate.cutlery
|
| 986 |
+
playback.down,playback.down
|
| 987 |
+
playback.eject,playback.eject
|
| 988 |
+
playback.forward,playback.forward
|
| 989 |
+
playback.pause,playback.pause
|
| 990 |
+
playback.record,playback.record
|
| 991 |
+
playback.repeat,playback.repeat
|
| 992 |
+
playback.repeat.once,playback.repeat.once
|
| 993 |
+
playback.repeat.v,playback.repeat.v
|
| 994 |
+
playback.restart,playback.restart
|
| 995 |
+
playback.rewind,playback.rewind
|
| 996 |
+
playback.shuffle,playback.shuffle
|
| 997 |
+
playback.skip,playback.skip
|
| 998 |
+
playback.stop,playback.stop
|
| 999 |
+
playback.toggle,playback.toggle
|
| 1000 |
+
playback.up,playback.up
|
| 1001 |
+
playingcard.flower,playingcard.flower
|
| 1002 |
+
playingcard.joker,playingcard.joker
|
| 1003 |
+
plunger,plunger
|
| 1004 |
+
policeofficer,policeofficer
|
| 1005 |
+
poo,poo
|
| 1006 |
+
popcorn,popcorn
|
| 1007 |
+
post.eu,post.eu
|
| 1008 |
+
post.jp,post.jp
|
| 1009 |
+
posbox,posbox
|
| 1010 |
+
potato,potato
|
| 1011 |
+
potato.sweet,potato.sweet
|
| 1012 |
+
pouch,pouch
|
| 1013 |
+
powerplug,powerplug
|
| 1014 |
+
present,present
|
| 1015 |
+
pretzel,pretzel
|
| 1016 |
+
printer,printer
|
| 1017 |
+
prints.foot,prints.foot
|
| 1018 |
+
prints.paw,prints.paw
|
| 1019 |
+
prohibited,prohibited
|
| 1020 |
+
projector,projector
|
| 1021 |
+
pumpkin.lantern,pumpkin.lantern
|
| 1022 |
+
purse,purse
|
| 1023 |
+
quest,quest
|
| 1024 |
+
quest.white,quest.white
|
| 1025 |
+
rabbit,rabbit
|
| 1026 |
+
rabbit.face,rabbit.face
|
| 1027 |
+
raccoon,raccoon
|
| 1028 |
+
radio,radio
|
| 1029 |
+
radioactive,radioactive
|
| 1030 |
+
railway,railway
|
| 1031 |
+
rainbow,rainbow
|
| 1032 |
+
ram,ram
|
| 1033 |
+
rat,rat
|
| 1034 |
+
razor,razor
|
| 1035 |
+
receipt,receipt
|
| 1036 |
+
recycling,recycling
|
| 1037 |
+
reg,reg
|
| 1038 |
+
restroom,restroom
|
| 1039 |
+
rhino,rhino
|
| 1040 |
+
ribbon,ribbon
|
| 1041 |
+
ribbon.remind,ribbon.remind
|
| 1042 |
+
rice,rice
|
| 1043 |
+
rice.cracker,rice.cracker
|
| 1044 |
+
rice.ear,rice.ear
|
| 1045 |
+
rice.onigiri,rice.onigiri
|
| 1046 |
+
ring,ring
|
| 1047 |
+
ringuoy,ringuoy
|
| 1048 |
+
robot,robot
|
| 1049 |
+
rock,rock
|
| 1050 |
+
rocket,rocket
|
| 1051 |
+
rollercoaster,rollercoaster
|
| 1052 |
+
rosette,rosette
|
| 1053 |
+
rugby,rugby
|
| 1054 |
+
ruler,ruler
|
| 1055 |
+
ruler.triangle,ruler.triangle
|
| 1056 |
+
running,running
|
| 1057 |
+
sa,sa
|
| 1058 |
+
safetypin,safetypin
|
| 1059 |
+
safetyvest,safetyvest
|
| 1060 |
+
sake,sake
|
| 1061 |
+
salad,salad
|
| 1062 |
+
salt,salt
|
| 1063 |
+
sandwich,sandwich
|
| 1064 |
+
santa.man,santa.man
|
| 1065 |
+
santa.woman,santa.woman
|
| 1066 |
+
satdish,satdish
|
| 1067 |
+
satellite,satellite
|
| 1068 |
+
saw,saw
|
| 1069 |
+
saxophone,saxophone
|
| 1070 |
+
scales,scales
|
| 1071 |
+
scarf,scarf
|
| 1072 |
+
school,school
|
| 1073 |
+
scissors,scissors
|
| 1074 |
+
scooter,scooter
|
| 1075 |
+
scooter.motor,scooter.motor
|
| 1076 |
+
scorpion,scorpion
|
| 1077 |
+
screwdriver,screwdriver
|
| 1078 |
+
scroll,scroll
|
| 1079 |
+
seal,seal
|
| 1080 |
+
seat,seat
|
| 1081 |
+
seedling,seedling
|
| 1082 |
+
shark,shark
|
| 1083 |
+
sheep,sheep
|
| 1084 |
+
shell.spiral,shell.spiral
|
| 1085 |
+
shield,shield
|
| 1086 |
+
shin,shin
|
| 1087 |
+
ship,ship
|
| 1088 |
+
ship.cruise,ship.cruise
|
| 1089 |
+
ship.ferry,ship.ferry
|
| 1090 |
+
shirt.sports,shirt.sports
|
| 1091 |
+
shirt.t,shirt.t
|
| 1092 |
+
shoe,shoe
|
| 1093 |
+
shoe.ballet,shoe.ballet
|
| 1094 |
+
shoe,shoe
|
| 1095 |
+
flat,flat
|
| 1096 |
+
shoe.heel,shoe.heel
|
| 1097 |
+
shoe.hike,shoe.hike
|
| 1098 |
+
shoe,shoe
|
| 1099 |
+
ice,ice
|
| 1100 |
+
shoe.roller,shoe.roller
|
| 1101 |
+
shoe.sandal.heel,shoe.sandal.heel
|
| 1102 |
+
shoe.ski,shoe.ski
|
| 1103 |
+
shoe.sneaker,shoe.sneaker
|
| 1104 |
+
shoe.tall,shoe.tall
|
| 1105 |
+
shoe.thong,shoe.thong
|
| 1106 |
+
shopping,shopping
|
| 1107 |
+
shorts,shorts
|
| 1108 |
+
shoshinsha,shoshinsha
|
| 1109 |
+
shovel,shovel
|
| 1110 |
+
shower,shower
|
| 1111 |
+
shrimp,shrimp
|
| 1112 |
+
shrimp.fried,shrimp.fried
|
| 1113 |
+
shrine,shrine
|
| 1114 |
+
shuku,shuku
|
| 1115 |
+
sign.crossing,sign.crossing
|
| 1116 |
+
sign.stop,sign.stop
|
| 1117 |
+
silhouette.double,silhouette.double
|
| 1118 |
+
silhouette.hug,silhouette.hug
|
| 1119 |
+
silhouette.speak,silhouette.speak
|
| 1120 |
+
siren,siren
|
| 1121 |
+
skateboard,skateboard
|
| 1122 |
+
skewer.dango,skewer.dango
|
| 1123 |
+
skewer.oden,skewer.oden
|
| 1124 |
+
skiing,skiing
|
| 1125 |
+
skull,skull
|
| 1126 |
+
skull.bones,skull.bones
|
| 1127 |
+
skunk,skunk
|
| 1128 |
+
sled,sled
|
| 1129 |
+
slide,slide
|
| 1130 |
+
slider,slider
|
| 1131 |
+
sloth,sloth
|
| 1132 |
+
slots,slots
|
| 1133 |
+
smail,smail
|
| 1134 |
+
snake,snake
|
| 1135 |
+
snowboarding,snowboarding
|
| 1136 |
+
snowflake,snowflake
|
| 1137 |
+
snowman,snowman
|
| 1138 |
+
snowman.snow,snowman.snow
|
| 1139 |
+
soap,soap
|
| 1140 |
+
socks,socks
|
| 1141 |
+
softball,softball
|
| 1142 |
+
sos,sos
|
| 1143 |
+
soup,soup
|
| 1144 |
+
spaghetti,spaghetti
|
| 1145 |
+
sparkle.box,sparkle.box
|
| 1146 |
+
sparkler,sparkler
|
| 1147 |
+
sparkles,sparkles
|
| 1148 |
+
speaker,speaker
|
| 1149 |
+
speaker.not,speaker.not
|
| 1150 |
+
speaker.wave,speaker.wave
|
| 1151 |
+
speaker.waves,speaker.waves
|
| 1152 |
+
spider,spider
|
| 1153 |
+
spiderweb,spiderweb
|
| 1154 |
+
spinach,spinach
|
| 1155 |
+
splatter,splatter
|
| 1156 |
+
sponge,sponge
|
| 1157 |
+
spoon,spoon
|
| 1158 |
+
square.black,square.black
|
| 1159 |
+
square.black.tiny,square.black.tiny
|
| 1160 |
+
square.black.small,square.black.small
|
| 1161 |
+
square.black.medium,square.black.medium
|
| 1162 |
+
square.white,square.white
|
| 1163 |
+
square.white.tiny,square.white.tiny
|
| 1164 |
+
square.white.small,square.white.small
|
| 1165 |
+
square.white.medium,square.white.medium
|
| 1166 |
+
square.blue,square.blue
|
| 1167 |
+
square.brown,square.brown
|
| 1168 |
+
square.green,square.green
|
| 1169 |
+
square.orange,square.orange
|
| 1170 |
+
square.purple,square.purple
|
| 1171 |
+
square.red,square.red
|
| 1172 |
+
square.yellow,square.yellow
|
| 1173 |
+
squid,squid
|
| 1174 |
+
stadium,stadium
|
| 1175 |
+
star,star
|
| 1176 |
+
star.arc,star.arc
|
| 1177 |
+
star.box,star.box
|
| 1178 |
+
star.glow,star.glow
|
| 1179 |
+
star.shoot,star.shoot
|
| 1180 |
+
stethoscope,stethoscope
|
| 1181 |
+
store.big,store.big
|
| 1182 |
+
store.small,store.small
|
| 1183 |
+
strawberry,strawberry
|
| 1184 |
+
suit.club,suit.club
|
| 1185 |
+
suit.diamond,suit.diamond
|
| 1186 |
+
suit.heart,suit.heart
|
| 1187 |
+
suit.spade,suit.spade
|
| 1188 |
+
sun,sun
|
| 1189 |
+
sun.cloud,sun.cloud
|
| 1190 |
+
sun.face,sun.face
|
| 1191 |
+
sunrise,sunrise
|
| 1192 |
+
superhero,superhero
|
| 1193 |
+
supervillain,supervillain
|
| 1194 |
+
surfingsushi,surfingsushi
|
| 1195 |
+
swan,swan
|
| 1196 |
+
swimming,swimming
|
| 1197 |
+
swimsuit,swimsuit
|
| 1198 |
+
swords,swords
|
| 1199 |
+
symbols,symbols
|
| 1200 |
+
synagogue,synagogue
|
| 1201 |
+
syringe,syringe
|
| 1202 |
+
trco,trco
|
| 1203 |
+
takeout,takeout
|
| 1204 |
+
tamale,tamale
|
| 1205 |
+
tanabata,tanabata
|
| 1206 |
+
tangerine,tangerine
|
| 1207 |
+
tap,tap
|
| 1208 |
+
tap.not,tap.not
|
| 1209 |
+
taxi,taxi
|
| 1210 |
+
taxi.front,taxi.front
|
| 1211 |
+
teacup,teacup
|
| 1212 |
+
teapot,teapot
|
| 1213 |
+
teddy,teddy
|
| 1214 |
+
telescope,telescope
|
| 1215 |
+
temple,temple
|
| 1216 |
+
ten,ten
|
| 1217 |
+
tengu,tengu
|
| 1218 |
+
tennis,tennis
|
| 1219 |
+
tent,tent
|
| 1220 |
+
testtube,testtube
|
| 1221 |
+
thermomet,thermomet
|
| 1222 |
+
thread,thread
|
| 1223 |
+
thumb.up,thumb.up
|
| 1224 |
+
thumb.down,thumb.down
|
| 1225 |
+
ticket.event,ticket.event
|
| 1226 |
+
ticket.travel,ticket.travel
|
| 1227 |
+
tiger,tiger
|
| 1228 |
+
tiger.face,tiger.face
|
| 1229 |
+
tm,tm
|
| 1230 |
+
toilet,toilet
|
| 1231 |
+
toiletpaper,toiletpaper
|
| 1232 |
+
toku,toku
|
| 1233 |
+
tomato,tomato
|
| 1234 |
+
tombstone,tombstone
|
| 1235 |
+
tongue,tongue
|
| 1236 |
+
toolbox,toolbox
|
| 1237 |
+
tooth,tooth
|
| 1238 |
+
toothbrush,toothbrush
|
| 1239 |
+
tornado,tornado
|
| 1240 |
+
tower.tokyo,tower.tokyo
|
| 1241 |
+
trackball,trackball
|
| 1242 |
+
tractor,tractor
|
| 1243 |
+
trafficlight.v,trafficlight.v
|
| 1244 |
+
trafficlight.h,trafficlight.h
|
| 1245 |
+
train,train
|
| 1246 |
+
train.car,train.car
|
| 1247 |
+
train.light,train.light
|
| 1248 |
+
train.metro,train.metro
|
| 1249 |
+
train.mono,train.mono
|
| 1250 |
+
train.mountain,train.mountain
|
| 1251 |
+
train.speed,train.speed
|
| 1252 |
+
train.speed.bullet,train.speed.bullet
|
| 1253 |
+
train.steam,train.steam
|
| 1254 |
+
train.stop,train.stop
|
| 1255 |
+
train.suspend,train.suspend
|
| 1256 |
+
train.tram,train.tram
|
| 1257 |
+
train.tram.car,train.tram.car
|
| 1258 |
+
transgender,transgender
|
| 1259 |
+
tray.inbox,tray.inbox
|
| 1260 |
+
tray.mail,tray.mail
|
| 1261 |
+
tray.outbox,tray.outbox
|
| 1262 |
+
treasure,treasure
|
| 1263 |
+
tree.deciduous,tree.deciduous
|
| 1264 |
+
tree.evergreen,tree.evergreen
|
| 1265 |
+
tree.leafless,tree.leafless
|
| 1266 |
+
tree.palm,tree.palm
|
| 1267 |
+
tree.xmas,tree.xmas
|
| 1268 |
+
triangle.r,triangle.r
|
| 1269 |
+
triangle.l,triangle.l
|
| 1270 |
+
triangle.t,triangle.t
|
| 1271 |
+
triangle.b,triangle.b
|
| 1272 |
+
triangle.t.red,triangle.t.red
|
| 1273 |
+
triangle.b.red,triangle.b.red
|
| 1274 |
+
trident,trident
|
| 1275 |
+
troll,troll
|
| 1276 |
+
trombone,trombone
|
| 1277 |
+
trophy,trophy
|
| 1278 |
+
truck,truck
|
| 1279 |
+
truck.trailer,truck.trailer
|
| 1280 |
+
trumpet,trumpet
|
| 1281 |
+
tsukimi,tsukimi
|
| 1282 |
+
turkey,turkey
|
| 1283 |
+
turtle,turtle
|
| 1284 |
+
tv,tv
|
| 1285 |
+
ufo,ufo
|
| 1286 |
+
umbrella.open,umbrella.open
|
| 1287 |
+
umbrella.closed,umbrella.closed
|
| 1288 |
+
umbrella.rain,umbrella.rain
|
| 1289 |
+
umbrella.sun,umbrella.sun
|
| 1290 |
+
unicorn,unicorn
|
| 1291 |
+
unknown,unknown
|
| 1292 |
+
up,up
|
| 1293 |
+
urn,urn
|
| 1294 |
+
vampire,vampire
|
| 1295 |
+
violin,violin
|
| 1296 |
+
volcano,volcano
|
| 1297 |
+
volleyball,volleyball
|
| 1298 |
+
vs,vs
|
| 1299 |
+
waffle,waffle
|
| 1300 |
+
wand,wand
|
| 1301 |
+
warning,warning
|
| 1302 |
+
watch,watch
|
| 1303 |
+
watch.stop,watch.stop
|
| 1304 |
+
watermelon,watermelon
|
| 1305 |
+
waterpolo,waterpolo
|
| 1306 |
+
wave,wave
|
| 1307 |
+
wc,wc
|
| 1308 |
+
weightlifting,weightlifting
|
| 1309 |
+
whale,whale
|
| 1310 |
+
whale.spout,whale.spout
|
| 1311 |
+
wheel,wheel
|
| 1312 |
+
wheelchair,wheelchair
|
| 1313 |
+
wheelchair.box,wheelchair.box
|
| 1314 |
+
wheelchair.motor,wheelchair.motor
|
| 1315 |
+
wind,wind
|
| 1316 |
+
windchime,windchime
|
| 1317 |
+
window,window
|
| 1318 |
+
wine,wine
|
| 1319 |
+
wing,wing
|
| 1320 |
+
wireless,wireless
|
| 1321 |
+
wolf,wolf
|
| 1322 |
+
woman,woman
|
| 1323 |
+
woman.box,woman.box
|
| 1324 |
+
woman.crown,woman.crown
|
| 1325 |
+
woman.old,woman.old
|
| 1326 |
+
woman.pregnant,woman.pregnant
|
| 1327 |
+
wood,wood
|
| 1328 |
+
worm,worm
|
| 1329 |
+
wrench,wrench
|
| 1330 |
+
wrestling,wrestling
|
| 1331 |
+
xray,xray
|
| 1332 |
+
yarn,yarn
|
| 1333 |
+
yo,yo
|
| 1334 |
+
yoyo,yoyo
|
| 1335 |
+
yubi,yubi
|
| 1336 |
+
yuryo,yuryo
|
| 1337 |
+
zebra,zebra
|
| 1338 |
+
zodiac.aquarius,zodiac.aquarius
|
| 1339 |
+
zodiac.aries,zodiac.aries
|
| 1340 |
+
zodiac.cancer,zodiac.cancer
|
| 1341 |
+
zodiac.capri,zodiac.capri
|
| 1342 |
+
zodiac.gemini,zodiac.gemini
|
| 1343 |
+
zodiac.leo,zodiac.leo
|
| 1344 |
+
zodiac.libra,zodiac.libra
|
| 1345 |
+
zodiac.ophi,zodiac.ophi
|
| 1346 |
+
zodiac.pisces,zodiac.pisces
|
| 1347 |
+
zodiac.sagit,zodiac.sagit
|
| 1348 |
+
zodiac.scorpio,zodiac.scorpio
|
| 1349 |
+
zodiac.taurus,zodiac.taurus
|
| 1350 |
+
zodiac.virgo,zodiac.virgo
|
| 1351 |
+
zombie,zombie
|
| 1352 |
+
zzz,zzz
|
data/transistors-per-microprocessor.metadata.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"chart": {
|
| 3 |
+
"title": "Moore's law: The number of transistors per microprocessor",
|
| 4 |
+
"subtitle": "Moore's law is the observation that the number of transistors in an integrated circuit doubles about every two years, thanks to improvements in production. It was first described by Gordon E. Moore, the co-founder of Intel, in 1965.",
|
| 5 |
+
"citation": "Rupp (2022)",
|
| 6 |
+
"originalChartUrl": "https://ourworldindata.org/grapher/transistors-per-microprocessor?v=1&csvType=full&useColumnShortNames=false",
|
| 7 |
+
"selection": [
|
| 8 |
+
"World"
|
| 9 |
+
]
|
| 10 |
+
},
|
| 11 |
+
"columns": {
|
| 12 |
+
"Transistors per microprocessor": {
|
| 13 |
+
"titleShort": "Transistors per microprocessor",
|
| 14 |
+
"titleLong": "Transistors per microprocessor",
|
| 15 |
+
"unit": "transistors",
|
| 16 |
+
"timespan": "1971-2021",
|
| 17 |
+
"type": "Numeric",
|
| 18 |
+
"owidVariableId": 576780,
|
| 19 |
+
"shortName": "transistors",
|
| 20 |
+
"lastUpdated": "2023-03-09",
|
| 21 |
+
"citationShort": "Rupp (2022) – processed by Our World in Data",
|
| 22 |
+
"citationLong": "Rupp (2022) – processed by Our World in Data. “Transistors per microprocessor” [dataset]. Rupp, “Microprocessor Trend Data” [original data].",
|
| 23 |
+
"fullMetadata": "https://api.ourworldindata.org/v1/indicators/576780.metadata.json"
|
| 24 |
+
}
|
| 25 |
+
},
|
| 26 |
+
"dateDownloaded": "2026-10-06",
|
| 27 |
+
"activeFilters": {}
|
| 28 |
+
}
|
data/transistors-per-microprocessor.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:989ca9e4b65f87544fb7d8ecc8a680ebd0c27a7f5a2946725676732f3af46e0f
|
| 3 |
+
size 2990
|
data/tuesday.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"id": 2,
|
| 3 |
+
"weather": "windy",
|
| 4 |
+
"temperature": "14.5",
|
| 5 |
+
"unit": "C"
|
| 6 |
+
}
|
example.typ
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
#metadata("This is a note") <note>
|
halcyon.tmTheme
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
| 3 |
+
<plist version="1.0">
|
| 4 |
+
<dict>
|
| 5 |
+
<key>name</key>
|
| 6 |
+
<string>Example Color Scheme</string>
|
| 7 |
+
<key>settings</key>
|
| 8 |
+
<array>
|
| 9 |
+
<!-- Global settings -->
|
| 10 |
+
<dict>
|
| 11 |
+
<key>settings</key>
|
| 12 |
+
<dict>
|
| 13 |
+
<key>background</key>
|
| 14 |
+
<string>#222222</string>
|
| 15 |
+
<key>foreground</key>
|
| 16 |
+
<string>#EEEEEE</string>
|
| 17 |
+
<key>caret</key>
|
| 18 |
+
<string>#FFFFFF</string>
|
| 19 |
+
</dict>
|
| 20 |
+
</dict>
|
| 21 |
+
<!-- Scope styles -->
|
| 22 |
+
<dict>
|
| 23 |
+
<key>name</key>
|
| 24 |
+
<string>Comment</string>
|
| 25 |
+
<key>scope</key>
|
| 26 |
+
<string>comment</string>
|
| 27 |
+
<key>settings</key>
|
| 28 |
+
<dict>
|
| 29 |
+
<key>foreground</key>
|
| 30 |
+
<string>#888888</string>
|
| 31 |
+
</dict>
|
| 32 |
+
</dict>
|
| 33 |
+
<dict>
|
| 34 |
+
<key>name</key>
|
| 35 |
+
<string>String</string>
|
| 36 |
+
<key>scope</key>
|
| 37 |
+
<string>string</string>
|
| 38 |
+
<key>settings</key>
|
| 39 |
+
<dict>
|
| 40 |
+
<key>foreground</key>
|
| 41 |
+
<string>#FFD500</string>
|
| 42 |
+
</dict>
|
| 43 |
+
</dict>
|
| 44 |
+
<dict>
|
| 45 |
+
<key>name</key>
|
| 46 |
+
<string>Number</string>
|
| 47 |
+
<key>scope</key>
|
| 48 |
+
<string>constant.numeric</string>
|
| 49 |
+
<key>settings</key>
|
| 50 |
+
<dict>
|
| 51 |
+
<key>foreground</key>
|
| 52 |
+
<string>#7F00FF</string>
|
| 53 |
+
</dict>
|
| 54 |
+
</dict>
|
| 55 |
+
</array>
|
| 56 |
+
</dict>
|
images/1001.png
ADDED
|
Git LFS Details
|
images/1002.png
ADDED
|
Git LFS Details
|
images/1003.png
ADDED
|
Git LFS Details
|
images/1004.png
ADDED
|
Git LFS Details
|
images/1005.png
ADDED
|
Git LFS Details
|
images/1006.png
ADDED
|
Git LFS Details
|
images/1007.png
ADDED
|
Git LFS Details
|
images/1008.png
ADDED
|
Git LFS Details
|
images/1009.png
ADDED
|
Git LFS Details
|
images/1010.png
ADDED
|
Git LFS Details
|
images/1011.png
ADDED
|
Git LFS Details
|
images/1012.png
ADDED
|
Git LFS Details
|
images/1013.png
ADDED
|
Git LFS Details
|
images/1014.png
ADDED
|
Git LFS Details
|
images/1015.png
ADDED
|
Git LFS Details
|
images/1016.png
ADDED
|
Git LFS Details
|
images/1017.png
ADDED
|
Git LFS Details
|