repo stringlengths 27 90 | file stringlengths 57 176 | language stringclasses 2
values | license stringclasses 13
values | content stringlengths 25 180k |
|---|---|---|---|---|
https://github.com/iceghost/resume | https://raw.githubusercontent.com/iceghost/resume/main/5-projects/4-monoticity.typ | typst | === Monotonicity Table Maker
#place(right + top)[Sep 2020]
/ Links: #link("https://iceghost.github.io/ve-bbt")[Demo]
#sym.dot.c #link("https://github.com/iceghost/ve-bbt")[Source].
This tool parses simple monotonicity table construction language and
generates MathJax/LaTeX code. This saves a lot of time spent ma... | |
https://github.com/lkndl/typst-bioinfo-thesis | https://raw.githubusercontent.com/lkndl/typst-bioinfo-thesis/main/README.md | markdown | # typst-bioinfo-thesis
This is a [typst](https://typst.app/) thesis template with front matter for TUM+LMU [bioinformatics](https://www.cit.tum.de/cit/studium/studiengaenge/master-bioinformatik/abschlussarbeit/#c2494) and TUM [informatics](https://www.cit.tum.de/cit/studium/studierende/abschlussarbeit-abschluss/informa... | |
https://github.com/smorad/um_cisc_7026 | https://raw.githubusercontent.com/smorad/um_cisc_7026/main/lecture_3_neural_networks.typ | typst | #import "@preview/polylux:0.3.1": *
#import themes.university: *
#import "@preview/cetz:0.2.2": canvas, draw, plot
#import "common.typ": *
// TODO: Missing x^2 term when we show polynomial+multivariate example (not 2^3, should be 3^2 + 1)
#set math.vec(delim: "[")
#set math.mat(delim: "[")
#let la = $angle.l$
#let ... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/visualize/shape-aspect-06.typ | typst | Other | // Size cannot be relative because we wouldn't know
// relative to which axis.
// Error: 15-18 expected length or auto, found ratio
#square(size: 50%)
|
https://github.com/TypstApp-team/typst | https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/text/smartquotes.typ | typst | Apache License 2.0 | // Test setting custom smartquotes
---
// Use language quotes for missing keys, allow partial reset
#set smartquote(quotes: "«»")
"Double and 'Single' Quotes"
#set smartquote(quotes: (double: auto, single: "«»"))
"Double and 'Single' Quotes"
---
// Allow 2 graphemes
#set smartquote(quotes: "a\u{0301}a\u{0301}")
"Dou... |
https://github.com/RY997/Thesis | https://raw.githubusercontent.com/RY997/Thesis/main/thesis_typ/abstract_en.typ | typst | MIT License | #let abstract_en() = {
set page(
margin: (left: 30mm, right: 30mm, top: 40mm, bottom: 40mm),
numbering: none,
number-align: center,
)
let body-font = "New Computer Modern"
let sans-font = "New Computer Modern Sans"
set text(
font: body-font,
size: 12pt,
lang: "en"
)
set par(
... |
https://github.com/Mc-Zen/quill | https://raw.githubusercontent.com/Mc-Zen/quill/main/examples/fault-tolerant-toffoli2.typ | typst | MIT License | #import "../src/quill.typ": *
#let group = gategroup.with(stroke: (dash: "dotted", thickness: .5pt))
#quantum-circuit(
fill-wires: false,
group(3, 3, padding: (left: 1.5em)), lstick($|0〉$), $H$, ctrl(2), ctrl(3), 3,
group(2, 1),ctrl(1), 1, group(3, 1), ctrl(2), $X$, 1, rstick($|x〉$), [\ ],
lst... |
https://github.com/T1mVo/shadowed | https://raw.githubusercontent.com/T1mVo/shadowed/main/examples/lorem.typ | typst | MIT License | #import "../src/lib.typ": shadowed
#set page(margin: 15pt, height: auto)
#set par(justify: true)
#shadowed(radius: 4pt, inset: 12pt)[
#lorem(50)
]
|
https://github.com/sinchang/typst-react | https://raw.githubusercontent.com/sinchang/typst-react/master/resume.typ | typst | // https://github.com/skyzh/typst-cv-template/blob/master/cv.typ
#show heading: set text(font: "Linux Biolinum")
#show link: underline
#set page(
margin: (x: 0.9cm, y: 1.3cm),
)
#set par(justify: true)
#let chiline() = {v(-3pt); line(length: 100%); v(-5pt)}
= <NAME>
<EMAIL> |
#link("https://github.com/example")[gi... | |
https://github.com/jamesrswift/dining-table | https://raw.githubusercontent.com/jamesrswift/dining-table/main/tests/topdown/header-none/test.typ | typst | The Unlicense | #import "../ledger.typ": *
#set text(size: 11pt)
#set page(height: 3.5cm, margin: 1em)
#dining-table.make(columns: example,
header: none,
data: data,
notes: dining-table.note.display-list
)
#dining-table.make(columns: example,
data: data,
notes: dining-table.note.display-list
) |
https://github.com/jneug/schule-typst | https://raw.githubusercontent.com/jneug/schule-typst/main/src/wp.typ | typst | MIT License | #import "_imports.typ": *
#let wochenplan(
..args,
body,
) = {
let (doc, page-init, tpl) = base-template(
type: "WP",
type-long: "Wochenplan",
title-block: doc => {
heading(level: 1, outlined: false, bookmarked: false, doc.title)
grid(
columns: (auto, 1fr),
align: center ... |
https://github.com/01mf02/jq-lang-spec | https://raw.githubusercontent.com/01mf02/jq-lang-spec/main/tour.typ | typst | #import "common.typ": example
= Tour of jq <tour>
This goal of this section is to convey an intuition about how jq functions.
The official documentation of jq is its user manual @jq-manual.
jq programs are called _filters_.
For now, let us consider a filter to be a function from a value to
a (lazy, possibly infinite... | |
https://github.com/rangerjo/tutor | https://raw.githubusercontent.com/rangerjo/tutor/main/imgs/example.typ | typst | MIT License | #set page(
width: auto,
height: auto,
margin: (x: 0cm),
)
#table(
columns: 2,
stroke: none,
align: center,
[ Question Mode ], [ Solution Mode ],
[#rect(stroke: 2pt+blue,
image("../example/build/example_question_mode.svg", width: 12cm)
)],
[#rect(stroke: 2pt+green,
image("../example/build/exa... |
https://github.com/lf-/typst-algorithmic | https://raw.githubusercontent.com/lf-/typst-algorithmic/main/algorithmic.typ | typst | // SPDX-FileCopyrightText: 2023 <NAME>
//
// SPDX-License-Identifier: MIT
/*
* Generated AST:
* (change_indent: int, body: ((ast | content)[] | content | ast)
*/
#let ast_to_content_list(indent, ast) = {
if type(ast) == "array" {
ast.map(d => ast_to_content_list(indent, d))
} else if type(ast) == "... | |
https://github.com/dismint/docmint | https://raw.githubusercontent.com/dismint/docmint/main/networks/pset1.typ | typst | #import "template.typ": *
#show: template.with(
title: "14.15 Problem Set #1",
subtitle: "<NAME>",
pset: true
)
= Problem 1
Let us the follow the convention for this problem that the first (top) row and (left) column specify the first node, and increase as they go down / right.
Since it is not explicitly stated... | |
https://github.com/loqusion/typix | https://raw.githubusercontent.com/loqusion/typix/main/docs/recipes/declaring-a-shell-environment.md | markdown | MIT License | # Declaring a shell environment
You can automatically pull your project's dependencies into your shell by
declaring a [shell environment][nix-dev-declarative-shell] and then activating
it with [`nix develop`][nix-ref-develop] or [`direnv`][direnv].
Here's an example in a flake using Typix's
[`devShell`](../api/deriva... |
https://github.com/linsyking/messenger-manual | https://raw.githubusercontent.com/linsyking/messenger-manual/main/appendix.typ | typst | #pagebreak()
= Appendix
== SOM Calls <sommsg>
`SOMMsg`s are top-level APIs (like system calls in OS) that can directly interact with the core. Users can send `SOMMsg` in any general model.
=== `SOMChangeScene`
*Definition.* `SOMChangeScene ( Maybe scenemsg ) String ( Maybe (Transition userdata) )`
*Definition.* `SO... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/superb-pci/0.1.0/README.md | markdown | Apache License 2.0 | # superb-pci
Template for [Peer Community In](https://peercommunityin.org/) (PCI) submission and [Peer Community Journal](https://peercommunityjournal.org/) (PCJ) post-recommendation upload.
The template is as close as possible to the LaTeX one.
## Usage
To use this template in Typst, simply import it at the top of... |
https://github.com/Dr00gy/Typst-thesis-template-for-VSB | https://raw.githubusercontent.com/Dr00gy/Typst-thesis-template-for-VSB/main/thesis_template/pages.typ | typst | #let titlePage(
thesisTitle,
thesisDescription,
fullName,
supervisor,
type: "bachelor", // bachelor, bachelor-practice, master or phd
year: datetime.today().year(),
) = {
// Overwrite some global rules
set par(
first-line-indent: 0cm,
justify: false,
)
move(
dx: -8mm,
context(
... | |
https://github.com/Enter-tainer/mino | https://raw.githubusercontent.com/Enter-tainer/mino/master/typst-package/mino.typ | typst | MIT License | #import "@preview/jogs:0.2.3": compile-js, call-js-function
#let mj-src = read("./mino.js")
#let mj-bytecode = compile-js(mj-src)
#let get-text(src) = {
if type(src) == str {
src
} else if type(src) == content {
src.text
}
}
#let decode-fumen(fumen) = call-js-function(mj-bytecode, "mino", fumen)
|
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/break-continue-03.typ | typst | Other | // Test joining with continue.
#let x = for i in range(5) {
"a"
if calc.rem(i, 3) == 0 {
"_"
continue
}
str(i)
}
#test(x, "a_a1a2a_a4")
|
https://github.com/drupol/master-thesis | https://raw.githubusercontent.com/drupol/master-thesis/main/src/thesis/theme/common/titlepage.typ | typst | Other | #import "metadata.typ": *
#let titlepage(
title: "",
subtitle: "",
university: "",
faculty: "",
degree: "",
program: "",
supervisor: "",
advisors: (),
author: "",
authorOrcId: "",
doi: none,
startDate: none,
submissionDate: none,
rev: none,
shortRev: none,
builddate: none,
) = {
set p... |
https://github.com/WooSeongChoi/perl-5-study | https://raw.githubusercontent.com/WooSeongChoi/perl-5-study/main/main.typ | typst | #import "@preview/ilm:1.2.1": *
#show: ilm.with(
title: [Perl 5 배우기],
author: "Learning Perl",
figure-index: (enabled: true),
table-index: (enabled: true),
listing-index: (enabled: true)
)
#set text(
font: "NanumGothic",
size: 10pt
)
#include "./chapters/chapter01/introduction.typ"
| |
https://github.com/Ttajika/class | https://raw.githubusercontent.com/Ttajika/class/main/microecon/quiz_bank.typ | typst | #import "functions.typ": *
#set text(font: "<NAME>")
#show strong: set text(font: "<NAME>")
//see https://typst.app/docs/reference/foundations/calc
#let Q2-price1 = 120
#let Q2-price2 = 100
#let Q2-dem1 = 3020
#let Q2-dem2 = 5240
#let cat_list =("Term1",)
Quiz_createで問題のリストを作成する. Quiz = Quiz_createとするとQuizが問題のリ... | |
https://github.com/mintyfrankie/brilliant-CV | https://raw.githubusercontent.com/mintyfrankie/brilliant-CV/main/template/modules_en/skills.typ | typst | Apache License 2.0 | // Imports
#import "@preview/brilliant-cv:2.0.3": cvSection, cvSkill, hBar
#let metadata = toml("../metadata.toml")
#let cvSection = cvSection.with(metadata: metadata)
#cvSection("Skills")
#cvSkill(
type: [Languages],
info: [English #hBar() French #hBar() Chinese],
)
#cvSkill(
type: [Tech Stack],
info: [Tab... |
https://github.com/tibs245/template-typst-CV | https://raw.githubusercontent.com/tibs245/template-typst-CV/main/README.md | markdown | # Mon CV en Typst
[Exemple of result in release V1](https://github.com/tibs245/template-typst-CV/releases/download/v1/CV-Thibault.Barske-blue.pdf)
> If you click on release V1 you can see differents colors generations examples
## Pourquoi faire mon CV en Typst ?
1. Mon dossier de compétences sous word à mal vieilli... | |
https://github.com/RY997/Thesis | https://raw.githubusercontent.com/RY997/Thesis/main/thesis_typ/appendix.typ | typst | MIT License | *User 1*
- What do you think of the overall Iris exercise adaptation feature? Can it be useful for the real work of editor or is it a redundant feature and not very helpful?
- I find the Iris exercise adaptation feature quite useful, particularly for editing programming exercises. It offers a convenient way to cus... |
https://github.com/chilingg/kaiji | https://raw.githubusercontent.com/chilingg/kaiji/main/template/main.typ | typst | Other | #let font_size_list = (16pt, 12pt, 9pt, 7pt);
#let font_cfg = (
font: "Source Han Serif",
weight: "light",
tracking: 0.1em,
lang: "zh"
)
#let sans_font_cfg = (
font: "Source Han Sans",
weight: "medium"
)
#let thin_line = 0.6pt
#let normal_line = 1pt
#let parenthese_numbers = ("⑴","⑵","⑶","⑷","⑸","⑹","⑺"... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/pad_01.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Pad can grow.
#pad(left: 10pt, right: 10pt)[PL #h(1fr) PR]
|
https://github.com/MultisampledNight/flow | https://raw.githubusercontent.com/MultisampledNight/flow/main/src/callout.typ | typst | MIT License | #import "gfx.typ"
#import "palette.typ": *
#let _callout(body, accent: fg, marker: none) = {
let body = if marker == none {
body
} else {
let icon = gfx.markers.at(marker).icon
grid(
columns: (1.5em, auto),
gutter: 0.5em,
align: (right + horizon, left),
icon(invert: false),
... |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/024_Shadows%20over%20Innistrad.typ | typst | #import "@local/mtgset:0.1.0": conf
#show: doc => conf("Shadows over Innistrad", doc)
#include "./024 - Shadows over Innistrad/001_Under the Silver Moon.typ"
#include "./024 - Shadows over Innistrad/002_A Gaze Blank and Pitiless.typ"
#include "./024 - Shadows over Innistrad/003_Unwelcome.typ"
#include "./024 - Shadows... | |
https://github.com/lucannez64/Notes | https://raw.githubusercontent.com/lucannez64/Notes/master/Physique_Mecanique_1.typ | typst | #import "@preview/bubble:0.1.0": *
#import "@preview/fletcher:0.4.3" as fletcher: diagram, node, edge
#import "@preview/cetz:0.2.2": canvas, draw, tree
#import "@preview/cheq:0.1.0": checklist
#import "@preview/typpuccino:0.1.0": macchiato
#import "@preview/wordometer:0.1.1": *
#import "@preview/tablem:0.1.0": tablem
... | |
https://github.com/valentinvogt/npde-summary | https://raw.githubusercontent.com/valentinvogt/npde-summary/main/src/chapters/01.typ | typst | #import "../setup.typ": *
#show: thmrules
= Second-Order Scalar Elliptic Boundary Value Problems
<ch:01>
#counter(heading).step(level: 2)
== Quadratic Minimization Problems
<sub:quadratic-minimization-problems>
#v(0.2cm)
In the following, let $V$ be a vector space over $bb(R)$.\
#mybox(
"Linear forms",
)[
$ell : ... | |
https://github.com/The-Notebookinator/notebookinator | https://raw.githubusercontent.com/The-Notebookinator/notebookinator/main/themes/radial/components/decision-matrix.typ | typst | The Unlicense | #import "../colors.typ": *
#import "/utils.typ"
#let decision-matrix = utils.make-decision-matrix((properties, data) => {
set align(center)
let winning-row
for (index, choice) in data.values().enumerate() {
if choice.total.highest {
winning-row = index + 2
}
}
table(
stroke: none,
col... |
https://github.com/xdoardo/co-thesis | https://raw.githubusercontent.com/xdoardo/co-thesis/master/thesis/chapters/imp/analysis/dia.typ | typst | #import "/includes.typ":*
#import "@preview/prooftrees:0.1.0"
#let bisim = "≋"
#let conv(c, v) = { $#c arrow.b.double #v$ }
#let div(c) = { $#c arrow.t.double$ }
#let fails(c) = { $#c arrow.zigzag$ }
#linebreak()
=== Definite initialization analysis<subsection-imp-analysis_optimization-dia>
The first transformation w... | |
https://github.com/DieracDelta/presentations | https://raw.githubusercontent.com/DieracDelta/presentations/master/polylux/book/src/utils/side-by-side.typ | typst | #import "../../../polylux.typ": *
#set page(paper: "presentation-16-9")
#set text(size: 40pt)
#polylux-slide[
#side-by-side[
#lorem(7)
][
#lorem(10)
][
#lorem(5)
]
]
| |
https://github.com/MattiaOldani/Informatica-Teorica | https://raw.githubusercontent.com/MattiaOldani/Informatica-Teorica/master/capitoli/calcolabilità/12_riconoscibilità_automatica_insiemi.typ | typst | #import "../alias.typ": *
#import "@preview/lemmify:0.1.5": *
#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: "theorem"): it => block(
it,
stroke: red + 1pt,
i... | |
https://github.com/ckunte/m-one | https://raw.githubusercontent.com/ckunte/m-one/master/inc/cosfunc.typ | typst | = Cosine interaction
While reviewing the changes introduced in the new ISO 19902:2020 standard@iso19902_2020, this one jumped at me:
#quote()[
tubular member strength formulae for combined axial and bending loading now of cosine interaction form instead of previously adopted linear interaction;
]
In ISO 19902:20... | |
https://github.com/ThatOneCalculator/riesketcher | https://raw.githubusercontent.com/ThatOneCalculator/riesketcher/main/riesketcher.typ | typst | MIT License | #import "@preview/cetz:0.2.2"
/// Draw a Riemann sum of a function, and optionally plot the function.
///
/// - fn (function): The function to draw a Riemann sum of.
/// - domain (array): Tuple of the domain of fn. If a tuple value is auto, that
/// value is set to start/end.
/// - start (number): Where to start dra... |
End of preview. Expand in Data Studio
- Downloads last month
- 27