repo stringlengths 26 115 | file stringlengths 54 212 | language stringclasses 2
values | license stringclasses 16
values | content stringlengths 19 1.07M |
|---|---|---|---|---|
https://github.com/hongjr03/shiroa-page | https://raw.githubusercontent.com/hongjr03/shiroa-page/main/DSA/chapters/1绪论.typ | typst |
#import "../template.typ": *
#import "@preview/pinit:0.1.4": *
#import "@preview/fletcher:0.5.0" as fletcher: diagram, node, edge
#import "/book.typ": book-page
#show: book-page.with(title: "绪论 | DSA")
= 绪论
== 基本概念
#definition[
- *数据*:所有能输入到计算机中,且能被计算机程序处理的符号的总称。是计算机操作的对象的总称。是计算机处理的信息的某种特定的符号表示形式。
- *数据元素*:是数据... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/let-17.typ | typst | Other | // Ref: false
// Destructuring with a sink.
#let (a: _, ..b) = (a: 1, b: 2, c: 3)
#test(b, (b: 2, c: 3))
|
https://github.com/elinscott/psi-slides-template | https://raw.githubusercontent.com/elinscott/psi-slides-template/main/psi.typ | typst | // PSI theme
// Adapted from the University theme by <NAME> - https://github.com/drupol
#import "@preview/touying:0.4.2": *
#let slide(
self: none,
title: auto,
subtitle: auto,
header: auto,
footer: auto,
display-current-section: auto,
..args,
) = {
if title != auto {
self.uni-title = title
}
... | |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/055%20-%20Murders%20at%20Karlov%20Manor/007_Episode%207%3A%20Rot%20before%20Recovery.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Episode 7: Rot before Recovery",
set_name: "Murders at Karlov Manor",
story_date: datetime(day: 15, month: 01, year: 2024),
author: "<NAME>",
doc
)
Kellan didn't have an office so much as he had an alcove, a semi-partitioned little corner o... | |
https://github.com/cu1ch3n/karenda | https://raw.githubusercontent.com/cu1ch3n/karenda/main/main.typ | typst | #import "lib.typ": *
#show: karenda
| |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/transform_00.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Test creating the TeX and XeTeX logos.
#let size = 11pt
#let tex = {
[T]
h(-0.14 * size)
box(move(dy: 0.22 * size)[E])
h(-0.12 * size)
[X]
}
#let xetex = {
[X]
h(-0.14 * size)
box(scale(x: -100%, move(dy: 0.26 * size)[E]))
h(-... |
https://github.com/Han-duoduo/mathPater-typest-template | https://raw.githubusercontent.com/Han-duoduo/mathPater-typest-template/main/chapter/chap1.typ | typst | Apache License 2.0 | = 问题提出
== 问题背景
物理小区识别码PCI的配置方式会带来PCI冲突、PCI混淆和PCI模3干扰。PCI冲突发生在两个或多个同频小区之间。PCI混淆发生在两个小区在满足信号切换条件时因领区同频、同PCI导致的PCI混淆 @wx3。PCI模3干扰则是在PCI模上3后相同,导致的干扰,这会导致小区下行网络延迟。因此研究PCI的规划显得尤为重要,好的PCI规划不仅可以提升用户的体验同时可以减少资源的浪费。而MR(Measurement Report,测量报告)则是用于网络评估和优化,它是指信息在业务信道上以一定的时间间隔发送一次数据。
== 问题重述
因此在PCI规划时则需使得MR数据冲突、MR数据混淆和MR数据的模3干扰数量尽可... |
https://github.com/Pegacraft/typst-plotting | https://raw.githubusercontent.com/Pegacraft/typst-plotting/master/docs/docs.typ | typst | MIT License | #import "template.typ": *
#import "typst-doc.typ": parse-module, show-module
#show link: underline
#show "(deprecated)": block(box(fill: red, "deprecated", inset: 3pt, radius: 3pt))
// Take a look at the file `template.typ` in the file panel
// to customize this template and discover how it works.
#show: project.with(... |
https://github.com/piepert/philodidaktik-hro-phf-ifp | https://raw.githubusercontent.com/piepert/philodidaktik-hro-phf-ifp/main/src/parts/ephid/beurteilen_bewerten/funktionen_leistungspruefung.typ | typst | Other | #import "/src/template.typ": *
== Funktionen von Leistungsüberprüfungen
#grid(column-gutter: 1em, row-gutter: 1em, columns: 3,
[*Rekrutierungsfunktion*#en[@Klager2021_Bewertung[S. 4 f]]],
[*Didaktische Funktion*#en[@Klager2021_Bewertung[S. 5]]],
[*Sozialisierungsfunktion*#en[@Klager2021_Bewertung[S. 5]]]... |
https://github.com/Rhinemann/mage-hack | https://raw.githubusercontent.com/Rhinemann/mage-hack/main/src/chapters/Attributes.typ | typst | #import "../templates/interior_template.typ": *
#show: chapter.with(chapter_name: "Attributes")
= Attributes
#show: columns.with(2, gutter: 1em)
Attributes represent raw ability and essential traits every character possesses.
#block(breakable: false)[
== Using Attributes
Attributes are the second PC's three pri... | |
https://github.com/Kasci/LiturgicalBooks | https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/SK/zalmy/Z005.typ | typst | Pane, počuj moje slová, \* všimni si moje vzdychanie.
Pozoruj moju hlasitú prosbu, \* môj kráľ a môj Boh.
Veď ku tebe, Pane, sa modlím, \* za rána počúvaš môj hlas, za rána prichádzam k tebe a čakám.
Ty nie si Boh, \* ktorému by sa páčila neprávosť,
zlý človek nepobudne pri tebe, \* ani nespravodliví neobstoja pred... | |
https://github.com/jamesrswift/dining-table | https://raw.githubusercontent.com/jamesrswift/dining-table/main/examples/ETH-GBP.typ | typst | The Unlicense | #import "../src/lib.typ" as dining-table
#set par(justify: true)
#set text(size: 12pt)
#set page(margin: 1em)
#let converted = csv(
"ETH-GBP.csv",
row-type: dictionary
).map((it) =>(:
..it,
Date: datetime(
..(
"year", "month", "day"
).zip(
it.Date.matches(
regex("(\d{4})-(\d{2})-(... |
https://github.com/chamik/gympl-skripta | https://raw.githubusercontent.com/chamik/gympl-skripta/main/cj-autori/havel.typ | typst | Creative Commons Attribution Share Alike 4.0 International | #import "/helper.typ": autor
#autor("<NAME>", "1936", "2011 (75 let)", "spisovatel, prezident", "ČVUT, DAMU", "demokratický", "/cj-autori/media/havel.jpg")
Spoluzakladatel Charty 77, pět let byl vězněn, během normalizace (1969--1989) měl zakázáno publikovat. V 60. letech 20. století působil v divadle Na zábradlí. Obd... |
https://github.com/soul667/typst | https://raw.githubusercontent.com/soul667/typst/main/PPT/typst-slides-fudan/themes/polylux/book/src/dynamic/alternatives.md | markdown | # `#alternatives` to substitute content
The so far discussed helpers `#one-by-one`, `#line-by-line`, and `pause` all
build upon `#uncover`.
There is an analogon to `#one-by-one` that is based on `#only`, namely
`#alternatives`.
You can use it to show some content on one subslide, then substitute it by
something else, t... | |
https://github.com/Bayremselmi/infodev | https://raw.githubusercontent.com/Bayremselmi/infodev/main/Lab-3.typ | typst | #import "Class.typ": *
#show: ieee.with(
title: [#text(smallcaps("Lab 1 : Web Application with Genie"))],
/*
abstract: [
#lorem(12).
],
*/
authors:
(
(
name: "<NAME>",
department: [AII 22],
organization: [ISET Bizerte --- Tunisia],
profile: "Oussamatabai",
),
(
... | |
https://github.com/qujihan/toydb-book | https://raw.githubusercontent.com/qujihan/toydb-book/main/src/chapter2/engine.typ | typst | #import "../../typst-book-template/book.typ": *
#let path-prefix = figure-root-path + "src/pics/"
== Engine Trait
在存储引擎中,每一对 KV 都是以字母序来存储的字节序列(byte slice)。其中Key是有序的,这样就可以进行高效的范围查询。范围查询在一些场景下非常有用,比如在执行一个扫描表的SQL的时候(所有的行都是以相同的key前缀)。Key应该使用KeyCode进行编码(接下来会讲到)。在写入以后,数据并没有持久化,还需要调用flush()保证数据持久化。
在ToyDB中,即使是读操作,也只支持单线程,这是... | |
https://github.com/GYPpro/DS-Course-Report | https://raw.githubusercontent.com/GYPpro/DS-Course-Report/main/Rep/05.typ | typst | #import "@preview/tablex:0.0.6": tablex, hlinex, vlinex, colspanx, rowspanx
#import "@preview/codelst:2.0.1": sourcecode
// Display inline code in a small box
// that retains the correct baseline.
#set text(font:("Times New Roman","Source Han Serif SC"))
#show raw.where(block: false): box.with(
fill: luma(230),
ins... | |
https://github.com/chamik/gympl-skripta | https://raw.githubusercontent.com/chamik/gympl-skripta/main/cj-dila/3-romeo-a-julie.typ | typst | Creative Commons Attribution Share Alike 4.0 International | #import "/helper.typ": dilo, replika
#dilo("Romeo a Julie", "romeo", "<NAME>", "<NAME>", "14. až 16. st.; renesance, humanismus", "Anglie", "1597", "drama", "tragédie")
#columns(2, gutter: 1em)[
*Téma*\
Nešťastný osud milenců, boj o lásku
*Motivy*\
Láska, válka rodů, smrt, nepřátelství, rodina
*Časopros... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/weave/0.1.0/tests/tests.typ | typst | Apache License 2.0 | #import "../lib.typ": *
#pipe(
5,
(
x => x + 1,
x => x + 2,
x => assert(x == 8),
),
)
#compose(
(
c => assert(c == "xyz"),
c => c + "z",
c => "x" + c,
),
"y",
)
#let pipeline = pipe_((
c => c + "c",
c => "a" + c,
))
#assert(pipeline("b") == "abc")
#let composed = compose_((
... |
https://github.com/Readon/NSFC-application-template-typst | https://raw.githubusercontent.com/Readon/NSFC-application-template-typst/main/main.typ | typst | MIT License | #import "template.typ": *
#show: proposal.with(
)
= 立项依据与研究内容(建议8000字以下):
== *项目的立项依据*(研究意义、国内外研究现状及发展动态分析,需结合科学研究发展趋势来论述科学意义;或结合国民经济和社会发展中迫切需要解决的关键科技问题来论述其应用前景。附主要参考文献目录);
对于习惯用LaTeX写文档的同学们,一个写基金申请书的模版可能有参考作用。因此我做了这个2021年面上项目申请书正文部分模版。祝大家基金申请顺利!
2023-01-20: 根据2023年面上项目申请书正文的官方MsWord模板,对本模板的字号和少量蓝色文字做了更新。
2023-01-... |
https://github.com/jneug/typst-tools4typst | https://raw.githubusercontent.com/jneug/typst-tools4typst/main/is.typ | typst | MIT License | #import "alias.typ"
// =================================
// Test functions for use in any(),
// all() or find()
// =================================
/// Creates a new test function, that is #value(true), when #arg[test] is #value(false).
///
/// Can be used to create negations of tests like:
/// #codesnippet[```typ... |
https://github.com/Origami404/kaoyan-shuxueyi | https://raw.githubusercontent.com/Origami404/kaoyan-shuxueyi/main/微积分/03-一元积分.typ | typst | #import "../template.typ": sectionline, gray_table, colored
#let dx = $dif x$
= 一元积分学
== 不定积分
=== 基本积分模式
多项式和对数:
$
integral x^a dx &= 1 / (a + 1) x^(a + 1) + C \
integral a^x dx &= 1 / (ln a) a^x + C \
$
三角函数:
#gray_table(
columns: 7,
[导数], [$cos$], [$-sin$], [$sec^2$], [$-cot^2$], [$sec tan$], [$-csc cot$],... | |
https://github.com/maucejo/cnam_templates | https://raw.githubusercontent.com/maucejo/cnam_templates/main/src/cnam-templates.typ | typst | MIT License | #import "/src/presentation/_presentation_template.typ": *
#import "/src/letters/_reunion.typ": *
#import "/src/letters/_convention.typ": *
#import "/src/letters/_lettre.typ": *
#import "/src/report/_report.typ": * |
https://github.com/Riesi/typst_stains | https://raw.githubusercontent.com/Riesi/typst_stains/main/README.md | markdown | The Unlicense | A Typst implementation of coffeestains the LaTeX package.
# Stains
Pull requests for more stains are always welcome!
# Attribution
This package was inspired by the LaTeX package "coffeestains" and the 4 stains from said package have been imported to this one.
https://ctan.org/pkg/coffeestains |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/021%20-%20Battle%20for%20Zendikar/007_Home%20Waters.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Home Waters",
set_name: "Battle for Zendikar",
story_date: datetime(day: 30, month: 09, year: 2015),
author: "<NAME>",
doc
)
#emph[When we last saw the merfolk Planeswalker Kiora, she had narrowly escaped from a battle with a deity, the sea... | |
https://github.com/Toniolo-Marco/git-for-dummies | https://raw.githubusercontent.com/Toniolo-Marco/git-for-dummies/main/slides/main.typ | typst | #import "@preview/touying:0.5.2": *
#import themes.university: *
#import "@preview/cetz:0.2.2"
#import "@preview/fletcher:0.5.1" as fletcher: node, edge
#import "@preview/ctheorems:1.1.2": *
#import "@preview/numbly:0.1.0": numbly
#import "/slides/components/code-blocks.typ": code-block, window-titlebar
#import "/slid... | |
https://github.com/soul667/typst | https://raw.githubusercontent.com/soul667/typst/main/PPT/typst-slides-fudan/themes/polylux/helpers.typ | typst | #import "logic.typ"
#let sections-state = state("polylux-sections", ())
#let register-section(name) = locate( loc => {
sections-state.update(sections => {
sections.push((body: name, loc: loc))
sections
})
})
#let current-section = locate( loc => {
let sections = sections-state.at(loc)
if sections.len()... | |
https://github.com/maxlambertini/tomorrow-cv | https://raw.githubusercontent.com/maxlambertini/tomorrow-cv/main/template.typ | typst | #let contact(text: "", link: none) = {
(text: text, link: link)
}
#let subSection(title: "", titleEnd: none, subTitle: none, subTitleEnd: none, content: [], textContent: none) = {
(title: title, titleEnd: titleEnd, subTitle: subTitle, subTitleEnd: subTitleEnd, content: content ,textContent : textContent)
}
#let t... | |
https://github.com/BeiyanYunyi/resume | https://raw.githubusercontent.com/BeiyanYunyi/resume/main/modules_zh/projects.typ | typst | #import "../brilliant-CV/template.typ": *
#cvSection("社区项目")
#cvEntry(
title: [炎上书屋],
society: [Vue 3#hBar()NaiveUI#hBar()UnoCSS#hBar()Prosemirror],
date: [2022.7 - 今],
location: [网文网站],
description: list(
[https://firebook.store],
[使用Vue 3+Vue Router构建网络文学网站],
[还原设计稿,独立开发,3个月交付],
[2人团队共同维护至... | |
https://github.com/ivaquero/book-control | https://raw.githubusercontent.com/ivaquero/book-control/main/14-线性二次型调节器.typ | typst | #import "@local/scibook:0.1.0": *
#show: doc => conf(
title: "线性二次型调节器",
author: ("ivaquero"),
header-cap: "现代控制理论",
footer-cap: "github@ivaquero",
outline-on: false,
doc,
)
= 一维动态规划
== 简单系统
考虑系统
$ x_([k+1]) = x_([k]) + u_([k]) $
其中
- 初始值:$x[0]=1$
- 目标值:$x[d]=0$
- 末端:$N=2$
于是,其代价函数可定义为
$
J = 1 / 2... | |
https://github.com/ShapeLayer/ucpc-solutions__typst | https://raw.githubusercontent.com/ShapeLayer/ucpc-solutions__typst/main/lib/i18n/ko-kr.typ | typst | Other | #let make-prob-meta = (
difficulty_prefix: "출제진 의도 — ",
difficulty_postfix: "",
author: "출제자",
authors: "출제자",
submitted_prefix: "제출 ",
submitted_postfix: "회",
passed_prefix: "정답 ",
passed_postfix: "건",
ac-ratio_prefix: "정답률: ",
ac-ratio_postfix: "%",
first-solver_prefix: "최초 해결: ",
first-solver... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/gentle-clues/0.5.0/docs.typ | typst | Apache License 2.0 | #import "@local/gentle-clues:0.4.1": *
#gc_header-title-lang.update("en")
#set text(font: "Roboto")
= Gentle clues for typst
Add some beautiful, predefined admonitions or define your own.
#clue(title: "Example")[
```typst
#clue(title: "Example")[Test content.]
```
#sym.arrow The default is a navy colored clue.
]
#... |
https://github.com/jamesrswift/pixel-pipeline | https://raw.githubusercontent.com/jamesrswift/pixel-pipeline/main/src/math/aabb.typ | typst | The Unlicense | #import "vector.typ"
#let from-vectors(vecs, initial: none) = {
let bounds = initial
if type(vecs) == array {
for (i, pt) in vecs.enumerate() {
if bounds == none and i == 0 {
bounds = (low: pt, high: pt)
} else {
assert(type(pt) == array, message: repr(initial) + repr(vecs))
... |
https://github.com/miliog/typst-penreport | https://raw.githubusercontent.com/miliog/typst-penreport/master/typst-penreport/helper/vuln.typ | typst | MIT No Attribution | #import "@preview/tablex:0.0.5": *
#import "cwe.typ": *
#import "severity.typ": *
#import "status.typ": *
#let vuln(
title: "",
target: "",
severity: Severity.Undetermined,
type: none,
status: Status.NotFixed,
recheck: false,
description,
remediation,
) = [
#heading(level: 2, title)
#locate(loc => ... |
https://github.com/maxlambertini/troika-srd-typst | https://raw.githubusercontent.com/maxlambertini/troika-srd-typst/main/template.typ | typst | // The project function defines how your document looks.
// It takes your content and some metadata and formats it.
// Go ahead and customize it to your liking!
#let leftMargin = locate(loc => if calc.even(loc.page()) { 1.5cm } else { 2.5cm })
#let rightMargin = locate(loc => if calc.even(loc.page()) { 2.5cm } else {... | |
https://github.com/quarto-ext/typst-templates | https://raw.githubusercontent.com/quarto-ext/typst-templates/main/README.md | markdown | Creative Commons Zero v1.0 Universal | ## Typst Templates for Quarto
This repository provides Quarto custom formats for the core templates provided by the Typst team at <https://github.com/typst/templates>.
| Format | Usage |
|-----------... |
https://github.com/typst-doc-cn/tutorial | https://raw.githubusercontent.com/typst-doc-cn/tutorial/main/src/basic/modulize-modules.typ | typst | Apache License 2.0 | #import "mod.typ": *
#show: book.page.with(title: "模块")
正如我们在《基础文档》中所说的,Typst为我们提供了脚本的便捷性。但是事实上,不写或少写脚本便能完成排版才是最大的便捷。无论我们会不会自己用脚本解决某个问题,我们总是希望Typst能够允许我们以一种优雅的方式#strike[复制粘贴]引入这些代码。理想情况下,当某位前辈为我们准备好了模板,我们可以只用两行代码便可完成排版的配置:
#```typ
#import "@preview/senpai-no-awesome-template.typ:0.x.x": *
#show: template.with(..)
``... |
https://github.com/storopoli/Bayesian-Statistics | https://raw.githubusercontent.com/storopoli/Bayesian-Statistics/main/slides/10-sparse_regression.typ | typst | Creative Commons Attribution Share Alike 4.0 International | #import "@preview/polylux:0.3.1": *
#import themes.clean: *
#import "utils.typ": *
#import "@preview/cetz:0.1.2": canvas, plot
#new-section-slide("Sparse Regression")
#slide(title: "Recommended References")[
- #cite(<gelman2020regression>, form: "prose") - Chapter 12, Section 12.8: Models
for regression coeffic... |
https://github.com/protohaven/printed_materials | https://raw.githubusercontent.com/protohaven/printed_materials/main/meta-templates/class-NAME.typ | typst |
#import "/meta-environments/env-templates.typ": *
#import "./glossary/glossary_terms.typ": *
#show: doc => class_handout(
title: "Class MUMBLE",
category: "MUMBLE",
number: "NUM",
clearances: ("Turbo Encabulator",),
instructors: ("Someone",),
authors: ("Someone", "Someone Else"),
draft: true,
doc
)
... | |
https://github.com/fenjalien/metro | https://raw.githubusercontent.com/fenjalien/metro/main/src/impl/array.typ | typst | Apache License 2.0 | #import "num/num.typ"
#import "qty.typ"
#import "unit.typ" as unit_
#import "/src/utils.typ": combine-dict
#let default-options = (
list-final-separator: [ and ],
list-pair-separator: [ and ],
list-separator: [, ],
product-mode: "symbol",
product-phrase: [ by ],
product-symbol: sym.times,
range-open... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/page-binding_04.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
//
// // Error: 19-44 `inside` and `outside` are mutually exclusive with `left` and `right`
// #set page(margin: (left: 1cm, outside: 2cm)) |
https://github.com/barrel111/readings | https://raw.githubusercontent.com/barrel111/readings/main/problems/external/1910SU/week4.typ | typst | #import "@local/preamble:0.1.0": *
#import "@preview/cetz:0.2.2": canvas, plot, draw
#show: project.with(
course: "1910SU",
sem: "Summer",
title: "Group Discussion: Trigonometry",
subtitle: "Solutions",
contents: false,
)
= Composition of Trigonometric and Inverse Trigonometric Functions.
\
== $tan (sec^(... | |
https://github.com/Hobr/njust_thesis_typst_template | https://raw.githubusercontent.com/Hobr/njust_thesis_typst_template/main/template/chapter/1.typ | typst | MIT License | // 引言
= 引言
+ 南京理工大学(@logo)
- 南京校区@greenwade_comprehensive_1993
- 江阴校区
- 汤山校区
- 盱眙校区
+ 南京航空航天大学
+ `mono font`
#figure(
image("../../img/logo.jpg", width: 60%),
caption: [你说的对, 但*南京理工大学*是一所......],
) <logo>
_行内公式:_ $Q = rho A v + C$
$
f(x, y) := cases(
1 "if" (x dot y)/2 <= 0,
2 "if" x "is even",
... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/delegis/0.1.0/delegis.typ | typst | Apache License 2.0 | // sentence marker
#let s = "XXXXXX"
#let unnumbered = (it, ..rest) => heading(level: 6, numbering: none, ..rest, it)
// template
#let delegis = (
// Metadata
title : "Vereinsordnung zur IT-Infrastruktur",
abbreviation : "ITVO",
resolution : "3. Beschluss des Vorstands vom 24.01.2024",
in-effect : "24.01.20... |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/052%20-%20March%20of%20the%20Machine%3A%20The%20Aftermath/002_Beyond%20Repair.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Beyond Repair",
set_name: "March of the Machine: The Aftermath",
story_date: datetime(day: 02, month: 05, year: 2023),
author: "<NAME>",
doc
)
Deep within the bowels of what had once been the Emeria Skyclave, Nahiri ripped the taint of Phyr... | |
https://github.com/imkochelorov/ITMO | https://raw.githubusercontent.com/imkochelorov/ITMO/main/src/algorithms/s2/l4/man.typ | typst | #import "template.typ": *
#set page(margin: 0.4in)
#set par(leading: 0.55em, first-line-indent: 0em)
#set text(font: "New Computer Modern")
#show par: set block(spacing: 0.55em)
#show heading: set block(above: 1.4em, below: 1em)
#show heading.where(level: 1): set align(center)
#show heading.where(level: 1): set text(... | |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/037%20-%20Ravnica%20Allegiance/014_The%20Gathering%20Storm%3A%20Chapter%2020.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"The Gathering Storm: Chapter 20",
set_name: "Ravnica Allegiance",
story_date: datetime(day: 23, month: 10, year: 2019),
author: "<NAME>",
doc
)
#emph[Vraska and Lavinia.] Ral looked at the pair of them and narrowed his eyes. #emph[But it’s... | |
https://github.com/gianzamboni/cancionero | https://raw.githubusercontent.com/gianzamboni/cancionero/main/wip/whisper.typ | typst | #import "../theme.typ": *;
== Whisper
=== Burn the ballroom
#columns(2)[
Come in, sit down sweet angel \
Leave me all your tears \
Tell me all of your troubles \
The weight of your short years \
#newVerse
Love is only a river \
Drowning all of your cheer \
Sell me all of your laughter \
And I will take some of you... | |
https://github.com/SWATEngineering/Docs | https://raw.githubusercontent.com/SWATEngineering/Docs/main/src/3_PB/PianoDiProgetto/sections/ConsuntivoSprint/QuattordicesimoSprint.typ | typst | MIT License | #import "../../const.typ": Re_cost, Am_cost, An_cost, Ve_cost, Pr_cost, Pt_cost
#import "../../functions.typ": rendicontazioneOreAPosteriori, rendicontazioneCostiAPosteriori, glossary
==== Quattordicesimo consuntivo
*Inizio*: Venerdì 22/03/2024
*Fine*: Giovedì 28/03/2024
#rendicontazioneOreAPosteriori(sprintNumbe... |
https://github.com/floriandejonckheere/utu-thesis | https://raw.githubusercontent.com/floriandejonckheere/utu-thesis/master/thesis/chapters/07-proposed-solution/06-visualization.typ | typst | #import "@preview/acrostiche:0.3.1": *
== Visualization
MOSAIK can generate visualizations of the steps in the microservice decomposition process.
The information extraction step outputs a dependency graph, where the vertices represent the classes of the monolith application, and the edges represent the dependencies ... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/cetz/0.0.2/bezier.typ | typst | Apache License 2.0 | // This file contains functions related to bezier curve calculation
#import "vector.typ"
/// Get point on quadratic bezier at position t
///
/// - a (vector): Start point
/// - b (vector): End point
/// - c (vector): Control point
/// - t (float): Position on curve [0, 1]
/// -> vector
#let quadratic-point(a, b, c, t)... |
https://github.com/brayevalerien/Learning-Typst | https://raw.githubusercontent.com/brayevalerien/Learning-Typst/main/tutorial/04_making_a_template/template.typ | typst | MIT License | #let template(
title: none,
authors: (),
abstract: [],
content
) = {
set page(
paper: "us-letter",
header: align(right+horizon, title),
numbering: "1"
)
set par(justify: true)
set text(font: "New Computer Modern", size: 11pt)
// Title
align(center, text(size: 17pt)[*#title*])
// Auth... |
https://github.com/yy01zz02/profile-template | https://raw.githubusercontent.com/yy01zz02/profile-template/main/src/chinese.typ | typst | MIT License | // import from template
#import "../template/template.typ": *;
#show: template;
#init(
name: "张三",
// 插入图片功能尚未支持
// pic_path: "/img/avatar.jpg",
pic_path : "",
)
#info(
color: rgb(0, 0, 0),
(
icon: "/img/fa/fa-home.svg",
link: "https://zhangsan.io/",
content: "https://z... |
https://github.com/binhtran432k/ungrammar-docs | https://raw.githubusercontent.com/binhtran432k/ungrammar-docs/main/components/cover.typ | typst | #let print_cover_head(head, department) = {
set align(center)
[
#show: upper
#set par(leading: 1.2em)
#head
*#department*
]
"____________ * ____________"
}
#let print_logo(logo) = {
if logo != none {
v(0.25fr)
align(center, logo)
v(0.50fr)
} else {
v(0.75f... | |
https://github.com/lublak/typst-ctxjs-package | https://raw.githubusercontent.com/lublak/typst-ctxjs-package/main/README.md | markdown | MIT License | # CtxJS
A typst plugin to evaluate javascript code.
- multiple javascript contexts
- load javascript modules as source or bytecode
- simple evaluations
- formated evaluations (execute your code with your typst data)
- call functions
- call functions in modules
- create bytecode with an extra tool (ctxjs_module_byteco... |
https://github.com/frectonz/the-pg-book | https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/029.%20pypar.html.typ | typst | pypar.html
The Python Paradox
August 2004In a recent talk I said something that upset a lot of
people: that you could get smarter programmers to work on
a Python project than you could to work on a Java project.I didn't mean by this that Java programmers are dumb. I
meant that Python programmers are smart. It's a lot... | |
https://github.com/dyc3/senior-design | https://raw.githubusercontent.com/dyc3/senior-design/main/weekly-reports.typ | typst | = Weekly Reports <reports>
#import "lib/misc.typ": github
== Week Report 25 (4/18/2024) <report-w25>
- Completed: Fix putting more than one panel in a dashboard causes panels to error #github("dyc3/opentogethertube", 1646)
- Completed: Fix poor service recovery after restarts or deploys #github("dyc3/opentogethertube... | |
https://github.com/kdog3682/mathematical | https://raw.githubusercontent.com/kdog3682/mathematical/main/0.1.0/src/components/numberline.typ | typst | #import "@local/typkit:0.1.0": *
#import "@preview/cetz:0.2.0"
#import cetz.draw: *
#import "../draw/index.typ" as draw
#let BRACE_OFFSET = 0.65
#let draw-distance((from, label, to), lerp) = {
let from = lerp(from)
let to = lerp(to)
todo()
}
#let draw-brace((from, label, to, side, style), lerp) = {
l... | |
https://github.com/codevbus/resume | https://raw.githubusercontent.com/codevbus/resume/main/README.md | markdown | MIT License | # <NAME>'s Resume
After a long run with LaTeX, I've decided to move to [Typst](https://typst.app/). Typst similar to LaTeX, but more modern and user-friendly.
This document will be a work in progress, and I will update it as needed with relevant experience, projects, and aesthetic modifications.
## Instructions
You... |
https://github.com/Marlstar/TypstCustomPackages | https://raw.githubusercontent.com/Marlstar/TypstCustomPackages/master/packages/local/TitleTemplate/0.1.0/titletemplate.typ | typst | #let project(title: "", authors: ("<NAME>",), body) = {
// Set the document's basic properties.
set document(author: authors, title: title)
set page(numbering: "1", number-align: center)
set text(font: "Linux Libertine", lang: "en")
// Title row.
align(center)[
#block(text(weight: 700, 1.75em, title))
... | |
https://github.com/whs/typst-govdoc | https://raw.githubusercontent.com/whs/typst-govdoc/master/thai.typ | typst | #let thai(body) = {
set text(
font: ("TH Sarabun New", "TH SarabunPSK", "Laksaman", "Angsana New", "AngsanaUPC", "Waree", "Noto Serif"),
size: 16pt,
lang: "th",
region: "TH",
)
body
}
#let thnum(num) = str(num)
.replace("0", "๐")
.replace("1", "๑")
.replace("2", "๒")
.replace("3", "๓")
.replace("4", "๔"... | |
https://github.com/DaAlbrecht/thesis-TEKO | https://raw.githubusercontent.com/DaAlbrecht/thesis-TEKO/main/content/Abstract.typ | typst | In this thesis, a microservice is developed that allows replaying messages in a
RabbitMQ stream. To find the most suitable technology for this task, a high
level overview of the AMQP protocol is made and the most popular protocol
implementations in Java, Go and Rust are compared. The microservice is published
as a dock... | |
https://github.com/jujimeizuo/ZJSU-typst-template | https://raw.githubusercontent.com/jujimeizuo/ZJSU-typst-template/master/contents/appendix.typ | typst | Apache License 2.0 | = 这是一个附录
#lorem(100)
= 这是另一个附录
#lorem(100) |
https://github.com/Akida31/anki-typst | https://raw.githubusercontent.com/Akida31/anki-typst/main/README.md | markdown | # anki-typst
Create anki cards from typst.
This exports your typst notes to images and creates anki notes containing them.
## Writing cards
For more information see the [manual](./typst/doc/doc.pdf)
### via theorem environment
anki-typst defines a theorem interface similar to [typst-theorems](https://github.com/sah... | |
https://github.com/levinion/typst-dlut-templates | https://raw.githubusercontent.com/levinion/typst-dlut-templates/main/templates/translate/cover.typ | typst | MIT License | #import "../util/style.typ":font_size,font_family
#let header = [
#set align(center)
#set text(
font: font_family.songti_bold, size: font_size.xiao_er, weight: "medium",
)
#v(3.5em)
大 连 理 工 大 学 本 科 外 文 翻 译
]
#let title(chinese_title, english_title)=[
#set align(center)
#set text(font: font_family.so... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/par/text.typ | typst | Apache License 2.0 | = Introduction
See @tolkien54 for more details.
#lorem(10)
#figure(
[],
caption: [A rhinoceros],
) <tolkien54>
Here is another paragraph.
|
https://github.com/darioglasl/Arbeiten-Vorlage-Typst | https://raw.githubusercontent.com/darioglasl/Arbeiten-Vorlage-Typst/main/Anhang/06_Jira/01_bugs.typ | typst | === Known Bugs <appendixKnownBugs>
Hier sind alle bekannten Bugs zu finden.
==== Übersicht der bekannten Bugs
In der nachfolgenden Tabelle ist eine Übersicht zu finden, welche sortiert nach Priorität ist.
#figure(
table(
columns: (auto, auto, auto),
align: left,
[*Issue Key*], [*Summary*], [*Prio*],
[D... | |
https://github.com/LauHuiQi0920/3007DataVisualizationTeamCyan | https://raw.githubusercontent.com/LauHuiQi0920/3007DataVisualizationTeamCyan/main/custom-template.typ | typst | // Some definitions presupposed by pandoc's typst output.
#let blockquote(body) = [
#set text( size: 0.92em )
#block(inset: (left: 1.5em, top: 0.2em, bottom: 0.2em))[#body]
]
#let horizontalrule = [
#line(start: (25%,0%), end: (75%,0%))
]
#let endnote(num, contents) = [
#stack(dir: ltr, spacing: 3pt, super[#n... | |
https://github.com/binhtran432k/ungrammar-docs | https://raw.githubusercontent.com/binhtran432k/ungrammar-docs/main/components/format.typ | typst | #import "glossary.typ": update_glossaries, print_glossary
#import "utils.typ": getHeader
#import "cover.typ" as cover
#let project(
title: "",
author: "",
subject: "",
doc_type: "thesis",
city: "Ho Chi Minh",
cover_head: "",
department: "",
major: "",
year: "2023",
logo: none,
decl... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/cetz/0.3.0/src/matrix.typ | typst | Apache License 2.0 | #import "vector.typ"
// Global rounding precision
#let precision = 8
#let _round = calc.round.with(digits: precision)
#let cos(x) = {
_round(calc.cos(x))
}
#let sin(x) = {
_round(calc.sin(x))
}
#let pi = calc.pi
/// Create identity matrix with dimensions $m \times n$
///
/// - m (int): The number of rows
/// ... |
https://github.com/devraza/warehouse | https://raw.githubusercontent.com/devraza/warehouse/main/blog/hoaxes-overview.typ | typst | MIT License | #import "template.typ": conf
#show: doc => conf(
title: [ An overview on hoaxes ],
doc,
)
= Introduction
In recent times, hoaxes have become increasingly prevalent as the
internet continues to expand and as more people use social media.
Misinformation is on a rise - though this is information which isn’t
really ne... |
https://github.com/a-camarillo/resume | https://raw.githubusercontent.com/a-camarillo/resume/main/README.md | markdown | # Resume generated with Typst
| |
https://github.com/Catlordx/WUT-LAB-Report-Typst-Template | https://raw.githubusercontent.com/Catlordx/WUT-LAB-Report-Typst-Template/master/README.md | markdown | MIT License | 
这是一个WUT实验报告Typst模板
## conf.typ
这是主要的配置文件,包含了实验报告的模板定义和样式设置。
### 主要函数和定义
- `conf`: 设置页面和文本样式,并生成实验报告的基本结构。
- `experiment_table`: 生成实验项目表格。
- `blank_table`: 生成空白表格。
- `enf`: 设置英文文本样式。
- `section_1`: 生成第一部分的标题。
- `section_1_1`: 生成第一部分的第一个小节标题。
- `... |
https://github.com/El-Naizin/cv | https://raw.githubusercontent.com/El-Naizin/cv/main/letter.typ | typst | Apache License 2.0 | #import "brilliant-CV/template.typ": *
#show: layout
#set text(size: 12pt) //set global font size
#letterHeader(
myAddress: [1 Rue Gonnet \ 75003 Paris, France],
recipientName: [ABC Company],
recipientAddress: [15 Boulevard Roi \ 75011 Paris, France],
date: [05/05/2023],
subject: "Subject: Job Application fo... |
https://github.com/maxgraw/bachelor | https://raw.githubusercontent.com/maxgraw/bachelor/main/apps/document/src/8-appendix/result.typ | typst | === Grunddaten <appendix-resultBase>
#let results = csv("../data/response.csv")
#rotate(-90deg, reflow: true, table(
columns: 28,
gutter: 0pt,
..results.flatten(),
))
#pagebreak()
=== Daten Transformiert <appendix-resultTransformed>
#let results = csv("../data/response_transformed.csv")
#rotate(-90deg, reflow: t... | |
https://github.com/imatpot/typst-ascii-ipa | https://raw.githubusercontent.com/imatpot/typst-ascii-ipa/main/src/main.typ | typst | MIT License | #import "lib/delimiters.typ": *
#import "lib/converters.typ": branner, praat, sil, xsampa
|
https://github.com/CreakZ/mirea-algorithms | https://raw.githubusercontent.com/CreakZ/mirea-algorithms/master/reports/work_2/work_2.typ | typst | #import "../title_page_template.typ": title_page
#import "../layouts.typ": head1, head2, tab, un_heading, indent, tab_caption
#set text(font: "New Computer Modern", size: 14pt)
#set heading(numbering: "1.")
#set page(paper: "a4", margin: 2cm)
#set figure.caption(separator: [ -- ])
#title_page(2, [Абстрактный тип данн... | |
https://github.com/rabotaem-incorporated/algebra-conspect-1course | https://raw.githubusercontent.com/rabotaem-incorporated/algebra-conspect-1course/master/sections/03-polynomials/11-interpolation.typ | typst | Other | #import "../../utils/core.typ": *
== Интерполяция
#th[
Пусть $K$ --- поле$, space n in NN: space x_1, x_2, ..., x_n in K,$ различные между собой. $y_1, y_2, ..., y_n in K$. Тогда $exists! f in K[x]: deg f <= n - 1$ и $f(x_i) = y_i, space i = 1, ..., n$.
]
#proof[
"Единственность":
Предположим, что су... |
https://github.com/adrianvillanueva997/cv | https://raw.githubusercontent.com/adrianvillanueva997/cv/main/modules_en/education.typ | typst | // Imports
#import "@preview/brilliant-cv:2.0.2": cvSection, cvEntry, hBar
#let metadata = toml("../metadata.toml")
#let cvSection = cvSection.with(metadata: metadata)
#let cvEntry = cvEntry.with(metadata: metadata)
#cvSection("Education")
#cvEntry(
title: [Computer science],
society: [Universidad Europea, Madri... | |
https://github.com/AOx0/expo-nosql | https://raw.githubusercontent.com/AOx0/expo-nosql/main/book/src/theme-gallery/bristol.typ | typst | MIT License | #import "../../../slides.typ": *
#import "../../../themes/bristol.typ": *
#show: slides.with(
authors: ("Author A", "Author B"), short-authors: "Short author",
title: "Title", short-title: "Short title", subtitle: "Subtitle",
date: "Date",
theme: bristol-theme(),
)
#slide(theme-variant: "title slide")... |
https://github.com/lucannez64/Notes | https://raw.githubusercontent.com/lucannez64/Notes/master/Correction_Olympiades_Partie_1.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: "Correction Olympiades Partie 1",
authors: (
"<NAME>",
),
date: "30 Octobre, 2023",
)
#set heading(numbering: "1.1.")
=== 1. Quelques ... | |
https://github.com/VisualFP/docs | https://raw.githubusercontent.com/VisualFP/docs/main/SA/design_concept/content/poc/options_ui_ghcjs.typ | typst | #import "../../../acronyms.typ": ac
= GHCJS <ghcjs>
There are many other Haskell libraries for #ac("UI") implementations, but
many rely on compiling Haskell to JavaScript. This cross-compilation is often
based on GHCJS. GHCJS implements a JS backend for #ac("GHC") and has recently been
merged into the #ac("GHC") repo... | |
https://github.com/Dherse/typst-brrr | https://raw.githubusercontent.com/Dherse/typst-brrr/master/samples/steno-numbers/jeff-numbers.typ | typst | #import "steno.typ" :*
#let title = "Jeff-Numbers — Cheat Sheet"
#let author = "<NAME>"
#let version = "0.1"
#let grid = 10pt
#let accentColor = blue
#let accentTextColor = white
#let headerColor = blue
#let headerLighten = 20%
#set document(author: author, title: title)
#set text(font: "Roboto")
#show link: und... | |
https://github.com/0x1B05/algorithm-journey | https://raw.githubusercontent.com/0x1B05/algorithm-journey/main/practice/note/content/二分查找.typ | typst | #import "../template.typ": *
#pagebreak()
= 二分查找
== 二分查找的本质
=== 问题引入
`1 2 3 5 5 5 8 9`
1. 找到第一个'>=5'的元素 (第一个 5)
2. 找到最后一个'\<5'的元素 (3)
3. 找到第一个'>5'的元素 (8)
4. 找到最后一个'<=5'的元素 (最后一个 5)
=== 新的角度
==== 情景概述
数组下标为`1 2 ... k-1 k ... n-2 n-1`,共 N 个元素 设前 k 个元素为蓝色区域,后 n-k
个为红色区域 假设一开始数组均为灰色,那么问题的目标即为找出蓝红边界,即求出未知数
k
==== 朴... | |
https://github.com/ntjess/typst-nsf-templates | https://raw.githubusercontent.com/ntjess/typst-nsf-templates/main/nsf-proposal.typ | typst | MIT License | #import "@preview/tablex:0.0.6": tablex, cellx, rowspanx
#let title(body) = {
set align(center)
text(body, weight: "bold", size: 14pt)
}
#let info(body, title: none) = {
set text(size: 0.8em)
set par(justify: false)
block(
width: 100%,
inset: 0.5em,
stroke: black,
radius:0.5em,
fill: whi... |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/041%20-%20Kaldheim/006_Brokenbrow.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Brokenbrow",
set_name: "Kaldheim",
story_date: datetime(day: 22, month: 01, year: 2021),
author: "<NAME> & <NAME>",
doc
)
Above the Feltmark, the sun hung like a silver coin, washing out the green fields into a slow roll of undulating gray—... | |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/029%20-%20Aether%20Revolt/007_Breaking%20Points.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Breaking Points",
set_name: "<NAME>",
story_date: datetime(day: 18, month: 01, year: 2017),
author: "<NAME>",
doc
)
#emph[After the disastrous ] loss of the Aether Hub#emph[, the Gatewatch and several of their renegade allies escaped via th... | |
https://github.com/kokkonisd/yahtzee-scoreboard | https://raw.githubusercontent.com/kokkonisd/yahtzee-scoreboard/main/README.md | markdown | # Yahtzee scoreboard
A scoreboard to track Yahtzee games.
Needs [typst](https://github.com/typst/typst) to build:
```console
$ typst c scoreboard.typ
```
| |
https://github.com/xsro/xsro.github.io | https://raw.githubusercontent.com/xsro/xsro.github.io/zola/typst/Control-for-Integrator-Systems/lib/lib.typ | typst | #import "ode-dict.typ":ode45,get_signal
#import "operation.typ" as op
// wrap ode45 to SISO problem
#let ode(func,tfinal,x0,step)={
let (xout,dxout)=ode45((t,x)=>(value:func(t,x.value)),tfinal,(value:x0),step)
(get_signal(xout,"value"),get_signal(dxout,"value"))
}
// notation for sig ⌊⌋ ⌈⌉
#let sig(a)=$lr(⌊#a⌉)$
... | |
https://github.com/mhspradlin/wilson-2024 | https://raw.githubusercontent.com/mhspradlin/wilson-2024/main/understanding-ai/day-1.typ | typst | MIT License | #set page("presentation-16-9")
#set text(size: 30pt)
#heading(outlined: false)[Understanding Artificial Intelligence]
July 2024
<NAME> --- Amazon
// TODO: Different structure
// Three parts
// - Story involving a person about topic
// - Crunchy mathy part, perhaps hands-on exercise
// - Read a thing and discuss in ... |
https://github.com/Quaternijkon/Typst_Lab_Report | https://raw.githubusercontent.com/Quaternijkon/Typst_Lab_Report/main/main.typ | typst | #import "theme.typ": *
#show: project.with(
course: "计算机系统",
lab_name: "位运算实验",
stu_name: "顶针",
stu_num: "SA114514",
major: "计算机科学与技术",
department: "计算机科学与技术学院",
date: (2024, 10, 1),
show_content_figure: true,
watermark: "USTC",
)
#show :show-cn-fakebold
#include "content.typ" | |
https://github.com/satwanjyu/typst-cv-template | https://raw.githubusercontent.com/satwanjyu/typst-cv-template/main/main.typ | typst | MIT License | #set page(
margin: (x: 12mm, y: 16mm),
footer: [
Last updated: #datetime.today().display("[month repr:long] [year]")
],
footer-descent: 0%
)
#set par(justify: true)
// #set text(font: "OpenDyslexic 3")
#show heading.where(level: 1): set text(size: 24pt)
#show heading.where(level: 2): it => {
smallcaps(te... |
https://github.com/francescoo22/masters-thesis | https://raw.githubusercontent.com/francescoo22/masters-thesis/main/appendix/full-rules-set.typ | typst | #import "../config/utils.typ": *
#import "../vars/rules/base.typ": *
#import "../vars/rules/relations.typ": *
#import "../vars/rules/unification.typ": *
#import "../vars/rules/statements.typ": *
#pagebreak(to:"odd")
= Typing Rules
All the following rules are to be considered for a given program $P$, where fields wit... | |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/020%20-%20Prologue%20to%20Battle%20for%20Zendikar/001_Stirring%20from%20Slumber.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Stirring from Slumber",
set_name: "Prologue to Battle for Zendikar",
story_date: datetime(day: 13, month: 05, year: 2015),
author: "<NAME>",
doc
)
#emph[Over a thousand years ago, one woman stood between her world and the brink of destructi... | |
https://github.com/Mufanc/hnuthss-template | https://raw.githubusercontent.com/Mufanc/hnuthss-template/main/pages/outlines.typ | typst | #import "@preview/i-figured:0.2.4"
#import "/configs.typ": font, fontsize
#import "/components.typ": anchor
#let title(content) = [
#align(center, text(font: font.sans, size: fontsize.L3, content))
]
// 目录
#let list-of-contents = [
#title[目#h(3.5em)录]
// 目录中一级标题用小四号黑体,其余用小四号宋体
#set text(size: fontsi... | |
https://github.com/Relacibo/typst-as-lib | https://raw.githubusercontent.com/Relacibo/typst-as-lib/main/README.md | markdown | MIT License | # Typst as lib
Small wrapper around [Typst](https://github.com/typst/typst) that makes it easier to use it as a templating engine.
This API is currently not really stable, although I try to implement the features with as little change to the API as possible.
## Usage
#### rust code
```rust
// main.rs
static TEMPLAT... |
https://github.com/hanxuanliang/opentyp | https://raw.githubusercontent.com/hanxuanliang/opentyp/main/typ/cv.typ | typst | MIT License | #let cv(author: "", contacts: (), body) = {
set document(author: author, title: author)
set text(font: "Source Code Pro", size: 12pt, spacing: 30%)
show heading: it => [
#pad(bottom: -5pt, [#smallcaps(it.body)])
#line(length: 100%, stroke: 1pt)
]
// Author
align(center)[
#block(text(weight: ... |
https://github.com/liamrosenfeld/resume | https://raw.githubusercontent.com/liamrosenfeld/resume/main/template.typ | typst | #let resume(name: "", contactInfo: (), body) = {
set text(font: "New Computer Modern", lang: "en")
set document(author: name, title: name + "'s Resume")
set page("us-letter", margin: (x: 0.5in, y: 0.5in))
set text(9.5pt)
set list(indent: 7pt)
show heading.where(level: 1): it => text(16pt, weight: "bold",... | |
https://github.com/Mc-Zen/zero | https://raw.githubusercontent.com/Mc-Zen/zero/main/tests/num/test.typ | typst | MIT License | #import "/src/zero.typ": *
#set page(width: auto, height: auto, margin: .5em)
#table(
columns: 6,
[`num`], num[12.0], num[-2e3], num[0,222], num("2.2+-0.2"), num("2.2+-0.2e1"),
[Ref], $12.0$, $-2 times 10^3$, $0.222$, $2.2 plus.minus 0.2$, $(2.2 plus.minus 0.2) times 10^1$,
)
#pagebreak()
// input formats
#... |
https://github.com/francescoo22/LCD-exercises | https://raw.githubusercontent.com/francescoo22/LCD-exercises/main/src/encoding.typ | typst | #import "common.typ": *
== Encoding
Let $e : CCS_seq -> CCS$
The encoding of a $CCS_seq$ process $P$ is $e(P) without {nu}$
Note: $nu, nu'$ are channels that does not appear in $P$
#list(
tight: false,
spacing: 2em,
$e(0) = nu . 0$,
$e(alpha . P) = alpha . e(P)$,
$e(K) = K_e, space K_e def e(P) fi K def ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.