forked from typst/typst
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from lywa1998/main
fix: search box
- Loading branch information
Showing
142 changed files
with
17,068 additions
and
17,039 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,57 +1,57 @@ | ||
route: /docs/reference/calculate/abs/ | ||
title: Absolute | ||
description: Documentation for the `abs` function. | ||
part: null | ||
outline: | ||
- id: summary | ||
name: Summary | ||
children: [] | ||
- id: example | ||
name: Example | ||
children: [] | ||
- id: parameters | ||
name: Parameters | ||
children: | ||
- id: parameters-value | ||
name: value | ||
children: [] | ||
body: | ||
kind: func | ||
content: | ||
path: | ||
- calc | ||
- abs | ||
display: Absolute | ||
keywords: null | ||
oneliner: Calculates the absolute value of a numeric value. | ||
element: false | ||
details: |- | ||
<p>Calculates the absolute value of a numeric value.</p> | ||
<h2 id="example">Example</h2> | ||
<div class="previewed-code"><pre><code><span class="typ-pol">#</span><span class="typ-pol">calc</span><span class="typ-punct">.</span><span class="typ-func">abs</span><span class="typ-punct">(</span><span class="typ-op">-</span><span class="typ-num">5</span><span class="typ-punct">)</span> <span class="typ-escape">\</span> | ||
<span class="typ-pol">#</span><span class="typ-pol">calc</span><span class="typ-punct">.</span><span class="typ-func">abs</span><span class="typ-punct">(</span><span class="typ-num">5pt</span> <span class="typ-op">-</span> <span class="typ-num">2cm</span><span class="typ-punct">)</span> <span class="typ-escape">\</span> | ||
<span class="typ-pol">#</span><span class="typ-pol">calc</span><span class="typ-punct">.</span><span class="typ-func">abs</span><span class="typ-punct">(</span><span class="typ-num">2fr</span><span class="typ-punct">)</span> | ||
</code></pre><div class="preview"><img src="/assets/docs/e510ee8d00f4e2c888a53ba546c26c14.png" alt="Preview" width="480" height="190"/></div></div> | ||
params: | ||
- name: value | ||
details: <p>The value whose absolute value to calculate.</p> | ||
example: null | ||
types: | ||
- integer | ||
- float | ||
- length | ||
- angle | ||
- ratio | ||
- fraction | ||
strings: [] | ||
default: null | ||
positional: true | ||
named: false | ||
required: true | ||
variadic: false | ||
settable: false | ||
returns: | ||
- any | ||
methods: [] | ||
scope: [] | ||
children: [] | ||
route: /docs/reference/calculate/abs/ | ||
title: Absolute | ||
description: Documentation for the `abs` function. | ||
part: null | ||
outline: | ||
- id: summary | ||
name: Summary | ||
children: [] | ||
- id: example | ||
name: Example | ||
children: [] | ||
- id: parameters | ||
name: Parameters | ||
children: | ||
- id: parameters-value | ||
name: value | ||
children: [] | ||
body: | ||
kind: func | ||
content: | ||
path: | ||
- calc | ||
- abs | ||
display: Absolute | ||
keywords: null | ||
oneliner: Calculates the absolute value of a numeric value. | ||
element: false | ||
details: |- | ||
<p>Calculates the absolute value of a numeric value.</p> | ||
<h2 id="example">Example</h2> | ||
<div class="previewed-code"><pre><code><span class="typ-pol">#</span><span class="typ-pol">calc</span><span class="typ-punct">.</span><span class="typ-func">abs</span><span class="typ-punct">(</span><span class="typ-op">-</span><span class="typ-num">5</span><span class="typ-punct">)</span> <span class="typ-escape">\</span> | ||
<span class="typ-pol">#</span><span class="typ-pol">calc</span><span class="typ-punct">.</span><span class="typ-func">abs</span><span class="typ-punct">(</span><span class="typ-num">5pt</span> <span class="typ-op">-</span> <span class="typ-num">2cm</span><span class="typ-punct">)</span> <span class="typ-escape">\</span> | ||
<span class="typ-pol">#</span><span class="typ-pol">calc</span><span class="typ-punct">.</span><span class="typ-func">abs</span><span class="typ-punct">(</span><span class="typ-num">2fr</span><span class="typ-punct">)</span> | ||
</code></pre><div class="preview"><img src="/assets/docs/e510ee8d00f4e2c888a53ba546c26c14.png" alt="Preview" width="480" height="190"/></div></div> | ||
params: | ||
- name: value | ||
details: <p>The value whose absolute value to calculate.</p> | ||
example: null | ||
types: | ||
- integer | ||
- float | ||
- length | ||
- angle | ||
- ratio | ||
- fraction | ||
strings: [] | ||
default: null | ||
positional: true | ||
named: false | ||
required: true | ||
variadic: false | ||
settable: false | ||
returns: | ||
- any | ||
methods: [] | ||
scope: [] | ||
children: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,52 @@ | ||
route: /docs/reference/calculate/acos/ | ||
title: Arccosine | ||
description: Documentation for the `acos` function. | ||
part: null | ||
outline: | ||
- id: summary | ||
name: Summary | ||
children: [] | ||
- id: example | ||
name: Example | ||
children: [] | ||
- id: parameters | ||
name: Parameters | ||
children: | ||
- id: parameters-value | ||
name: value | ||
children: [] | ||
body: | ||
kind: func | ||
content: | ||
path: | ||
- calc | ||
- acos | ||
display: Arccosine | ||
keywords: null | ||
oneliner: Calculates the arccosine of a number. | ||
element: false | ||
details: |- | ||
<p>Calculates the arccosine of a number.</p> | ||
<h2 id="example">Example</h2> | ||
<div class="previewed-code"><pre><code><span class="typ-pol">#</span><span class="typ-pol">calc</span><span class="typ-punct">.</span><span class="typ-func">acos</span><span class="typ-punct">(</span><span class="typ-num">0</span><span class="typ-punct">)</span> <span class="typ-escape">\</span> | ||
<span class="typ-pol">#</span><span class="typ-pol">calc</span><span class="typ-punct">.</span><span class="typ-func">acos</span><span class="typ-punct">(</span><span class="typ-num">1</span><span class="typ-punct">)</span> | ||
</code></pre><div class="preview"><img src="/assets/docs/0423e3e221058490a01d9be936113706.png" alt="Preview" width="480" height="190"/></div></div> | ||
params: | ||
- name: value | ||
details: <p>The number whose arcsine to calculate. Must be between -1 and 1.</p> | ||
example: null | ||
types: | ||
- integer | ||
- float | ||
strings: [] | ||
default: null | ||
positional: true | ||
named: false | ||
required: true | ||
variadic: false | ||
settable: false | ||
returns: | ||
- angle | ||
methods: [] | ||
scope: [] | ||
children: [] | ||
route: /docs/reference/calculate/acos/ | ||
title: Arccosine | ||
description: Documentation for the `acos` function. | ||
part: null | ||
outline: | ||
- id: summary | ||
name: Summary | ||
children: [] | ||
- id: example | ||
name: Example | ||
children: [] | ||
- id: parameters | ||
name: Parameters | ||
children: | ||
- id: parameters-value | ||
name: value | ||
children: [] | ||
body: | ||
kind: func | ||
content: | ||
path: | ||
- calc | ||
- acos | ||
display: Arccosine | ||
keywords: null | ||
oneliner: Calculates the arccosine of a number. | ||
element: false | ||
details: |- | ||
<p>Calculates the arccosine of a number.</p> | ||
<h2 id="example">Example</h2> | ||
<div class="previewed-code"><pre><code><span class="typ-pol">#</span><span class="typ-pol">calc</span><span class="typ-punct">.</span><span class="typ-func">acos</span><span class="typ-punct">(</span><span class="typ-num">0</span><span class="typ-punct">)</span> <span class="typ-escape">\</span> | ||
<span class="typ-pol">#</span><span class="typ-pol">calc</span><span class="typ-punct">.</span><span class="typ-func">acos</span><span class="typ-punct">(</span><span class="typ-num">1</span><span class="typ-punct">)</span> | ||
</code></pre><div class="preview"><img src="/assets/docs/0423e3e221058490a01d9be936113706.png" alt="Preview" width="480" height="190"/></div></div> | ||
params: | ||
- name: value | ||
details: <p>The number whose arcsine to calculate. Must be between -1 and 1.</p> | ||
example: null | ||
types: | ||
- integer | ||
- float | ||
strings: [] | ||
default: null | ||
positional: true | ||
named: false | ||
required: true | ||
variadic: false | ||
settable: false | ||
returns: | ||
- angle | ||
methods: [] | ||
scope: [] | ||
children: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,52 @@ | ||
route: /docs/reference/calculate/asin/ | ||
title: Arcsine | ||
description: Documentation for the `asin` function. | ||
part: null | ||
outline: | ||
- id: summary | ||
name: Summary | ||
children: [] | ||
- id: example | ||
name: Example | ||
children: [] | ||
- id: parameters | ||
name: Parameters | ||
children: | ||
- id: parameters-value | ||
name: value | ||
children: [] | ||
body: | ||
kind: func | ||
content: | ||
path: | ||
- calc | ||
- asin | ||
display: Arcsine | ||
keywords: null | ||
oneliner: Calculates the arcsine of a number. | ||
element: false | ||
details: |- | ||
<p>Calculates the arcsine of a number.</p> | ||
<h2 id="example">Example</h2> | ||
<div class="previewed-code"><pre><code><span class="typ-pol">#</span><span class="typ-pol">calc</span><span class="typ-punct">.</span><span class="typ-func">asin</span><span class="typ-punct">(</span><span class="typ-num">0</span><span class="typ-punct">)</span> <span class="typ-escape">\</span> | ||
<span class="typ-pol">#</span><span class="typ-pol">calc</span><span class="typ-punct">.</span><span class="typ-func">asin</span><span class="typ-punct">(</span><span class="typ-num">1</span><span class="typ-punct">)</span> | ||
</code></pre><div class="preview"><img src="/assets/docs/4e3534f3677072cae71d2151b1ea3cca.png" alt="Preview" width="480" height="190"/></div></div> | ||
params: | ||
- name: value | ||
details: <p>The number whose arcsine to calculate. Must be between -1 and 1.</p> | ||
example: null | ||
types: | ||
- integer | ||
- float | ||
strings: [] | ||
default: null | ||
positional: true | ||
named: false | ||
required: true | ||
variadic: false | ||
settable: false | ||
returns: | ||
- angle | ||
methods: [] | ||
scope: [] | ||
children: [] | ||
route: /docs/reference/calculate/asin/ | ||
title: Arcsine | ||
description: Documentation for the `asin` function. | ||
part: null | ||
outline: | ||
- id: summary | ||
name: Summary | ||
children: [] | ||
- id: example | ||
name: Example | ||
children: [] | ||
- id: parameters | ||
name: Parameters | ||
children: | ||
- id: parameters-value | ||
name: value | ||
children: [] | ||
body: | ||
kind: func | ||
content: | ||
path: | ||
- calc | ||
- asin | ||
display: Arcsine | ||
keywords: null | ||
oneliner: Calculates the arcsine of a number. | ||
element: false | ||
details: |- | ||
<p>Calculates the arcsine of a number.</p> | ||
<h2 id="example">Example</h2> | ||
<div class="previewed-code"><pre><code><span class="typ-pol">#</span><span class="typ-pol">calc</span><span class="typ-punct">.</span><span class="typ-func">asin</span><span class="typ-punct">(</span><span class="typ-num">0</span><span class="typ-punct">)</span> <span class="typ-escape">\</span> | ||
<span class="typ-pol">#</span><span class="typ-pol">calc</span><span class="typ-punct">.</span><span class="typ-func">asin</span><span class="typ-punct">(</span><span class="typ-num">1</span><span class="typ-punct">)</span> | ||
</code></pre><div class="preview"><img src="/assets/docs/4e3534f3677072cae71d2151b1ea3cca.png" alt="Preview" width="480" height="190"/></div></div> | ||
params: | ||
- name: value | ||
details: <p>The number whose arcsine to calculate. Must be between -1 and 1.</p> | ||
example: null | ||
types: | ||
- integer | ||
- float | ||
strings: [] | ||
default: null | ||
positional: true | ||
named: false | ||
required: true | ||
variadic: false | ||
settable: false | ||
returns: | ||
- angle | ||
methods: [] | ||
scope: [] | ||
children: [] |
Oops, something went wrong.