repo stringlengths 26 115 | file stringlengths 54 212 | language stringclasses 2
values | license stringclasses 16
values | content stringlengths 19 1.07M |
|---|---|---|---|---|
https://github.com/typst-doc-cn/tutorial | https://raw.githubusercontent.com/typst-doc-cn/tutorial/main/src/basic/reference-type-builtin.typ | typst | Apache License 2.0 | #import "mod.typ": *
#show: book.ref-page.with(title: [参考:内置类型])
== 空类型 <reference-type-none>
== type <reference-type-type>
== content <reference-type-content>
== function <reference-type-function>
== arguments <reference-type-arguments>
== module <reference-type-module>
== plugin <reference-type-plugin>
== re... |
https://github.com/benjamineeckh/kul-typst-template | https://raw.githubusercontent.com/benjamineeckh/kul-typst-template/main/src/core/component/copyright.typ | typst | MIT License | #let insert-copyright(copyright, lang:"nl") = {
// set par(justify: true, first-line-indent: 1em, leading: 0.5em)
// Copyright
{
set align(left + bottom)
set page(numbering: none)
par(first-line-indent: 0pt)[
#if lang == "en"{
text(size: 1em, )[#copyright.at(lang)]
}else{
t... |
https://github.com/glocq/typst-forthright-cv | https://raw.githubusercontent.com/glocq/typst-forthright-cv/master/README.md | markdown | MIT License | # Forthright Typst CV template
This is a Typst CV template visually based on the [Neat CV template](https://github.com/UntimelyCreation/typst-neat-cv), but completely rewritten with the aim of being tweak-friendly:
- Many parameters can be fine-tuned by editing the `settings.typ` file in the `src` subdirectory. This c... |
https://github.com/thanhdxuan/dacn-report | https://raw.githubusercontent.com/thanhdxuan/dacn-report/master/report-week-5/contents/04-system-requirements.typ | typst | = Xác định yêu cầu
== Yêu cầu chức năng
#let func_req = (
G01: (
id: "G01",
feature: "Login",
des: "User đăng nhập tài khoản vào hệ thống và được cấp tài nguyên theo vai trò. Ngoài ra còn có chức năng giúp người dùng đặt lại mật khẩu khi quên."
),
G02: (
id: "G02",
feature: "Logout",
des... | |
https://github.com/pluttan/asmlearning | https://raw.githubusercontent.com/pluttan/asmlearning/master/lab3/lab3.typ | typst | #import "@docs/bmstu:1.0.0":*
#show: student_work.with(
caf_name: "Компьютерные системы и сети",
faculty_name: "Информатика и системы управления",
work_type: "лабораторной работе",
work_num: "3",
discipline_name: "Программирование ветвлений и итерационных циклов ",
theme: "Программирование целочисленных выч... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/tuhi-course-poster-vuw/0.1.0/template/main.typ | typst | Apache License 2.0 | #import "@preview/tuhi-course-poster-vuw:0.1.0": tuhi-course-poster-vuw
// choice of fonts
#set text(font: "Source Sans Pro")
#show raw: set text(font: "Source Code Pro", size: 1.1em, tracking: -0.1pt)
// dummy details
#let logo = image("logo.svg")
#let url = "https://paekakariki.nz/"
#let contact = (school: "Ko Hau... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/text/emphasis-00.typ | typst | Other | // Basic.
_Emphasized and *strong* words!_
// Inside of a word it's a normal underscore or star.
hello_world Nutzer*innen
// Can contain paragraph in nested content block.
_Still #[
] emphasized._
|
https://github.com/t2lab-it/Lozano-Duran2022_information-theoretic | https://raw.githubusercontent.com/t2lab-it/Lozano-Duran2022_information-theoretic/main/main.typ | typst | #import "@preview/arkheion:0.1.0": *
#import "style.typ": *
#set math.equation(numbering: "(1)")
//==================================================
// DOCUMENT
//==================================================
#set text(font: mincho)
#show: arkheion.with(
title: text(font: mincho)[動的システムの情報理論... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/class_02.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Test nested.
#let normal = math.class.with("normal")
#let pluseq = $class("binary", normal(+) normal(=))$
$ a pluseq 5 $
|
https://github.com/FlandiaYingman/note-me | https://raw.githubusercontent.com/FlandiaYingman/note-me/main/stick-together.typ | typst | MIT License | // https://gist.github.com/PgBiel/2976c9d0ed5638ef57633ce7233928ea
// MIT No Attribution
//
// Copyright (c) 2023 <NAME>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this
// software and associated documentation files (the "Software"), to deal in the Software
// without restr... |
https://github.com/AsiSkarp/grotesk-cv | https://raw.githubusercontent.com/AsiSkarp/grotesk-cv/main/src/template/content/education.typ | typst | The Unlicense | #let meta = toml("../info.toml")
#import meta.import.path: education-entry
#import "@preview/fontawesome:0.4.0": *
#let icon = meta.section.icon.education
#let language = meta.personal.language
#let include-icon = meta.personal.include_icons
= #if include-icon [#fa-icon(icon) #h(5pt)] #if language == "en" [Educatio... |
https://github.com/Maeeen/thesis_template_typst | https://raw.githubusercontent.com/Maeeen/thesis_template_typst/master/template/template.typ | typst | /// This file defines multiple components that can be used
/// to generate a document.
/// This function generates a title page for a document. Sets the title, author, and date of the document.
/// *Example*:
/// ```typc
/// #title_page(
/// title: "Why AI may not be the solution to all our problems",
/// school: ... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/ops-10.typ | typst | Other | // Test assignment operators.
#let x = 0
#(x = 10) #test(x, 10)
#(x -= 5) #test(x, 5)
#(x += 1) #test(x, 6)
#(x *= x) #test(x, 36)
#(x /= 2.0) #test(x, 18.0)
#(x = "some") #test(x, "some")
#(x += "thing") #test(x, "something")
|
https://github.com/Mc-Zen/zero | https://raw.githubusercontent.com/Mc-Zen/zero/main/src/assertations.typ | typst | MIT License |
/// Check that a given value is one of the given string options
/// and prints a suitable error message suggesting the possible
/// values.
#let assert-option(
/// Value to check -> any
value,
/// Name of the parameter -> str
name,
/// Possible options -> array
options
) = {
if value not in options {
... |
https://github.com/kotfind/hse-se-2-notes | https://raw.githubusercontent.com/kotfind/hse-se-2-notes/master/prob/lectures/2024-10-11.typ | typst | #import "/utils/math.typ": *
= Непрерывные случайные величины
Нельзя задать рядом распределения
Можно задать функцией распределения
#def[
#defitem[Плотность $f_xi (x)$] случайно величины --- такая неотрицательная
кусочная функция, что $ forall x in R: F_xi (x) = integral_(-oo)^x f_xi (t)
d t $
]
#def[
... | |
https://github.com/frectonz/the-pg-book | https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/196.%20worked.html.typ | typst | worked.html
What I Worked On
February 2021Before college the two main things I worked on, outside of school,
were writing and programming. I didn't write essays. I wrote what
beginning writers were supposed to write then, and probably still
are: short stories. My stories were awful. They had hardly any plot,
just char... | |
https://github.com/TypstApp-team/typst | https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/compiler/repr-color-gradient.typ | typst | Apache License 2.0 | // Test representation of values in the document.
---
// Colors
#set page(width: 400pt)
#set text(0.8em)
#blue \
#color.linear-rgb(blue) \
#oklab(blue) \
#oklch(blue) \
#cmyk(blue) \
#color.hsl(blue) \
#color.hsv(blue) \
#luma(blue)
---
// Gradients
#set page(width: 400pt)
#set text(0.8em)
#gradient.linear(blue, red)... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/metro/0.1.1/src/impl/qty.typ | typst | Apache License 2.0 | #import "num.typ": num
#import "unit.typ": unit
#let qty(
number,
unt,
e: none,
pm: none,
allow-quantity-breaks: false,
quantity-product: sym.space.thin,
separate-uncertainty: "bracket",
..options
) = {
let result = {
let u = {
if options.named().at("per-mode", default: "") == "symbol" {
... |
https://github.com/typstdocsinchinese/typstdocsinchinese.github.io | https://raw.githubusercontent.com/typstdocsinchinese/typstdocsinchinese.github.io/main/README.md | markdown | <h1 align="center">这是又一个 <a href="https://github.com/typst/typst">Typst</a> 非官方的中文文档</h1>
<p align="center"><a href="https://github.com/typst/typst">访问官方仓库</a> · <a target="_blank" href="https://typstdocsinchinese.github.io">立即阅读</a> · <a href="https://github.com/typstdocsinchinese/typstdocsinchinese.github.io/issues"... | |
https://github.com/deadManAlive/ui-thesis-typst-template | https://raw.githubusercontent.com/deadManAlive/ui-thesis-typst-template/master/primer/primer.typ | typst | #let primer(doc) = {
set text(
font: "Times New Roman",
size: 12pt,
lang: "id"
)
set page(
paper: "a4",
margin: (x: 3cm, y: 3cm),
)
set block(spacing: 1em)
show heading: set text(size: 12pt)
set par(justify: true)
doc
}
#let main(body) = {
set page(
header: context {
le... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/attach-p3_03.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Show and let rules for limits and scripts
#let eq = $ ∫_a^b iota_a^b $
#eq
#show "∫": math.limits
#show math.iota: math.limits.with(inline: false)
#eq
$iota_a^b$
|
https://github.com/lelimacon/typst-minimal-cv | https://raw.githubusercontent.com/lelimacon/typst-minimal-cv/main/README.md | markdown | MIT No Attribution |
# Minimal-CV
Yet another John Doe CV.
<a href="thumbnail.png">
<img src="thumbnail.png" alt="thumbnail" width="300" />
</a>
A Typst CV template that aims for :
- Clean aesthetics
- Easy customizability
## Usage
### From Typst app
Create a new project based on the template [minimal-cv](https://typst.app/univ... |
https://github.com/maxlambertini/troika-srd-typst | https://raw.githubusercontent.com/maxlambertini/troika-srd-typst/main/chap04.typ | typst | #let chap04_title = [ = Items and Spells]
#let chap04= [
== Items
<items>
If an item is not listed here assume it adds a bonus of +1 to rolls
associated with it. Lockpicks, for instance, would add +1 to Lock rolls
while a rope would add +1 to Climb, and so on.
Item bonuses only apply if you are trained in the Skill th... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/grid-styling_01.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
#grid(columns: 3, stroke: none, fill: green, [A], [B], [C])
|
https://github.com/soul667/typst | https://raw.githubusercontent.com/soul667/typst/main/PPT/typst-slides-fudan/themes/polylux/book/src/dynamic/obo-lbl.md | markdown | # `#one-by-one` and `#line-by-line`
Consider some code like the following:
```typ
#uncover("1-")[first ]
#uncover("2-")[second ]
#uncover("3-")[third]
```
The goal here is to uncover parts of the slide one by one, so that an increasing
amount of content is shown.
A shorter but equivalent way would be to write
```typ
{{... | |
https://github.com/N3M0-dev/Notes | https://raw.githubusercontent.com/N3M0-dev/Notes/main/CS/FLaA/final_note.typ | typst | #import "@local/note_template:0.0.1": *
#import "@preview/finite:0.3.0": automaton
#import "@preview/cetz:0.2.2"
#set heading(numbering: "1.1")
#show heading: body => [
#text(font:("Times New Roman","Weibei SC"))[#body]
]
#frontmatter(title: "Final Note", date: "2021-6-12", authors: ("Nemo",))
#set text(font:("Tim... | |
https://github.com/BreakingLead/note | https://raw.githubusercontent.com/BreakingLead/note/main/Math/uncategorized/formulas.typ | typst |
#import "../template-mathnote.typ": *
$
P(n): forall a_n >= 0, ((a_1+a_2+...+a_n)/n) >= root(n,a_1+a_2+...+a_n)
$
想要证明 $P(n)$ 对任意
| |
https://github.com/francescoo22/masters-thesis | https://raw.githubusercontent.com/francescoo22/masters-thesis/main/vars/proofs/push.typ | typst | #import "../../config/proof-tree.typ": *
#import "../../config/utils.typ": *
#let template = prooftree(
axiom($$),
rule(label: "", $$),
)
#let push-1 = prooftree(
axiom($push(this\: unique borrowed, value: unique): shared {...}$),
rule(label: "M-type-1", $mtype(push) = unique borrowed, unique -> shared$),
a... | |
https://github.com/WShohei/presentation | https://raw.githubusercontent.com/WShohei/presentation/master/lab/0515/slide/templates/metadata.typ | typst | #let beamer_format = (16, 9)
#let theme_background = blue.darken(30%)
#let theme_text = white
#let font = "Times New Roman"
#let presentation_title = "Pytorch チュートリアル"
#let presentation_subtitle = ""
#let author = "<NAME>"
#let date = "2024-05-15"
| |
https://github.com/MilanR312/ugent_typst_template | https://raw.githubusercontent.com/MilanR312/ugent_typst_template/main/template/methods/table_notes.typ | typst | MIT License | #let global_table_counters = state("gtc", (:))
#let global_table_state = state("gts", (:))
#let note(body, caption: none) = {
[\_internalNoteMarker#(caption)internalsplitpoint#body]
}
#let init_note_tables(body) = {
show table: t => context {
let table_num = counter(figure.where(kind: table)).get().first()
... |
https://github.com/funnyboy-roks/school | https://raw.githubusercontent.com/funnyboy-roks/school/2024-fall/STAT-405/exam-1.typ | typst | #import "@preview/lemmify:0.1.5": *
#let notin = math.class(
"relation",
$cancel(in)$,
)
#let choose(top, bottom) = $mat(top; bottom)$
#let my-thm-style(
thm-type, name, number, body
) = grid(
columns: (1fr, 3fr),
column-gutter: 1em,
stack(spacing: .5em, [#strong(thm-type) #number], emph(name)),
body
)... | |
https://github.com/persello/Serifian | https://raw.githubusercontent.com/persello/Serifian/main/README.md | markdown | # Serifian
Serifian is a Typst client for iPadOS.
| |
https://github.com/OverflowCat/BUAA-Data-and-Error-Analysis-Sp2024 | https://raw.githubusercontent.com/OverflowCat/BUAA-Data-and-Error-Analysis-Sp2024/neko/project-2/main.typ | typst | #import "./regression.typ": regression, transpose
#import "./cuda.typ": roman
#import "./helper.typ": hr, r0
#import "./vendor/lib.typ": round
#import "./private.typ": *
#import "@preview/pinit:0.1.4": *
#import "@preview/unify:0.5.0": num, qty
#set text(lang: "zh", cjk-latin-spacing: auto, font: "Noto Serif CJK SC")
#... | |
https://github.com/TimPaasche/Typst.Template.Thesis | https://raw.githubusercontent.com/TimPaasche/Typst.Template.Thesis/main/template/style.typ | typst | MIT License |
// +-------------------------------------------+
// | STYLE OF THE HEADER |
// +-------------------------------------------+
#let setHeader(title: [], subtitle: [], authors: ()) = {
set text(font: "Cascadia Mono", size: 10pt, weight: "bold", fill: rgb("#288733"))
locate(loc =>
if calc.o... |
https://github.com/leesum1/brilliant-cv | https://raw.githubusercontent.com/leesum1/brilliant-cv/master/modules_zh/pullrequst.typ | typst | // Import
#import "@preview/brilliant-cv:2.0.2": cvEntry, cvSection
#import "@preview/fontawesome:0.4.0": *
#let metadata = toml("../metadata.toml")
#let cvSection = cvSection.with(metadata: metadata)
#let cvEntry = cvEntry.with(metadata: metadata)
#cvSection("开源贡献")
#cvEntry(
society: [RT-Thread],
title: link("... | |
https://github.com/drupol/master-thesis | https://raw.githubusercontent.com/drupol/master-thesis/main/src/thesis/theme/UMONS-fs-logo.typ | typst | Other | #import "./common/metadata.typ": *
#import "./colors.typ": *
#{
set text(font: "Liberation Sans")
set par(leading: 6pt)
box[#image("./UMONS_FS-logo.svg", height: 60pt)]
box[
#v(.7em)
#text(size: .3em, fill: umons-grey)[
Faculty of\
sciences
]
]
}
|
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compute/construct-02.typ | typst | Other | // Error for values that are out of range.
// Error: 11-14 number must be between 0 and 255
#test(rgb(-30, 15, 50))
|
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/page-binding_00.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
#set page(height: 100pt, margin: (inside: 30pt, outside: 20pt))
#set par(justify: true)
#set text(size: 8pt)
#page(margin: (x: 20pt), {
set align(center + horizon)
text(20pt, strong[Title])
v(2em, weak: true)
text(15pt)[Author]
})
= Intro... |
https://github.com/kdog3682/2024-typst | https://raw.githubusercontent.com/kdog3682/2024-typst/main/src/numberline.typ | typst | #import "base-utils.typ": *
#import "cetz-setup.typ": *
#let numberline(n, items) = {
hline(0, n, mark: attrs.get("double-sided-arrow-mark"))
let h = 0.25
for i in range(1, n) {
vline(-h, h, x: i)
}
for item in items {
let p = (item.pos, 0.5)
content(p, resolve-content(item.label))
}
/... | |
https://github.com/atareao/typst-templates | https://raw.githubusercontent.com/atareao/typst-templates/main/book/example/01-chapter-01.typ | typst | MIT License | = Chapter 01
#lorem(150)
```bash
#!/bin/bash
echo "Hello World!"
```
|
https://github.com/sitandr/typst-examples-book | https://raw.githubusercontent.com/sitandr/typst-examples-book/main/src/basics/tutorial/basic_styling.md | markdown | MIT License | # Basic styling
## `Set` rule
```typ
#set page(width: 15cm, margin: (left: 4cm, right: 4cm))
That was great, but using functions everywhere, especially
with many arguments every time is awfully cumbersome.
That's why Typst has _rules_. No, not for you, for the document.
#set par(justify: true)
And the f... |
https://github.com/mem-courses/discrete-mathmatics | https://raw.githubusercontent.com/mem-courses/discrete-mathmatics/main/homework/week6.typ | typst | MIT License | #import "../template.typ": *
#import "../functions.typ": *
#show: project.with(
course: "Discrete Mathmatics",
course_fullname: "Discrete Mathematics and Application",
course_code: "211B0010",
title: "Homework #6: Fundamentals of Counting",
authors: ((
name: "<NAME>",
email: "<EMAIL>",
id: "A10"
),),
seme... |
https://github.com/ern1/typiskt | https://raw.githubusercontent.com/ern1/typiskt/main/templates/typiskt.typ | typst | #import "resume.typ": *
#import "cover-letter.typ": *
#import "util.typ" as util
#import "icons.typ" as icons
#import "colors.typ" as colors
#import "fonts.typ" as fonts
| |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/meta/document_07.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
//
// #box[
// // Error: 4-18 page configuration is not allowed inside of containers
// #set page("a4")
// ] |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/clip_02.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Test clipping svg glyphs
Emoji: #box(height: 0.5em, stroke: 1pt + black)[🐪, 🌋, 🏞]
Emoji: #box(height: 0.5em, clip: true, stroke: 1pt + black)[🐪, 🌋, 🏞]
|
https://github.com/Myriad-Dreamin/tinymist | https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/goto_definition/label_indir2.typ | typst | Apache License 2.0 | // compile: true
#let test1(body) = figure(body)
#test1([Test1]) <fig:test1>
@fig:test1
#let test2(body) = test1(body)
#test2([Test2]) <fig:test2>
/* position after */ @fig:test2
|
https://github.com/sthenic/technogram | https://raw.githubusercontent.com/sthenic/technogram/main/src/presentation.typ | typst | MIT License | #import "palette.typ": DEFAULT-PALETTE, update-palette, generate-admonition-palette, table-fill, table-stroke
#import "common.typ": get-text-color
/* States */
#let _current-title = state("current-title", none)
#let _outline-title = state("outline-title", true)
#let _header(title: auto, logotype) = context {
/* The... |
https://github.com/michel-steuwer/typst-acmart | https://raw.githubusercontent.com/michel-steuwer/typst-acmart/main/README.md | markdown | MIT License | # typst-acmart
Typst template mimicking acmart latex class
|
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/055%20-%20Murders%20at%20Karlov%20Manor/011_Episode%2011%3A%20Portents%20and%20Omens.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Episode 11: Portents and Omens",
set_name: "Murders at Karlov Manor",
story_date: datetime(day: 14, month: 02, year: 2024),
author: "<NAME>",
doc
)
Proft's footsteps echoed as he walked into the chamber currently occupied by Niv-Mizzet, the... | |
https://github.com/sofianedjerbi/ResumeOld | https://raw.githubusercontent.com/sofianedjerbi/ResumeOld/main/projet.typ | typst | Apache License 2.0 | #import "brilliant-CV/template.typ": *
#show: layout
#set text(size: 12pt) //set global font size
#letterHeader(
myAddress: [284 Avenue de Lyon \ 07500 Guilherand-Granges, France],
recipientName: [UFR IM²AG],
recipientAddress: [60 Rue de la Chimie, \ 38400 Saint-Martin-d'Hères, France],
date: [10/03/2024],
s... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/meta/heading_04.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Edge cases.
#set heading(numbering: "1.")
=
Not in heading
=Nope
|
https://github.com/tiddly-gittly/TiddlyWiki-Easy-Guide-And-TiddlyMemo-Edition | https://raw.githubusercontent.com/tiddly-gittly/TiddlyWiki-Easy-Guide-And-TiddlyMemo-Edition/master/原稿/TiddlyWiki简易指南.typ | typst | #set text(lang: "zh",cjk-latin-spacing: auto)
#align(center + horizon)[#box[#image("./media/image1.png", width: 12%, height: 8%)#text(24pt)[TiddlyWiki(太微)简易指南]]]\
#align(bottom)[此文件所在的Github仓库:#link("https://github.com/tiddly-gittly/TiddlyWiki-Easy-Guide-And-TiddlyMemo-Edition")[tiddly-gittly/TiddlyWiki-Easy-Guide-And... | |
https://github.com/ngoetti/knowledge-key | https://raw.githubusercontent.com/ngoetti/knowledge-key/master/template/utils.typ | typst | MIT License | #import "@preview/codelst:2.0.1": sourcecode
#import "@preview/tablex:0.0.8": tablex
#let sourcecode = sourcecode.with(frame: (code) => block(
radius: 4pt,
fill: luma(255),
stroke: luma(230),
inset: 2pt,
text(size: 4pt, code)
)) |
https://github.com/YunkaiZhang233/a-level-further-maths-topic-questions-david-game | https://raw.githubusercontent.com/YunkaiZhang233/a-level-further-maths-topic-questions-david-game/main/further-mechanics-1.typ | typst | #import "template.typ": *
#import "shortcut.typ": *
#let title = "FM1 Topic Questions"
#let author = "<NAME>"
#let course_id = "Further Mechanics"
#let instructor = "<NAME>"
#let school_name = "David Game College"
#let written_time = "Spring 2024"
#show: assignment_class.with(title, author, course_id, instructor, schoo... | |
https://github.com/EpicEricEE/typst-quick-maths | https://raw.githubusercontent.com/EpicEricEE/typst-quick-maths/master/tests/template.typ | typst | MIT License | #import "/src/lib.typ": shorthands
#set page(width: 4cm, height: auto, margin: 1em)
#show: shorthands.with()
|
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/048%20-%20Dominaria%20United/003_Episode%203%3A%20The%20Locked%20Tower.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Episode 3: The Locked Tower",
set_name: "Dominaria United",
story_date: datetime(day: 12, month: 08, year: 2022),
author: "<NAME>",
doc
)
#figure(image("003_Episode 3: The Locked Tower/01.jpg", width: 100%), caption: [Art by: <NAME>], supp... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/game-theoryst/0.1.0/README.md | markdown | Apache License 2.0 | # Game-Theoryst
A package for typesetting games in Typst.
Full manual available [here](./doc/gtheoryst-manual.pdf)
Work in progress -- _coming soon!_
## Overview
#### Simple Example
The main function to make strategic (or **normal**) form games is `nfg`. For a basic 2x2 game, you can do
```typ
#nfg(
players: (... |
https://github.com/alberto-lazari/cv | https://raw.githubusercontent.com/alberto-lazari/cv/main/readme.md | markdown | # My CV
My personal Curriculum Vitae, made with the [Brilliant CV](https://typst.app/universe/package/brilliant-cv) template
PDF is available [here](https://github.com/alberto-lazari/cv/tree/main/alberto-lazari-cv.pdf)
## Compile it
Compile it with
```sh
typst compile alberto-lazari-cv.typ --font-path fonts
```
... | |
https://github.com/alberto-lazari/cns-report | https://raw.githubusercontent.com/alberto-lazari/cns-report/main/device.typ | typst | = Device virtualization <device_virtualization>
In order to achieve a good level of scalability and efficient testing in a controlled environment, we opted for device virtualization, leveraging the capabilities of the Android emulator from the Software Development Kit (SDK).
The emulator easily integrates with a virt... | |
https://github.com/csimide/SEU-Typst-Template | https://raw.githubusercontent.com/csimide/SEU-Typst-Template/master/init-files/bachelor_thesis.typ | typst | MIT License | #import "../seu-thesis/lib.typ": bachelor-conf, bachelor-utils
#let (thanks, show-appendix) = bachelor-utils
/*
使用模板前,请先安装 https://github.com/csimide/SEU-Typst-Template/tree/master/fonts 内的所有字体。
如果使用 Web App,请将这些字体上传到 Web App 项目的根目录中。
*/
// 由于教务处模板没有严格规定代码块的字体,为了美观,在此设定代码块字体
#import "@preview/sourcerer:0.2.1": c... |
https://github.com/mintyfrankie/brilliant-CV | https://raw.githubusercontent.com/mintyfrankie/brilliant-CV/main/letter.typ | typst | Apache License 2.0 | /*
* Functions for the CV template
*/
#import "./utils/styles.typ": *
#let letterHeader(
myAddress: "Your Address Here",
recipientName: "<NAME> Here",
recipientAddress: "Company Address Here",
date: "Today's Date",
subject: "Subject: Hey!",
metadata: metadata,
awesomeColors: awesomeColors,
) = {
let a... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/t4t/0.1.0/math.typ | typst | Apache License 2.0 | #import "is.typ": same-type
// Math
#let minmax( a, b ) = (
calc.min(a, b),
calc.max(a, b)
)
#let clamp( min, max, value ) = {
assert.eq(type(min), type(max),
message:"Can't clamp values of different types!"
)
assert.eq(type(min), type(value),
message:"Can't clamp values of different types!"
)
... |
https://github.com/SWATEngineering/Docs | https://raw.githubusercontent.com/SWATEngineering/Docs/main/src/2_RTB/PianoDiProgetto/sections/PianificazioneSprint/PrimoSprint.typ | typst | MIT License | #import "../../functions.typ": glossary
=== Primo #glossary[sprint]
*Inizio*: Venerdì 10/11/2023
*Fine*: Giovedì 23/11/2023
*Obiettivi dello #glossary[sprint]*:
- Normare le modalità di lavoro attualmente in uso all'interno delle _Norme di Progetto_, ponendo particolare attenzione su: processi primari, processi ... |
https://github.com/qujihan/typst-cv-template | https://raw.githubusercontent.com/qujihan/typst-cv-template/main/cv.typ | typst | #import "utils.typ": *
#import "params.typ": *
#let cv(info, body) = {
set document(author: info.name, title: info.title)
set page(
number-align: center,
margin: (x: 0.5in, y: 0.5in),
)
set par(
justify: true,
leading: 0.8em,
linebreaks: "optimized",
)
set text(
font: (default-co... | |
https://github.com/jdupak/slides-gnu-cauldron-2024-borrowing-polonius | https://raw.githubusercontent.com/jdupak/slides-gnu-cauldron-2024-borrowing-polonius/master/main.typ | typst | Creative Commons Attribution 4.0 International | #import "@preview/polylux:0.3.1": *
#import "@preview/fletcher:0.3.0" as fletcher: node, edge
#import "theme/ctu.typ": *
#show: ctu-theme.with(aspect-ratio: "4-3")
#title-slide[
#set text(size: 1.3em)
#v(6em)
= Borrowing Polonius
<NAME>
#v(2em)
#text(size: 0.7em)[
GNU Tool... |
https://github.com/csimide/SEU-Typst-Template | https://raw.githubusercontent.com/csimide/SEU-Typst-Template/master/seu-thesis/pages/statement-degree-fn.typ | typst | MIT License | #import "../utils/fonts.typ": 字体, 字号
#let degree-statement-conf(
anonymous: false,
) = page(
header: none,
footer: none,
numbering: none,
margin: 2.5cm,
{
show heading.where(level: 1): it => {
set align(center)
set text(font: 字体.黑体, size: 15pt)
it.body.text.clusters().join(h(0.3em))
... |
https://github.com/RomainPierre7/ENSEIRB-report-template | https://raw.githubusercontent.com/RomainPierre7/ENSEIRB-report-template/main/template/main.typ | typst | MIT License | #import "../lib.typ": *
#show: report() |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/037%20-%20Ravnica%20Allegiance/011_The%20Gathering%20Storm%3A%20Chapter%2017.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"The Gathering Storm: Chapter 17",
set_name: "Ravnica Allegiance",
story_date: datetime(day: 02, month: 10, year: 2019),
author: "<NAME>",
doc
)
There were a lot of bars, taverns, and pubs in the streets around Nivix. Chemisters, workers, an... | |
https://github.com/donRumata03/aim-report | https://raw.githubusercontent.com/donRumata03/aim-report/master/pres/proposal.typ | typst | #import "../lib/presentation-template.typ": *
#blockquote[Вырезанная техническая часть из Proposal к CV в лабу]
= Co-evolution
https://github.com/aimclub/GOLEM/issues/47
== Высокоуровневое описание
Предлагается реализовать кооперативную ко-эволюцию: решение будет собираться по частям из нескольких популяций подгра... | |
https://github.com/Kasci/LiturgicalBooks | https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/SK/zalmy/Z062.typ | typst | Bože, ty si môj Boh, \* už od úsvitu sa viniem k tebe.
Za tebou prahne moja duša, \* za tebou túži moje telo;
ako vyschnutá, pustá zem bez vody, \* tak ťa túžim uzrieť vo svätyni a vidieť tvoju moc a slávu.
Veď tvoja milosť je lepšia než život; \* moje pery budú ťa oslavovať.
Celý život ťa chcem velebiť \* a v ... | |
https://github.com/ClazyChen/Table-Tennis-Rankings | https://raw.githubusercontent.com/ClazyChen/Table-Tennis-Rankings/main/history/2011/MS-03.typ | typst |
#set text(font: ("Courier New", "NSimSun"))
#figure(
caption: "Men's Singles (1 - 32)",
table(
columns: 4,
[Ranking], [Player], [Country/Region], [Rating],
[1], [<NAME>], [CHN], [3222],
[2], [WANG Hao], [CHN], [3194],
[3], [XU Xin], [CHN], [3172],
[4], [<NAME>], [GER], [3169],... | |
https://github.com/WinstonMDP/math | https://raw.githubusercontent.com/WinstonMDP/math/main/exers/h.typ | typst | #import "../cfg.typ": *
#show: cfg
$ "Find" lim_(x -> 0) (log_a (1 + x))/x $
$(log_a (1 + x))/x = (ln (1 + x))/(x ln a) ->_(x -> 0) 1/(ln a)$
| |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/021%20-%20Battle%20for%20Zendikar/003_The%20Believers'%20Pilgrimage.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"The Believers' Pilgrimage",
set_name: "Battle for Zendikar",
story_date: datetime(day: 02, month: 09, year: 2015),
author: "<NAME>",
doc
)
#emph[Gideon Jura brought Jace Beleren to Zendikar in hopes that the mind mage could crack what the m... | |
https://github.com/atareao/typst-templates | https://raw.githubusercontent.com/atareao/typst-templates/main/book/example/02-chapter-02.typ | typst | MIT License | = Chapter 02
#lorem(150)
|
https://github.com/elteammate/typst-compiler | https://raw.githubusercontent.com/elteammate/typst-compiler/main/src/z-test.typ | typst | #import "reflection-lexer.typ": *
#import "reflection-parser.typ": *
#let tokens = typst_lex("
#let x = x.x()
aboba")
#tokens.map(x => [#x]).join([ \ ])
\ \
// #pprint_ast(typst_parse(tokens))
// #"abacaba".slice(2, -2)
| |
https://github.com/KireinaHoro/research-plan | https://raw.githubusercontent.com/KireinaHoro/research-plan/master/glossary.typ | typst | // defined in the format for @preview/glossarium
#let glossary = (
(key: "rpc", short: [RPC], long: [remote procedure call]),
(key: "nic", short: [NIC], long: [network interface card]),
(key: "dma", short: [DMA], long: [direct memory access]),
(key: "irq", short: [IRQ], long: [interrupt request]),
(key: "pio... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/transform_01.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Test combination of scaling and rotation.
#set page(height: 80pt)
#align(center + horizon,
rotate(20deg, scale(70%, image("/assets/files/tiger.jpg")))
)
|
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/meta/document-03.typ | typst | Other | Hello
// Error: 2-30 document set rules must appear before any content
#set document(title: "Hello")
|
https://github.com/RaphGL/ElectronicsFromBasics | https://raw.githubusercontent.com/RaphGL/ElectronicsFromBasics/main/DC/chap3/4_ohms_law_again.typ | typst | Other | #import "../../core/core.typ"
=== Ohm's Law (again!)
A common phrase heard in reference to electrical safety goes something like this: "It's not voltage that kills, its current!" While there is an element of truth to this, there's more to understand about shock hazard than this simple adage.
If voltage presented no d... |
https://github.com/rikhuijzer/phd-thesis | https://raw.githubusercontent.com/rikhuijzer/phd-thesis/main/propositions.typ | typst | The Unlicense | #let font = "EB Garamond"
// Use to test whether font is used.
// Fallback true needed for Gronnerod in some fonts.
#let fallback = true
#set text(font: font, fallback: fallback, size: 14pt)
#align(center)[
#set text(size: 20pt)
Propositions
]
\
#align(center)[
Belonging to the dissertation \
*Predicting dropo... |
https://github.com/juraph-dev/usyd-slides-typst | https://raw.githubusercontent.com/juraph-dev/usyd-slides-typst/main/example.typ | typst | MIT License | #import "usyd_polylux_theme.typ": *
#show: usyd-theme.with(
short-author: "Juraph",
short-title: "Demo of Typst capabilities",
short-date: "24th Jul, 2024"
)
#set text(font: "Arial", fallback: false)
#set par(justify: true)
#title-slide(
authors: [Juraph, author2, author3, author4],
title: "University of S... |
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/lib.typ | typst | MIT License | #import "@preview/aio-studi-and-thesis:0.1.0": * |
https://github.com/kotfind/hse-se-2-notes | https://raw.githubusercontent.com/kotfind/hse-se-2-notes/master/os/lectures/2024-09-30.typ | typst | == Конкретные алгоритмы (программные)
=== Запрет прерываний
Существует команда процесса (Clear Interrupt), которая заставляет его
игнорировать почти все прерывания, кроме критических.
У процесса не могу отобрать процессор ни при каких условиях.
Существует парная команда, которая обрабатывает все запомненные и новые... | |
https://github.com/GuTaoZi/SUSTech-thesis-typst | https://raw.githubusercontent.com/GuTaoZi/SUSTech-thesis-typst/main/README.md | markdown | MIT License | # 南方科技大学学位论文 SUSTech-thesis-typst
\* 本项目绝赞施工中,欢迎参与开发或提出宝贵意见!
南方科技大学毕业论文(设计)的Typst模板,拥有Markdown的实时渲染与简洁语法,不输$\LaTeX$的自动排版,如Word写作一样轻松上手。本模板按照[南方科技大学本科生毕业论文(设计)撰写规范](https://tao.sustech.edu.cn/studentService/graduation_project.html)进行编写,但由于本模板并非官方模板,**存在不被认可的风险**。
查看示例论文:[thesis.pdf](./build/thesis.pdf)
## 为什么选择Typst... |
https://github.com/saYmd-moe/note-for-statistical-mechanics | https://raw.githubusercontent.com/saYmd-moe/note-for-statistical-mechanics/main/contents/PartII/PartII.typ | typst | #import "../../template.typ": *
= 统计力学
为了方便复习,统计力学部分会尽量简略描述结果,省去大部分推导过程,作为简单的总结给出。(快考试了没时间写全推导步骤) $arrow.t arrow.b$
#colorbox(
title: [等概率原理],
color: "blue",
radius: 5pt,
width: auto
)[
对于#text(rgb("#FA7F6F"))[平衡态的孤立系],系统处于各个可能微观态的概率相等。
]
$
cases(
#[定域子系] cases(
#[经典子系(经典统计)] ,
#[量子子系(量子统计)]
),... | |
https://github.com/FkHiroki/ex-D2 | https://raw.githubusercontent.com/FkHiroki/ex-D2/main/sections/section1.typ | typst | MIT No Attribution | = 問1
== (1) 恒星と惑星
恒星とは自ら光を放つ天体であり、核融合によってエネルギーを生み出し、そのエネルギーを放射している。一方、惑星は恒星の周りを公転している天体であり、自ら光を放つことはなく、恒星が放射する光を反射している。太陽系においては、太陽が恒星であり、地球や木星などが惑星である。
== (2) 白色矮星と中性子星
白色矮星と中性子星はどちらも恒星の成れの果てである。白色矮星は、$0.08$から$8$太陽質量程度の恒星が核融合を終えた後に残る天体であり、中性子星は、質量が太陽の$8$倍より大きい恒星が、超新星爆発を起こした後に残る天体である。白色矮星は電子縮退圧によって自重を支えているが、中性子星... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compute/construct-07.typ | typst | Other | // Ref: true
#let envelope = symbol(
"🖂",
("stamped", "🖃"),
("stamped.pen", "🖆"),
("lightning", "🖄"),
("fly", "🖅"),
)
#envelope
#envelope.stamped
#envelope.pen
#envelope.stamped.pen
#envelope.lightning
#envelope.fly
|
https://github.com/dark-flames/apollo-typst | https://raw.githubusercontent.com/dark-flames/apollo-typst/main/content/_index.md | markdown | Apache License 2.0 | +++
title= "Apollo Theme"
template = "homepage.html"
+++
Thanks for checking out this theme!
Checkout all the [options you can configure](./posts/configuration) and the [example pages](./tags/example/).[Test Typst](./posts/test) |
https://github.com/kdog3682/2024-typst | https://raw.githubusercontent.com/kdog3682/2024-typst/main/examples/blue-green-barchart.typ | typst | //
#import "@preview/cetz:0.2.0"
#let default-style = (
tick-limit: 10,
minor-tick-limit: 5,
auto-tick-factors: ( 4, 5, 6, 8, 10), // Tick factor to try
auto-tick-count: 10, // Number of ticks the plot tries to place
fill: none,
stroke: black + 0.75pt, // the container bars
label: (
offset: .2cm, ... | |
https://github.com/yasemitee/Teoria-Informazione-Trasmissione | https://raw.githubusercontent.com/yasemitee/Teoria-Informazione-Trasmissione/main/2023-11-03.typ | typst | #import "@preview/lemmify:0.1.4": *
#let (
theorem, lemma, corollary,
remark, proposition, example,
proof, rules: thm-rules
) = default-theorems("thm-group", lang: "it")
#show: thm-rules
#show thm-selector("thm-group", subgroup: "proof"): it => block(
it,
stroke: green + 1pt,
inset: 1em,
breaka... | |
https://github.com/Treeniks/bachelor-thesis-isabelle-vscode | https://raw.githubusercontent.com/Treeniks/bachelor-thesis-isabelle-vscode/master/chapters/03-related-work.typ | typst | #import "/utils/todo.typ": TODO
#import "/utils/isabelle.typ": *
= Related Work
#vscode was created in 2017 by #cite(<markarius-isabelle-vscode-2017>, form: "prose"). Lacking features like highlighting in output and state panels, #cite(<denis-paluca>, form: "prose") continued the work on #vscode in 2021. Since then, ... | |
https://github.com/sitandr/conchord | https://raw.githubusercontent.com/sitandr/conchord/main/tabs/drawing.typ | typst | MIT License | #import "./tabs.typ": draw
#let native-scale = scale
#import draw: *
#let draw-lines(s-num, colors, y, x) = {
{
on-layer(-2, {
for i in range(s-num) {
line((0, -(y + i)), (x, -(y + i)), stroke: colors.lines)
}
})
}
}
#let draw-bar(s-num, scale-length, colors, x, y, width: 1.0) = {
on... |
https://github.com/smorad/um_cisc_7026 | https://raw.githubusercontent.com/smorad/um_cisc_7026/main/syllabus.typ | typst | #align(center)[#text(size: 20pt)[Course Syllabus]]
#table(
columns: (0.2fr, 0.8fr),
[Course], [CISC 7026 Fall 2024],
[Time], [19:00-22:00, Mondays],
[Location], [Room E6-1102C],
[Description], [This course introduces the theory and application of deep neural networks],
[Instructor], [
<NAME> \<smorad at... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/math/accent-04.typ | typst | Other | // Test wide base.
$arrow("ABC" + d), tilde(sum)$
|
https://github.com/buxx/cv | https://raw.githubusercontent.com/buxx/cv/master/modules/projects.typ | typst | #import "../brilliant-CV/template.typ": *
#import "../src/utils.typ": *
#cvSection("Réalisations", highlighted: true, letters: 3)
#cvEntry(
title: [Logiciels métiers],
society: [],
date: [],
location: [],
description: list(
[
#img("plug") Logiciel de mesure scientifique embarqué #text(style: "ital... | |
https://github.com/Skimmeroni/Appunti | https://raw.githubusercontent.com/Skimmeroni/Appunti/main/C++/Introduzione/Doxygen.typ | typst | Creative Commons Zero v1.0 Universal | #import "@preview/showybox:2.0.1": showybox
*Doxygen* é uno strumento che permette di generare documentazione del codice
C++ in maniera automatica a partire da dei commenti propriamente formattati.
Tali commenti é best practise riportarli nei file header in cui sono riportate
le firme dei metodi.
Doxygen riconosce un... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/clip_03.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Test block clipping over multiple pages.
#set page(height: 60pt)
First!
#block(height: 4em, clip: true, stroke: 1pt + black)[
But, soft! what light through yonder window breaks? It is the east, and Juliet
is the sun.
]
|
https://github.com/PuntitOwO/template-informe-practica-fcfm | https://raw.githubusercontent.com/PuntitOwO/template-informe-practica-fcfm/main/example.typ | typst | MIT License | #import "conf.typ": conf, guia, pronombre
#let mostrar_guias = true
#show: conf.with(
titulo: "El Título de mi práctica",
autor: (nombre: "<NAME>", pronombre: pronombre.elle),
supervisor: (nombre: "<NAME>", pronombre: pronombre.ella),
espaciado_titulo: 2fr,
)
#guia(visible: mostrar_guias)[Se debe quitar todas ... |
https://github.com/7sDream/fonts-and-layout-zhCN | https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/pdf.typ | typst | Other | #import "@preview/book:0.2.5": _convert-summary
#import "/template/template.typ": template
#import "/template/consts.typ"
#import "/template/util.typ"
#set document(
title: consts.title,
author: (consts.author, ..consts.translators),
)
#if not util.is-pdf-target() {
panic("To compile this file, you need provide... |
https://github.com/typst-community/guidelines | https://raw.githubusercontent.com/typst-community/guidelines/main/src/chapters/style/sugar.typ | typst | Creative Commons Attribution Share Alike 4.0 International | #import "/src/util.typ": *
#import mantys: *
= Syntax Sugar
Prefer syntax sugar only for simple markup related tasks.
TODO
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.