repo stringlengths 26 115 | file stringlengths 54 212 | language stringclasses 2
values | license stringclasses 16
values | content stringlengths 19 1.07M |
|---|---|---|---|---|
https://github.com/KrisjanisP/lu-icpc-notebook | https://raw.githubusercontent.com/KrisjanisP/lu-icpc-notebook/main/3-geometry.typ | typst |
= Geometry
== Dot product
#grid(
columns: 2,
gutter: 3em,
[
#align(center)[#image("assets/dot.png", width: 10em)]
],
[
$ a dot b = |a| |b| cos(theta) $
$ a dot b = a_x b_x + a_y b_y $
$ theta = arccos(frac(a_x b_x + a_y b_y , |a| |b|)) $
],
)
Projection of a onto b:
$frac(a dot b, |b|) $
== Cross product
... | |
https://github.com/protohaven/printed_materials | https://raw.githubusercontent.com/protohaven/printed_materials/main/class-handouts/class-wood_103-millwork.typ | typst | #import "/meta-environments/env-templates.typ": *
#import "./glossary/glossary_terms.typ": *
#show: doc => class_handout(
title: "Millwork Clearance",
category: "Wood",
number: "103",
clearances: ("Dust Collection", "Jointer", "<NAME>", "Planer", "<NAME>", "Router Table"),
instructors: ("<NAME>",),
author... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/attach-p3_06.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Test default of limit attachments on large operators at display size only
$ tack.t.big_0^1 quad \u{02A0A}_0^1 quad join_0^1 $
$tack.t.big_0^1 quad \u{02A0A}_0^1 quad join_0^1$
|
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/meta/ref-04.typ | typst | Other | #set heading(numbering: (..nums) => {
nums.pos().map(str).join(".")
}, supplement: [Chapt])
#show ref: it => {
if it.element != none and it.element.func() == heading {
let element = it.element
"["
emph(element.supplement)
"-"
numbering(element.numbering, ..counter(heading).at(element.location... |
https://github.com/AliothCancer/AppuntiUniversity | https://raw.githubusercontent.com/AliothCancer/AppuntiUniversity/main/capitoli_applicazioni/ossigenatore.typ | typst | = Ossigenatore a Membrana
== Saturazione di ossigeno
$
"SpO2" = ((P o_2)^n) / ((P_(50))^n + (P o_2)^n)
$
- $n:$ fattore che viene dato, *varia in base alla temperatura*. | |
https://github.com/catppuccin/typst | https://raw.githubusercontent.com/catppuccin/typst/main/template/README.md | markdown | MIT License | # Compiling the template
The compiled template `main.typ` is made by running `just build` in the root. Or, by running the private recipe `just build_template`.
When run, the file `catppuccin_src.typ` is appended to the header:
```typ
#import "@preview/catppuccin:{{version}}": catppuccin, themes, get-palette
```
Whe... |
https://github.com/MichaelFraiman/TAU_template | https://raw.githubusercontent.com/MichaelFraiman/TAU_template/main/mfraiman-min.typ | typst | // **** imports ****
// boxes
#import "mfraiman-boxes.typ" as box
// problem setup
#import "mfraiman-problem.typ" as problem
// theorems setup
#import "mfraiman-theorem.typ" as th
// lists
#import "mfraiman-lists.typ" as li
// Global parameters for the handout
#let g_les_num = state("LessonNumber", 0)
#let... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/let-29.typ | typst | Other | // Error: 13 expected equals sign
#let func(x)
// Error: 15 expected expression
#let func(x) =
|
https://github.com/JosephBoom02/Appunti | https://raw.githubusercontent.com/JosephBoom02/Appunti/main/Anno_3_Semestre_2/Diritto_dell_Informatica/Diritto_dell_Informatica.typ | typst | #let title = "Diritto dell'Informatica"
#let author = "<NAME>"
#set document(title: title, author: author)
#show link: set text(rgb("#cc0052"))
#show ref: set text(green)
#set page(margin: (y: 0.5cm))
#set page(margin: (x: 1cm))
#set text(14pt)
#set heading(numbering: "1.1.1.1.1.1")
//#set math.equation(numberin... | |
https://github.com/kicre/note | https://raw.githubusercontent.com/kicre/note/main/study/毕设/4-19中期答辩.typ | typst | #import "../../tem/beamer.typ": beamer
#show: beamer.with(
title: "基于 SAM 大模型的肝脏肿瘤分割软件开发",
subtitle: "4-19 中期答辩",
author: "答辩人:王恺 指导老师:刘琨",
date: "质量技术监督学院 2020级测控普通班 2024-04-19",
)
= 项目介绍
== 背景
=== 准确分割肝脏肿瘤在医学图像领域的重要性
肝脏肿瘤作为常见的恶性肿瘤之一,其早期发现和治疗对提高患者生存率至关重要。优秀的肝脏肿瘤分割软件能够帮助医生提供更精确的分割结果,减... | |
https://github.com/flechonn/interface-typst | https://raw.githubusercontent.com/flechonn/interface-typst/main/BD/TYPST/format.typ | typst | #show terms: meta => {
let title = label("Mon Title")
let duration = label("1h30")
let difficulty = label("easy")
let solution = label("0")
let figures = label("")
let points = label("5")
let bonus = label("0")
let author = label("Moi")
let references = label("")
let language = l... | |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/038%20-%20War%20of%20the%20Spark/001_Old%20Friends%20and%20New.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Old Friends and New",
set_name: "War of the Spark",
story_date: datetime(day: 08, month: 05, year: 2019),
author: "<NAME>",
doc
)
#align(center)[#strong[I.]]
Hekara was waiting for me on the Transguild Promenade.
I paused for a second or ... | |
https://github.com/MichaelNotDeveloper/custom-CVs | https://raw.githubusercontent.com/MichaelNotDeveloper/custom-CVs/main/main.typ | typst | #import "@preview/showybox:2.0.1" : showybox
#let algorithm = showybox.with(
title-style: (
boxed-style: (
anchor: (
x: center,
y: horizon
),
)
),
frame: (
title-color: rgb(247, 210, 65),
body-color:rgb(247, 210, 65),
border-color: rgb(247, 210, 65),
radius: 10... | |
https://github.com/Myriad-Dreamin/tinymist | https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/document_symbols/base.typ | typst | Apache License 2.0 | = Heading 1
#let a = 1;
== Heading 2
#let b = 1;
= Heading 3
#let c = 1;
#let d = {
let e = 1;
0
} |
https://github.com/TeddyHuang-00/typpuccino | https://raw.githubusercontent.com/TeddyHuang-00/typpuccino/main/src/latte.typ | typst | MIT License | #let rosewater = rgb(220, 138, 120)
#let flamingo = rgb(221, 120, 120)
#let pink = rgb(234, 118, 203)
#let mauve = rgb(136, 57, 239)
#let red = rgb(210, 15, 57)
#let maroon = rgb(230, 69, 83)
#let peach = rgb(254, 100, 11)
#let yellow = rgb(223, 142, 29)
#let green = rgb(64, 160, 43)
#let teal = rgb(23, 146, 153)
#let ... |
https://github.com/ern1/typiskt | https://raw.githubusercontent.com/ern1/typiskt/main/templates/colors.typ | typst | #import "colors-md14.typ" as md
// Todo: Add default values here and more palettes later
#let default = (
grey100: rgb(123, 123, 123),
)
#let oggole = (
blue: rgb(66, 133, 244),
red: rgb(219, 68, 55),
yellow: rgb(244, 160, 0),
green: rgb(15, 157, 88),
)
| |
https://github.com/ClazyChen/Table-Tennis-Rankings | https://raw.githubusercontent.com/ClazyChen/Table-Tennis-Rankings/main/history_CN/2018/MS-06.typ | typst |
#set text(font: ("Courier New", "NSimSun"))
#figure(
caption: "Men's Singles (1 - 32)",
table(
columns: 4,
[排名], [运动员], [国家/地区], [积分],
[1], [马龙], [CHN], [3682],
[2], [樊振东], [CHN], [3520],
[3], [许昕], [CHN], [3344],
[4], [蒂姆 波尔], [GER], [3273],
[5], [林高远], [CHN], [3197],
... | |
https://github.com/kdog3682/2024-typst | https://raw.githubusercontent.com/kdog3682/2024-typst/main/src/eval.typ | typst | #import "base-utils.typ": *
#let mathup(s, ..sink) = {
let default-scope = (
blue: xblue,
red: xred,
green: xgreen,
xdot: xdot,
xequal: xequal,
xarrow: xarrow,
)
let scope = if sink.pos().len() > 0 { sink.pos().first() } else { default-scope }
let kwargs = sink.named... | |
https://github.com/elpekenin/access_kb | https://raw.githubusercontent.com/elpekenin/access_kb/main/typst/content/parts/introduction.typ | typst | == Motivación <motivación>
Hoy en día, es mucha la gente que se pasa buena parte del día frente a un ordenador, tanto por trabajo como en su tiempo libre. Esto, por supuesto, puede suponer problemas para la salud si no se toman las precauciones necesarias. Por ejemplo, problemas de vista por pasar excesivas horas miran... | |
https://github.com/leiserfg/fervojo | https://raw.githubusercontent.com/leiserfg/fervojo/master/README.md | markdown | MIT License | Fervojo
=======
Use [railroads](https://github.com/lukaslueg/railroad_dsl) in your documents.
You use the function by calling `render(diagram-text, css)` which renders the diagram. There, `diagram-text` contains is the diagram itself and css is the one used for the style, `css` is `default-css()` if you don't pass i... |
https://github.com/christmascoding/DHBW_LAB_GET | https://raw.githubusercontent.com/christmascoding/DHBW_LAB_GET/main/acronyms.typ | typst | // Define your acronyms here
#let acronyms = (
API: "Application Programming Interface",
AWS: "Amazon Web Services"
) | |
https://github.com/Zuttergutao/Typstdocs-Zh-CN- | https://raw.githubusercontent.com/Zuttergutao/Typstdocs-Zh-CN-/main/README.md | markdown | # Typst 的中文教程
# ***Typst.pdf为官网doc的不详尽翻译版本,由typst生成!***
# ***此版本已严重过时,请移步@OrangeX4维护的中文网站https://typst-doc-cn.github.io/docs/***
欢迎加入Typst 非官方中文交流QQ群:793548390
<img src="https://github.com/Zuttergutao/Typstdocs-Zh-CN-/assets/40693240/368178f0-6d8e-4f4d-bc39-f9d1e8bc9217" width="25%"/>
2023/05/29 更新至version 0.4 手册新... | |
https://github.com/jamesrswift/ionio-illustrate | https://raw.githubusercontent.com/jamesrswift/ionio-illustrate/main/gallery/dual-reflection.typ | typst | MIT License | #set par(justify: true)
#set page(width: auto, height: auto, margin:1em)
#set text( size: 7pt)
#import "../src/lib.typ": *
#let linalool-raw = csv("../assets/linalool.csv")
#let linalool = linalool-raw.slice(1)
#let isobut-epoxide-raw = csv("../assets/isobutelene_epoxide.csv")
#let isobut-epoxide = isobut-epoxide-ra... |
https://github.com/zenor0/simple-neat-typst-cv | https://raw.githubusercontent.com/zenor0/simple-neat-typst-cv/master/cv/utils/fonts.typ | typst | MIT License | #let size_lib = (
初号: 42pt,
小初: 36pt,
一号: 26pt,
小一: 24pt,
二号: 22pt,
小二: 18pt,
三号: 16pt,
小三: 15pt,
四号: 14pt,
中四: 13pt,
小四: 12pt,
五号: 10.5pt,
小五: 9pt,
六号: 7.5pt,
小六: 6.5pt,
七号: 5.5pt,
小七: 5pt,
)
#let font_lib = (
main: ("Alibaba PuHuiTi 3.0"),
code: ("New Computer Modern Mono", "Tim... |
https://github.com/MLAkainu/Network-Comuter-Report | https://raw.githubusercontent.com/MLAkainu/Network-Comuter-Report/main/contents/05_demo/index.typ | typst | Apache License 2.0 | = Design UI
== Register and Login
#figure(caption: [UI Register and Login],
image("../../components/assets/UIlogin.png"))
Đây là trang đăng ký, đăng nhập vào hệ thống bao gồm: địa chỉ IP Server, username, password, địa chỉ IP Peer, địa chỉ Peer Port.\
Phía dưới có 2 nút: Register và Login.\
Khi nhấn nút ... |
https://github.com/maxgraw/bachelor | https://raw.githubusercontent.com/maxgraw/bachelor/main/apps/document/src/template.typ | typst | #let project(
title: [Thesis Title],
type: "",
course: "",
author: "",
number: "",
supervisor: "",
date: none,
logo: none,
body,
) = {
// Set the document's basic properties.
set document(author: author, title: title)
set text(font: "Linux Libertine", lang: "de")
set text(12pt)
set page(marg... | |
https://github.com/mintyfrankie/brilliant-CV | https://raw.githubusercontent.com/mintyfrankie/brilliant-CV/main/template/modules_fr/professional.typ | typst | Apache License 2.0 | // Imports
#import "@preview/brilliant-cv:2.0.3": cvSection, cvEntry
#let metadata = toml("../metadata.toml")
#let cvSection = cvSection.with(metadata: metadata)
#let cvEntry = cvEntry.with(metadata: metadata)
#cvSection("Expérience Professionnelle")
#cvEntry(
title: [Directeur de la Science des Données],
societ... |
https://github.com/dismint/docmint | https://raw.githubusercontent.com/dismint/docmint/main/religion/rw1.typ | typst | #import "template.typ": *
#show: template.with(
title: "24.05 First Revision",
subtitle: "<NAME> (924310245)",
pset: true,
)
= Introduction
The basic Divine Command Theory (DCT) states that "it is right because God commands it". One notable challenge to the DCT is presented in the Euthyphro Dilemma, which raise... | |
https://github.com/LEXUGE/dirac | https://raw.githubusercontent.com/LEXUGE/dirac/main/lib.typ | typst | MIT License | #import "@preview/t4t:0.3.2": is
#import "std.typ"
// "Definitions" state which collects all the user definitions
#let user_defns = state("dirac_user_defns", ())
// Check if content is defined, either as atomic or as math.attach
#let __check_defined(content, loc) = {
let user_defns_values = user_defns.final(loc).ma... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/text/features-06.typ | typst | Other | // Test extra number stuff.
#set text(font: "IBM Plex Serif")
0 vs. #text(slashed-zero: true)[0] \
1/2 vs. #text(fractions: true)[1/2]
|
https://github.com/lucannez64/Notes | https://raw.githubusercontent.com/lucannez64/Notes/master/Allemand_Hermann_Hesse.typ | typst | #import "template.typ": *
// Take a look at the file `template.typ` in the file panel
// to customize this template and discover how it works.
#show: project.with(
title: "<NAME>",
authors: (
"<NAME>",
),
date: "12 Novembre, 2023",
)
#set heading(numbering: "1.1.")
<NAME> ist einer der wichtigsten Schrif... | |
https://github.com/donghoony/KUPC-2023 | https://raw.githubusercontent.com/donghoony/KUPC-2023/master/problem_info.typ | typst | #import "colors.typ" : *
#import "abstractions.typ" : pick_color
#let mono(s, color: black) = {text(font: "Inconsolata", fill: color)[#s]}
#let isDiv1(problem) = {
return problem.d1.trim().len() != 0
}
#let isDiv2(problem) = {
return problem.d2.trim().len() != 0
}
#let constructTitle(problem, size: 2.5em, bookm... | |
https://github.com/DashieTM/ost-5semester | https://raw.githubusercontent.com/DashieTM/ost-5semester/main/patterns/weeks/week8.typ | typst | #import "../../utils.typ": *
#section("Meta Patterns 2")
#subsection([Anything (Fancy Property List)])
#set text(size: 14pt)
Problem | We need to represent *any* data that can include sequences of data and
should be stored recursively and should be easily extendable.\
Solution | Create a datastructure that can be cas... | |
https://github.com/soul667/typst | https://raw.githubusercontent.com/soul667/typst/main/PPT/MATLAB/code/2.typ | typst | 查阅艾里斑的相关资料,讨论光学仪器的分辨本领(假设入射光波长 500 nm,透镜焦距 0.2 m, 圆孔半径 0.5 mm)
艾里斑是由于衍射限制而在焦点处形成的光斑,其中央为明亮的圆斑,周围有一组较弱的明暗相间的同心环状条纹。在光学仪器中,艾里斑的大小影响了仪器的分辨能力,即能够区分两个接近物体的最小距离。
根据瑞利判据,两个点光源的艾里斑中心与第一暗环重合时,这两个点光源刚好能够被分辨。艾里斑的半径可以用以下公式计算:
$ r = 1.22 times (f times lambda)/D $
其中:
- $r$ 是艾里斑的半径
- $f$ 是透镜的焦距
- $lambda$ 是入射光的波长
- $D$ 是圆孔的直径... | |
https://github.com/ruziniuuuuu/modern-cv-zh | https://raw.githubusercontent.com/ruziniuuuuu/modern-cv-zh/main/resume.typ | typst | #import "template.typ": *
#show: resume.with(
author: (
firstname: "二狗",
lastname: "王",
email: "<EMAIL>",
phone: "(+86) 138-8888-8888",
github: "doggy2",
linkedin: "wang-er-gou-888888888",
address: "火星省火星市, 666666",
positions: (
"养猪专家",
"专业觅食",
"咸鱼翻身",
"睡眠研究"
... | |
https://github.com/lucannez64/Notes | https://raw.githubusercontent.com/lucannez64/Notes/master/Anglais_Compte_Rendu.typ | typst | #import "template.typ": *
// Take a look at the file `template.typ` in the file panel
// to customize this template and discover how it works.
#show: project.with(
title: "Anglais Compte Rendu",
authors: (
"<NAME>",
),
date: "3 Juin, 2024",
)
#set heading(numbering: "1.1.")
The text, written by <NAME> an... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-2C00.typ | typst | Apache License 2.0 | #let data = (
("GLAGOLITIC CAPITAL LETTER AZU", "Lu", 0),
("GLAGOLITIC CAPITAL LETTER BUKY", "Lu", 0),
("GLAGOLITIC CAPITAL LETTER VEDE", "Lu", 0),
("GLAGOLITIC CAPITAL LETTER GLAGOLI", "Lu", 0),
("GLAGOLITIC CAPITAL LETTER DOBRO", "Lu", 0),
("GLAGOLITIC CAPITAL LETTER YESTU", "Lu", 0),
("GLAGOLITIC CAPIT... |
https://github.com/timetraveler314/Note | https://raw.githubusercontent.com/timetraveler314/Note/main/Discrete/logic.typ | typst | #import "@local/MetaNote:0.0.1" : *
= Logic
#let Prop = math.bold("PROP")
#let ts = math.tack.r
#let tss = math.tack.r.double
== Propositional Logic
To describe a proposition, we introduce the following syntax defining the set of propositions $prop$:
#definition($"Syntax of" Prop$)[
Atoms: $A := {p, q, r, ...}... | |
https://github.com/typst-community/glossarium | https://raw.githubusercontent.com/typst-community/glossarium/master/examples/plural-example/main.typ | typst | MIT License | #import "../../glossarium.typ": make-glossary, register-glossary, print-glossary, gls, glspl
// Replace the local import with a import to the preview namespace.
// If you don't know what that mean, please go read typst documentation on how to import packages at https://typst.app/docs/packages/.
#show: make-glossary
#l... |
https://github.com/jamesrswift/springer-spaniel | https://raw.githubusercontent.com/jamesrswift/springer-spaniel/main/src/package/codly.typ | typst | The Unlicense | #import "@preview/codly:0.2.0": *
#let codly = codly.with(
// display-icon: false, display-name: false,
zebra-color: luma(95%),
radius: 2pt,
stroke-width: 0.25pt,
stroke-color: black,
language-block: (x) => (name, icon, default-color, loc) => {
let radius = __codly-radius.at(loc)
let padding = __co... |
https://github.com/Thumuss/truthfy | https://raw.githubusercontent.com/Thumuss/truthfy/main/README.md | markdown | MIT License | # Truthfy
Make an empty or filled truth table in Typst
# Export
```sh
truth-table-empty(info: array[math_block], data: array[str]): table
# Create an empty (or filled with "data") truth table.
truth-table(..info: array[math_block]): table
# Create a filled truth table.
karnaugh-empty(info: array[math_block... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/ops-invalid-06.typ | typst | Other | // Error: 3-19 cannot apply '<=' to relative length and ratio
#(30% + 1pt <= 40%)
|
https://github.com/piepert/philodidaktik-hro-phf-ifp | https://raw.githubusercontent.com/piepert/philodidaktik-hro-phf-ifp/main/src/lernerfolgskontrollen/uebung01/main.typ | typst | Other | #import "/src/lernerfolgskontrollen/template.typ": *
#set page(flipped: true)
#set text(size: 0.675em)
#show: columns.with(2)
#show: project.with(
topic: "Descartes methodischer Zweifel"
)
#citation[
#{
set text(size: 0.75em)
place(dx: -1.5em, dy: 0.1em, [1])
place(dx: -1.5em, dy: 7.85e... |
https://github.com/jamesrswift/ionio-illustrate | https://raw.githubusercontent.com/jamesrswift/ionio-illustrate/main/src/defaults.typ | typst | MIT License | #let mass-spectrum-default-style = (
axes: (
tick: (length:-0.1, stroke: 0.4pt),
frame: true,
label: (offset: 0.3),
stroke: 0.4pt
),
title: (:),
callipers: (
line: (stroke: gray + 0.45pt),
content: (:)
),
callouts: (
line: (stroke: gray + 0.45pt),
),
peaks: (
stroke: (pai... |
https://github.com/caro3dc/typststuff | https://raw.githubusercontent.com/caro3dc/typststuff/main/reminder.typ | typst | #import "jx-style.typ": *
#show: docu.with( size: "longbond-l" )
#align(horizon+center)[#text(size: 1in, weight: 900)[UT TASVE TI, WORK ON #ac("midblue")[EMPTECH] FIRST, THEN #ac("pink")[PE], THEN #ac("yellow")[III]]] | |
https://github.com/Woodman3/modern-ysu-thesis | https://raw.githubusercontent.com/Woodman3/modern-ysu-thesis/main/pages/bachelor-detail.typ | typst | MIT License | #import "../utils/datetime-display.typ": datetime-display
#import "../utils/style.typ": 字号, 字体
#import "../utils/custom-cuti.typ" : fakebold
#let bachelor-detail(
anonymous: false,
twoside: false,
fonts: (:),
info: (:),
// 其他参数
stoke-width: 0.5pt,
min-title-lines: 2,
info-inset: (x: 0pt, bottom: 1pt),
... |
https://github.com/TypstApp-team/typst | https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/math/attach-p2.typ | typst | Apache License 2.0 | // Test t and b attachments, part 2.
---
// Test high subscript and superscript.
$ sqrt(a_(1/2)^zeta), sqrt(a_alpha^(1/2)), sqrt(a_(1/2)^(3/4)) \
sqrt(attach(a, tl: 1/2, bl: 3/4)),
sqrt(attach(a, tl: 1/2, bl: 3/4, tr: 1/2, br: 3/4)) $
---
// Test for no collisions between descenders/ascenders and attachments
$ s... |
https://github.com/Shambuwu/stage-docs | https://raw.githubusercontent.com/Shambuwu/stage-docs/main/documenten/onderzoeksrapport.typ | typst | #align(
center,
text(
size: 1.2em,
[
*Competentie: Onderzoeken* \
Onderzoeksrapport en resultaten \
],
)
)
#align(
center,
figure(
image("../bijlagen/onderzoeksrapport/OIG.jpg",
width: 400pt
)
)
)
#let date = datetime(
year: 2023,
month: 6,
day: 30
)
#place(
bo... | |
https://github.com/rabotaem-incorporated/probability-theory-notes | https://raw.githubusercontent.com/rabotaem-incorporated/probability-theory-notes/master/main.typ | typst | #import "utils/core.typ": *
#show: notes.with(
name: "Конспект лекций по теории вероятностей",
short-name: "Теория вероятностей",
lector: "<NAME>",
info: "СПБГУ МКН, Современное программирование, 2023-2024",
)
#show: show-references
#include "sections/01-elementary/!sec.typ"
#include "sections/02-general/!se... | |
https://github.com/orkhasnat/resume | https://raw.githubusercontent.com/orkhasnat/resume/master/modern-big/resume-lib.typ | typst | #import "fa-lib.typ": *
// font sizes
#let bf = 9.5pt
#let h1f = bf+4pt
#let h2f = bf+2pt
#let h2secf = bf+1pt
#let h3f = bf - 1pt
#let markerf = 7pt
#let sepf = markerf - 2pt
#let padf = 2pt
#let spf= 1em
// const color
#let color-darknight = rgb("141E1E")
#let color-darkgray = rgb("213131")
#let default-accent-col... | |
https://github.com/WinstonMDP/knowledge | https://raw.githubusercontent.com/WinstonMDP/knowledge/master/orders.typ | typst | #import "cfg.typ": cfg
#show: cfg
= Порядки
$<=$ - предпорядок $:= med <=$ рефлексивное и транзитивное.
$<=$ - порядок $:= med <=$ антисимметричный предпорядок.
$<$ - строгий порядок $:= med <$ иррефлексивное и транзитивное.
| |
https://github.com/juruoHBr/typst_xdutemplate | https://raw.githubusercontent.com/juruoHBr/typst_xdutemplate/main/test.typ | typst | #import "@preview/cuti:0.2.1": show-cn-fakebold
#show strong: show-cn-fakebold
*keywords* | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/text/linebreak_05.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Test consecutive breaks.
Two consecutive \ \ breaks and three \ \ more.
|
https://github.com/TypstApp-team/typst | https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/layout/container-fill.typ | typst | Apache License 2.0 | #set page(height: 100pt)
#let words = lorem(18).split()
#block(inset: 8pt, width: 100%, fill: aqua, stroke: aqua.darken(30%))[
#words.slice(0, 13).join(" ")
#box(fill: teal, outset: 2pt)[tempor]
#words.slice(13).join(" ")
]
|
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-2600.typ | typst | Apache License 2.0 | #let data = (
("BLACK SUN WITH RAYS", "So", 0),
("CLOUD", "So", 0),
("UMBRELLA", "So", 0),
("SNOWMAN", "So", 0),
("COMET", "So", 0),
("BLACK STAR", "So", 0),
("WHITE STAR", "So", 0),
("LIGHTNING", "So", 0),
("THUNDERSTORM", "So", 0),
("SUN", "So", 0),
("ASCENDING NODE", "So", 0),
("DESCENDING NO... |
https://github.com/0x1B05/english | https://raw.githubusercontent.com/0x1B05/english/main/cnn10/content/20240513.typ | typst | #import "../template.typ": *
#pagebreak()
= 20240513
== You Do You Friday
So today is Monday, first day of the school week, first day of the work week for most #strike[of us]#underline[folks], but does#strike[n't] #underline[it] have to be that way? #underline[Whether you're *tightening screws*] on #strike[the]#unde... | |
https://github.com/bugsbugsbux/learning-typst | https://raw.githubusercontent.com/bugsbugsbux/learning-typst/master/understanding.typ | typst | // requires "Fira Math" font
// jump: TODO, DEBUG, CHECK, TAG
#let mytitle = "Understanding Typst"
#set document(title: mytitle)
#set text(lang: "en", hyphenate: false)
#set par(justify: true)
#set heading(numbering: "1.")
#set table(stroke: silver) // TAG:table_silver
#set page(
paper: "a4",
numbering: "1",
... | |
https://github.com/LDemetrios/Typst4k | https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/syntax/shorthand.typ | typst | // Test shorthands for unicode codepoints.
--- shorthand-nbsp-and-shy-hyphen ---
The non-breaking space~does work, soft-?hyphen also does.
--- shorthand-nbsp-width ---
// Make sure non-breaking and normal space always
// have the same width. Even if the font decided
// differently.
#set text(font: "New Computer Moder... | |
https://github.com/fuchs-fabian/typst-template-aio-studi-and-thesis | https://raw.githubusercontent.com/fuchs-fabian/typst-template-aio-studi-and-thesis/main/template/main.typ | typst | MIT License | #import "lib.typ": *
#import "abstract.typ": abstract
#import "abbreviations.typ": abbreviations
#import "literature_and_bibliography.typ": literature-and-bibliography
#import "attachements.typ": attachements
// Kapitel
#import "chapters/introduction.typ": introduction
#import "chapters/summary.typ": summary
// Füge ... |
https://github.com/mem-courses/linear-algebra | https://raw.githubusercontent.com/mem-courses/linear-algebra/main/homework/linear-algebra-bonus1.typ | typst | #import "../template.typ": *
#show: project.with(
title: "Linear Algebra\nBonus Problems #1 (Cp. 1~2)",
authors: (
(name: "<NAME>", email: "<EMAIL>", phone: "3230104585"),
),
date: "October 29, 2023",
)
= 第二周附加题 T1 #ac
#prob[
#set math.mat(delim: "(")
$
bold(A)&=(a_(i j))_(n times n)\
bold(B)&=mat(
a... | |
https://github.com/sicheng1806/typst-book-for-sicheng | https://raw.githubusercontent.com/sicheng1806/typst-book-for-sicheng/main/scr/typst速览/main.typ | typst | #import "../basic_pkg/note_CN.typ"
#import "../basic_pkg/par.typ" : abstact
#import "../basic_pkg/table.typ" : webtable
#import "../basic_pkg/board.typ" : code-board,result-board,background-board
#show : doc => note_CN.conf(
title: "typst速览笔记",
author: text(blue)[sicheng1806],
_numbering: true,
doc
)
// 设置一些小函... | |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/034%20-%20Dominaria/010_Return%20to%20Dominaria%3A%20Episode%2010.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Return to Dominaria: Episode 10",
set_name: "Dominaria",
story_date: datetime(day: 16, month: 05, year: 2018),
author: "<NAME>",
doc
)
For a long time Slimefoot knew nothing except the #emph[Weatherlight] 's warm hull and the hot sun of Bog... | |
https://github.com/TypstApp-team/typst | https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/bugs/footnote-list.typ | typst | Apache License 2.0 | // Test that footnotes in lists do not produce extraneous page breaks. The list
// layout itself does not currently react to the footnotes layout, weakening the
// "footnote and its entry are on the same page" invariant somewhat, but at
// least there shouldn't be extra page breaks.
---
#set page(height: 100pt)
#block... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.3.0/ucd/block-11FB0.typ | typst | Apache License 2.0 | #let data = (
("LISU LETTER YHA", "Lo", 0, none),
)
|
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/example/0.1.0/util/math.typ | typst | Apache License 2.0 | #let add(x, y) = x + y
#let sub(x, y) = x - y
#let mul(x, y) = x * y
#let div(x, y) = x / y
|
https://github.com/Its-Alex/resume | https://raw.githubusercontent.com/Its-Alex/resume/master/lib/components/title.typ | typst | MIT License | #let customTitle(
name
) = [
#block(
above: 2em,
)[
#grid(
inset: (x: 0pt, y: 0pt),
columns: (100%),
gutter: 6pt,
{
text(fill: rgb("BCBABF"), weight: 600)[#name]
},
{
line(stroke: (1pt + rgb("BCBABF")), length: 70%)
}
)
]
] |
https://github.com/r8vnhill/apunte-bibliotecas-de-software | https://raw.githubusercontent.com/r8vnhill/apunte-bibliotecas-de-software/main/Unit2/properties.typ | typst | == Propiedades en Kotlin
- Las propiedades en Kotlin son esencialmente variables que son miembros de una clase.
- Son equivalentes a los campos combinados con sus métodos getter y setter en otros lenguajes de programación como Java.
- Kotlin genera automáticamente getters para las propiedades inmutables y getters y se... | |
https://github.com/jamesrswift/springer-spaniel | https://raw.githubusercontent.com/jamesrswift/springer-spaniel/main/tests/codly/test.typ | typst | The Unlicense | #import "/tests/preamble.typ": *
#import springer-spaniel.codly
#show: springer-spaniel.template(
title: [Towards Swifter Interstellar Mail Delivery],
authors: (
(
name: [<NAME>],
institute: "Primary Logistics Departmen",
address: "Delivery Institute, Berlin, Germany",
email: "<EMAIL>"
... |
https://github.com/Lulliter/cv_typst | https://raw.githubusercontent.com/Lulliter/cv_typst/master/README.md | markdown | # CV
My CV (in ENG and ITA) made with quarto & `typstcv` pckg.
## What is `typst`?
[`typst`](https://github.com/typst/typst) is a new markup-based typesetting system that is designed to be as powerful as `LaTeX` while being much easier to learn and use.

#let argmax = math.op("arg max", limits: true)
#let argmin = math.op("arg min", ... | |
https://github.com/SWATEngineering/Docs | https://raw.githubusercontent.com/SWATEngineering/Docs/main/src/3_PB/VerbaliEsterni/VerbaleEsterno_230223/meta.typ | typst | MIT License | #let data_incontro = "23-02-2024"
#let inizio_incontro = "17:00"
#let fine_incontro = "17:30"
#let luogo_incontro = "Google Meet"
#let company = "Sync Lab" |
https://github.com/xsro/xsro.github.io | https://raw.githubusercontent.com/xsro/xsro.github.io/zola/typst/Control-for-Integrator-Systems/lib/ode-dict.typ | typst | // solve ode equation with states expressed with dictionary
#let ode45(func,tfinal,x0,step,record_step:0.1,force_update:())={
let t=0. //initial time
let x=x0 //initial state
let xout=((t,x),)
let dxout=((t,func(t,x)),)
let dict_biop(x,y,func)={
let x2=(:)
for (key, value) in x0 {
x2.inser... | |
https://github.com/julyfun/jfmfoi | https://raw.githubusercontent.com/julyfun/jfmfoi/main/总结/第二年集训经验.typ | typst | == 招生
- 队伍成立前招的学生越多越好,70 人以上都可以(像第一年开头),第一节课为试听课,必须给所有学生讲清楚集训的压力,告诉他们最终会有什么收获和益处,展示整年度大致集训安排和作业量,这样过两三节课很多意志不坚定的人就会退出,机房位置绝对够。
== 课程
- 课程量太少,确实需要多排一些课。如果学校觉得支出较大,其实我觉得时薪是次要的,如果课程量没法和其他竞赛达到同一量级,就更难出成绩。
- 可以给学生准备的培训书籍:董永建的 C++ 奥赛一本通(入门版和提高版),算法竞赛入门经典,洛谷的入门书冗余信息太多了
- 由于部分同学一进队就有信奥基础,如果从最简单题目讲起,会劝退他们。第二年尝试的分提高组和入门组教学,有效... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/cancel_05.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Specifying cancel line angle with an absolute angle
$cancel(x, angle: #0deg) + cancel(x, angle: #45deg) + cancel(x, angle: #90deg) + cancel(x, angle: #135deg)$
|
https://github.com/e10e3/devops | https://raw.githubusercontent.com/e10e3/devops/main/report/report.typ | typst | #let project(title: "", authors: (), date: none, body) = {
// Set the document's basic properties.
set document(author: authors, title: title)
set page(
margin: (left: 27mm, right: 35mm, top: 30mm, bottom: 30mm),
numbering: "1",
number-align: center,
)
set text(font: "Linux Libertine", lang: "en")... | |
https://github.com/0x1B05/english | https://raw.githubusercontent.com/0x1B05/english/main/grammar/content/虚拟语气.typ | typst | #import "../template.typ": *
= 虚拟语气
== 介绍
=== 如何彻底掌握虚拟语气
- 理解虚拟语气的本质:为什么虚拟?能不能不虚拟?虚拟 or 不虚拟,意思有何区别?
- 对虚拟语气的语法规则必须烂熟于心(口语比书面语更为常见)
- 真实条件句 VS 非真实条件句,要认真对比
- 记住:虚拟语气都有言外之意
- If I can help you, I will definitely do so.
- If I could help you, I would definitely do so.(帮不上)
- 把本课程的讲义烂熟于心,你就啥都明白了
=== 语法规则
#tablem[
... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/lint/markup_03.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Warning: 1-3 no text within underscores
// Hint: 1-3 using multiple consecutive underscores (e.g. __) has no additional effect
// Warning: 13-15 no text within underscores
// Hint: 13-15 using multiple consecutive underscores (e.g. __) has no ad... |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/022%20-%20Commander%20(2015%20Edition)/002_Family%20Values.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Family Values",
set_name: "Commander (2015 Edition)",
story_date: datetime(day: 11, month: 11, year: 2015),
author: "<NAME>",
doc
)
#emph[<NAME> is a formidable force in the courts of the city-plane of Ravnica, but she wants more. With her ... | |
https://github.com/Error0229/- | https://raw.githubusercontent.com/Error0229/-/main/__/__%20...%20_...typ | typst | The Unlicense | #set text(font: ("Microsoft Sans Serif", "New Computer Modern"))
#align(center, text(24pt)[
*現代科技概論 期中心得報告*\
*淺談虛擬貨幣與其風險*
])
#align(right, [資工三 110590004 林奕廷])
= 導言
虛擬貨幣,特別是比特幣及其衍生的其他加密貨幣,自2009年首次出現以來,迅速引起了全球範圍內的廣泛關注。這些數字貨幣的出現被視為金融技術領域的一次重大創新,它們提供了一種全新的支付方式,並且為資產交易和投資活動開辟了新途徑。虛擬貨幣的非中心化特性和潛在的匿名交易能力,使它們在全球範圍內受到了投資者和... |
https://github.com/mhspradlin/wilson-2024 | https://raw.githubusercontent.com/mhspradlin/wilson-2024/main/programming/day-2.typ | typst | MIT License | #set page("presentation-16-9")
#set text(size: 30pt)
= Day 2
#pagebreak()
== Functions
A function lets you execute another piece of code.
Functions are *invoked* by using the name of the function, parentheses, and passing *arguments*.
#pagebreak()
== Anatomy of a Function Invocation
```python
max(10, 15, 6)
``... |
https://github.com/Gowee/typst-clatter | https://raw.githubusercontent.com/Gowee/typst-clatter/main/README.md | markdown | MIT License | # clatter - PDF417 Barcode Generator
clatter is a simple Typst package for generating PDF417 barcodes, utilizing the [rxing](https://github.com/rxing-core/rxing) library.
## Features
- **Easy to Use**: The package provides a single, intuitive function to generate barcodes.
- **Flexible Sizing**: Control the size of ... |
https://github.com/flaribbit/indenta | https://raw.githubusercontent.com/flaribbit/indenta/master/README.md | markdown | MIT License | # Indenta
An attempt to fix the indentation of the first paragraph in typst.
It works.
## Usage
```typst
#set par(first-line-indent: 2em)
#import "@preview/indenta:0.0.3": fix-indent
#show: fix-indent()
```
## Demo

#let secondary-color = gray
#let header(name: none, title: none, mobile: none, email: none, github: none, linkedin: none, photo: none) = {
grid(
columns: (1fr, 13%),
[
#text(font: "<NAME>", 3em, name)\
#set text(primary-color)
#smallcaps(title)
📱... |
https://github.com/The-Notebookinator/notebookinator | https://raw.githubusercontent.com/The-Notebookinator/notebookinator/main/themes/radial/components/admonitions.typ | typst | The Unlicense | #import "../colors.typ": *
#import "../icons/icons.typ"
#import "/utils.typ"
#import "../metadata.typ": *
#import "/packages.typ": showybox
#import showybox: *
#let admonition = utils.make-admonition((type, body) => {
let info = admonition-type-metadata.at(type)
let colored-icon = utils.change-icon-color(
raw-... |
https://github.com/senaalem/ISMIN_reports_template | https://raw.githubusercontent.com/senaalem/ISMIN_reports_template/main/template.typ | typst | #let rectangle(
title: "",
subtitle: "",
authors: (),
date: "",
logo: none,
main-color: rgb(87,42,134),
header-title: "",
header-subtitle: "",
body
) = {
set document(title: title)
set text(lang: "fr")
// le séparateur dans la légende des figures
set figure.caption(separator: [ : ])
let ... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/bugs/grid-3-00.typ | typst | Other | #set page(height: 70pt)
#v(40pt)
The following:
+ A
+ B
|
https://github.com/warab1moch1/MathmaticalFinance | https://raw.githubusercontent.com/warab1moch1/MathmaticalFinance/main/20240622.typ | typst | #import "manual_template.typ": *
#import "theorems.typ": *
#show: thmrules
// Define theorem environments
#let theorem = thmbox(
"theorem",
"Theorem",
fill: rgb("#e8e8f8")
)
#let lemma = thmbox(
"theorem", // Lemmas use the same counter as Theorems
"Lemma",
fill: rgb("#efe6ff")
)... | |
https://github.com/kdog3682/mathematical | https://raw.githubusercontent.com/kdog3682/mathematical/main/0.1.0/src/attempts/stacking-cubes-1.typ | typst | // this file attempts to remove the overlaps between edges
// it is a major refactor: changing styles to an array
// example-single-cube: working
// example-multiple-cube(): the background overlaps ...
// doesnt look very good
#import "@local/typkit:0.1.0": *
#import "@local/mathematical:0.1.0": *
#import "@preview/ce... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/text/escape_01.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
//
// // Unicode codepoint does not exist.
// // Error: 1-11 invalid Unicode codepoint: FFFFFF
// \u{FFFFFF} |
https://github.com/TheBotlyNoob/ECE1551 | https://raw.githubusercontent.com/TheBotlyNoob/ECE1551/main/notes/2/ECE1551%20-%20Chapter%202.typ | typst | #show link: underline
#show link: set text(blue)
#set text(size: 12pt)
#outline(indent: 2em, title: [ECE 1551 Chapter 2: ])
= DeMorgan's Theorem
$overline(\XY) = overline(X) + overline(Y)$
$overline(X + Y) = overline(\XY)$
- Simplify $(\AB)'(A' + B)$
+ $(A' + B')(A' + B)$
+ $A' + A'B + B'A'$
+ $A'cancel((... | |
https://github.com/StanleyDINNE/php-devops-tp | https://raw.githubusercontent.com/StanleyDINNE/php-devops-tp/main/documents/Rapport/Rapport.typ | typst |
// Add the VSCode extension "Typst" to edit this file easily!
#import "Typst/Template_default.typ": set_config
#import "Typst/Constants.typ": document_data, line_separator, figures_folder
#import "Typst/Util.typ": file_folder, import_csv_filter_categories, insert_code-snippet, insert_figure as i_f, to_string, todo, ... | |
https://github.com/Chwiggy/thesis_bachelor | https://raw.githubusercontent.com/Chwiggy/thesis_bachelor/main/src/abstract_de.typ | typst | #set text(lang:"de")
Diese Arbeit versucht zwei Indikatoren für die Analyse des öffentlichen Nahverkehrs zu erstellen. Die Indikatoren beruhen dabei auf Ideen aus der Literatur und auf einer Phase explorativer Datenanalyse basierend auf offenen, öffentlich zugänglichen Daten. Die Indikatoren wurden dann anhand einer Fa... | |
https://github.com/tingerrr/chiral-thesis-fhe | https://raw.githubusercontent.com/tingerrr/chiral-thesis-fhe/main/src/utils/assert.typ | typst | #import "/src/packages.typ" as _pkg
#let std = assert
#let text(name, value) = {
if type(value) not in (str, content) {
panic(_pkg.oxifmt.strfmt("`{}` must be text, was of type `{}`", name, type(value)))
}
}
| |
https://github.com/piepert/philodidaktik-hro-phf-ifp | https://raw.githubusercontent.com/piepert/philodidaktik-hro-phf-ifp/main/src/parts/ephid/grundpositionen/main.typ | typst | Other | #import "/src/template.typ": *
= #ix("Grundpositionen der Philosophiedidaktik")
#author[<NAME>]
#include "historische_standpunkte.typ"
#include "grundfragen.typ"
#include "selbstverstaendnis.typ"
#include "deduktion_induktion_abduktion.typ"
#include "thesen.typ"
#include "debatten_und_kontroversen.typ"
#include "kult... |
https://github.com/FkHiroki/ex-D2 | https://raw.githubusercontent.com/FkHiroki/ex-D2/main/main.typ | typst | MIT No Attribution | // MIT No Attribution
// Copyright 2024 <NAME>
#import "libs/rsj-conf/lib.typ": rsj-conf
#show: rsj-conf.with(
// title: [Typst を使った国内学会論文の書き方 \ - 国内学会予稿集に似せたフォーマットの作成 - ],
// authors: [◯ 著者姓1 著者名1,著者姓2 著者名2(○○○大学),著者姓3 著者名3 (□□□株式会社)],
// abstract: [#lorem(80)],
// bibliography: bibliography("refs.bib", full... |
https://github.com/akagiyuu/math-document | https://raw.githubusercontent.com/akagiyuu/math-document/main/integral/%5Cfrac%7Bsinx%7D%7Bx%7D.typ | typst | #set text(size: 20pt)
$ I(t) = integral_0^infinity (sin(x) e^(-t x))/x dif x $
$ arrow.double I'(t)
&= -integral_0^infinity sin(x) e^(-t x) dif x \
&= - cal(L)(sin(x)) \
&= - 1/(t^2+1)
$
$ arrow.double I(t) = -arctan(t) + c $
$ I(infinity) = 0 $
$ arrow.double I(t) = -arctan(t) + pi/2 $
$ arrow.double integral_0^infini... | |
https://github.com/tingerrr/chiral-thesis-fhe | https://raw.githubusercontent.com/tingerrr/chiral-thesis-fhe/main/tests/utils/token/test.typ | typst | #import "/src/utils/token.typ"
#set page(height: 1cm, width: 1cm)
// token-eat
#assert.eq(token.eat("Foo Bar Baz", "Bar"), (none, "Foo Bar Baz"))
#assert.eq(token.eat("Foo Bar Baz", "Foo"), ("Foo", " Bar Baz"))
#assert.eq(token.eat("Foo Bar Baz", regex("Fo+")), ("Foo", " Bar Baz"))
// token-eat-any
#assert.eq(token.... | |
https://github.com/frectonz/the-pg-book | https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/040.%20writing44.html.typ | typst | writing44.html
Writing, Briefly
March 2005
(In the process
of answering an email, I accidentally wrote a tiny essay about writing.
I usually spend weeks on an essay. This one took 67 minutes—23
of writing, and 44 of rewriting.)I think it's far more important to write well than most people
realize. Writing doesn't... | |
https://github.com/soul667/typst | https://raw.githubusercontent.com/soul667/typst/main/PPT/MATLAB/touying/docs/i18n/zh/docusaurus-plugin-content-docs/current/progress/counters.md | markdown | ---
sidebar_position: 1
---
# Touying 的计数器
Touying 的状态均放置于 `states` 命名空间下,包括所有的计数器。
## slide 计数器
你可以通过 `states.slide-counter` 获取 slide 计数器,并且通过 `states.slide-counter.display()` 展示当前 slide 的序号。
## last-slide 计数器
因为有些情形下,我们需要为 slides 加入后记,因此就有了冻结 last-slide 计数器的需求,因此这里维护了第二个计数器。
我们可以使用 `states.last-slide-number` ... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/text/baseline_01.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
Hey #box(baseline: 40%, image("/assets/files/tiger.jpg", width: 1.5cm)) there!
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.