repo stringlengths 26 115 | file stringlengths 54 212 | language stringclasses 2
values | license stringclasses 16
values | content stringlengths 19 1.07M |
|---|---|---|---|---|
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/op_00.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Test predefined.
$ max_(1<=n<=m) n $
|
https://github.com/HiiGHoVuTi/requin | https://raw.githubusercontent.com/HiiGHoVuTi/requin/main/template_exo.typ | typst | #import "../lib.typ": *
#show heading: heading_fct
#import "@preview/gloss-awe:0.0.5": gls
#show figure.where(kind: "jkrb_glossary"): it => {it.body}
| |
https://github.com/ljgago/typst-chords | https://raw.githubusercontent.com/ljgago/typst-chords/main/CHANGELOG.md | markdown | MIT License | # Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## [v0.4.0](https://github.com/ljgago/typst-chords/compare/v0.3.0...v0.4.0) - 2024-07-09
### Added
- New `background` parameter, now in `chart-chord`, `p... |
https://github.com/ymgyt/blog | https://raw.githubusercontent.com/ymgyt/blog/main/lt/otel-lt/presen.typ | typst | #import "@preview/polylux:0.3.1": *
#import themes.bipartite: *
#show: bipartite-theme.with(aspect-ratio: "16-9")
#show link: underline
#set text(
size: 25pt,
font: (
// "Noto Color Emoji",
// "JetBrainsMono Nerd Font",
"Noto Sans CJK JP",
))
#title-slide(
title: [RustでOpenTelemetry],
subtitle: [... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/ops-invalid-13.typ | typst | Other | // Error: 4-13 cannot divide ratio by length
#( 10% / 5pt )
|
https://github.com/dantevi-other/kththesis-typst | https://raw.githubusercontent.com/dantevi-other/kththesis-typst/main/parts/2-eng-abstract.typ | typst | MIT License | //-- Configurations
#set page(
numbering: "i"
)
//-- Content
= Abstract
#lorem(200) |
https://github.com/MuShann/typst-graph | https://raw.githubusercontent.com/MuShann/typst-graph/main/README.md | markdown | # typst-graph
A typst package of drawing functions.
## Simple graph
```
#d(-5, -5, grid: 0.5, fill: blue)[
#l(0, -5, 0, 5, stroke: blue+1pt, larr: 2, dir: top)[#text(fill: blue, size: 0.5em, $y$)]
#l(-5, 0, 5, 0, stroke: blue+1pt, larr: 2, dir: left)[#text(fill: blue, size: 0.5em, $x$)]
#f(-5, 5, prec: 10, strok... | |
https://github.com/sofianedjerbi/ResumeOld | https://raw.githubusercontent.com/sofianedjerbi/ResumeOld/main/modules/projects.typ | typst | Apache License 2.0 | #import "../brilliant-CV/template.typ": *
#let lightbold(str) = text(weight: 501, str)
#let ulink(dest, body) = link(dest, text(blue, underline(body)))
#cvSection("Projets & Détails")
#v(5pt)
#cvEntry(
title: [Ingénieur Recherche et Développement],
society: [Ingenico],
date: [Oct 23 - Maintenant],
location: ... |
https://github.com/PA055/5839B-Notebook | https://raw.githubusercontent.com/PA055/5839B-Notebook/main/Entries/Game_Discussion/pre_reveal.typ | typst | #import "/packages.typ": notebookinator
#import notebookinator: *
#import themes.radial.components: *
#show: create-body-entry.with(
title: "Pre-Rulebook Reveal Thoughts",
type: "identify",
date: datetime(year: 2024, month: 4, day: 17),
author: "<NAME>",
witness: "<NAME>, <NAME>, <NAME>",
)
The reveal of th... | |
https://github.com/Ri0ee/typst-rtu | https://raw.githubusercontent.com/Ri0ee/typst-rtu/master/report.typ | typst | #import "@preview/codelst:2.0.1": *
#import "@preview/tablex:0.0.8": *
#import "template/template.typ": *
#show: project.with(
title: "Laboratory work",
subtitle: "Deducing whether the chicken or the egg",
subject: "Modern Scientology",
authors: (
(
name: "<NAME>",
group: "1. group",
id: ... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/zhconv/0.3.1/zhconv.typ | typst | Apache License 2.0 | #let zhconv-wasm = plugin("./zhconv_typst.wasm")
#let zhconv-str(text, target, wikitext: false) = {
let wikitext-flag = if wikitext { (1,) } else { (0,) }
str(zhconv-wasm.zhconv(bytes(text), bytes(target), bytes(wikitext-flag)))
}
#let is-hans-str(text) = {
zhconv-wasm.is_hans(bytes(text)).at(0) != 0
}
#let zh... |
https://github.com/LDemetrios/Typst4k | https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/visualize/rect.typ | typst | // Test the `rect` function.
--- rect ---
// Default rectangle.
#rect()
--- rect-customization ---
#set page(width: 150pt)
// Fit to text.
#rect(fill: conifer)[Textbox]
// Empty with fixed width and height.
#block(rect(
height: 15pt,
fill: rgb("46b3c2"),
stroke: 2pt + rgb("234994"),
))
// Fixed width, text h... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/scholarly-tauthesis/0.6.2/template/meta.typ | typst | Apache License 2.0 | /** meta.typ
*
* Defines document metadata. Fill in the information regarding
* your thesis into the commands specified here.
*
***/
//// Common metadata.
#let author = "<NAME>"
#let date = datetime.today()
#let examiners = (
(
title : "Professor",
firstname : "Firstname",
lastname : "Lastname",
),
(
t... |
https://github.com/juicebox-systems/ceremony | https://raw.githubusercontent.com/juicebox-systems/ceremony/main/instructions/ceremony.typ | typst | MIT License | #import "data.typ": /*
*/ boot_dvd_sha256, /*
*/ git_commit_hash, /*
*/ known_hashes, /*
*/ read_sha256sums, /*
*/
#import "debug.typ": debug_level, debug_text
#import "exception.typ": exception_sheet
#import "model.typ": /*
*/ assert_card, /*
*/ assert_card_reader, /*
*/ assert_card_reader_connected... |
https://github.com/hyrious/typst-syntax-highlight | https://raw.githubusercontent.com/hyrious/typst-syntax-highlight/main/syntax_test_typst.typ | typst | MIT License | // SYNTAX TEST "Packages/Typst/Typst.sublime-syntax"
// foo
// ^ comment.line.double-dash
/**/
// <- comment.block.empty.typst punctuation.definition.comment.typst
// #41
// Nested "//" doesn't count as line comment.
/* // */
// ^ - comment
// #28
/* multiline
/* nested */
comment */
// ^^ comment.block.t... |
https://github.com/cadojo/vita | https://raw.githubusercontent.com/cadojo/vita/main/src/contact.typ | typst | MIT License | #let contactslist = state("contactslist", ())
#let contact(
name, icon: none,
) = {
let contact = if icon == none {
name
} else {
box(image("../" + icon, height: 1.5em), baseline: 20%)
h(1em)
name
}
contactslist.update(current => current + (contact,))
}
#let contacts() = {
locate(
loc... |
https://github.com/lucafluri/typst-templates | https://raw.githubusercontent.com/lucafluri/typst-templates/master/Project_Report_FHNW_MSE/appendix.typ | typst |
#pagebreak()
#set heading(outlined: true, numbering: none)
= Appendix
| |
https://github.com/mawkler/cv | https://raw.githubusercontent.com/mawkler/cv/main/cv.typ | typst | MIT License | #import "@preview/fontawesome:0.1.0": *
#let primary_color = rgb("#2b4277") // darker blue
#let secondary_color = rgb("#677fb2") // lighter blue
#let gray_color = rgb("#7c7c7c") // light gray
#let sans_serif_font = "Fira Sans"
#let code_font = "Fira Code"
#let contact_info(services) = {
let glyph(icon) = {
box... |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/032%20-%20Ixalan/002_A%20Question%20of%20Confidence.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"A Question of Confidence",
set_name: "Ixalan",
story_date: datetime(day: 13, month: 09, year: 2017),
author: "<NAME> & <NAME>",
doc
)
#figure(image("002_A Question of Confidence/01.jpg", width: 100%), caption: [Art by Anna Steinbauer], supp... | |
https://github.com/Mc-Zen/quill | https://raw.githubusercontent.com/Mc-Zen/quill/main/examples/fault-tolerant-pi8.typ | typst | MIT License | #import "../src/quill.typ": *
#let group = gategroup.with(stroke: (dash: "dotted", thickness: .5pt))
#quantum-circuit(
group(1, 4, padding: (left: 1.5em)), lstick($|0〉$), nwire(""), $H$, $T$,
ctrl(1), $S X$, rstick($T|ψ〉$), [\ ],
lstick($|ψ〉$), nwire(""), 2, targ(), meter(target: -1),
) |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/multiline_00.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Test basic alignment.
$ x &= x + y \
&= x + 2z \
&= sum x dot 2z $
|
https://github.com/Myriad-Dreamin/tinymist | https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/completion/func_params.typ | typst | Apache License 2.0 | // contains: aa,aab,aac,aabc
#let aa(aab, aac, aabc) = {
aac(/* range -2..0 */)
}
|
https://github.com/Vortezz/fiches-mp2i-physique | https://raw.githubusercontent.com/Vortezz/fiches-mp2i-physique/main/tp/wheatstone.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 - PONT DE WHEATSTONE")),
line(length: 100%),
)), footer: box(width: 100%, grid(
columns: (50%, 50%),
rows: (8pt, 20pt),
line(length: 100%),
line(length: 100%),
align(... | |
https://github.com/spherinder/ethz-infk-thesis | https://raw.githubusercontent.com/spherinder/ethz-infk-thesis/master/pages/cover.typ | typst | #let cover_page(
title: "",
document-type: "",
supervisor: "",
tutor: "",
author: none,
timespan: "",
header-logo: none,
sans-font: "CMU Sans Serif",
..rest
) = {
set page(numbering: none, margin: 2.4cm)
set par(
leading: 1em,
first-line-indent: 0em,
justify: false,
)
align(cente... | |
https://github.com/ukihot/igonna | https://raw.githubusercontent.com/ukihot/igonna/main/article.typ | typst | #import "templates.typ"
#import "@preview/rose-pine:0.1.0": apply
#show: apply(variant: "rose-pine-dawn")
#import "const.typ"
// 環境構築
#show: templates.setup.with(
title: const.title,
author: const.me
)
// 要旨::Abstract
#include "articles/abstract.typ"
// 目次::Contents
#outline(indent: auto, depth: 2)
#se... | |
https://github.com/lucannez64/Notes | https://raw.githubusercontent.com/lucannez64/Notes/master/Maths_Devoir_Maison_8.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/fsr/rust-lessons | https://raw.githubusercontent.com/fsr/rust-lessons/master/src/lesson2.typ | typst | #import "slides.typ": *
#show: slides.with(
authors: ("<NAME>", "<NAME>"), short-authors: "H&A",
title: "Wer rastet, der rostet", short-title: "Rust-Kurs Lesson 2", subtitle: "Ein Rust-Kurs für Anfänger",
date: "Sommersemester 2023",
)
#show "theref": $arrow.double$
#show link: underline
#new-section("B... | |
https://github.com/HarryLuoo/sp24 | https://raw.githubusercontent.com/HarryLuoo/sp24/main/Physics311/hw9.typ | typst | #show heading: text.with(size: 12pt, weight: 900, font: "Libre Baskerville")
#set text(11pt)
#set page(margin: (x: 1cm, y: 1cm), columns: 1, flipped: false)
#set math.equation(numbering:"(1)")
#show math.equation: set text(13pt)
= 1
#image("assets/2024-04-25-20-58-43.png", width: 70%)
- (a) (b) as graphed above. In o... | |
https://github.com/EricWay1024/Scientific-Computation-Notes | https://raw.githubusercontent.com/EricWay1024/Scientific-Computation-Notes/master/main.typ | typst | #import "template.typ": *
#import "theorem.typ": *
#import "algo.typ" : *
#set heading(numbering: "1.a.")
#let lebs = [ $L^2(Omega)$ ]
#let into = [ $integral_Omega$ ]
#let dx = [ $dif x$ ]
#let bd(term) = [ $bold(#term)$]
#let theorem = thmbox(
"theorem",
"Theorem",
fill: rgb("#e8e8f8"),
)
#let lemma = thmbo... | |
https://github.com/maxgraw/bachelor | https://raw.githubusercontent.com/maxgraw/bachelor/main/apps/document/src/0-base/2-abstract.typ | typst | #set align(start + horizon)
#set heading(numbering: none, supplement: [Abschnitt])
= Abstract
This thesis addresses the conception and development of an augmented reality construction environment for furniture systems based on WebXR. The primary goal is to validate the suitability of WebXR for the development of an au... | |
https://github.com/RaphGL/ElectronicsFromBasics | https://raw.githubusercontent.com/RaphGL/ElectronicsFromBasics/main/DC/chap1/2_insulators_and_electron_flow.typ | typst | Other | #import "../../core/core.typ"
=== Conductors, insulators and electron flow
The electrons of different types of atoms have different degrees of freedom to move around. With some types of materials, such as metals, the outermost electrons in the atoms are so loosely bound that they chaotically move in the space between... |
https://github.com/Tran-Thu-Le/typst-collection | https://raw.githubusercontent.com/Tran-Thu-Le/typst-collection/main/state-in-typst/tool.typ | typst | #let __param = state("param", 0)
#let init(param: 0) = {
__param.update(param)
}
#let sentence = context{[The current value of parameter is #__param.get()]} | |
https://github.com/Toniolo-Marco/git-for-dummies | https://raw.githubusercontent.com/Toniolo-Marco/git-for-dummies/main/slides/practice/checkout.typ | typst | #import "@preview/touying:0.5.2": *
#import themes.university: *
#import "@preview/numbly:0.1.0": numbly
#import "@preview/fletcher:0.5.1" as fletcher: node, edge
#let fletcher-diagram = touying-reducer.with(reduce: fletcher.diagram, cover: fletcher.hide)
#import "../components/gh-button.typ": gh_button
#import "../c... | |
https://github.com/dyc3/senior-design | https://raw.githubusercontent.com/dyc3/senior-design/main/harness-design.typ | typst | = Test Harness Design
The test harness utilizes Rust's libtest to aggregate and run tests. For each test function, we add a setup and teardown step to spin up and tear down the Balancer (as provided by the `test-context` #cite(<crate-test-context>) crate), and then we run the test function. The test function is respon... | |
https://github.com/liamrosenfeld/resume | https://raw.githubusercontent.com/liamrosenfeld/resume/main/resume.typ | typst | #import "template.typ": *
#show: resume.with(
name: "<NAME>",
contactInfo: (
link("mailto://<EMAIL>")[<EMAIL>],
link("https://liamr.dev")[liamr.dev],
"407-864-0452"
)
)
#let isDigital = true
== Skills
#skillsTable(
content: (
strong("Languages"),
"Swift, Rust, Objective-C, C++, C, Python... | |
https://github.com/gongke6642/tuling | https://raw.githubusercontent.com/gongke6642/tuling/main/可视化/线/xian.typ | typst | = line 元素
从一个点到另一个点的线。
#image("1.png")
#image("2.png") | |
https://github.com/j10ccc/algorithm-analysis-homework-template-typst | https://raw.githubusercontent.com/j10ccc/algorithm-analysis-homework-template-typst/main/README.md | markdown | # Algorithm-analysis-homework-template-typst
For Algorithm Analysis And Design course homework.
## Usage
> Before use this template, you should learn a bit
> [typst](https://typst.app) language syntax, like function
> call, text render syntax. It is some different from LaTeX.
Clone the repository.
Before build out... | |
https://github.com/CL4R3T/QFT_homework | https://raw.githubusercontent.com/CL4R3T/QFT_homework/main/HW1/HW1_Sol.typ | typst | #import "@preview/problemst:0.1.0": pset
#import "@preview/physica:0.9.3": *
#show: pset.with(
class: "QFT",
student: read("../.authorinfo"),
title: "Homework 1",
date: datetime(year: 2024, month: 9, day: 26),
)
#set heading(numbering: (..nums) => {
nums = nums.pos()
nums.at(0) -= 1
if nums.len() == 1 {... | |
https://github.com/linhduongtuan/BKHN-Thesis_template_typst | https://raw.githubusercontent.com/linhduongtuan/BKHN-Thesis_template_typst/main/contents/appendix.typ | typst | Apache License 2.0 | = How to train large langugue models
#lorem(100)
= How to train very huge image-language datasets
#lorem(100) |
https://github.com/mangkoran/utm-thesis-typst | https://raw.githubusercontent.com/mangkoran/utm-thesis-typst/main/03_declaration_supervisor.typ | typst | MIT License | #import "@preview/tablex:0.0.7": tablex, colspanx
#import "utils.typ": empty
#let content(
degree: empty[degree],
supervisor: (
empty[supervisor 1],
empty[supervisor 2],
),
) = [
#set align(center + horizon)
"We hereby declare that we have read this thesis and in our opinion
this thesis is suffici... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/spread-13.typ | typst | Other | // Spread in the middle.
#{
let f(a, ..b, c) = (a, b, c)
test(repr(f(1, 2)), "(1, (), 2)")
test(repr(f(1, 2, 3, 4, 5)), "(1, (2, 3, 4), 5)")
}
|
https://github.com/denizenging/site | https://raw.githubusercontent.com/denizenging/site/master/page/links/index.en.typ | typst | #import "@local/pub-page:0.0.0": *
#show: template(
title: "Links",
menu: (4, "link"),
links: (
(
"ORCID iD",
"ORCID iD is a unique identifier for researchers and their publications.",
"https://orcid.org/0009-0004-9445-8502",
"img/orcid.webp",
),
(
"GitHub",
"GitHub is a software forge where... | |
https://github.com/TechnoElf/mqt-qcec-diff-thesis | https://raw.githubusercontent.com/TechnoElf/mqt-qcec-diff-thesis/main/content/implementation/algorithms.typ | typst | #import "@preview/fletcher:0.5.1": diagram, node, edge
#import "@preview/gentle-clues:0.9.0": example, code
#import "@preview/lovelace:0.3.0": pseudocode-list
== Algorithms
This section provides an overview of the implemented diff algorithms.
Initially, research was done to determine suitable algorithms for the task.
... | |
https://github.com/Robotechnic/alchemist | https://raw.githubusercontent.com/Robotechnic/alchemist/master/lib.typ | typst | MIT License | #import "@preview/cetz:0.2.2"
#import "src/default.typ": default
#import "src/utils.typ"
#import "src/drawer.typ"
#import "src/drawer.typ" : skeletize, draw-skeleton
#import "src/links.typ" : *
#import "src/molecule.typ" : *
#let transparent = color.rgb(100%,0,0,0)
/// === Molecule function
/// Build a molecule group... |
https://github.com/mismorgano/UG-DifferentialGeometry23 | https://raw.githubusercontent.com/mismorgano/UG-DifferentialGeometry23/main/Tareas/Tarea-04/Tarea-04.typ | typst | #let title = [
Geometría Diferencial\
Tarea 4
]
#let author = [
<NAME>
]
#let book = [
Differential Geometry of Curves and Surfaces
]
#set text(font: "New Computer Modern", size: 12pt)
#set enum(numbering: "a)")
#align(center, text(17pt)[
*#title*\
#author
])
Del libro *#book*.
== Problema 1
Muestra que l... | |
https://github.com/jassielof/typst-templates | https://raw.githubusercontent.com/jassielof/typst-templates/main/apa7/template/main.typ | typst | MIT License | // #import "@preview/apa7:0.1.0": *
#import "../lib.typ": *
#show: apa7.with(
title: [American Psychological Association (APA) Style Template for Typst],
// // authors with different affiliations
// authors: (
// (
// name: [Author Name 1],
// affiliations: ("AF-1", "AF-2"),
// ),
// (... |
https://github.com/dead-summer/math-notes | https://raw.githubusercontent.com/dead-summer/math-notes/main/notes/Analysis/ch1-measures/construct-of-measures.typ | typst | #import "/book.typ": book-page
#import "../../../templates/conf.typ": *
#import "@preview/mitex:0.2.4": *
#show: thmrules.with(qed-symbol: $square$)
#show: book-page.with(title: "Construct of Measures")
= Construct of Measures
#def[
Let $#mi("\mathcal{A} \subset \mathcal{P}(X) ")$ be an algebra.
A function $#mi("\m... | |
https://github.com/r8vnhill/apunte-bibliotecas-de-software | https://raw.githubusercontent.com/r8vnhill/apunte-bibliotecas-de-software/main/Unit2/open_closed.typ | typst | == Clases Abiertas y Cerradas
=== Problema de la Base Frágil (Fragile Base Class Problem)
Este problema surge cuando cambios en una clase base causan que las clases derivadas dejen de funcionar correctamente.
Una causa común es la sobreescritura no intencionada de miembros de la clase base, lo que puede alterar el c... | |
https://github.com/mrtz-j/typst-thesis-template | https://raw.githubusercontent.com/mrtz-j/typst-thesis-template/main/template/chapters/typst-basics.typ | typst | MIT License | #import "../utils/symbols.typ": LaTeX
This chapter will go into some basic features of the typst typesetting system, and how to use them in conjunction with this thesis template. Note that you should supplement this with the official guides on the typst website #footnote()[see #link("https://typst.app/docs/tutorial/")... |
https://github.com/VisualFP/docs | https://raw.githubusercontent.com/VisualFP/docs/main/SA/design_concept/content/poc/options_ui_haskellgi.typ | typst | #import "../../../acronyms.typ": ac
= Haskell-gi
#ac("GTK") is a widget toolkit that allows the creation of #ac("UI")s that work on
many popular operating systems. GTK widgets can be created programmatically or
with an XML #ac("UI") definition. @gtk_project
Haskell-gi is a Haskell library that offers bindings to GT... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/import-18.typ | typst | Other | // Error: 26-29 unexpected string
#import "module.typ": a, "b", c
|
https://github.com/TypstApp-team/typst | https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/layout/page-marginals.typ | typst | Apache License 2.0 | #set page(
paper: "a8",
margin: (x: 15pt, y: 30pt),
header: {
text(eastern)[*Typst*]
h(1fr)
text(0.8em)[_Chapter 1_]
},
footer: align(center)[\~ #counter(page).display() \~],
background: counter(page).display(n => if n <= 2 {
place(center + horizon, circle(radius: 1cm, fill: luma(90%)))
})... |
https://github.com/fathonix/praktikum_alpro | https://raw.githubusercontent.com/fathonix/praktikum_alpro/master/README.md | markdown | MIT License | # Laporan Praktikum Algoritme Pemrograman ITK
This repository holds a [Typst](https://typst.app) markup file
that is consist of the template and contents, with the
compiled PDF included.
The Typst layouting replicates the original .docx file layout
provided by ITK.
## Building
To build the template, only Make and T... |
https://github.com/Sematre/typst-kit-thesis-template | https://raw.githubusercontent.com/Sematre/typst-kit-thesis-template/main/README.md | markdown | # typst-kit-thesis-template
A template for creating Master and Bachelor theses for students.
This projects tries to be close to the [original LaTeX version](https://www.overleaf.com/read/mvnctgvbnsrf).
However this is not an official template and this project is not affiliated with the KIT.
This template is not guarant... | |
https://github.com/cetz-package/cetz-venn | https://raw.githubusercontent.com/cetz-package/cetz-venn/master/doc/style.typ | typst | Apache License 2.0 | #import "example.typ": example
#import "/src/lib.typ"
#import "@preview/tidy:0.1.0"
#import "@preview/t4t:0.3.2": is
#let show-function(fn, style-args) = {
[
#heading(fn.name, level: style-args.first-heading-level + 1)
#label(style-args.label-prefix + fn.name + "()")
]
let description = if is.sequence(f... |
https://github.com/0x1B05/nju_os | https://raw.githubusercontent.com/0x1B05/nju_os/main/lecture_notes/content/17_Linux进程的地址空间.typ | typst | #import "../template.typ": *
#pagebreak()
= Linux 进程的地址空间
== Linux 进程的地址空间
两个很基本 (但也很困难) 的问题
以下程序的 (可能) 输出是什么?
```c
printf("%p\n", main);
```
何种指针访问不会引发 segmentation fault?
```c
char *p = random();
*p; // 什么时候访问合法?
```
=== 查看进程的地址空间
pmap (1) - report memory of a process
- Claim: pmap 是通过访问 procfs (/proc/) 实现的... | |
https://github.com/bennyhandball/PA1_LoB_Finance | https://raw.githubusercontent.com/bennyhandball/PA1_LoB_Finance/main/PA/supercharged-dhbw/2.1.0/check-attributes.typ | typst | #let check-attributes(
title,
authors,
language,
at-university,
confidentiality-marker,
type-of-thesis,
type-of-degree,
show-confidentiality-statement,
show-declaration-of-authorship,
show-table-of-contents,
show-acronyms,
show-list-of-figures,
show-list-of-tables,
show-code-snippets,
show... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/text/raw_11.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
//
// // Unterminated.
// // Error: 1-2:1 unclosed raw text
// `endless |
https://github.com/EpicEricEE/typst-marge | https://raw.githubusercontent.com/EpicEricEE/typst-marge/main/tests/parameter/format/test.typ | typst | MIT License | #import "/src/lib.typ": sidenote
#set par(justify: true)
#set page(width: 8cm, height: auto, margin: (outside: 4cm, rest: 5mm))
#let sidenote = sidenote.with(numbering: "1")
#lorem(3)
#sidenote(format: it => [(#it.counter.display(it.numbering)) #it.body])[
Sidenote with parenthesized number.
]
#lorem(10... |
https://github.com/frectonz/the-pg-book | https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/035.%20usa.html.typ | typst | usa.html
Made in USA
November 2004(This is a new essay for the Japanese edition of
Hackers
& Painters.
It tries to explain why Americans make some things well
and others badly.)A few years ago an Italian friend of mine travelled by train from
Boston to Providence. She had only been in America for a
couple weeks an... | |
https://github.com/i-am-wololo/cours | https://raw.githubusercontent.com/i-am-wololo/cours/master/main/parties_i23/CalculBool.typ | typst | #import "../templates.typ": *
#title("logique de boole")
= Algebre de boole
soit $BB$ un enssemble munit d'une structure algebrique, on l'appelle algebre de boole.
#definition(title:"")[on appelle booleen toute variable defini sur un ensemble a deux elements]
Pour simplifier l'ecriture des expressions logique, l'ope... | |
https://github.com/haxibami/haxipst | https://raw.githubusercontent.com/haxibami/haxipst/main/src/resume/resume.typ | typst | #import "../lib/set-metadata.typ": *
#import "../lib/better-indent.typ": *
#import "../lib/better-heading.typ": *
#let resume(
pdf-title: none,
pdf-author: (),
pdf-keywords: (),
pdf-date: auto,
title: none,
author: [],
date: [],
size: "a4",
pagenum: true,
header: [],
indent: true,
lang: "ja",
... | |
https://github.com/katamyra/Notes | https://raw.githubusercontent.com/katamyra/Notes/main/Personal%20Notes/DeepLearning/Modules/Introduction.typ | typst | #import "../../../template.typ": *
= Introduction
*Machine Learning* is the study of algorithms that can learn from experience, typically in the form of observational data or interactions with an environment, its performance improves.
Core components that follow us around, no matter what kind of machine learning we... | |
https://github.com/vEnhance/1802 | https://raw.githubusercontent.com/vEnhance/1802/main/r14.typ | typst | MIT License | #import "@local/evan:1.0.0":*
#show: evan.with(
title: [Notes for 18.02 Recitation 14],
subtitle: [18.02 Recitation MW9],
author: "<NAME>",
date: [23 October 2024],
)
#quote(attribution: [Lemony Snicket, in A Series of Unfortunate Events])[The world is quiet here.]
This handout (and any other DLC's I write)... |
https://github.com/GYPpro/Java-coures-report | https://raw.githubusercontent.com/GYPpro/Java-coures-report/main/Report/3.typ | typst | #set text(font:("Times New Roman","Source Han Serif SC"))
#show raw.where(block: false): box.with(
fill: luma(240),
inset: (x: 3pt, y: 0pt),
outset: (y: 3pt),
radius: 2pt,
)
// Display block code in a larger block
// with more padding.
#show raw.where(block: true): block.with(
fill: luma(240),
inset: 10pt,... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/text/features-00.typ | typst | Other | // Test turning kerning off.
#text(kerning: true)[Tq] \
#text(kerning: false)[Tq]
|
https://github.com/EvanLuo42/rcore-notes | https://raw.githubusercontent.com/EvanLuo42/rcore-notes/main/Chapter%201/main.typ | typst | #import "template.typ": *
#show: project.with(
title: "应用程序与基本执行环境"
)
= 操作系统启动流程
== 第一阶段
加电后 PC 寄存器(Program Counter;用于执行汇编指令)被设置为 ROM 的物理地址。随后会运行 ROM 当中存储的程序,即固件(Firmware)。固件被用于初始化 CPU 状态,如各寄存器的初始值,以及从硬盘中加载 bootloader 程序。最后将 PC 设置为 bootloader 程序的地址,并跳转以转移控制权。
== 第二阶段
bootloader 和固件所做的事情相似。它同样会初始化一些寄存器状态,并将操作系统代码从... | |
https://github.com/Coekjan/typst-upgrade | https://raw.githubusercontent.com/Coekjan/typst-upgrade/master/tests/exception2/entry.incompat.typ | typst | MIT License | #strong[
#import "@preview/pack1:1.1.1": pack
here is strong text, #pack.
]
#import "@preview/pack3:3.0.0": pack3
#syntax-error-node-here(
|
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-1F600.typ | typst | Apache License 2.0 | #let data = (
("GRINNING FACE", "So", 0),
("GRINNING FACE WITH SMILING EYES", "So", 0),
("FACE WITH TEARS OF JOY", "So", 0),
("SMILING FACE WITH OPEN MOUTH", "So", 0),
("SMILING FACE WITH OPEN MOUTH AND SMILING EYES", "So", 0),
("SMILING FACE WITH OPEN MOUTH AND COLD SWEAT", "So", 0),
("SMILING FACE WITH ... |
https://github.com/Enter-tainer/typstyle | https://raw.githubusercontent.com/Enter-tainer/typstyle/master/tests/assets/unit/comment/line-comment.typ | typst | Apache License 2.0 | #{
// test
/*
if direction == "bottom" {
draw.line(a, (rel: (0, -grow/3)), ((), "-|", b), b)
} else if direction == "up" {
draw.line(a, (rel: (0, grow/3)), ((), "-|", b), b)
} else if direction == "left" {
draw.line(a, (rel: (-grow/3, 0)), ((), "|-", b), b)
} else if direction == "right" {
... |
https://github.com/pedrofp4444/BD | https://raw.githubusercontent.com/pedrofp4444/BD/main/report/content/%5B0%5D%20Resumo/main.typ | typst | #let resumo = {
heading(numbering: none, outlined: false)[Resumo]
[
Ao longo deste projeto foi desenvolvido um sistema de gestão de base de dados, direcionado para a empresa _Lusium_, com o intuito de melhorar a segurança em Vizela. Este sistema seria aplicado especificamente na gestão dos roubos relacionados... | |
https://github.com/jhnko/umu-templates | https://raw.githubusercontent.com/jhnko/umu-templates/main/report/template.typ | typst | The Unlicense | #import "@preview/tablex:0.0.6": tablex
#let TABLE_STROKE = 0.5pt + black
#show terms: it => {
it
.children
.map(child => [
#strong[#child.term]
#block(inset: (left: 1.5em, top: -0.4em))[#child.description]
])
.join()
}
#let swedish_month(month_num) = {
let months = (
"janu... |
https://github.com/Otto-AA/definitely-not-tuw-thesis | https://raw.githubusercontent.com/Otto-AA/definitely-not-tuw-thesis/main/template/content/appendix.typ | typst | MIT No Attribution | = Overview of Generative AI Tools Used
(Lorem Ipsum is no AI tool, it's a clever algorithm as described in @lorem-ipsum-alg)
= Samples from Lorem Ipsum
== 5 words lorem
#lorem(5)
== 10 words lorem
#lorem(10)
== Long ipsum
#lorem(300)
#lorem(300) |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/scholarly-tauthesis/0.4.0/template/meta.typ | typst | Apache License 2.0 | /** meta.typ
*
* Defines document metadata. Fill in the information regarding
* you thesis into the commands specified here.
*
***/
//// Common metadata.
#let author = "<NAME>"
#let date = datetime.today()
#let examiners = (
(
title : "Professor",
firstname : "Firstname",
lastname : "Lastname",
),
(
ti... |
https://github.com/Wh4rp/Presentacion-Typst | https://raw.githubusercontent.com/Wh4rp/Presentacion-Typst/master/ejemplos/10_set.typ | typst | #set text(font: "Ubuntu Mono")
#set text(fill: blue)
#set par(justify: true)
#lorem(20) | |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/002%20-%20Return%20to%20Ravnica/012_Rogue’s Passage.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Rogue’s Passage",
set_name: "Return to Ravnica",
story_date: datetime(day: 21, month: 11, year: 2012),
author: "<NAME>",
doc
)
Tanek awoke lying shirtless on his back. The smoke-masked sun was already high in the sky, and the exhaust pipe n... | |
https://github.com/ivaquero/book-control | https://raw.githubusercontent.com/ivaquero/book-control/main/12-非线性控制器.typ | typst | #import "@local/scibook:0.1.0": *
#show: doc => conf(
title: "非线性控制器",
author: ("ivaquero"),
header-cap: "现代控制理论",
footer-cap: "github@ivaquero",
outline-on: false,
doc,
)
= 自适应控制器
<自适应控制器>
对系统
$ dot(x) = a x^2 + u $
其中,$a$为常量(或一定时间内几乎不变)。
令$e = x_d - x$,则
$ dot(e) = dot(x)_d - dot(x) = dot(x)_d - a x... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/pyrunner/0.1.0/example.typ | typst | Apache License 2.0 | #import "@preview/pyrunner:0.1.0" as py
#let compiled = py.compile(
```python
def find_emails(string):
import re
return re.findall(r"\b[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}\b", string)
def sum_all(*array):
return sum(array)
def add(a, b):
return f'{a+b=}'
```)
#let txt = "My email address ... |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/021%20-%20Battle%20for%20Zendikar/008_Revelation%20at%20the%20Eye.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Revelation at the Eye",
set_name: "Battle for Zendikar",
story_date: datetime(day: 14, month: 10, year: 2015),
author: "<NAME>",
doc
)
#emph[<NAME> is not a fighter. His immediate goal in coming to Zendikar was to solve a puzzle: the questi... | |
https://github.com/LaurenzV/simplecv | https://raw.githubusercontent.com/LaurenzV/simplecv/main/src/main.typ | typst | MIT License | #import "simplecv.typ": template, education_entry, work_entry, skill_entry
// Change the theme color of the cv.
#let color = green
// Change to your name.
#let name = "<NAME>"
// Change the shown contact data. You can also change the order of the elements so that they will show up in a different order. Currently, ... |
https://github.com/JosephDavis/typst-starter | https://raw.githubusercontent.com/JosephDavis/typst-starter/main/readme.md | markdown | # Typst Starter
## Local Setup
### Rust and Typst Installation
1. [Install Rust](https://www.rust-lang.org/tools/install)
- `curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh`
- Downloads and runs the Rust installation script.
2. `cargo install --locked typst-cli`
- Installs the Typst co... | |
https://github.com/7sDream/fonts-and-layout-zhCN | https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/chapters/02-concepts/dimension/units-graph.typ | typst | Other | #import "/lib/draw.typ": *
#import "/template/theme.typ": theme
#import "/template/lang.typ": bengali
#let start = (0, 0)
#let end = (1000, 690)
#let graph = with-unit((ux, uy) => {
// mesh(start, end, (100, 100), stroke: 1 * ux + gray)
let char = bengali(
// TODO: Typst text stroke needs improvment
// st... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/import-03.typ | typst | Other | // A module import without items.
#import "module.typ"
#test(module.b, 1)
#test(module.item(1, 2), 3)
#test(module.push(2), 3)
|
https://github.com/typst-community/guidelines | https://raw.githubusercontent.com/typst-community/guidelines/main/src/chapters/style/delimiters.typ | typst | Creative Commons Attribution Share Alike 4.0 International | #import "/src/util.typ": *
#import mantys: *
= Delimiters
Opening delimiters to unfinished statements like `(...)`, `[...]`, etc. are placed on the same line as their preceding element, e.g. for loops, declarations, etc.
This is actually enforced by the compiler in most cases, as it uses line breaks to terminate most ... |
https://github.com/Robotechnic/alchemist | https://raw.githubusercontent.com/Robotechnic/alchemist/master/src/links.typ | typst | MIT License | #import "@preview/cetz:0.2.2"
#import "drawer.typ"
#import "utils.typ"
/// Create a link function that is then used to draw a link between two points
///
///
/// - draw-function (function): The function that will be used to draw the link. It should takes three arguments: the length of the link, the context, and a dic... |
https://github.com/UriMtzF/uaemex-typst-template | https://raw.githubusercontent.com/UriMtzF/uaemex-typst-template/main/template.typ | typst | Apache License 2.0 | #let getDate(date) = {
if date.month < 1 or date.month > 12 {
panic("Fecha no valida")
}
let monthTxt = ("enero", "febrero", "marzo", "abril", "mayo", "junio", "julio", "agosto", "septiembre", "octubre", "noviembre", "diciembre")
return str(date.day) + " de " + monthTxt.at(date.month - 1) + " de " + str(... |
https://github.com/herbhuang/utdallas-thesis-template-typst | https://raw.githubusercontent.com/herbhuang/utdallas-thesis-template-typst/main/content/requirements_analysis.typ | typst | MIT License | #import "/utils/todo.typ": TODO
= Requirements Analysis
#TODO[
This chapter follows the Requirements Analysis Document Template in @bruegge2004object. Important: Make sure that the whole chapter is independent of the chosen technology and development platform. The idea is that you illustrate concepts, taxonomies and... |
https://github.com/7sDream/fonts-and-layout-zhCN | https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/chapters/08-adv-features/random.typ | typst | Other | #import "/template/template.typ": web-page-template
#import "/template/components.typ": note
#import "/lib/glossary.typ": tr
#show: web-page-template
// ## Randomization
== 随机性
|
https://github.com/LucaCiucci/tesi-triennale | https://raw.githubusercontent.com/LucaCiucci/tesi-triennale/main/slide.typ | typst | Creative Commons Zero v1.0 Universal |
#let title = [Monopoli Magnetici]
#let page_scale = 35pt
//#let __slide-final-only = state("slide-final-only", false)
#let slide-final-only = if sys.inputs.keys().contains("compact-slides") {
lower(sys.inputs.compact-slides) == "true"
} else {
false
}
#let slide-final-result = if sys.inputs.keys().contains("fin... |
https://github.com/sitandr/typst-examples-book | https://raw.githubusercontent.com/sitandr/typst-examples-book/main/src/basics/scripting/index.md | markdown | MIT License | # Scripting
**Typst** has a complete interpreted language inside. One of key aspects of working with your document in a nicer way
|
https://github.com/crd2333/crd2333.github.io | https://raw.githubusercontent.com/crd2333/crd2333.github.io/main/src/docs/Math/数据建模与分析.typ | typst | #import "/src/components/TypstTemplate/lib.typ": *
#show: project.with(
title: "数据建模与分析笔记",
lang: "zh",
)
= 机器学习简介
- 没记
= 感知机
- 没记
= k-近邻算法
- 没记
= 朴素贝叶斯分类器
- 没记
= 决策树
- 没记
= Logistic回归和最大熵模型
- 关于特征函数与期望
特征函数$f(x, y)$关于经验分布 $hat(P)(X, Y)$ 的期望值:$ E_(hat(P)) (f) = sum_(x, y)hat(P) (x,y)f(x,y) $
关于联合分布 $P(X,Y)$ ... | |
https://github.com/curvenote/pubmatter | https://raw.githubusercontent.com/curvenote/pubmatter/main/docs.typ | typst | MIT License | #import "@preview/tidy:0.2.0"
#import "./pubmatter.typ"
#let example = (it) => {
box(fill: luma(95%), inset: (x: 10pt), width: 100%, it)
}
#let fm = pubmatter.load((
title: "pubmatter",
subtitle: "A typst library for parsing, normalizing and showing publication frontmatter",
authors: (
(
name: "<NAM... |
https://github.com/miestrode/sourcerer | https://raw.githubusercontent.com/miestrode/sourcerer/main/src/lib.typ | typst | MIT License | #let code(
line-spacing: 5pt,
line-offset: 5pt,
numbering: true,
inset: 5pt,
radius: 3pt,
number-align: left,
stroke: 1pt + luma(180),
fill: luma(250),
text-style: (),
width: 100%,
lines: auto,
lang: none,
lang-box: (
gutter: 5pt,
radius: 3pt,
outset: 1.75pt,
fill: rgb("#ffbfbf... |
https://github.com/hanxuanliang/opentyp | https://raw.githubusercontent.com/hanxuanliang/opentyp/main/typ/risinglight/sql.typ | typst | MIT License | #import "../cv.typ": *
#show: cv.with(
author: "SQL执行全流程"
)
RisingLight中 SELECT 语句的执行过程可以分解为以下几个步骤:
+ 解析:使用SQL解析器将输入的SQL字符串(例如: #codeText("SELECT a,sum(b) FROM t GROUP BY a"))解析成抽象语法树(AST)。此步骤在 src/sql_parser 目录中
+ 绑定:绑定程序分析AST以绑定必要信息,例如每个变量所属的表、它们的类型和相应列。此步骤可在src/binder目录中看到
+ 逻辑规划:然后将绑定语句映射到逻辑计划中,这是查询如何处理的基本草... |
https://github.com/MLAkainu/Network-Comuter-Report | https://raw.githubusercontent.com/MLAkainu/Network-Comuter-Report/main/contents/index.typ | typst | Apache License 2.0 | #include "01_task/index.typ"
#include "02_yeu_cau/index.typ"
#include "03_protocol/index.typ"
#include "04_socket/index.typ"
#include "05_demo/index.typ"
#include "06_errorhandle/index.typ" |
https://github.com/CaldeCrack/Typst-Templates | https://raw.githubusercontent.com/CaldeCrack/Typst-Templates/main/modules/auto_table.typ | typst | /*
width: width of the table
height: height of the table
position: alignment of the table
values: values to display in the table
*/
#let auto_table(width, height, position, cell_position, inset: 5pt, values) = {
let col_number = values.at(0).len()
let row_number = values.len()
let hor_percentage = if width != aut... | |
https://github.com/Nrosa01/TFG-2023-2024-UCM | https://raw.githubusercontent.com/Nrosa01/TFG-2023-2024-UCM/main/Memoria%20Typst/capitulos/3.5.ProgramaciónParalelaCPU.typ | typst | #import "@preview/subpar:0.1.0"
Para poder ejecutar los programas se requiere de una estructura que pueda procesar un conjunto de instrucciones dados, esta estructura es la Unidad Central de Procesamiento (CPU, por sus siglas en inglés). La CPU es el componente principal de un ordenador y otros dispositivos programabl... | |
https://github.com/Arrata-TTRPG/Arrata-TTRPG | https://raw.githubusercontent.com/Arrata-TTRPG/Arrata-TTRPG/main/src/template.typ | typst | Other | #set heading(numbering: "1.1.1")
// 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: "", authors: (), logo: none, version: "", body) = {
// Set the document's basic properties.
set docu... |
https://github.com/lxl66566/my-college-files | https://raw.githubusercontent.com/lxl66566/my-college-files/main/信息科学与工程学院/嵌入式系统/实验/报告/7/7.typ | typst | The Unlicense | #import "../../../../template.typ": *
#show: project.with(
title: "实验报告 7",
authors: (
"absolutex",
)
)
= 综合实验
== 实验目的
根据此前实验所学到的知识,综合运用开发板上的各模块,实现一个相对复
杂的嵌入式系统,实现数据传输,(传感器)数据输入,数据展示的功能。
本小组选择挑战使用一个之前实验未使用过的模块 —— USB 模块来完成综合实验。主要内容是实现一个小游戏:接球游戏。
游戏内容:小球从 LCD 屏幕的最上方的随机位置落下。同一时间,屏幕上只会有一个小球下落。玩家需要按下按键控制板子位置... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/README.md | markdown | Apache License 2.0 | # typst.ts
[Markdown](https://github.com/Myriad-Dreamin/typst.ts/blob/main/README.md) | [typst](./docs/cookery/introduction.typ) |
[Online SVG](https://myriad-dreamin.github.io/typst.ts/cookery/) |
[Online Canvas](https://myriad-dreamin.github.io/typst.ts/)
<p align="center">
<a href="https://github.com/Myriad-Drea... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.