repo stringlengths 26 115 | file stringlengths 54 212 | language stringclasses 2
values | license stringclasses 16
values | content stringlengths 19 1.07M |
|---|---|---|---|---|
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/block-sizing_00.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
#set page(height: 100pt)
#set align(center)
#lorem(10)
#block(width: 80%, height: 60pt, fill: aqua)
#lorem(6)
#block(
breakable: false,
width: 100%,
inset: 4pt,
fill: aqua,
lorem(8) + colbreak(),
)
|
https://github.com/csskevin/typst-iaik-bachelor-thesis-template | https://raw.githubusercontent.com/csskevin/typst-iaik-bachelor-thesis-template/master/src/lib.typ | typst | MIT License | // ----------------------------
// TEMPLATE
#let conf(
title: "",
author: "",
keywords: (),
supervisors: (),
institute: "",
university: "",
curriculum: "",
abstract: none,
location_date: "Graz, Month Year",
doc
) = {
// ----------------
// Document Default Style
// ----------------
set docum... |
https://github.com/anesthetice/typst-templates | https://raw.githubusercontent.com/anesthetice/typst-templates/main/README.md | markdown | The Unlicense | ## typst and rnote templates I use
the main typst template I use was heavily inspired on dogeystamp's.
https://github.com/dogeystamp/typst-templates/
|
https://github.com/HiiGHoVuTi/requin | https://raw.githubusercontent.com/HiiGHoVuTi/requin/main/calc/ev.typ | typst |
#import "../lib.typ": *
#show heading: heading_fct
Soit $Sigma := {0, 1}$. On identifie les réels de $[0,1]$ à leurs développements binaires canoniques.
Un réel $x in [0, 1[$ est dit _calculable_ lorsqu'il existe une suite $(x^n in Sigma^star)$ croissante calculable telle que $ forall n in NN, med |x - x_n| <= 2^(-n... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/text/symbol-01.typ | typst | Other | // Error: 13-20 unknown symbol modifier
#emoji.face.garbage
|
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/droplet/0.2.0/src/droplet.typ | typst | Apache License 2.0 | #import "extract.typ": extract
#import "split.typ": split
// Sets the font size so the resulting text height matches the given height.
//
// If not specified otherwise in "text-args", the top and bottom edge of the
// resulting text element will be set to "bounds".
//
// Parameters:
// - height: The target height of t... |
https://github.com/ice1000/website | https://raw.githubusercontent.com/ice1000/website/main/typst-test.typ | typst | #import "@preview/ctheorems:1.1.2": *
#import "/book.typ": book-page
#show: book-page.with(title: "<NAME>")
The purpose of this page is to test some random things.
#show: thmrules.with(qed-symbol: $square$)
#let definition = thmbox("definition", "Definition", inset: (x: 1.2em, top: 1em))
#let emsp = h(2em)
#definit... | |
https://github.com/maxlambertini/troika-srd-typst | https://raw.githubusercontent.com/maxlambertini/troika-srd-typst/main/chap02.typ | typst | #let chap02_title = [ = Character Creation
<character-creation>
]
#let chap02=[
== Overview:
+ Roll 1d3+3 to determine Skill.
+ Roll 2d6+12 to determine Stamina.
+ Roll 1d6+6 to determine Luck.
+ Record Baseline Possessions that every new character starts with:
+ 2d6 Silver Pence, a Knife, a Lantern & Flask of Oil, ... | |
https://github.com/protohaven/printed_materials | https://raw.githubusercontent.com/protohaven/printed_materials/main/class-handouts/class-wood_111-cutting_board.typ | typst |
#import "./environment/env-templates.typ": *
#show: doc => class_handout(
title: "Freeform Cutting Boards",
category: "Wood",
number: "110",
clearances: ("Dust Collection",),
instructors: ("<NAME>",),
authors: ("<NAME>", "<NAME>"),
draft: true,
doc
)
// Content goes here
= Welcome
Welcome to the M... | |
https://github.com/rubal501/cartel-iibo | https://raw.githubusercontent.com/rubal501/cartel-iibo/main/main.typ | typst | #import "@preview/peace-of-posters:0.4.1" as pop
#import "@preview/physica:0.9.3" : *
#let k2 = [(#text(red)[$k_2$]) ]
#let custom_layout = pop._default-layout + (
"spacing": 1.2em,
"paper": "a0",
"size": (841mm, 1188mm),
"body-size": 33pt,
"heading-size": 50pt,
... | |
https://github.com/Jollywatt/typst-wordometer | https://raw.githubusercontent.com/Jollywatt/typst-wordometer/master/tests/sentences/test.typ | typst | MIT License | #import "/src/lib.typ": *
#set page(width: 15cm, height: auto)
#let el = [
Pour quoi ? Qu'est-ce que c'est !?
"I don't know anything."
This should be, uhh... *four* sentences.
]
#el
#word-count-of(el) |
https://github.com/Kasci/LiturgicalBooks | https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/CSL_old/oktoich/Hlas6/5_Piatok.typ | typst | #let V = (
"HV": (
("","Tridnévno","Dolhoterpilíve i čelovikoľúbče Bóže mój, mnohomílostive i ščédre, káko preterpíl jesí zakalánije i umerščvlénije na drévi, za ród čelovíčeskij? Slavoslóvim tvojé blahoutróbije."),
("","","Zaušénija preterpíl jesí, i raspjátije dolhoterpielíve, i uničižénija, choťá vsích izb... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/grid-3_00.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
#set page(width: 5cm, height: 3cm)
#grid(
columns: 2,
row-gutter: 8pt,
[Lorem ipsum dolor sit amet.
Aenean commodo ligula eget dolor. Aenean massa. Penatibus et magnis.],
[Text that is rather short],
[Fireflies],
[Critical],
[Decor... |
https://github.com/Mouwrice/resume | https://raw.githubusercontent.com/Mouwrice/resume/main/README.md | markdown | # Resume <NAME>
My resume using the brilliant-CV typst template
| |
https://github.com/sses7757/sustech-graduated-thesis | https://raw.githubusercontent.com/sses7757/sustech-graduated-thesis/main/sustech-graduated-thesis/pages/final-cover.typ | typst | Apache License 2.0 | #import "../utils/datetime-display.typ": datetime-display, datetime-en-display
#import "../utils/justify-text.typ": justify-text
#import "../utils/style.typ": 字号, 字体
// 硕士研究生封面
#let final-cover(
// documentclass 传入的参数
doctype: "master",
degree: "academic",
nl-cover: false,
anonymous: false,
twoside: false,... |
https://github.com/GYPpro/Java-coures-report | https://raw.githubusercontent.com/GYPpro/Java-coures-report/main/.VSCodeCounter/2023-12-14_20-23-42/details.md | markdown | # Details
Date : 2023-12-14 20:23:42
Directory d:\\Desktop\\Document\\Coding\\JAVA\\Rep\\Java-coures-report
Total : 35 files, 2227 codes, 87 comments, 418 blanks, all 2732 lines
[Summary](results.md) / Details / [Diff Summary](diff.md) / [Diff Details](diff-details.md)
## Files
| filename | language | code | comm... | |
https://github.com/dashuai009/dashuai009.github.io | https://raw.githubusercontent.com/dashuai009/dashuai009.github.io/main/src/content/blog/011.typ | typst | #let date = datetime(
year: 2024,
month: 6,
day: 26,
)
#metadata((
"title": "显卡更新驱动失败黑屏",
"author": "dashuai009",
description: "",
pubDate: "'Jul 08 2022'",
subtitle: [4090],
))<frontmatter>
#import "../__template/style.typ": conf
#show: conf
#date.display();
#outline()
== 起因
PrtSc截图时,图片色彩失真,偏黄,... | |
https://github.com/LuSterM1126/MySQL_COA | https://raw.githubusercontent.com/LuSterM1126/MySQL_COA/main/MySQL.typ | typst | // #import "@preview/fuzzy-cnoi-statement:0.1.0":
#import "fuzzy-cnoi-statement/template.typ": *;
#set text(font: ("Consolas", "Microsoft YaHei"))
#let trans(cn, en) = [#strong([#cn (#emph([#en]))])]
= 数据库
== 数据库概述
- *DataBase(DB) 数据库*:存储数据的仓库,数据是有组织的进行存储
- *Database Management SyStem(DBMS) 数据库管理系统*:操纵和管理数据库的大型软件
- ... | |
https://github.com/Daillusorisch/HYSeminarAssignment | https://raw.githubusercontent.com/Daillusorisch/HYSeminarAssignment/main/template/components/acknowledgement.typ | typst | #import "../utils/style.typ": *
#let acknowledgement(
anonymous: false,
title: "致谢",
display_title: "致 谢",
outlined: true,
body,
) = {
if (not anonymous) {
show <_acknowledgement_>: {
align(center)[
#v(5pt)
#text(
font: 字体.黑体,
size: 字号.小二,
weight: "r... | |
https://github.com/MyPedagogicalRessources/BUT1-R1-01-Initiation-developpement | https://raw.githubusercontent.com/MyPedagogicalRessources/BUT1-R1-01-Initiation-developpement/main/TD/TD1-Structures-controle-correction.typ | typst | #import "TD1-Structures-controle.typ":*
#td1(isCorrection: true)
| |
https://github.com/mhspradlin/wilson-2024 | https://raw.githubusercontent.com/mhspradlin/wilson-2024/main/understanding-ai/day3-exercises.typ | typst | MIT License | #set page(
paper: "us-letter"
)
#set document(author: "<NAME>", title: "Understanding AI Day 3 Exercises")
#align(center)[
= Classifiers: Exercises
]
#v(2em)
The below questions all reference this hypothetical data set:
#table(columns: (auto, 1fr, 1fr, 1fr), align: center,
[], [*Weather*], [*Traffic*], [*Acciden... |
https://github.com/SWATEngineering/Docs | https://raw.githubusercontent.com/SWATEngineering/Docs/main/src/3_PB/PianoDiProgetto/sections/PreventivoSprint/DecimoSprint.typ | typst | MIT License | #import "../../const.typ": Re_cost, Am_cost, An_cost, Ve_cost, Pr_cost, Pt_cost
#import "../../functions.typ": prospettoOrario, prospettoEconomico, glossary
==== Decimo preventivo
*Inizio*: Venerdì 23/02/2024
*Fine*: Giovedì 29/02/2024
#prospettoOrario(sprintNumber: "10")
#prospettoEconomico(sprintNumber: "10") |
https://github.com/augustebaum/epfl-thesis-typst | https://raw.githubusercontent.com/augustebaum/epfl-thesis-typst/main/example/main/ch4_more_text.typ | typst | MIT License | = Yet another chapter
To cite, you can use label syntax. `@atc13` gives: @atc13.
You can also use `cite`: `#cite(<atc13>, form: "prose")` gives #cite(<atc13>, form: "prose").
You might have to use `cite` with `label` if the source name contains certain
characters: `#cite(label("atc13"), form: "full")` gives #cite(la... |
https://github.com/jneug/schule-typst | https://raw.githubusercontent.com/jneug/schule-typst/main/src/exercise/grading.typ | typst | MIT License | #import "../theme.typ"
#let get-points(exercise) = if exercise != none and "grading" in exercise {
exercise.grading.expectations.fold(
0,
(a, exp) => a + exp.points,
)
} else {
0
}
#let get-total-points(exercise) = {
let points = get-points(exercise)
if "sub-exercises" in exercise and exercise.sub-e... |
https://github.com/EdwinChang24/resume | https://raw.githubusercontent.com/EdwinChang24/resume/main/resume-print.typ | typst | MIT License | #include "resume.typ"
#set page(paper: "us-letter")
#pagebreak()
#v(1fr)
#align(center, image("logo.svg", width: 48pt, height: 48pt))
#v(1fr)
|
https://github.com/maxgraw/bachelor | https://raw.githubusercontent.com/maxgraw/bachelor/main/apps/document/src/3-state/ar-comparison.typ | typst | In diesem Kapitel werden verschiedene AR-Plattformen anhand spezifischer Kriterien untersucht. Die Kriterien umfassen Kompatibilität, Leistungsfähigkeit, Benutzerfreundlichkeit, Zukunftssicherheit und Kosten. Nach einer Beschreibung dieser Kriterien erfolgt eine Vorstellung und ein Vergleich der Plattformen WebXR, ARKi... | |
https://github.com/Quaternijkon/notebook | https://raw.githubusercontent.com/Quaternijkon/notebook/main/content/计算机应用数学/随机游走与马尔可夫链.typ | typst | #import "../../lib.typ": *
#set math.equation(numbering: none)
= 随机游走与马尔可夫链
== 引言
*Definition*
*随机游走* 在有向图上:从一个起始顶点生成一系列顶点,每次随机选择一个出边,沿着这条边移动到一个新的顶点,并重复这个过程。
正式定义如下:
$ p(t)P = p(t+1) $
其中, $p(t)$ 是一个行向量,它的每个分量表示在时间 $t$ 时每个顶点的概率质量分布, $P$ 是所谓的转移矩阵, $P_(i,j)$ 是游走从顶点 $i$ 选择顶点 $j$ 的概率。
*Example*
#figure(
... | |
https://github.com/0xPARC/0xparc-intro-book | https://raw.githubusercontent.com/0xPARC/0xparc-intro-book/main/src/ot.typ | typst | #import "preamble.typ":*
= Oblivious transfer
<ot>
Alice has $n$ messages $x_1, dots, x_n$.
We'll assume the messages are essentially unrelated to each other
(since we could always pad them with random bits).
Bob wants to request the $i$-th message,
without letting Alice learn anything about the value of $i$.
Alice w... | |
https://github.com/WinstonMDP/math | https://raw.githubusercontent.com/WinstonMDP/math/main/knowledge/series.typ | typst | #import "../cfg.typ": *
#show: cfg
= Series
A series $:=$
a sum of the series $:=
sum_(k = 1)^oo a_k := lim_(n -> oo) sum_(k = 1)^n a_k$
The $n$-th partial sum of a series $:= sum_(k = 1)^n a_k$
$sum_(n = 1)^oo 1/n$ doesn't converge
$sum_(n = 1)^oo 1/n^2$ converges
A series $sum_(n = 1)^oo a_n$ converges absolutel... | |
https://github.com/piepert/philodidaktik-hro-phf-ifp | https://raw.githubusercontent.com/piepert/philodidaktik-hro-phf-ifp/main/src/lernerfolgskontrollen/template.typ | typst | Other | #let project(
topic: none,
eh: false,
stufe: 12,
body
) = {
set par(justify: false)
grid(
columns: (30%, 1fr, 30%),
align(left)[
#set text(size: 0.75em)
Philosophie: Erkenntnistheorie \
Klasse #stufe
],
align(center + horizon... |
https://github.com/brynne8/typst-undergradmath-zh | https://raw.githubusercontent.com/brynne8/typst-undergradmath-zh/main/undergradmath.typ | typst | Creative Commons Attribution Share Alike 4.0 International | // Meta data
#set document(title: "Typst Math for Undergrads", author: "johanvx")
// Margin
#set page(margin: 0.5in)
// Font size
#let scriptsize = 7pt
#let normalsize = 10pt
#let large = 12pt
#set text(
size: normalsize,
lang: "zh",
font: ("Linux Libertine", "Noto Serif CJK SC")
)
#show raw: set text(
font: ... |
https://github.com/jerrita/CQUPTypst | https://raw.githubusercontent.com/jerrita/CQUPTypst/master/chapters/main.typ | typst | #let chapter_main = [
= 引言
绪论(也称引言)简要说明研究工作的目的、范围、相关领域国内外研究现状、研究目标、研究设想和内容、研究和实验方法、预期结果和意义,以及论文的章节安排等。力求言简意赅,不要与摘要雷同,也不要叙述教科书中的知识。
== 研究背景和意义
学位论文是学生从事科研工作的成果的主要表现,它集中表明了作者在研究工作中获得的新的发明、理论或见解,是申请学位的重要依据,也是科研领域中的重要文献资料和社会的宝贵财富。学位论文应能表明作者已在本门学科上掌握了坚实的基础理论和系统的专业知识,并对所研究课题有新的见解,有从事科学研究工作或独立担负专门技术工作的能力[1]。
本模板主要参照《学位论文编写... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/circuiteria/0.1.0/src/elements/alu.typ | typst | Apache License 2.0 | #import "@preview/cetz:0.2.2": draw
#import "element.typ"
#import "ports.typ": add-port
#let draw-shape(id, tl, tr, br, bl, fill, stroke) = {
let p0 = tl
let p1 = (tr, 10%, br)
let p2 = (tr, 90%, br)
let p3 = bl
let p4 = (tl, 55%, bl)
let p5 = (tl, 50%, br)
let p6 = (tl, 45%, bl)
let f1 = draw.group... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/indenta/0.0.1/README.md | markdown | Apache License 2.0 | # 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.1": fix-indent
#show: fix-indent()
```
## Demo
,
("COMBINING LIGATURE RIGHT HALF", "Mn", 230),
("COMBINING DOUBLE TILDE LEFT HALF", "Mn", 230),
("COMBINING DOUBLE TILDE RIGHT HALF", "Mn", 230),
("COMBINING MACRON LEFT HALF", "Mn", 230),
("COMBINING MACRON RIGHT HALF", "Mn", 230),
("COMBINING CON... |
https://github.com/Dherse/masterproef | https://raw.githubusercontent.com/Dherse/masterproef/main/masterproef/parts/7_conclusion.typ | typst | #import "../ugent-template.typ": *
= Conclusion
In this thesis, a new approach for the description and subsequent programming of
photonic processors combined an easy-to-use programming language with powerful
new features, such as constraints, reconfigurability through branching, and
tunability. Together, these featur... | |
https://github.com/0x1B05/nju_os | https://raw.githubusercontent.com/0x1B05/nju_os/main/lecture_notes/content/28_FAT和UNIX文件系统.typ | typst | #import "../template.typ": *
#pagebreak()
= FAT 和 UNIX 文件系统
== 磁盘上的数据结构
=== 文件系统实现
文件的实现
- 文件 = “虚拟” 磁盘
- API: `read`, `write`, `ftruncate`, ...
目录的实现
- 目录 = 文件/目录的集合
- API: `mkdir`, `rmdir`, `readdir`, `link`, `unlink`, ...
思考题:`mount` 如何实现?
最好由操作系统统一管理 (而不是由具体的文件系统实现)
=== 如果是《数据结构》课?
我们可以借助 RAM (Random Acce... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/equate/0.1.0/README.md | markdown | Apache License 2.0 | # equate
A package for improved layout of equations and mathematical expressions.
When applied, this package will split up multi-line block equations into multiple elements, so that each line can be assigned a separate number. By default, the equation counter is incremented for each line, but this behavior can be chan... |
https://github.com/7sDream/fonts-and-layout-zhCN | https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/chapters/03-unicode/store/utf16.typ | typst | Other | #import "/template/template.typ": web-page-template
#import "/template/components.typ": note
#import "/template/lang.typ": thai
#import "/lib/glossary.typ": tr
#show: web-page-template
// ### UTF-16
=== UTF-16
// UTF-32 is a very simple and transparent encoding - four bytes is one character, always, and one charact... |
https://github.com/piepert/grape-suite | https://raw.githubusercontent.com/piepert/grape-suite/main/examples/slides01.typ | typst | MIT License | #import "/src/library.typ": slides
#import slides: *
#set text(lang: "de")
#show: slides.with(
no: 1,
series: [Logik-Tutorium],
title: [Organisatorisches und Einführung in die Logik],
box-task-title: [Aufgabe],
box-hint-title: [Hinweis],
box-solution-title: [Lösung],
box-definition-title: ... |
https://github.com/jamesrswift/musicaux | https://raw.githubusercontent.com/jamesrswift/musicaux/main/src/commands/basic-content.typ | typst |
#let _draw( this, ctx ) = {
box(width: this.width, move(dx: this.dx, dy: this.dy, this.content))
}
#let basic-content(content, dx: 0pt, dy: 0pt, width: auto, pitch: none) = {
if ( pitch != none ){ dy = dy -1.09em + pitch * 0.125em}
return ((
type: "basic-content",
draw: _draw,
// Privates
conte... | |
https://github.com/ChristophVanDeest/FH-Kiel-Typst-Template | https://raw.githubusercontent.com/ChristophVanDeest/FH-Kiel-Typst-Template/main/templates/bachelor-thesis/src/chapters/02_background.typ | typst | MIT License | #import "../dependencies.typ": *
= Background
== Subsection
#lorem(400)
== Another Subsection
#lorem(300) |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/035%20-%20Core%202019/006_Chronicle%20of%20Bolas%3A%20A%20Familiar%20Stranger.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Chronicle of Bolas: A Familiar Stranger",
set_name: "Core 2019",
story_date: datetime(day: 01, month: 08, year: 2018),
author: "<NAME>",
doc
)
Where the flat tundra gave way to the western range of the Qal Sisma, hills rose like the jagged ... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/content_00.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Test images and font fallback.
#let monkey = move(dy: 0.2em, image("/assets/files/monkey.svg", height: 1em))
$ sum_(i=#emoji.apple)^#emoji.apple.red i + monkey/2 $
|
https://github.com/rickysixx/unimore-informatica | https://raw.githubusercontent.com/rickysixx/unimore-informatica/main/metodologie-sviluppo-software/riassunto_metodologie_sviluppo_software.typ | typst | #set page(paper: "a4")
#set par(leading: 0.55em, justify: true, linebreaks: "optimized")
#set text(font: "New Computer Modern", lang: "it")
#set heading(numbering: "1. ")
#show par: set block(spacing: 1em)
#show raw: set text(font: "Courier New", size: 11pt)
#show raw.where(block: false): box.with(
fill: luma(240),... | |
https://github.com/sitandr/typst-examples-book | https://raw.githubusercontent.com/sitandr/typst-examples-book/main/src/packages/graphs.md | markdown | MIT License | # Graphs
## `cetz`
Cetz comes with quite built-in support of drawing basic graphs.
It is much more customizable and extensible then packages like `plotst`,
so it is recommended to skim through its possibilities.
> See full manual [there](https://github.com/johannes-wolf/cetz/blob/master/manual.pdf?raw=true).
<!-- /... |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/057%20-%20Bloomburrow/003_Episode%203%3A%20The%20Lost%20and%20the%20Found.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Episode 3: The Lost and the Found",
set_name: "Bloomburrow",
story_date: datetime(day: 03, month: 07, year: 2024),
author: "<NAME>",
doc
)
#strong[Helga]
Amid great fanfare, sorrowful farewells, and yet another speech by Oliver about heroe... | |
https://github.com/EricWay1024/Scientific-Computation-Notes | https://raw.githubusercontent.com/EricWay1024/Scientific-Computation-Notes/master/algo.typ | typst | // Increases indent in an algo element.
// Only place at beginning or end of lines.
#let i = { counter("_algo-indent").step() }
// Decreases indent in an algo element.
// Only place at beginning or end of lines.
#let d = {
counter("_algo-indent").update(n => {
assert(n - 1 >= 0, message: "dedented too much")
... | |
https://github.com/AnsgarLichter/cv-typst | https://raw.githubusercontent.com/AnsgarLichter/cv-typst/main/modules/section.typ | typst | #import "../settings/styles.typ": *
#import "utils.typ": *
#let createSectionTitle(
title
) = {
text(
size: sectionStyle.title.size,
weight: sectionStyle.title.weight,
fill: sectionStyle.title.fontColor,
title
)
h(sectionStyle.margins.RightToHLine)
hLine()
} | |
https://github.com/ngyngcphu/tick3d-docs | https://raw.githubusercontent.com/ngyngcphu/tick3d-docs/main/contents/index.typ | typst | Apache License 2.0 | #include "01_mo_dau/index.typ"
#include "02_phan_tich_yeu_cau/index.typ"
#include "03_luoc_do_use_case/index.typ"
#include "04_framework_technology/index.typ"
#include "05_UI/index.typ"
#include "06_Implementation/index.typ"
|
https://github.com/lelimacon/typst-minimal-cv | https://raw.githubusercontent.com/lelimacon/typst-minimal-cv/main/package.typ | typst | MIT No Attribution | #let default-theme = (
margin: 22pt,
font: "Inria Sans",
font-size: 11pt,
accent-color: blue,
body-color: rgb("222"),
header-accent-color: none, // inherit
header-body-color: none, // inherit
main-accent-color: none, // inherit
main-body-color: none, // inherit
main-width: 5fr,
main-gutter-widt... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/keyle/0.1.0/README.md | markdown | Apache License 2.0 | # keyle
This package provides a simple way to style keyboard shortcuts in your documentation.
It was inspired by [auth0/kbd](https://auth0.github.io/kbd/) and [dogezen/badgery](https://github.com/dogezen/badgery).
Send them respect and love.
## Usage
Please see the [keyle.pdf](doc/keyle.pdf) for more documentation... |
https://github.com/nhuongmh/nhuongmh.cv | https://raw.githubusercontent.com/nhuongmh/nhuongmh.cv/main/cv_2.typ | typst | Do What The F*ck You Want To Public License | #import "template.typ": *
#import "data.typ": *
#show: project.with(
title: name,
author: author,
)
#chiline()
#self
#group((
leftsection(edutitle),
edu,
leftsection[ Technical \ Skills ],
tech,
leftsection[ Project \ Experience ],
projectexperience,
leftsection[ Activity \ Experience ],
project... |
https://github.com/mem-courses/linear-algebra | https://raw.githubusercontent.com/mem-courses/linear-algebra/main/homework/linear-algebra-homework15.typ | typst | #import "../template.typ": *
#show: project.with(
title: "Linear Algebra Homework #15",
authors: (
(name: "<NAME> (#95)", email: "<EMAIL>", phone: "3230104585"),
),
date: "January 11, 2024",
)
#let AA = math.bold(math.italic("A"))
#let BB = math.bold(math.italic("B"))
#let XX = math.bold(math.italic("X"))
... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/meta/link_06.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Transformed link.
#set page(height: 60pt)
#let mylink = link("https://typst.org/")[LINK]
My cool #box(move(dx: 0.7cm, dy: 0.7cm, rotate(10deg, scale(200%, mylink))))
|
https://github.com/kotfind/hse-se-2-notes | https://raw.githubusercontent.com/kotfind/hse-se-2-notes/master/algo/lectures/2024-10-15.typ | typst | = Декартово дерево#footnote[a.k.a ДД, Treap, Дерамида, Пиво, Курево]
Хотим реализовать set.
Каждая вершина дерева хранит пару $(x, y)$ -- (ключ, приоритет).
Приоритет --- внутренняя информация для балансировки.
Предполагаем, что $x$-ы и $y$-и уникальны.
- По ключам ($x$) --- двоичное дерево поиска
- По приоритетам ... | |
https://github.com/luiswirth/numpde-slides | https://raw.githubusercontent.com/luiswirth/numpde-slides/main/README.md | markdown | # NumPDE 2024 Tutorial Slides
Tutorial class 2024 of <NAME> for *Numerical Methods for Partial Differential Equation* at ETH Zürich.
On this repository you can find the [typst](https://typst.app/) source files for the presentation slides.
Further resources and information can be found under [numpde.lwirth.com](http:... | |
https://github.com/maxwell-thum/typst-pf3 | https://raw.githubusercontent.com/maxwell-thum/typst-pf3/main/example.typ | typst | MIT License | #import "template.typ": *
#import "pf3.typ": *
#show: project
*Theorem 1: *
#pfstep("label-1")[Text of step 1.][
#pfstep("label-1.1")[#case[
Case 1
]][
#pfsketch Brief sketch to get the intuition across.
#pf Paragraph proof. #qed
]
#pfstep("label-1.2")[#case[
Case 2
]][
#pfstep(... |
https://github.com/GuTaoZi/SUSTech-thesis-typst | https://raw.githubusercontent.com/GuTaoZi/SUSTech-thesis-typst/main/template/acknowledge.typ | typst | MIT License | #import "../utils/style.typ": *
#let acknoledgement(
en_title: false,
body
) = {
pagebreak(weak: true)
align(center)[
#hide[
#heading(level: 1,numbering: none,"致谢")
#v(-20pt)
]
#if en_title {
par(leading: FSIZE.三号)[
#text(font: FONTS.黑体,size: FSIZE.三号, "致谢"... |
https://github.com/arthurcadore/eng-telecom-workbook | https://raw.githubusercontent.com/arthurcadore/eng-telecom-workbook/main/semester-7/RTR/fwm.typ | typst | MIT License | #import "@preview/klaro-ifsc-sj:0.1.0": report
#import "@preview/codelst:2.0.1": sourcecode
#show heading: set block(below: 1.5em)
#show par: set block(spacing: 1.5em)
#set text(font: "Arial", size: 12pt)
#set text(lang: "pt")
#set page(
footer: "Engenharia de Telecomunicações - IFSC-SJ",
)
#show: doc => report(
t... |
https://github.com/eduardz1/Bachelor-Thesis | https://raw.githubusercontent.com/eduardz1/Bachelor-Thesis/main/chapters/conclusions.typ | typst | #import "../utils/common.typ": *
= Conclusions
By the end of the internship, a working model of the greenhouse was delivered,
the sensors and the Python program enabled it to continuously monitor the
parameters we discussed and save the information on a time series database.
After the internship, I learned several co... | |
https://github.com/dashuai009/dashuai009.github.io | https://raw.githubusercontent.com/dashuai009/dashuai009.github.io/main/src/content/blog/051.typ | typst | #let date = datetime(
year: 2024,
month: 10,
day: 22,
)
#metadata((
title: "配置电脑",
subtitle: [CEF],
author: "dashuai009",
description: "一些软件的配置记录",
pubDate: date.display(),
))<frontmatter>
== typst
#link("https://github.com/typst/typst")[官方github]
windows 安装和更新
```sh
winget install --id Typst.Typst
... | |
https://github.com/VisualFP/docs | https://raw.githubusercontent.com/VisualFP/docs/main/SA/project_documentation/content/meeting_minutes/week_12.typ | typst | = Project Meeting 07.12.2023 14:00 - 14:45 (Campus RJ 1.167)
== Participants
- Prof. Dr. <NAME>
- <NAME>
- <NAME>
== Agenda
- Presentation of new features in the PoC
- Clarification of some questions regarding submission:
- Are there co-examiners for the SA? Answer: No
- Until when do we need to send the broschure... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/math/delimited-00.typ | typst | Other | // Test automatic matching.
$ (a) + {b/2} + |a|/2 + (b) $
$f(x/2) < zeta(c^2 + |a + b/2|)$
|
https://github.com/LDemetrios/Typst4k | https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/layout/repeat.typ | typst | // Test the `repeat` function.
--- repeat-basic ---
// Test multiple repeats.
#let sections = (
("Introduction", 1),
("Approach", 1),
("Evaluation", 3),
("Discussion", 15),
("Related Work", 16),
("Conclusion", 253),
)
#for section in sections [
#section.at(0) #box(width: 1fr, repeat[.]) #section.at(1) \... | |
https://github.com/LDemetrios/Typst4k | https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/layout/dir.typ | typst | --- dir-axis ---
// Test direction methods.
#test(ltr.axis(), "horizontal")
#test(rtl.axis(), "horizontal")
#test(ttb.axis(), "vertical")
#test(btt.axis(), "vertical")
--- dir-start ---
#test(ltr.start(), left)
#test(rtl.start(), right)
#test(ttb.start(), top)
#test(btt.start(), bottom)
--- dir-end ---
#test(ltr.end(... | |
https://github.com/goshakowska/Typstdiff | https://raw.githubusercontent.com/goshakowska/Typstdiff/main/tests/test_complex/all_types_working/all_types_working_mix_result.typ | typst | GNU nano 6.2 test1.typ
= #strike[Introduction];#underline[CHANGED]
In this #strike[report,];#underline[CHANGED,] we will explore the
various factors that influence #emph[fluid dynamics] in glaciers and how
they contribute to the formation and behaviour#strike[
];#strike[of];#strike[ ];#strike[these]
#strike[natural];#... | |
https://github.com/0xPARC/0xparc-intro-book | https://raw.githubusercontent.com/0xPARC/0xparc-intro-book/main/summer-notes-evan/src/0803-research-workshop.typ | typst | #import "@local/evan:1.0.0":*
= Research workshop on August 3: Problem statements
== Coding Theory I (<NAME>)
#problem[
Solve conjecture 1 in
#url("https://cic.iacr.org/p/1/1/2/pdf")
]
== <NAME>'s two problems
1. Outsource SNARK proof generation to untrusted servers
2. Efficient short _weighted_ threshold sign... | |
https://github.com/donabe8898/typst-slide | https://raw.githubusercontent.com/donabe8898/typst-slide/main/opc/並行prog/03/Go4.typ | typst | MIT License | #show link: set text(blue)
#set text(font: "Noto Sans CJK JP",size:13pt)
#show heading: set text(font: "Noto Sans CJK JP")
#show raw: set text(font: "0xProto Nerd Font")
#show raw.where(block: true): block.with(
fill: luma(245),
inset: 10pt,
radius: 10pt
)
#align(center)[
```go
// NOTE: 連結リストの実装
package main
i... |
https://github.com/morel-olivier/template-typst | https://raw.githubusercontent.com/morel-olivier/template-typst/master/basic-report/conf.typ | typst | #let conf(
fontSize: 12pt,
title: "Title",
company: none,
authors: (),
frontPagePicture: none,
language: "en",
region: none,
doc
) = {
/*******************************************************************************
* Internal function
*
* Those functions are only for use by the template
**********************... | |
https://github.com/thanhdxuan/dacn-report | https://raw.githubusercontent.com/thanhdxuan/dacn-report/master/Lab02/contents/03-datahandling.typ | typst | #pagebreak()
#set enum(numbering: "a)")
= *Hashing*
== Câu 1: Hàm một chiều (one-way function) là gì?
Hàm một chiều là hàm mà rất dễ mã hóa nhưng không giải mã được, ta không thể tính lại được bản gốc khi có bản mã.
== Câu 2: Cho một ví dụ để minh hoạ việc sử dụng hàm băm có thể giúp kiểm tra tính toàn vẹn của thông ... | |
https://github.com/Quaternijkon/notebook | https://raw.githubusercontent.com/Quaternijkon/notebook/main/content/数据结构与算法/.chapter-算法/数学/只出现一次的数字.typ | typst | #import "../../../../lib.typ":*
=== #Title(
title: [只出现一次的数字],
reflink: "https://leetcode.cn/problems/single-number/description/",
level: 1,
)<只出现一次的数字>
#note(
title: [
只出现一次的数字
],
description: [
给你一个 非空 整数数组 nums ,除了某个元素只出现一次以外,其余每个元素均出现两次。找出那个只出现了一次的元素。
你必须设计并实现线性时间复杂度的算法来解决此问题,且该算法只使用常量额外空间。
],
... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/packages/renderer/README.md | markdown | Apache License 2.0 | # typst-ts-renderer
See [Typst.ts](https://github.com/Myriad-Dreamin/typst.ts) and documentation:
- [Get Started](https://myriad-dreamin.github.io/typst.ts/cookery/get-started.html)
|
https://github.com/LuminolT/SHU-Bachelor-Thesis-Typst | https://raw.githubusercontent.com/LuminolT/SHU-Bachelor-Thesis-Typst/main/template/font.typ | typst | // 字体定义
#let heiti = ("Times New Roman", "Heiti SC", "Heiti TC")
#let songti = ("Times New Roman", "Songti SC")
#let kaiti = ("Times New Roman", "Kaiti SC") | |
https://github.com/adam-zhang-lcps/papers | https://raw.githubusercontent.com/adam-zhang-lcps/papers/main/aet-lab-report-template.typ | typst | Creative Commons Attribution Share Alike 4.0 International | #let aet-lab-report(
title: none,
course: none,
teacher: none,
partners: none,
date: datetime.today(),
appendix: none,
draft: false,
doc,
) = [
#set document(title: title, author: "<NAME>", date: date)
#set page(paper: "us-letter", margin: 1in, header: align(right)[
#counter(page).display()
... |
https://github.com/DoeringChristian/CV | https://raw.githubusercontent.com/DoeringChristian/CV/main/moderncv.typ | typst | /*
* Customizations on this template:
*
* - headings (h1..h4)
*
* - `datebox` function: provides content with stacked year above (big) and month below (tinier)
*
* - `daterange` function: two `datebox`es separated by an em dash
*
* - `xdot`: function, adds a trailing dot to a string only if it's not already pr... | |
https://github.com/colinstfni/ba1-heig | https://raw.githubusercontent.com/colinstfni/ba1-heig/main/typst/config.typ | typst | #import "@preview/ctheorems:1.1.2": *
#import "@preview/codly:1.0.0": *
#let theorem = thmbox(
"theorem",
"Théorême",
fill: rgb("#eeffee"),
).with(numbering: (..nums) => nums.pos().map(str).slice(1).join("."))
#let corollary = thmplain(
"corollary",
"Corollary",
base: "theorem",
titlefmt: strong,
).with(... | |
https://github.com/Zuttergutao/Typstdocs-Zh-CN- | https://raw.githubusercontent.com/Zuttergutao/Typstdocs-Zh-CN-/main/Classified/changelogs.typ | typst | // 更新历史
#[
#set page(header:none,numbering:none)
#set par(first-line-indent:0em)
#set align(center)
#text(weight:700,size:20pt)[Change logs]
#set align(left)
#set list(marker: ([•], [-]))
- *2023.05.20 Version 0.4.0:*
- 添加对footnote的支持。
- 添加对LaTex用户的指南
- 注... | |
https://github.com/lkndl/typst-bioinfo-thesis | https://raw.githubusercontent.com/lkndl/typst-bioinfo-thesis/main/chapters/0_abstract.typ | typst | #import "../modules/styles.typ": *
#let de_abstract = [
Das ist von ChatGPT generierter Content, und daher wirklich nicht lustig -- sry. \
In einem Universum, das nicht allzu weit von unserem entfernt ist, wo Qubits frei umherstreifen und Algorithmen zum Rhythmus der Verschränkung tanzen, begibt sich <NAME> auf e... | |
https://github.com/thornoar/lambda-calculus-course | https://raw.githubusercontent.com/thornoar/lambda-calculus-course/master/main-lectures/problems-1.typ | typst | #import "template.lib.typ": *
#import "@local/common:0.0.0": *
#show: problemlist(1, [ Конверсия и редукция ])
+
- Перепишите в формальной нотации: $y(@x..x y (@z%w..y z))$
- Перепишите в упрощённом виде: $(@v'(@v''((((@v v)v')v'')((v''(@v'''(v'v''')))v''))))$
+ Положим $X == #S#I$. Покажите, что $X X X X = X(X(X... | |
https://github.com/grnin/Zusammenfassungen | https://raw.githubusercontent.com/grnin/Zusammenfassungen/main/Bsys2/12_X_Window_System.typ | typst | // Compiled with Typst 0.11.1
#import "../template_zusammenf.typ": *
#import "@preview/wrap-it:0.1.0": wrap-content
/*#show: project.with(
authors: ("<NAME>", "<NAME>"),
fach: "BSys2",
fach-long: "Betriebssysteme 2",
semester: "FS24",
tableofcontents: (enabled: true),
language: "de",
)*/
= X Window System... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/cjk-latin-spacing_00.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Test CJK-Latin spacing.
#set page(width: 50pt + 10pt, margin: (x: 5pt))
#set text(lang: "zh", font: "Noto Serif CJK SC", cjk-latin-spacing: auto)
#set par(justify: true)
中文,中12文1中,文12中文
中文,中ab文a中,文ab中文
#set text(cjk-latin-spacing: none)
中文,中... |
https://github.com/Myriad-Dreamin/tinymist | https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/completion/half_completion.typ | typst | Apache License 2.0 | // contains: font
#set text(fo /* range -2..0 */) |
https://github.com/jamesrswift/dining-table | https://raw.githubusercontent.com/jamesrswift/dining-table/main/src/deps.typ | typst | The Unlicense | #import "@preview/valkyrie:0.2.1" as z |
https://github.com/svolume/GHA-CRT | https://raw.githubusercontent.com/svolume/GHA-CRT/main/README.md | markdown | MIT License | # GHA-CRT: GitHub Actions Container Runner for Typst
## Usage
1. create `config.yml` out of `config.yml.default`
```yml
# Repository URL
url: "https://github.com/USERNAME/REPOSITORY"
# self-hosted Runner token
token: <PASSWORD>RUNNERTOKEN
# Name of the Runner
name: typst-runner
# additional Labels to the defaults... |
https://github.com/harryhanYuhao/typst.vim | https://raw.githubusercontent.com/harryhanYuhao/typst.vim/main/test/readme.md | markdown | # Testing Files
## Docker
The docker file set up a miminal runable vim with typst.vim installed. Obviously openning the pdf reader would be very difficult if not impossible; otherwise the functionality of the plugin can be tested.
Docker file of different operation system are created to test in different environment... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-10920.typ | typst | Apache License 2.0 | #let data = (
("LYDIAN LETTER A", "Lo", 0),
("LYDIAN LETTER B", "Lo", 0),
("LYDIAN LETTER G", "Lo", 0),
("LYDIAN LETTER D", "Lo", 0),
("LYDIAN LETTER E", "Lo", 0),
("LYDIAN LETTER V", "Lo", 0),
("LYDIAN LETTER I", "Lo", 0),
("LYDIAN LETTER Y", "Lo", 0),
("LYDIAN LETTER K", "Lo", 0),
("LYDIAN LETTER ... |
https://github.com/sofianedjerbi/ResumeOld | https://raw.githubusercontent.com/sofianedjerbi/ResumeOld/main/modules/professional.typ | typst | Apache License 2.0 | #import "../brilliant-CV/template.typ": *
#cvSection("Expériences")
#grid(
columns: (50%, 50%),
gutter: 2%,
[
#cvEntry(
title: [Ingénieur Recherche et Développement],
society: [Ingenico],
date: [Oct 23 - Maintenant],
location: [Valence, France],
description: list(
... |
https://github.com/barrel111/readings | https://raw.githubusercontent.com/barrel111/readings/main/problems/external/1910SU/week3.typ | typst | #import "@local/preamble:0.1.0": *
#import "@preview/cetz:0.2.2": canvas, plot
#show: project.with(
course: "1910SU",
sem: "Summer",
title: "Group Discussion: Integration",
subtitle: "Solutions",
contents: false,
)
Recall the statement of the _First Fundamental Theorem of Calculus_,
#prop[Let $f$ be a con... | |
https://github.com/chen-qingyu/Typst-Code | https://raw.githubusercontent.com/chen-qingyu/Typst-Code/master/integral%201.typ | typst | #let LF = {v(4em); linebreak()}
#let mdelta = $4 a c - b^2$
#let denA = $x^2 + b/a x + c/a$
#let denB = $(x + b/(2 a))^2 + c/a - b^2/(4 a^2)$
$
& integral (m x + n)/(a x^2 + b x + c) dif x space (a != 0)
LF
=& integral (m/a x + n/a)/denA dif x
LF
=& integral (m/a x + n/a)/denB dif x
LF
=& m/a integral x/... | |
https://github.com/sitandr/typst-examples-book | https://raw.githubusercontent.com/sitandr/typst-examples-book/main/src/snippets/scripting/index.md | markdown | MIT License | # Scripting
## Unflatten arrays
```typ
// author: PgSuper
#let unflatten(arr, n) = {
let columns = range(0, n).map(_ => ())
for (i, x) in arr.enumerate() {
columns.at(calc.rem(i, n)).push(x)
}
array.zip(..columns)
}
#unflatten((1, 2, 3, 4, 5, 6), 2)
#unflatten((1, 2, 3, 4, 5, 6), 3)
```
## Create an abbr... |
https://github.com/davawen/Cours | https://raw.githubusercontent.com/davawen/Cours/main/Physique/Incertitudes/incertitudes.typ | typst | #import "@local/physique:0.1.0": *
#show: doc => template(doc)
#titleb[Analyse de données expérimentales: Incertitudes]
On devra être capable de déterminer l'incertitude à partir des données expérimentales.
= Analyse statistique d'une mesure expérimentale - Incertitude de Type A ou B
Si tout le monde dans la class... | |
https://github.com/bpkleer/typst-academicons | https://raw.githubusercontent.com/bpkleer/typst-academicons/main/lib.typ | typst | MIT License | //! typst-fontawesome
//!
//! https://github.com/duskmoon314/typst-fontawesome
// Implementation of `ai-icon`
#import "lib-impl.typ": *
// Generated icons
#import "lib-gen.typ": *
// Re-export the `ai-icon` function
// The following doc comment is needed for lsp to show the documentation
/// Render a Font Awesome i... |
https://github.com/fenjalien/metro | https://raw.githubusercontent.com/fenjalien/metro/main/src/impl/unit.typ | typst | Apache License 2.0 | #import "/src/dependencies.typ": is
#import "/src/utils.typ": combine-dict, content-to-string
// NULL unicode character as a marker
#let NULL-after = [\u{FFFF} ]
#let NULL-before = [ \u{FFFF}]
#let tothe = (x) => math.attach(NULL-after, t: x)
#let raiseto = (x) => math.attach(NULL-before, t: x)
#let qualifier = (x) ... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/supercharged-dhbw/1.0.0/declaration-of-authorship.typ | typst | Apache License 2.0 | #let declaration-of-authorship(authors, title, date) = {
pagebreak()
v(2em)
text(size: 20pt, weight: "bold", "Declaration of Authorship")
v(1em)
par(justify: true, [
according to item 1.1.13 of Annex 1 to §§ 3, 4, and 5 of the Examination Regulations for the Bachelor's Degree Programs in the Technology De... |
https://github.com/WinstonMDP/math | https://raw.githubusercontent.com/WinstonMDP/math/main/exers/j.typ | typst | #import "../cfg.typ": *
#show: cfg
$
"Prove that"
all("series with positive members" sum_(n = 1)^oo a_n\, sum_(n = 1)^oo b_n): \
a_n tilde_(n -> oo) b_n -> "the series coverge or don't coverge simultaneously"
$
$sum_(n = 1)^oo a_n$ converges
I'm proving that
$all(epsilon > 0) ex(N) all(k_1\, k_2 > N): b_k_1 + ... + b... | |
https://github.com/jomaway/typst-linguify | https://raw.githubusercontent.com/jomaway/typst-linguify/main/tests/assertion_tests.typ | typst | MIT License | #import "../lib/linguify.typ": *
#let db = toml("lang.toml")
#let test_data = {
assert(db != none)
assert(db.at("lang", default: none) != none )
set-database(db)
reset-database()
[run `test_db` successfully]
}
#let test_get_text = {
// English (en)
assert(get_text(db.lang, "apple","en") == "Apple")
... |
https://github.com/sysu/better-thesis | https://raw.githubusercontent.com/sysu/better-thesis/main/specifications/bachelor/appendix.typ | typst | MIT License | // 利用 state 捕获摘要参数,并通过 context 传递给渲染函数
#import "/utils/style.typ": 字号, 字体
#import "/utils/indent.typ": fake-par
#import "@preview/numblex:0.1.1": numblex
#import "@preview/i-figured:0.2.4"
#let appendix-content = state("appendix", [
= 附录要求
对于一些不宜放在正文中的重要支撑材料,可编入毕业论文的附录中,包括某些重要的原始数据、详细数学推导、程序全文及其说明、复杂的图表、设计图纸等一系列需要补充提... |
https://github.com/tairahikaru/old-typst-japanese | https://raw.githubusercontent.com/tairahikaru/old-typst-japanese/main/otypjc.typ | typst | Other | // otypjc.typ
// https://github.com/tairahikaru/old-typst-japanese
// This file is distributed under the AGPLv3
//
// Require Typst 0.2.0 (23/04/11)
// from typst (https://github.com/typst/typst) (Apache License 2.0)
// typst/library/src/layout/page.rs
#let papersize-dict = (
a0: (841.0mm, 1189.0mm),
a1: (594.0mm,... |
https://github.com/nhuongmh/nhuongmh.cv | https://raw.githubusercontent.com/nhuongmh/nhuongmh.cv/main/data.typ | typst | Do What The F*ck You Want To Public License | #import "template.typ": *
#let name = "<NAME>"
#let email = [
#icon("email.svg") <EMAIL>
]
#let phone = [
#icon("phone.svg")
(+84) 981683925
]
#let home = [
#icon("home.svg")
#link("https://nhuongmh.github.io/portfolio")[ https://nhuongmh.github.io/portfolio ]
]
#let github = [
#icon("github.svg")
#link(... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.