repo stringlengths 26 115 | file stringlengths 54 212 | language stringclasses 2
values | license stringclasses 16
values | content stringlengths 19 1.07M |
|---|---|---|---|---|
https://github.com/pascalguttmann/typst-template-report-lab | https://raw.githubusercontent.com/pascalguttmann/typst-template-report-lab/main/template/main.typ | typst | MIT License | #import "template-report-lab.typ": conf, date
#show: doc => conf(
title: [
The Title
],
authors: (
(
name: "<NAME>",
affiliation: "276035",
),
(
name: "<NAME>",
affiliation: "275358",
),
),
group: 1.1,
course: "Smart Systems",
lecture: "Optical ... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/fauve-cdb/0.1.0/README.md | markdown | Apache License 2.0 | # PhD manuscript template - Collège doctoral de Bretagne
Typst template for doctoral dissertations of the French [Collège doctoral de Bretagne
(CdB)](https://www.doctorat-bretagne.fr/). The original LaTeX template can be found
[here](https://gitlab.com/ed-matisse/latex-template).
# Usage
You can use this template in... |
https://github.com/typst-doc-cn/tutorial | https://raw.githubusercontent.com/typst-doc-cn/tutorial/main/src/intermediate/content-stateful.typ | typst | Apache License 2.0 | #import "mod.typ": *
#show: book.page.with(title: "维护和查询文档状态")
在上一节中我们理解了作用域,也知道如何简单把「`show`」规则应用于文档中的部分内容。
它看起来似乎已经足够强大。但还有一种可能,Typst可以给你更强大的原语。
我是说有一种可能,Typst对文档内容的理解至少是二维的。这二维,有一维可以比作空间,另一维可以比作时间。你可以从文档的任意位置,
+ 空间维度(From Space to Space):查询文档任意部分的状态(这里的内容和那里的内容)。
+ 时间维度(From TimeLoc to TimeLoc):查询文档任意脚本位置的状态(过去的状... |
https://github.com/qujihan/toydb-book | https://raw.githubusercontent.com/qujihan/toydb-book/main/src/chapter2.typ | typst | #import "../typst-book-template/book.typ": *
#let path-prefix = figure-root-path + "src/pics/"
= 存储引擎
#include "chapter2/intro.typ"
#include "chapter2/engine.typ"
#include "chapter2/bitcask.typ"
#include "chapter2/memory.typ"
#include "chapter2/mvcc.typ"
#include "chapter2/summary.typ" | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/valkyrie/0.2.0/src/types/array.typ | typst | Apache License 2.0 | #import "../base-type.typ": base-type
#import "../assertions-util.typ": assert-base-type
#import "../ctx.typ": z-ctx
#let array-type = type(())
#let array(
name: "array",
..args,
) = {
let descendents-schema = args.pos().at(0, default: base-type(name: "any"))
assert-base-type(descendents-schema, scope: ("argu... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-17000.typ | typst | Apache License 2.0 | #let data = (
"0": ("<Tangut Ideograph, First>", "Lo", 0),
"17f7": ("<Tangut Ideograph, Last>", "Lo", 0),
)
|
https://github.com/sebmestrallet/typst-simple-siam | https://raw.githubusercontent.com/sebmestrallet/typst-simple-siam/main/src/lib.typ | typst | MIT No Attribution | #import "@preview/ctheorems:1.1.2": *
#let theorem = thmbox(
"theorem",
"Theorem",
supplement: "Thm.",
inset: 0pt,
titlefmt: title => [#smallcaps(title)],
bodyfmt: body => [_ #body _],
)
#let definition = thmbox(
"definition",
"Definition",
supplement: "Def.",
inset: 0pt,
titlefmt: title => [#sm... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/matrix_04.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Test alternative math delimiter directly in call.
#set align(center)
#grid(
columns: 3,
gutter: 10pt,
$ mat(1, 2, delim: "[") $,
$ mat(1, 2; delim: "[") $,
$ mat(delim: "[", 1, 2) $,
$ mat(1; 2; delim: "[") $,
$ mat(1; delim: "["... |
https://github.com/Vortezz/fiches-mp2i-physique | https://raw.githubusercontent.com/Vortezz/fiches-mp2i-physique/main/tp/linear_regression.typ | typst | #import "@preview/cetz:0.0.1"
#set page(header: box(width: 100%, grid(
columns: (100%),
rows: (20pt, 8pt),
align(right, text("FICHE TP - RÉGRESSION LINÉAIRE")),
line(length: 100%),
)), footer: box(width: 100%, grid(
columns: (50%, 50%),
rows: (8pt, 20pt),
line(length: 100%),
line(length: 100%),
align... | |
https://github.com/dismint/docmint | https://raw.githubusercontent.com/dismint/docmint/main/biology/lec2.typ | typst | #import "template.typ": *
#show: template.with(
title: "Lecture 2",
subtitle: "7.016"
)
= Introduction
Most of chemistry happens in an aqueous environment since 75% of cells are water.
#define(
title: "Biomolecular Interactions"
)[
/ Specificity: One on one interactions
/ Diversity: Many possible interacti... | |
https://github.com/lucannez64/Notes | https://raw.githubusercontent.com/lucannez64/Notes/master/Valorant_Notes_DATA.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: "Valorant Notes DATA",
authors: (
"<NAME>",
),
date: "30 Octobre, 2023",
)
#set heading(numbering: "1.1.")
== what i need to improve o... | |
https://github.com/sitandr/typst-examples-book | https://raw.githubusercontent.com/sitandr/typst-examples-book/main/src/snippets/math/vecs.md | markdown | MIT License | # Vectors & Matrices
You can easily note that the gap isn't necessarily even or the same in different vectors and matrices:
```typ
$
mat(0, 1, -1; -1, 0, 1; 1, -1, 0) vec(a/b, a/b, a/b) = vec(c, d, e)
$
```
That happens because `gap` refers to _spacing between_ elements, not the distance between their centers.
To fi... |
https://github.com/sitandr/conchord | https://raw.githubusercontent.com/sitandr/conchord/main/examples/compare.typ | typst | MIT License | #import "@preview/chordx:0.2.0": *
#import "../lib.typ": new-chordgen, overchord
#set page(height: auto, margin: 1em)
#set align(center)
#show raw: set block(fill: gray.lighten(90%), inset: 3pt)
#table(
columns: 3,
inset: 1em,
fill: (_, row) => if not calc.odd(row) { luma(220) } else { white },
[Library], [Cod... |
https://github.com/jujimeizuo/ZJSU-typst-template | https://raw.githubusercontent.com/jujimeizuo/ZJSU-typst-template/master/template/abstract.typ | typst | Apache License 2.0 | #import "font.typ": *
#import "../contents/info.typ": *
#import "../contents/abstract.typ": *
#show heading : it => {
set align(center)
set text(font:heiti, size: font_size.sanhao)
it
par(leading: 1.5em)[#text(size:0.0em)[#h(0.0em)]]
}
// 页脚格式
#set page(footer: [
#set align(center)
#set text(size: 10... |
https://github.com/spidersouris/touying-unistra-pristine | https://raw.githubusercontent.com/spidersouris/touying-unistra-pristine/main/src/colors.typ | typst | MIT License | // Colors from the official palette of the University of Strasbourg
// https://langagevisuel.unistra.fr/index.php?id=396
#let white = rgb("#ffffff")
#let black = rgb("#000000")
#let link-color = rgb(118, 50, 55)
#let grey = (
"A": rgb("#333332"),
"B": rgb("#929292"),
"C": rgb("#CACACA"),
"D": rgb("#F6F6F6"),... |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/011%20-%20Journey%20into%20Nyx/003_Dreams%20of%20the%20City.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Dreams of the City",
set_name: "Journey into Nyx",
story_date: datetime(day: 23, month: 04, year: 2014),
author: "<NAME>",
doc
)
=== Somewhere in Meletis
#emph[Euneas dreams.]
Euneas walked among the azure columns of the white marble plaz... | |
https://github.com/marcothms/clean-polylux-typst | https://raw.githubusercontent.com/marcothms/clean-polylux-typst/main/README.md | markdown | # Clean Polylux Template
This is a clean and dynamic presentation template for [Polylux](https://github.com/andreasKroepelin/polylux), a package for [Typst](https://typst.app/) to create nice looking presentations.
Initial work was already done, but I added lots of neat features, so now this template features:
- An e... | |
https://github.com/Anastasia-Labs/project-close-out-reports | https://raw.githubusercontent.com/Anastasia-Labs/project-close-out-reports/main/f10-smart-handles-closeout-report/video-transcript/smart-handles-video-transcript.typ | typst | #let image-background = image("../images/Background-Carbon-Anastasia-Labs-01.jpg", height: 100%, fit: "cover")
#let image-foreground = image("../images/Logo-Anastasia-Labs-V-Color02.png", width: 100%, fit: "contain")
#let image-header = image("../images/Logo-Anastasia-Labs-V-Color01.png", height: 75%, fit: "contain")
#... | |
https://github.com/heinrichti/tiacv | https://raw.githubusercontent.com/heinrichti/tiacv/main/example.typ | typst | #import "tiacv.typ": *
#show: tiacv
#page_header("<NAME>", "Doing my job", "Living somewhere", quote: "Been there, done that", information: (
link("tel:+4917645857458")[#fa("phone") (+49) 123 456 78 443],
link("mailto:<EMAIL>")[#fa("envelope") <EMAIL>],
link("https://github.com/heinrichti")[#fa-brands([... | |
https://github.com/fenjalien/metro | https://raw.githubusercontent.com/fenjalien/metro/main/tests/num/test.typ | typst | Apache License 2.0 | #import "/src/lib.typ": unit, metro-setup, num
#set page(width: auto, height: auto)
#num("-123.456e12^2") |
https://github.com/Doublonmousse/pandoc-typst-reproducer | https://raw.githubusercontent.com/Doublonmousse/pandoc-typst-reproducer/main/color_issues/oklch.typ | typst | #square(
fill: oklch(40%, 0.2, 160deg, 50%)
)
| |
https://github.com/zxn64/UESTC_Snow_Halation_Template | https://raw.githubusercontent.com/zxn64/UESTC_Snow_Halation_Template/main/typst/Template.typ | typst | #align(center + horizon, text(size: 32pt, heading(level: 1, outlined: false, `UESTC_SNOW_HALATION's TEMPLATE`)))
#set heading(numbering: (..args) => {
let nums = args.pos()
let level = nums.len() - 1
let i = 0
let num = while i < level {
i = i + 1
[#nums.at(i).]
}
[#h((level - 1) * 2em)#num]
})
#... | |
https://github.com/AxiomOfChoices/Typst | https://raw.githubusercontent.com/AxiomOfChoices/Typst/master/Courses/Math%2018_155%20-%20Differential%20Analysis%201/Assignments/Assignment%201.typ | typst | #import "/Templates/generic.typ": latex, header
#import "@preview/ctheorems:1.1.0": *
#import "/Templates/math.typ": *
#import "/Templates/assignment.typ": *
#show: doc => header(title: "Assignment 1", name: "<NAME>", doc)
#show: latex
#show: NumberingAfter
#show: thmrules
#let col(x, clr) = text(fill: clr)[$#x$]
#let ... | |
https://github.com/ammar-ahmed22/typst-resume | https://raw.githubusercontent.com/ammar-ahmed22/typst-resume/main/src/main.typ | typst | #import "./utils/resume.typ": resume
#let data = yaml("./data.yml")
#resume(
data,
accentColor: rgb("#764BA2")
// accentColor: rgb("#9554C8")
) | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/visualize/gradient-text_02.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Sanity check that the direction works on text.
#set page(width: 200pt, height: auto, margin: 10pt, background: {
rect(height: 100%, width: 30pt, fill: gradient.linear(dir: btt, red, blue))
})
#set par(justify: true)
#set text(fill: gradient.l... |
https://github.com/crd2333/Astro_typst_notebook | https://raw.githubusercontent.com/crd2333/Astro_typst_notebook/main/src/docs/here/test/3.typ | typst | Pay attention to the order.
Files with order frontmatter will be shown first, then those without orders will be shown in the order of reading. | |
https://github.com/FkHiroki/ex-B3 | https://raw.githubusercontent.com/FkHiroki/ex-B3/main/sections/section3.typ | typst | MIT No Attribution | = 4. 考察
== 4.1. Pbではなく、Pb-Inを用いた理由
本実験では、Pbではなく、Pb-Inを用いた。Pb-Inを用いた理由は、Pbは超伝導転移温度が$7.2 "K "$(実験動画を参照)であるが、その時の抵抗率が非常に小さく、今回の実験系では測ることが難しいからではないかと考えられる。まず、$7.2 "K "$におけるPbの抵抗率を求めてみる。参考文献@Pb_resist_ratio より、Pbの温度に対する抵抗率の関係は、以下の@tab:Pb_resist_ratio で表される。またこれをグラフにプロットし、線形近似した結果を@fig:Pb_resist_ratio に示す。
#figure(
... |
https://github.com/weihanglo/weihanglo.github.io | https://raw.githubusercontent.com/weihanglo/weihanglo.github.io/sources/resume/weihanglo-resume.typ | typst | Other | #import "template.typ": *
#show: cv.with(
author: "<NAME>",
img: "bunny.png",
contacts: (
[✉ #link("mailto:<EMAIL>")[email]],
[🌐 #link("https://weihanglo.tw")[weihanglo.tw]],
[🐙 #link("https://github.com/weihanglo")[GitHub]],
[💼 #link("https://www.linkedin.com/in/weihanglo/")[LinkedIn]],
)
)... |
https://github.com/Anastasia-Labs/project-close-out-reports | https://raw.githubusercontent.com/Anastasia-Labs/project-close-out-reports/main/f10-plug-and-play-01-closeout-report/plug-and-play-01.typ | typst | #let image-background = image("../images/Background-Carbon-Anastasia-Labs-01.jpg", height: 100%, fit: "cover")
#let image-foreground = image("../images/Logo-Anastasia-Labs-V-Color02.png", width: 100%, fit: "contain")
#let image-header = image("../images/Logo-Anastasia-Labs-V-Color01.png", height: 75%, fit: "contain")
#... | |
https://github.com/EpicEricEE/typst-equate | https://raw.githubusercontent.com/EpicEricEE/typst-equate/master/tests/margin/test.typ | typst | MIT License | #import "/src/lib.typ": equate
#set page(width: 6cm, height: auto, margin: 1em)
#show: equate.with(breakable: true)
// Test number positioning with different page margins.
#set math.equation(numbering: "(1)")
#for side in ("left", "right", "x", "inside", "outside") {
page(margin: ((side): 2cm))[
$ a + b $
... |
https://github.com/frectonz/the-pg-book | https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/166.%20safe.html.typ | typst | safe.html
Why It's Safe for Founders to Be Nice
August 2015I recently got an email from a founder that helped me understand
something important: why it's safe for startup founders to be nice
people.I grew up with a cartoon idea of a very successful businessman (in
the cartoon it was always a man): a rapacious, cigar-s... | |
https://github.com/lxl66566/my-college-files | https://raw.githubusercontent.com/lxl66566/my-college-files/main/信息科学与工程学院/写作与表达/结课论文/main.typ | typst | The Unlicense | #import "template.typ": *
// 需要 typst 0.10.0
#show: project.with(
title: "初探拥塞控制与 BBR 算法",
authors: (
"absolutex",
),
abstract_zh: [
拥塞控制是计算机网络中的重要组成部分,并随着互联网的发展而不断显现其重要性。近代互联网的复杂度、联系紧密度都远超之前人们的想象,想管理好如此这样一个庞大系统,拥塞控制是必不可少的技术。拥塞控制确保了当网络出现拥塞时,网络仍然能够以较低的利用率运转,且各用户尽可能公平地利用剩余带宽,避免网络瘫痪。
本文通过拥塞控制的历史与简单的计算机... |
https://github.com/frectonz/the-pg-book | https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/157.%20pinch.html.typ | typst | pinch.html
The Fatal Pinch
December 2014Many startups go through a point a few months before they die where
although they have a significant amount of money in the bank, they're
also losing a lot each month, and revenue growth is either nonexistent
or mediocre. The company has, say, 6 months of runway. Or to put
it ... | |
https://github.com/liuguangxi/fractusist | https://raw.githubusercontent.com/liuguangxi/fractusist/main/src/sierpinski.typ | typst | MIT License | //==============================================================================
// The Sierpiński curve
//
// Public functions:
// sierpinski-curve, sierpinski-square-curve
// sierpinski-arrowhead-curve
// sierpinski-triangle
//========================================================================... |
https://github.com/EGmux/PCOM-2023.2 | https://raw.githubusercontent.com/EGmux/PCOM-2023.2/main/lista2/lista2q6.typ | typst | === A informação em uma forma de onda analógica, cuja frequência máxima vale *$f_m = 4000 "Hz"$*, é transmitida usando-se um sistema 16-PAM. A distorção de quantização não deve exceder *$plus.minus 1%$* da tensão de pico-a-pico do sinal analógico.
\
==== a) Qual o número mínimo de bits por amostra ou bits por palavra ... | |
https://github.com/actsasflinn/typst-rb | https://raw.githubusercontent.com/actsasflinn/typst-rb/main/test/template_with_font_and_icon/template.typ | typst | Apache License 2.0 | #let template(body) = {
set text(12pt, font: "Fasthand")
set page(
paper: "us-letter",
margin: (left: 1.6cm, right: 1.6cm, top: 1.5cm),
fill: blue
)
body
} |
https://github.com/JosephBoom02/Appunti | https://raw.githubusercontent.com/JosephBoom02/Appunti/main/Anno_3_Semestre_1/Elettronica/Elettronica.typ | typst |
#import "@preview/physica:0.9.0": *
#import "@preview/i-figured:0.2.3"
#import "@preview/cetz:0.1.2"
#import "@preview/xarrow:0.2.0": xarrow
#import cetz.plot
#let title = "Elettronica"
#let author = "<NAME>"
#set page(numbering: "1")
#set document(title: title, author: author)
#cetz.canvas({
import cetz.dr... | |
https://github.com/binhtran432k/ungrammar-docs | https://raw.githubusercontent.com/binhtran432k/ungrammar-docs/main/contents/literature-review/lsp.typ | typst | #import "/components/glossary.typ": gls
== Language Server Protocol (LSP)
In this section, we discuss the evolution of computer programming and the various development tools that have been used to enhance developer productivity. Among these tools, editors and #gls("ides") have become particularly prominent.
To... | |
https://github.com/imlasky/TOMLresume | https://raw.githubusercontent.com/imlasky/TOMLresume/main/README.md | markdown | # TOML Resume
Create a nice looking resume with just some [TOML](https://toml.io).
## How to run yourself
1. Install [Typst](https://typst.app)
2. Open a new terminal window and `cd frontend && npm install`
3. Then `npm run dev`
4. Open a new terminal tab and `cd backend && python -m venv .env`
5. `source .env/bin... | |
https://github.com/skriptum/diatypst | https://raw.githubusercontent.com/skriptum/diatypst/main/example/example.typ | typst | MIT License | #import "../src/lib.typ": *
#show: slides.with(
title: "Diatypst", // Required
subtitle: "easy slides in typst",
date: "01.07.2024",
authors: ("<NAME>"),
)
#outline()
= First Section
== First Slide
Terms created with ```typc / Term: Definition```
/ *Term*: Definition
A code block
```python
// Example Co... |
https://github.com/rabotaem-incorporated/algebra-conspect-1course | https://raw.githubusercontent.com/rabotaem-incorporated/algebra-conspect-1course/master/sections/04-linear-algebra/04-determinants.typ | typst | Other | #import "../../utils/core.typ": *
== Определители
#ticket[Определение определителя. Определитель транспонированной матрицы]
#notice[
Мы знаем, что матрицы тесно связаны с системами линейных уравнений и мы хотим знать, когда системы разрешимы единственным образом, когда не имеют решений, и когда имеют бесконечно мн... |
https://github.com/chillcicada/typst-dotenv | https://raw.githubusercontent.com/chillcicada/typst-dotenv/main/example/example.typ | typst | MIT License | #set page(width: auto, height: auto)
#import "../lib.typ": parse_dotenv
```txt
#import "../lib.typ": parse_dotenv
#parse_dotenv("FOO = bar # this is a comment")
```
It will be parsed as:
#parse_dotenv("FOO = bar # this is a comment")
````txt
#let env_code = ```ini
# this is a comment
FOO = bar # this is also a co... |
https://github.com/Myriad-Dreamin/tinymist | https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/syntaxes/textmate/tests/unit/bugs/ts-intro.typ | typst | Apache License 2.0 | by #text(fill: rgb("#3c9123"), "server") and #text(fill: blue, "browser"), there would be a data flow like this: |
https://github.com/r8vnhill/apunte-bibliotecas-de-software | https://raw.githubusercontent.com/r8vnhill/apunte-bibliotecas-de-software/main/Unit1/Input.typ | typst | == Manejo de Entrada de Usuario en Kotlin
La entrada de usuario es fundamental para los programas interactivos. Kotlin ofrece métodos
convenientes y seguros para leer la entrada desde la consola, adaptándose a diversas necesidades de
manejo de entrada.
=== Funciones de Lectura en Kotlin
- *`readlnOrNull()`*: Esta ... | |
https://github.com/Meisenheimer/Notes | https://raw.githubusercontent.com/Meisenheimer/Notes/main/src/Graph.typ | typst | MIT License | #import "@local/math:1.0.0": *
= Graph
== Shortest Path
== Matching
== Network Flow
== Tree |
https://github.com/VisualFP/docs | https://raw.githubusercontent.com/VisualFP/docs/main/Presentations/Midpoint/flo-inspired.typ | typst | #import "@preview/polylux:0.3.1": *
#polylux-slide[
= Flo inspired
#v(1fr)
- Blocks are distributed on canvas
#v(1fr)
- Connections are made with arrows
#v(1fr)
- Composition of one function at a time
#v(1fr)
- Parameters are defined in separate dialog
#v(1fr)
- Block types are displayed when hovering over a block
#v(... | |
https://github.com/KaiserY/mdbook-typst-pdf | https://raw.githubusercontent.com/KaiserY/mdbook-typst-pdf/main/README.md | markdown | Apache License 2.0 | # mdbook-typst-pdf
[中文版说明](README-cn.md)
A [mdBook](https://github.com/rust-lang/mdBook) backend for generate pdf (through [typst](https://github.com/typst/typst)).
For now the primary use case is convert [Rust 程序设计语言 简体中文版](https://kaisery.github.io/trpl-zh-cn) to PDF. It should work for other mdbook project, if no... |
https://github.com/josephmullins/josephmullins.github.io | https://raw.githubusercontent.com/josephmullins/josephmullins.github.io/main/Mullins_CV.typ | typst | #import "@preview/basic-resume:0.1.3": *
// Put your personal information here, replacing mine
#let name = "<NAME>"
#let location = "San Diego, CA"
#let email = "mullinsj at umn dot edu"
#let github = "github.com/josephmullins"
#let linkedin = "linkedin.com/in/stuxf"
#let phone = "+1 (347) 301-7771"
#let personal-site... | |
https://github.com/EstebanMunoz/typst-template-auxiliar | https://raw.githubusercontent.com/EstebanMunoz/typst-template-auxiliar/main/template/main.typ | typst | MIT No Attribution | #import "@local/fcfm-auxiliar:0.1.0": conf, subfigures, today
// Parámetros para la configuración del documento. Descomentar aquellas que se quieran usar
#let document-params = (
"title": "Título de clase auxiliar",
"course-name": "Nombre curso",
"course-code": "AB1234",
"teachers": ("Profesor 1",),
"auxilia... |
https://github.com/storopoli/invoice | https://raw.githubusercontent.com/storopoli/invoice/main/invoice-maker.typ | typst | MIT License | #let nbh = "‑"
// Truncate a number to 2 decimal places
// and add trailing zeros if necessary
// E.g. 1.234 -> 1.23, 1.2 -> 1.20
#let add-zeros = (num) => {
// Can't use trunc and fract due to rounding errors
let frags = str(num).split(".")
let (intp, decp) = if frags.len() == 2 { frags } else { (num, "00... |
https://github.com/mariuslb/thesis | https://raw.githubusercontent.com/mariuslb/thesis/main/content/removed.typ | typst | == Analysemethodik
Um aussagekräftige und sinnvolle Ergebnisse bei der Datenanalyse zu erzielen, wird der *Data Science Lifecycle* als Struktur genutzt. Dieser Lifecycle besteht aus mehreren Phasen: Business Understanding,
Data Mining, Data Cleaning, Data Exploration, Feature Engineering, Predictive Modeling und Data... | |
https://github.com/Mc-Zen/quill | https://raw.githubusercontent.com/Mc-Zen/quill/main/examples/teleportation.typ | typst | MIT License | #import "../src/quill.typ": *
#quantum-circuit(
lstick($|psi〉$), ctrl(1), gate($H$), 1, ctrl(2), meter(), [\ ],
lstick($|beta_00〉$, n: 2), targ(), 1, ctrl(1), 1, meter(), [\ ],
3, gate($X$), gate($Z$), midstick($|psi〉$), setwire(0)
) |
https://github.com/Myriad-Dreamin/tinymist | https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/docs/tinymist/frontend/vscode.typ | typst | Apache License 2.0 | #import "/docs/tinymist/frontend/mod.typ": *
#show: book-page.with(title: "Tinymist VS Code Extension")
A VS Code or VS Codium extension for Typst. You can find the extension on:
- Night versions available at #link("https://github.com/Myriad-Dreamin/tinymist/actions")[GitHub Actions];.
- Stable versions available at... |
https://github.com/0x546974616e/typst-resume | https://raw.githubusercontent.com/0x546974616e/typst-resume/main/template/heading.typ | typst | #import "./globals.typ": colors, spacing
#let h2(content, color: colors.fg2) = {
block(
align(
left + horizon,
stack(
dir: ltr,
spacing: spacing.medium,
rect(
width: 7pt,
height: 7pt,
fill: color,
), // rect
heading(
leve... | |
https://github.com/lucifer1004/leetcode.typ | https://raw.githubusercontent.com/lucifer1004/leetcode.typ/main/problems/p0009.typ | typst | #import "../helpers.typ": *
#import "../solutions/s0009.typ": *
= Palindrome Number
Given an integer `x`, return `true` if `x` is a *palindrome*, and `false` otherwise.
#let palindrome-number(x) = {
// Solve the problem here
}
#testcases(
palindrome-number,
palindrome-number-ref, (
(x: 121),
(x: -121)... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/minimalbc/0.0.1/README.md | markdown | Apache License 2.0 | # minimalbc
This repository provides a Typst template for creating sleek and minimalist professional business cards.
The function, **minimalbc**, allows you to customize the majority of the business card's elements.
By default, the layout is horizontal. However, it can be easily switched to a vertical layout by pa... |
https://github.com/cohenasaf/Teoria-Informazione-Trasmissione | https://raw.githubusercontent.com/cohenasaf/Teoria-Informazione-Trasmissione/main/appunti.typ | typst | // Setup
#import "template.typ": project
#show: project.with(
title: "Teoria dell'informazione e della trasmissione"
)
#pagebreak()
// Appunti
// Lezione 06/10/2023
#include "2023-10-06.typ"
| |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/table_02.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Test alignment with array.
#table(
columns: (1fr, 1fr, 1fr),
align: (left, center, right),
[A], [B], [C]
)
// Test empty array.
#set align(center)
#table(
columns: (1fr, 1fr, 1fr),
align: (),
[A], [B], [C]
)
|
https://github.com/wuespace/vos | https://raw.githubusercontent.com/wuespace/vos/main/vo/carevo.typ | typst | #import "@preview/delegis:0.3.0": *
#show: delegis.with(
// Metadata
title: "Vereinsordnung zu Vertrauenspersonen des WüSpace e. V.",
abbreviation: "CareVO",
resolution: "4. Beschluss der Mitgliederversammlung vom 03.07.2024, 2024/MV-4",
in-effect: "03.07.2024",
draft: false,
// Template
logo: image("w... | |
https://github.com/lsmenicucci/typst-pkgs | https://raw.githubusercontent.com/lsmenicucci/typst-pkgs/main/mechanics/diagrams.typ | typst | #import "@preview/cetz:0.2.2"
// drawing
#let vector(c1, c2) = {
import cetz.draw: *
set-style(mark: (end:(symbol:"stealth", fill: black)))
cetz.draw.line(c1, c2)
set-style(mark: (end:()))
}
// Draw a inclined plane
// - x0, y0: point 1
// - x1, y1: point 2
// - angle: angle of the inclined plane
#let inc... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/math/root-05.typ | typst | Other | // Test shorthand.
$ √2^3 = sqrt(2^3) $
$ √(x+y) quad ∛x quad ∜x $
$ (√2+3) = (sqrt(2)+3) $
|
https://github.com/max-niederman/CS250 | https://raw.githubusercontent.com/max-niederman/CS250/main/symbols.typ | typst | #import "./lib.typ": *
#show: common.with(title: "CS 250 Symbol Reference")
#table(
columns: (auto, auto, 1fr, 1fr),
[Symbol], [Example], [Name], [Read As],
$'$, $Q'$, [negation], [not],
$and$, $P and Q$, [conjunction], [and],
$or$, $P or Q$, [disjunction], [or],
$=>$, $P => Q$, [implication]... | |
https://github.com/lucannez64/Notes | https://raw.githubusercontent.com/lucannez64/Notes/master/Physique_Cours_6.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: "Physique Cours 6",
authors: (
"<NAME>",
),
date: "8 Novembre, 2023",
)
#set heading(numbering: "1.1.")
+ D’après le théorème de l’éne... | |
https://github.com/Xendergo/wasm-session | https://raw.githubusercontent.com/Xendergo/wasm-session/main/wasm.typ | typst | Creative Commons Zero v1.0 Universal | #import "@local/henrys-typst-utils:0.1.0" : *
#import "@preview/polylux:0.3.1": *
#import code-theme: *
#show: code-theme
#title-slide(title: [How 2 Webassembly], author: [<NAME>], note: [Go to *TODO: PUT GITHUB LINK HERE* and follow the setup instructions if you want to follow along])
#mono-slide(title: [What am I... |
https://github.com/Kasci/LiturgicalBooks | https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/CU/postna_triod/1_generated/0_all/Tyzden1.typ | typst | #import "../../../all.typ": *
#show: book
= 1. #translation.at("TYZDEN")
#include "../Tyzden1/1_Pondelok.typ"
#pagebreak()
#include "../Tyzden1/7_Nedela.typ"
#pagebreak()
| |
https://github.com/coco33920/agh-public | https://raw.githubusercontent.com/coco33920/agh-public/gh-pages/index.md | markdown | # Welcome to the Website Repository of my public stories
## Introduction
You can here find the pdfs of all my public stories up-to-date with the ScribbleHub publication!
If you prefer webnovels presentation here is the [AGH](https://www.scribblehub.com/series/444395/a-galactic-hrt/)
SH page and here is the [AWB](https... | |
https://github.com/The-Notebookinator/notebookinator | https://raw.githubusercontent.com/The-Notebookinator/notebookinator/main/themes/linear/components/toc.typ | typst | The Unlicense | #import "../../../utils.typ"
#import "../entry-types.typ": *
/// Prints the table of contents.
///
/// *Example Usage*
/// ```typ
/// #create-frontmatter-entry(title: "Table of Contents")[
/// #components.toc()
/// ]
/// ```
#let toc = utils.make-toc((
_,
body,
appendix,
) => {
let previous-date
let toc = ... |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/053%20-%20Wilds%20of%20Eldraine/002_Episode%202%3A%20Wandering%20Knight%2C%20Budding%20Hero.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Episode 2: Wandering Knight, Budding Hero",
set_name: "Wilds of Eldraine",
story_date: datetime(day: 09, month: 08, year: 2023),
author: "<NAME>",
doc
)
Across the valleys and into the wilds ventures Rowan Kenrith. Atop a stout horse, with ... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/pintorita/0.1.0/lib.typ | typst | Apache License 2.0 | #import "./pintorita.typ": render
|
https://github.com/jbro/supernote-templates | https://raw.githubusercontent.com/jbro/supernote-templates/main/title-page.typ | typst | The Unlicense | #import "include/a5x-template.typ": template
#show: doc => template(doc)
#import "include/elements.typ": titled-box, task-lines, note-lines, week-box
#set align(center)
#box(width: 100%)[
#box(width: 90%)[
#v(10mm)
#note-lines(1)
#v(10pt)
#note-lines(1)
#v(20mm)
#let g=30pt
#let l=8
... |
https://github.com/touying-typ/touying | https://raw.githubusercontent.com/touying-typ/touying/main/examples/aqua-zh.typ | typst | MIT License | #import "../lib.typ": *
#import themes.aqua: *
#show: aqua-theme.with(
aspect-ratio: "16-9",
config-info(
title: [标题],
subtitle: [副标题],
author: [作者],
date: datetime.today(),
institution: [机构],
),
)
#set text(lang: "zh")
#title-slide()
#outline-slide()
= 第一节
== 小标题
#slide[
#lorem(40)
]... |
https://github.com/ecrax/packages | https://raw.githubusercontent.com/ecrax/packages/main/README.md | markdown | # Packages
> A collection of my own packages for Typst
To use the packages, clone this repo at one of the following locations:
- `$XDG_DATA_HOME` or `~/.local/share` on Linux
- `~/Library/Application Support` on macOS
- `%APPDATA%` on Windows
and import it using the `local` namespace:
```
#import "@local/mypkg:1.0.... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/closure-09.typ | typst | Other | // Don't leak environment.
#{
// Error: 16-17 unknown variable: x
let func() = x
let x = "hi"
func()
}
|
https://github.com/bigskysoftware/hypermedia-systems-book | https://raw.githubusercontent.com/bigskysoftware/hypermedia-systems-book/main/lib/style.typ | typst | Other |
#import "./definitions.typ": *
#import "./code-callouts.typ": code-with-callouts
#let inside-cover(title, authors) = page(
header: none,
)[
#set align(start + horizon)
#set par(leading: 10pt, justify: false)
#show heading: set text(size: 3em, font: display-font)
#skew(
-0.174, // -10deg
upper(
... |
https://github.com/SillyFreak/typst-packages-old | https://raw.githubusercontent.com/SillyFreak/typst-packages-old/main/crudo/src/lib.typ | typst | MIT License | /// _raw-to-lines_: extract lines and properties from a `raw` element.
///
/// #example(ratio: 1.1, scale-preview: 100%, ````
/// crudo.r2l(```txt
/// first line
/// second line
/// ```)
/// ````)
///
/// Note that even though you will usually want to use this on raw _blocks_,
/// this is not a necessity:
///
/// #exam... |
https://github.com/Nrosa01/TFG-2023-2024-UCM | https://raw.githubusercontent.com/Nrosa01/TFG-2023-2024-UCM/main/Memoria%20Typst/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 project(
title: "",
titleEng: "",
degree: "",
course: "",
abstract: [],
authors: (),
directors: (),
date: none,
body,
) = {
// Set the... | |
https://github.com/Bi0T1N/typst-iconic-salmon-svg | https://raw.githubusercontent.com/Bi0T1N/typst-iconic-salmon-svg/main/examples/minimal_example.typ | typst | MIT License | // #import "@preview/iconic-salmon-svg:1.0.0": github-info, gitlab-info
#import "../iconic-salmon-svg.typ": github-info, gitlab-info
This project was created by #github-info("Bi0T1N"). You can also find me on #gitlab-info("GitLab", rgb("#811052"), url: "https://gitlab.com/Bi0T1N").
|
https://github.com/chamik/gympl-skripta | https://raw.githubusercontent.com/chamik/gympl-skripta/main/cj-dila/10-bila-nemoc.typ | typst | Creative Commons Attribution Share Alike 4.0 International | #import "/helper.typ": dilo, replika
#dilo("Bílá nemoc", "nemoc", "<NAME>", "", "Meziválečná lit.", [ČS -- První republika], "1937", "drama", "válečná tragédie")
#columns(2, gutter: 1em)[
*Téma*\
touha pro zastavení války, varování před nacismem
*Motivy*\
individualita, touha po moci/slávě
*Časoprostor... |
https://github.com/Area-53-Robotics/53E-Notebook-Over-Under-2023-2024 | https://raw.githubusercontent.com/Area-53-Robotics/53E-Notebook-Over-Under-2023-2024/giga-notebook/entries/build-drivetrain.typ | typst | Creative Commons Attribution Share Alike 4.0 International | #import "/packages.typ": notebookinator
#import notebookinator: *
#import themes.radial.components: *
#show: create-body-entry.with(
title: "Build: Drivetrain",
type: "build",
date: datetime(year: 2023, month: 7, day: 14),
author: "<NAME>",
witness: "Violet Ridge",
)
Once we completed our CAD design of our ... |
https://github.com/akshaybabloo/CV | https://raw.githubusercontent.com/akshaybabloo/CV/master/resume.typ | typst | MIT License | #let data = yaml("data.yaml")
#let darkblue = rgb(0, 0, 128)
#let mediumblue = rgb(64, 97, 158)
/// Adds a section title and a line underneath
///
/// - title (string): the title of the section
/// -> content
#let section(title)={
v(15pt)
set text(weight: "bold")
text(title, size: 12pt, fill: mediumblue)
line... |
https://github.com/diogro/memorial | https://raw.githubusercontent.com/diogro/memorial/master/UFSCAR-2024/plano_trabalho.typ | typst | #align(left + horizon, text(35pt, font: "Skolar Sans PE TEST", weight: "extrabold")[
*Plano de Trabalho de Ensino, Pesquisa e Extensão*
])
#align(left, text(20pt, font: "Skolar Sans PE TEST", weight: "bold")[
*Concurso de Professor Adjunto A no Departamento de Genética e Evolução*
])
#align(left, text(15pt, font:... | |
https://github.com/Shuenhoy/modern-zju-thesis | https://raw.githubusercontent.com/Shuenhoy/modern-zju-thesis/master/examples/undergraduate-cs.typ | typst | MIT License | #import "../lib.typ": undergraduate-cs
#import undergraduate-cs: *
#let info = (
title: ("毕业论文/设计题目",),
grade: "2014级",
student-id: "学号",
author: "姓名",
department: "学院",
major: "专业",
supervisor: "指导教师",
submit-date: "递交日期",
)
#let doc = undergraduate-cs(info: info, twoside: true)
#show: doc.style
#d... |
https://github.com/artomweb/Quick-Sip-Typst-Template | https://raw.githubusercontent.com/artomweb/Quick-Sip-Typst-Template/master/lib.typ | typst | MIT License | #let page-number() = (
context {
counter(page).display()
}
)
#let section(
title,
fill-clr: rgb("FFFFFF"),
body,
) = (
context {
if (title != none and title != "") {
counter("step").update(0)
let box-height = measure( align(
center,
stack(
// Line behind the b... |
https://github.com/rikhuijzer/phd-thesis | https://raw.githubusercontent.com/rikhuijzer/phd-thesis/main/chapters/3.typ | typst | The Unlicense | #import "../style.typ": citefig
#import "../functions.typ": chapter, textcite, parencite, note
#chapter(
[SIRUS.jl: Interpretable Machine Learning via Rule Extraction],
label: [
<NAME>., <NAME>., <NAME>, <NAME>. (2023).
SIRUS.jl: Interpretable Machine Learning via Rule Extraction.
_Journal of Open Sour... |
https://github.com/jassielof/typst-templates | https://raw.githubusercontent.com/jassielof/typst-templates/main/upsa-bo/estudio-de-factibilidad/template/capítulos/2.marco teórico.typ | typst | MIT License | = Marco Teórico
== Definición y Selección de la Metodología
== Marco Conceptual
== Marco Referencial
== Marco Legal
|
https://github.com/7sDream/fonts-and-layout-zhCN | https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/chapters/02-concepts/dimension/vertical-advance.typ | typst | Other | #import "/lib/draw.typ": *
#import "/lib/glossary.typ": tr
#import "/template/lang.typ": mongolian
#let start = (0, 0)
#let end = (500, 540)
#let example = rotate(90deg, mongolian[ᠪᠰ])
#let graph = with-unit((ux, uy) => {
// mesh(start, end, (100, 100), stroke: 1 * ux + gray)
rect(
(20, 500), end: (390, 28... |
https://github.com/drupol/master-thesis | https://raw.githubusercontent.com/drupol/master-thesis/main/resources/typst/inputs-and-outputs-part1.typ | typst | Other | #import "../../src/thesis/imports/preamble.typ": *
#set align(center + horizon)
#set text(font: "<NAME>")
#grid(
columns: (1fr, 1fr, 1fr, 1fr, 1fr),
rows: (40pt, 25pt),
image("../../resources/images/inputs-cube.svg"),
xarrow(sym: sym.arrow.r, width: 50pt, ""),
image("../../resources/images/computation-cogs.s... |
https://github.com/augustebaum/tenrose | https://raw.githubusercontent.com/augustebaum/tenrose/main/README.md | markdown | MIT License | # tenrose
A simple Penrose binding for Typst using the WebAssembly plugin system.
This is heavily inspired by the equivalent for graphviz, `diagraph`.
## Usage
### Basic usage
This plugin is quite simple to use, you just need to import it:
TODO
```typ
#import "@preview/diagraph:0.2.2": *
```
You can render a G... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/CHANGELOG/CHANGELOG-0.4.md | markdown | Apache License 2.0 | # v0.4.1
## Changelog since v0.4.1
**Full Changelog**: https://github.com/Myriad-Dreamin/typst.ts/compare/v0.4.0...v0.4.1
### Security Notes
No new security note.
### Bug fix
- compiler: compile race condition in browser in https://github.com/Myriad-Dreamin/typst.ts/pull/393
- pkg::core: add a missing await in h... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/modern-cv/0.2.0/README.md | markdown | Apache License 2.0 | # Modern CV
[](https://github.com/DeveloperPaul123/modern-cv/stargazers)
[](https://discord.gg/CX2ybByRnt)
. Afterwards the thing haasnoot1992conformation did cool thing, together with stuff #mcite(("Zgarbova2015dnaol15"), biblio).
|
https://github.com/Enter-tainer/typstyle | https://raw.githubusercontent.com/Enter-tainer/typstyle/master/tests/assets/unit/code/perf-nest.typ | typst | Apache License 2.0 | #let f(..arg) = arg
#f(f(f(f(f(f(f(f(f(f(f(f(f(f(f(f(f(f(f(f(f(f(1,2,3)))))))))))))))))))))) |
https://github.com/nathanielknight/tsot | https://raw.githubusercontent.com/nathanielknight/tsot/main/src/utils_phase.typ | typst | #let title(t) = {
align(
center,
block(
above: 0%,
below: 8mm,
text(font: "National Park", size: 8mm, weight: "bold")[#t]
)
)
}
| |
https://github.com/flaribbit/numbly | https://raw.githubusercontent.com/flaribbit/numbly/master/README.md | markdown | MIT License | # numbly
A package that helps you to specify different numbering formats for different levels of headings.
## Usage example
Suppose you want to specify the following numbering format for your document:
- Appendix A. Guide
- A.1. Installation
- Step 1. Download
- Step 2. Install
- A.2. Usage
You might u... |
https://github.com/elteammate/typst-shell-escape | https://raw.githubusercontent.com/elteammate/typst-shell-escape/main/example-python.typ | typst | #import "shell-escape.typ": *
#let python(code) = {
if type(code) == "content" { code = code.text }
code = code.replace("\\", "\\\\")
code = code.replace("\"", "\\\"")
exec-command("python -c \"" + code + "\"")
}
#python("print(\"Hello, world!\")")
#python("print(2 + 2)")
#let py(code) = python("prin... | |
https://github.com/gongke6642/tuling | https://raw.githubusercontent.com/gongke6642/tuling/main/布局/place/place.typ | typst | = place
将内容放置在绝对位置。
放置的内容不会影响其他内容的位置。Place 始终相对于其父容器,并且将位于容器中所有其他内容的前台。页面边距将得到尊重。
== 例
#image("屏幕截图 2024-04-16 164918.png") | |
https://github.com/pluttan/typst-bmstu | https://raw.githubusercontent.com/pluttan/typst-bmstu/main/bmstu/g7.32-2017/decoration.typ | typst | MIT License | #let гост732-2017(content) = {
set page(
footer: context [
#text(size: 14pt)[
#let (num,) = counter(page).get()
#if (num != 1) {
align(center)[#num]
}]
],
paper: "a4",
margin: (left: 30mm, right: 15mm, top: 20mm, bottom: 20mm),
)
set text(font: "Times New Roman", si... |
https://github.com/chen-qingyu/Typst-Code | https://raw.githubusercontent.com/chen-qingyu/Typst-Code/master/limit%202.typ | typst | #let LF = {v(3em); linebreak()}
$
& lim_(x -> 0) ((a_1^x + a_2^x + a_3^x + dots.c + a_n^x) / n)^(1/x)
LF
=& lim_(x -> 0) e^((1/x ln (a_1^x + a_2^x + a_3^x + dots.c + a_n^x) / n))
LF
=& lim_(x -> 0) e^((1/x ln (1 + (a_1^x + a_2^x + a_3^x + dots.c + a_n^x - n) / n)))
LF
=& lim_(x -> 0) e^((1/x ((a_1^x + a_2^x +... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/cetz/0.2.0/src/lib/palette.typ | typst | Apache License 2.0 | #let base-style = (stroke: (paint: black), fill: none)
/// Create a new palette based on a base style
///
/// #example(```
/// let p = cetz.palette.new(colors: (red, blue, green))
/// for i in range(0, p("len")) {
/// set-style(..p(i))
/// circle((0,0), radius: .5)
/// set-origin((1.1,0))
/// }
/// ```)
///
/// ... |
https://github.com/jomaway/typst-gentle-clues | https://raw.githubusercontent.com/jomaway/typst-gentle-clues/main/gc-overview.typ | typst | MIT License | #import "lib/predefined.typ": *
#import "lib/clues.typ": clue
#set page(paper: "a5", flipped: true, margin: 1cm)
#let predefined-clues = (
idea[`#idea[]`],
abstract[`#abstract[]`],
question[`#question[]`],
info[`#info[]`],
example[`#example[]`],
experiment[`#experiment[]`],
task[`#task[]`],
error[`#e... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.