summaryrefslogtreecommitdiff
path: root/docs/src
diff options
context:
space:
mode:
Diffstat (limited to 'docs/src')
-rw-r--r--docs/src/lib.rs3
-rw-r--r--docs/src/reference/details.yml29
2 files changed, 14 insertions, 18 deletions
diff --git a/docs/src/lib.rs b/docs/src/lib.rs
index 6cb4a89c..620aaaaa 100644
--- a/docs/src/lib.rs
+++ b/docs/src/lib.rs
@@ -126,8 +126,7 @@ fn reference_page(resolver: &dyn Resolver) -> PageModel {
markdown_page(resolver, "/docs/reference/", "reference/styling.md"),
markdown_page(resolver, "/docs/reference/", "reference/scripting.md"),
types_page(resolver, "/docs/reference/"),
- category_page(resolver, "basics").with_part("Content"),
- category_page(resolver, "text"),
+ category_page(resolver, "text").with_part("Content"),
category_page(resolver, "math"),
category_page(resolver, "layout"),
category_page(resolver, "visualize"),
diff --git a/docs/src/reference/details.yml b/docs/src/reference/details.yml
index a53330f8..5d7ddfd1 100644
--- a/docs/src/reference/details.yml
+++ b/docs/src/reference/details.yml
@@ -12,11 +12,8 @@ types: |
In some places of Typst more specialized data types are used. Instead of listing
all of them here, they are explained where they are relevant.
-basics: |
- Basic structural elements of documents.
-
text: |
- Style and transform your text.
+ Text styling.
The [text function]($func/text) is of particular interest.
@@ -87,21 +84,21 @@ math: |
affected by these rules.
layout: |
- Arrange elements on the page.
+ Arranging elements on the page in different ways.
- Combine layout functions to create complex and automatic layouts.
+ By combining layout functions, you can create complex and automatic layouts.
visualize: |
- Draw and visualize data.
+ Drawing and data visualization.
_Note:_ Functions for plotting and diagrams are not yet available. They will
be in the future.
meta: |
- Modify and use document metadata.
+ Document structuring and metadata setup.
- Here, you can also find functions to work with other elements in the document,
- such as labels and headings.
+ Here, you can find functions to structure your document and configure its
+ metadata.
symbols: |
These two modules give names to symbols and emoji to make them easy to insert
@@ -111,34 +108,34 @@ symbols: |
because they also affect spacing and font style.
sym: |
- Insert general symbols by name.
+ Named general symbols.
For example, `#sym.arrow` produces the → symbol. Within
[formulas]($category/math), these symbols can be used without the `#sym.`
prefix.
emoji: |
- Insert emoji by name.
+ Named emoji.
For example, `#emoji.face` produces the 😀 emoji. If you frequently use
certain emojis, you can also import them from the `emoji` module (`[#import
emoji: face]`) to use them without the `#emoji.` prefix.
foundations: |
- Foundational functions.
+ Foundational functions for computation.
calculate: |
- Calculate with and process numeric values.
+ Calculations and processing of numeric values.
These functions are part of the `calc` module and not imported by default. In
addition to the functions listed below, the `calc` module also defines the
constants `pi`, `e`, `inf`, and `nan`.
construct: |
- Construct and convert between values of different types.
+ Construction of and conversions between values of different types.
data-loading: |
- Load data from external files.
+ Data loading from external files.
These functions help you with embedding data from experiments and APIs in your
documents.