repo stringlengths 26 115 | file stringlengths 54 212 | language stringclasses 2
values | license stringclasses 16
values | content stringlengths 19 1.07M |
|---|---|---|---|---|
https://github.com/simon-isler/zhaw-summaries | https://raw.githubusercontent.com/simon-isler/zhaw-summaries/main/S6%20-%20FS2024/MOBA2/main.typ | typst | #import "../../Template/template.typ": *
#show: project.with(
title: "Mobile Apps 2",
authors: (
"<NAME>",
),
)
#include "./sections/1-react.typ" | |
https://github.com/TomVer99/FHICT-typst-template | https://raw.githubusercontent.com/TomVer99/FHICT-typst-template/main/examples/showcase/showcase.typ | typst | MIT License | #import "./../../template/fhict-template.typ": *
#import "./terms.typ": term-list
#show: fhict-doc.with(
title: "Showcase",
subtitle: "FHICT Template Showcase",
authors: (
(
name: "TomVer99",
),
),
// language: "nl",
// chapter-on-new-page: true,
available-languages: ("en", "nl", "de", "fr"... |
https://github.com/jneug/schule-typst | https://raw.githubusercontent.com/jneug/schule-typst/main/src/util/marks.typ | typst | MIT License | // ================================
// = Hidden labels and states =
// ================================
//
// Place hidden metadata and marks in the document.
#import "args.typ": if-auto
/// Opens an environment to be used in contextual functions.
/// - name (str): Name of the environment.
/// -> content
#let env... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/meta/numbering_01.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
#for i in range(0, 4) {
numbering("A", i)
[ for #i \ ]
}
... \
#for i in range(26, 30) {
numbering("A", i)
[ for #i \ ]
}
... \
#for i in range(702, 706) {
numbering("A", i)
[ for #i \ ]
}
|
https://github.com/the-JS-hater/typst_cv | https://raw.githubusercontent.com/the-JS-hater/typst_cv/main/cv_2024VT.typ | typst | #grid(
columns: (7fr, 3fr),
gutter: 6pt,
[
#grid(
columns: (1fr, 3fr),
gutter: 3pt,
image("CV_pfp.jpg", width: 65%),
align(left + bottom)[
= <NAME>
Student
]
)
= Utbildning
== Civilingenjör i Mjukvaruteknik, Linköpings Universitet
#text(g... | |
https://github.com/7sDream/fonts-and-layout-zhCN | https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/chapters/05-features/shaping/shaping.typ | typst | Other | #import "/template/template.typ": web-page-template
#import "/template/components.typ": note
#import "/lib/glossary.typ": tr
#show: web-page-template
// ## How OpenType shaping works
== 文本#tr[shaping]的工作流程
// While we could now carry on describing the syntax of the feature file language and giving examples of OpenT... |
https://github.com/Enter-tainer/typstyle | https://raw.githubusercontent.com/Enter-tainer/typstyle/master/docs/architecture.md | markdown | Apache License 2.0 | ## High Level Overview
Typstyle is a code formatter, the input is a string of typst source code and the output is a string of formatted typst source code.
To format the code, there are certain main steps that are followed:
1. **Parsing**: The input code is parsed into an Abstract Syntax Tree (AST) using the `typst-s... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/supercharged-dhbw/1.3.0/template/appendix.typ | typst | Apache License 2.0 | // level 1 headings are not allowed in the appendix
#let appendix = [
#lorem(100)
] |
https://github.com/AU-Master-Thesis/thesis | https://raw.githubusercontent.com/AU-Master-Thesis/thesis/main/sections/2-background/rrt.typ | typst | MIT License | #import "../../lib/mod.typ": *
== Rapidly Exploring Random Trees <s.b.rrt>
#acr("RRT") is a sampling-based path planning algorithm, introduced by <NAME> in 1998@original-rrt. The algorithm incrementally builds a tree of nodes, each node a specific step length, $s$, from the last. The tree is built by randomly sampling... |
https://github.com/soul667/typst | https://raw.githubusercontent.com/soul667/typst/main/PPT/MATLAB/touying/docs/blog/2024-01-17-touying-0-2-0.md | markdown | ---
slug: touying-0-2-0
title: Touying 0.2.0
authors: orangex4
tags: [development]
---
Touying 0.2.0 is done.
## Implemented Features
- [x] **Object-oriented programming:** Singleton `s`, binding methods `utils.methods(s)` and `(self: obj, ..) => {..}` methods.
- [x] **Page arguments management:** Instead of using `... | |
https://github.com/Gekkio/gb-ctr | https://raw.githubusercontent.com/Gekkio/gb-ctr/main/chapter/console/clocks.typ | typst | Creative Commons Attribution Share Alike 4.0 International | #import "../../common.typ": *
#import "../../timing.typ"
== Clocks
=== System clock
The system oscillator is the primary clock source in a Game Boy system, and it generates the *system clock*. Almost all other clocks are derived from the system clock using prescalers / clock dividers, but there are some exceptions:
... |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/049%20-%20The%20Brothers'%20War/004_Chapter%201%3A%20Stronghold.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Chapter 1: Stronghold",
set_name: "The Brothers' War",
story_date: datetime(day: 21, month: 10, year: 2022),
author: "<NAME>",
doc
)
#emph[There are times when destiny calls forth a people and demands an action. ] Now#emph[ is the time. ] W... | |
https://github.com/Dr00gy/Typst-thesis-template-for-VSB | https://raw.githubusercontent.com/Dr00gy/Typst-thesis-template-for-VSB/main/README.md | markdown | # Typst template for creating a bachelor's thesis
### What is included in this repo:
#### 📘 .typ files:
1. A **main.typ** file - the showcase file which already has some data written in it
2. A **thesis_template** .typ files - template.typ imports all of the needed functions that were created specifically for the temp... | |
https://github.com/drupol/master-thesis | https://raw.githubusercontent.com/drupol/master-thesis/main/README.md | markdown | Other | [](https://github.com/drupol/master-thesis/releases/latest)
[](https://creativecommons.org/licenses/by/4.0/)
[![HL3 License ... |
https://github.com/darioglasl/Arbeiten-Vorlage-Typst | https://raw.githubusercontent.com/darioglasl/Arbeiten-Vorlage-Typst/main/01_Einleitung/06_nfr.typ | typst | #import "../Helpers/nfr-data.typ": nfrScenarios
== Non Functional Requirements (NFR) <headingNfrs>
#let n = 0
#while n < nfrScenarios.len() {
let number = n + 1
let title = if n < 10 {
[NFR-0#number]
} else {
[NFR-#number]
}
figure(
table(
columns: (16%, 84%),
inset: (x: 5pt, y: 4pt... | |
https://github.com/Arsenii324/matap-p2 | https://raw.githubusercontent.com/Arsenii324/matap-p2/main/t-repo/main.typ | typst | #import "template.typ": *
// #include "lecture2.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: "Математический анализ 2",
authors: (
(name: "Georgy", affiliation: "@georgyshamteev"),
),
)
#show outline.en... | |
https://github.com/Myriad-Dreamin/tinymist | https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/docs/tinymist/introduction.typ | typst | Apache License 2.0 | // dist/tinymist/rs
#import "mod.typ": *
#show: book-page.with(title: "Introduction")
Tinymist [ˈtaɪni mɪst] is an integrated language service for #link("https://typst.app/")[Typst] [taɪpst]. You can also call it "微霭" [wēi ǎi] in Chinese.
It contains:
- an analyzing library for Typst, see #link("https://github.com/M... |
https://github.com/elteammate/typst-compiler | https://raw.githubusercontent.com/elteammate/typst-compiler/main/src/lexer.typ | typst | /// Build a lexer with a given structure
///
/// The rules are represented by an array of pairs,
/// First element of each pair is a regular expression is used to
/// match tokens in the given source. Order of rules matters.
/// When extracting the token from source, the first rule is matched,
/// if match failed, then... | |
https://github.com/chubetho/Bachelor_Thesis | https://raw.githubusercontent.com/chubetho/Bachelor_Thesis/main/chapters/summary.typ | typst | = Summary
In this concluding chapter, the insights from @section_review and the key findings from the evaluation chapters are synthesized to address the two primary research questions of this study. Subsequently, a plan for future research is proposed to further explore and enhance the feasibility of adopting a micro ... | |
https://github.com/longlin10086/HITSZ-PhTyp | https://raw.githubusercontent.com/longlin10086/HITSZ-PhTyp/main/utils/image.typ | typst | #import "@preview/wrap-it:0.1.0": wrap-content
#import "../themes/theme.typ" : *
#let teacher_signature(
name,
images
) = {
set text(font: 字体.黑体, size: 字号.五号,lang: "zh", region: "cn")
let bold_name = strong(name)
let fig = image(
images,
height: 28pt,
fit: "contain",
)
wrap-content(
fig,
... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/minimalistic-latex-cv/0.1.0/README.md | markdown | Apache License 2.0 | # minimalistic-latex-cv
This is a Typst template for a minimalistic LaTeX-style CV. It provides a simple
structure for a CV with a header, a section for professional experience, a section
for education, and a section for skills and languages.
## Usage
You can use this template in the Typst web app by clicking "Start... |
https://github.com/lkoehl/typst-boxes | https://raw.githubusercontent.com/lkoehl/typst-boxes/main/lib.typ | typst | MIT License | #let box-colors = (
default: (stroke: luma(70), fill: white, title: white),
red: (stroke: rgb(237, 32, 84), fill: rgb(253, 228, 224), title: white),
green: (stroke: rgb(102, 174, 62), fill: rgb(235, 244, 222), title: white),
blue: (stroke: rgb(29, 144, 208), fill: rgb(232, 246, 253), title: white),
)
#let colo... |
https://github.com/monlie/WeeklyRCBI | https://raw.githubusercontent.com/monlie/WeeklyRCBI/main/README.md | markdown | MIT License | # WeeklyRCBI
WeeklyRCBI 是西安交大类脑中心的 Typst 周报模板,每位不再愿意忍受 Word 糟糕表现的同学都可以试一试。

## 简介
Typst 有 LaTex 一样强大的内容样式分离能力,同时还具备 Markdown 一样简单清晰的语法。只要把下面这段载入模板的代码放在开头,后面直接当记事本写都可以。
```typst
#import "weekly.typ": weekly
#show: doc => weekly(
doc,
author: "朱自清"... |
https://github.com/rice8y/cetzuron | https://raw.githubusercontent.com/rice8y/cetzuron/main/src/fcnn.typ | typst | #import "requirements.typ": *
#let fcnn(inputNodes, middleNodes, outputNodes, middleLayers: 3, label: true) = {
let inputTop = 3/4 * (inputNodes - 1)
let middleTop = 3/4 * (middleNodes - 1)
let outputTop = 3/4 * (outputNodes - 1)
let r = 0.5
let margin = -0.5
cetz.canvas({
import cetz.draw: *
set-... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/text/font-02.typ | typst | Other | // Error: 11-16 unexpected argument
#set text(false)
|
https://github.com/MattiaOldani/Teoria-dei-Linguaggi | https://raw.githubusercontent.com/MattiaOldani/Teoria-dei-Linguaggi/master/esercizi.typ | typst | // Setup
#import "template.typ": project
#show: project.with(
title: "Esercizi di teoria dei linguaggi"
)
#let medium-blue = rgb("#4DA6FF")
#let light-blue = rgb("#9FFFFF")
#let introduction(body) = block(
fill: medium-blue,
width: 100%,
inset: 8pt,
radius: 4pt,
body,
)
#let assignment(body) = block(
... | |
https://github.com/Its-Alex/resume | https://raw.githubusercontent.com/Its-Alex/resume/master/lib/languages.typ | typst | MIT License | #import "components/title.typ": customTitle
#let languages(title, languages) = [
#customTitle(title)
#grid(
columns: (50%, 50%),
gutter: 0pt,
row-gutter: 1.5em,
..languages.map((language) => [
#text(weight: 600)[#language.name] \
#text()[#language.level]
])
)
] |
https://github.com/ClazyChen/Table-Tennis-Rankings | https://raw.githubusercontent.com/ClazyChen/Table-Tennis-Rankings/main/history_CN/2019/MS-07.typ | typst |
#set text(font: ("Courier New", "NSimSun"))
#figure(
caption: "Men's Singles (1 - 32)",
table(
columns: 4,
[排名], [运动员], [国家/地区], [积分],
[1], [马龙], [CHN], [3637],
[2], [樊振东], [CHN], [3480],
[3], [林高远], [CHN], [3351],
[4], [许昕], [CHN], [3298],
[5], [梁靖崑], [CHN], [3283],
... | |
https://github.com/crd2333/crd2333.github.io | https://raw.githubusercontent.com/crd2333/crd2333.github.io/main/src/docs/AI/index.typ | typst | #import "/src/components/TypstTemplate/lib.typ": *
#show: project.with(
title: "Artificial Intelligence",
lang: "zh",
)
- AI 笔记 | |
https://github.com/voXrey/cours-informatique | https://raw.githubusercontent.com/voXrey/cours-informatique/main/typst/07-terminaison.typ | typst | #import "@preview/codly:0.2.1": *
#show: codly-init.with()
#codly()
#set text(font:"Roboto Serif")
= Terminaison de Programme <terminaison-de-programme>
#strong[Objectif :] Déterminer si un programme termine son exécution ou boucle indéfiniment.
```c
int f(int n) {
if (n % 2 == 0) f(n);
else return 1;
}
in... | |
https://github.com/cadojo/correspondence | https://raw.githubusercontent.com/cadojo/correspondence/main/src/options/options.typ | typst | MIT License | #let some(value) = value != none
|
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/packages/typst.node/npm/linux-x64-gnu/README.md | markdown | Apache License 2.0 | # `@myriaddreamin/typst-ts-node-compiler-linux-x64-gnu`
This is the **x86_64-unknown-linux-gnu** binary for `@myriaddreamin/typst-ts-node-compiler`
|
https://github.com/jeffa5/typstfmt | https://raw.githubusercontent.com/jeffa5/typstfmt/main/README.md | markdown | MIT License | # Typst formatter
`typstfmt` is a formatter for [Typst](https://typst.app) code.
It only formats inputs that are valid Typst code.
It aims to make the code consistent.
## Install
### Cargo
```sh
cargo install --git https://github.com/jeffa5/typstfmt
```
### Nix
The flake provides an overlay which you can use wit... |
https://github.com/thanhdxuan/dacn-report | https://raw.githubusercontent.com/thanhdxuan/dacn-report/master/datn-week-1/contents/04-bonus.typ | typst | = Những góp ý của hội đồng báo cáo đồ án chuyên ngành
== Xác định nhóm người dùng ứng dụng
_Vấn đề:_ Cần xác định nhóm người dùng cuối của hệ thống, có thể (Trong báo cáo chỉ xác định là nhà quản lý ngân hàng).
_Đề xuất của nhóm:_
Với những đặc tả của hệ thống hiện tại, nhóm người dùng hệ thống phải là những quản lý c... | |
https://github.com/The-Notebookinator/notebookinator | https://raw.githubusercontent.com/The-Notebookinator/notebookinator/main/docs/src/basic_usage.md | markdown | The Unlicense | # Basic Usage
Now that you have the Notebookinator installed, you can start notebooking.
## Setup
You can use our [template](https://github.com/The-Notebookinator/quick-start-template) either by creating a GitHub repository based on it with GitHub's official template feature, or just by downloading it. You can downl... |
https://github.com/gbrivady/typst-templates | https://raw.githubusercontent.com/gbrivady/typst-templates/main/report-long.typ | typst | /* Generic template for single-author long reports. WIP */
#let appendix(body) = {
set heading(numbering: "A.1", supplement: [Appendix])
counter(heading).update(0)
body
}
#let project(title: "", subtitle: "", author: "", language: "", body) = {
set document(author: author, title: title)
set text(lang: lang... | |
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/lift/identify.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: "Identify: Elevation",
type: "identify",
date: datetime(year: 2024, month: 1, day: 03),
author: "<NAME>",
witness: "<NAME>",
)
After the Capital Beltway Challenge, we d... |
https://github.com/coco33920/.files | https://raw.githubusercontent.com/coco33920/.files/mistress/typst_templates/fiction/main.typ | typst | #import "template.typ": *
#show: book.with(
title: "Liam's Playlist",
author: "<NAME>",
dedication: [for Rachel],
publishing-info: [
UK Publishing, Inc. \
6 Abbey Road \
Vaughnham, 1PX 8A3
#link("https://example.co.uk/")
971-1-XXXXXX-XX-X
],
)
= Mondays
Liam hated Mondays. He hated waki... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/ofbnote/0.2.0/ofb_note.typ | typst | Apache License 2.0 | #import "ofb_common.typ": *
#let todos=state("todos",())
// Todo generation
#let todo(who,what,when)={
if type(what)=="string" {
what=upper(what.at(0))+what.slice(1)
} else if type(what)=="content" {
what=eval(repr(what).replace(regex("\[."),it=>upper(it.text),count:1))
}
todos.update(it=>it+((who,wha... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/teig/0.1.0/README.md | markdown | Apache License 2.0 | # teig
This package provides an `eigenvalue` function that calculates the eigenvalues of a matrix.
```typst
#import "@preview/teig:0.1.0": eigenvalues
#let data = (
(1, 2, 3),
(4, 5, 6),
(7, 8, 9),
)
#let evals = eigenvalues(data)
The eigenvalues of
$
#math.mat(..data)
$
are approximately
$
#math.vec(..... |
https://github.com/katamyra/Notes | https://raw.githubusercontent.com/katamyra/Notes/main/Compiled%20School%20Notes/CS1332/Modules/PatternMatching.typ | typst | #import "../../../template.typ": *
= Pattern Matching
== Boyer Moore Algorithm
#definition[
*Last Occurrence Table*: records the index of the last occurrence of the letter.
We store it in a pair \<letter, index> in a hashmap, and letters not in the alphabet of the pattern as marked as null, or returned as -1 in... | |
https://github.com/alexanderkoller/typst-blinky | https://raw.githubusercontent.com/alexanderkoller/typst-blinky/main/examples/main.typ | typst | MIT License | #import "@preview/blinky:0.1.0": link-bib-urls
#let darkblue = rgb("000099")
#show cite: set text(fill: darkblue)
#show link: set text(fill: darkblue)
= Introduction
Let's cite:
- a conference paper (bibtex entry has both DOI and URL, DOI wins): @bender-koller-2020-climbing
- a journal paper (bibtex entry only has ... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/t4t/0.1.0/assert.typ | typst | Apache License 2.0 | // Asserts
#import "alias.typ"
#let that = assert
#let eq = assert.eq
#let ne = assert.ne
#let neq = assert.ne
#let not-none = assert.ne.with(none)
#let any( ..values, value, message:"" ) = assert(value in values.pos(), message:message)
#let not-any( ..values, value, message:"" ) = assert(value not in values.pos(),... |
https://github.com/mem-courses/calculus | https://raw.githubusercontent.com/mem-courses/calculus/main/homework-1/calculus-homework9.typ | typst | #import "../template.typ": *
#show: project.with(
title: "Calculus Homework #9",
authors: ((
name: "<NAME> (#47)",
email: "<EMAIL>",
phone: "3230104585"
),),
date: "November 28, 2023",
)
= P149 习题3-3 2(1)
#prob[写出 $f(x) = arcsin x$ 在 $x=0$ 处的三阶泰勒公式.]
$ f(x) = x + R_3(x) $
其中 $R_3 (x) = display((2... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/math/matrix-alignment-00.typ | typst | Other | // Test alternating alignment in a vector.
$ vec(
"a" & "a a a" & "a a",
"a a" & "a a" & "a",
"a a a" & "a" & "a a a",
) $
|
https://github.com/pku-typst/unilab | https://raw.githubusercontent.com/pku-typst/unilab/main/README.md | markdown | MIT License | # unilab
Typst Lab Report Template
## Local debugging
clone this repo into the [local package directory](https://github.com/typst/packages?tab=readme-ov-file#local-packages), notice that the version should be specified (e.g. `.../unilab/0.0.1/`)
## TODO
- [ ] en font support
- [ ] support school logo
|
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/cetz/0.3.0/src/polygon.typ | typst | Apache License 2.0 | #import "/src/vector.typ"
/// Returns a list of polygon points from
/// a list of segments.
///
/// Cubic segments get linearized by sampling.
///
/// - segment (array): List of segments
/// - samples (int): Number of samples
/// -> array
#let from-segments(segments, samples: 10) = {
import "/src/bezier.typ": cubic-... |
https://github.com/yichenchong/game_theory_cw1 | https://raw.githubusercontent.com/yichenchong/game_theory_cw1/main/report/README.md | markdown | # Report
This is the final paper from the coursework.
The paper is written in [Typst](https://typst.app) (a great modern alternative to LaTeX), using the AMS Maths template. | |
https://github.com/adamijak/typst-template | https://raw.githubusercontent.com/adamijak/typst-template/main/file.typ | typst | MIT License | = #lorem(3)
#lorem(96)
#figure(
image("./mmd/flow.mmd.png", width: 50%),
caption: [
Mermaid diagram
],
)
|
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compute/calc-16.typ | typst | Other | // Test the `calc` function.
#test(calc.pow(10, 0), 1)
#test(calc.pow(2, 4), 16)
|
https://github.com/kyanbasu/pwr-typst | https://raw.githubusercontent.com/kyanbasu/pwr-typst/main/README.md | markdown | MIT License | # pwr-typst
This repository contains tools for working with [typst](https://typst.app/) and extensions/templates specifically made for PWr (Wrocław University of Science and Technology).
# Utilities for working with typst
[Excel copy-paste to typst table](https://kyanbasu.github.io/pwr-typst/)
|
https://github.com/typst-doc-cn/tutorial | https://raw.githubusercontent.com/typst-doc-cn/tutorial/main/src/basic/scripting-scope-and-style.typ | typst | Apache License 2.0 | #import "mod.typ": *
#show: book.page.with(title: "内容与样式")
这是本章的最后一节。经过两节稍显枯燥的脚本教程,我们继续回到排版本身。
在#(refs.writing-markup)[《初识标记模式》]中,我们学到了很多各式各样的内容。我们学到了段落、标题、代码片段......
接着我们又花费了三节的篇幅,讲授了各式各样的脚本技巧。我们学到了字面量、变量、闭包......
但是它们之间似乎隔有一层厚障壁,阻止了我们进行更高级的排版。是了,如果「内容」也是一种值,那么我们应该也可以更随心所欲地使用脚本操控它们。Typst以排版为核心,应当也对「内容类型」有着精心设计。
... |
https://github.com/soul667/typst | https://raw.githubusercontent.com/soul667/typst/main/PPT/MATLAB/touying/docs/i18n/zh/docusaurus-plugin-content-docs/current/dynamic/cover.md | markdown | ---
sidebar_position: 4
---
# Cover 函数
正如您已经了解的那样,`uncover` 和 `#pause` 均会使用 `cover` 函数对不显示的内容进行遮盖。那么,这里的 `cover` 函数究竟是什么呢?
## 默认 Cover 函数:`hide`
`cover` 函数是保存在 `s.methods.cover` 的一个方法,后续 `uncover` 和 `#pause` 均会在这里取出 `cover` 函数来使用。
默认的 `cover` 函数是 [hide](https://typst.app/docs/reference/layout/hide/) 函数,这个函数能将内部的内... | |
https://github.com/Mouwrice/resume | https://raw.githubusercontent.com/Mouwrice/resume/main/modules/about_me.typ | typst | #import "../brilliant-CV/template.typ": *
#cvSection("About Me")
Hi, I am a master student in Computer Science Engineering at the university of Ghent with a bachelor in Computer Science. I have an interest in developing correct, secure, and efficient software and I am on the lookout for new experiences!
I was born a... | |
https://github.com/Toniolo-Marco/git-for-dummies | https://raw.githubusercontent.com/Toniolo-Marco/git-for-dummies/main/book/components/gh-button.typ | typst | #let dropdown_icon = "▼"
#let gh_button = (img,btn_text, fill_color, text_color, stroke_color, separator) =>{
box(
fill: rgb(fill_color),
inset: 7pt,
baseline: 35%,
radius: 4pt,
stroke: rgb(stroke_color)+1pt
)[
#stack(dir:ltr, spacing: 15pt,
image.decode(img,... | |
https://github.com/sabitov-kirill/comp-arch-conspect | https://raw.githubusercontent.com/sabitov-kirill/comp-arch-conspect/master/questions/3_functional_schemes.typ | typst | #heading[Функциональные схемы.]
#emph[Функциональные схемы. Комбинационные схемы (мультиплексор, демультиплексор, дешифратор, сумматоры). Последовательные схемы (RS-триггер, JK-триггер, T-триггер, D-триггер). Схемы для выполнения арифметических операций (каскадный сумматор, АЛУ).]
#set par(justify: true)
#import "/com... | |
https://github.com/VisualFP/docs | https://raw.githubusercontent.com/VisualFP/docs/main/SA/design_concept/content/poc/options_compiler_other.typ | typst | #import "../../../acronyms.typ": *
= Other Haskell Compiler-Platforms
Outside of the ubiquitous #ac("GHC"), described in @ghc, a few other Haskell
compilers were considered for this project. The most notable ones are:
_Hugs_, which is a compiler that provides an almost complete implementation
of Haskell 98 @hugs-com... | |
https://github.com/darkMatter781x/OverUnderNotebook | https://raw.githubusercontent.com/darkMatter781x/OverUnderNotebook/main/entries/entries.typ | typst | #include "./intro/intro.typ"
#include "./structure/structure.typ"
#include "./driver/driver.typ"
#include "./odom/odom.typ"
#include "./pros/pros.typ"
#include "./auton/disrupt/disrupt.typ"
#include "./auton/close-awp/close-awp.typ"
#include "./auton/far-awp/far-awp.typ"
#include "./auton/pre-skills/pre-skills.... | |
https://github.com/coljac/typst-dnd5e | https://raw.githubusercontent.com/coljac/typst-dnd5e/main/README.md | markdown | MIT License | # Typst DND5E template
This is a [Typst](https://typst.app) template for DND 5E content, suitable for [DMs Guild](https://www.dmsguild.com) and the like.
The template is called "dragonling" and can be imported as: `#import "@preview/dragonling:0.1.0": *`
See the [example](https://github.com/coljac/typst-dnd5e) which... |
https://github.com/fredguth/abnt-typst | https://raw.githubusercontent.com/fredguth/abnt-typst/main/cap3.typ | typst | #pagebreak(to:"odd")
= \... e o imaginário.
== Considerações teóricas
No livro *Campos do imaginário*, <NAME> (1996, p. 231) conceitua o imaginário como "museu, reserva de museu, do conjunto de todas as imagens passadas e possíveis produzidas pelo *homo sapiens sapiens*". Nessa mesma página, Durand afirma que o imag... | |
https://github.com/cherryblossom000/typst-apa-bibliography | https://raw.githubusercontent.com/cherryblossom000/typst-apa-bibliography/main/example/main.typ | typst | #import "@local/apa-bibliography:0.0.1": apa-bibliography
#set page(height: auto)
#let (reference: r, reference-with-page: rp, reference-date-only: rd, bibliography) = apa-bibliography(yaml("works.yml"))
Typst is really cool #r.typst-is-cool.
Here's another sentence where I'm going to reference another article with... | |
https://github.com/lublak/typst-echarm-package | https://raw.githubusercontent.com/lublak/typst-echarm-package/main/examples/mixed_charts.typ | typst | MIT License | #set page(width: 200mm, height: 150mm, margin: 0mm)
#import "../typst-package/lib.typ" as echarm
#echarm.render(width: 100%, height: 100%, options: (
xAxis: (
type: "category",
data: ("Val1", "Val2", "Val3", "Val4", "Val5", "Val6")
),
yAxis: (
type: "value"
),
series: (
(
data: (20, 330,... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-2460.typ | typst | Apache License 2.0 | #let data = (
("CIRCLED DIGIT ONE", "No", 0),
("CIRCLED DIGIT TWO", "No", 0),
("CIRCLED DIGIT THREE", "No", 0),
("CIRCLED DIGIT FOUR", "No", 0),
("CIRCLED DIGIT FIVE", "No", 0),
("CIRCLED DIGIT SIX", "No", 0),
("CIRCLED DIGIT SEVEN", "No", 0),
("CIRCLED DIGIT EIGHT", "No", 0),
("CIRCLED DIGIT NINE", "... |
https://github.com/frectonz/the-pg-book | https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/126.%20addiction.html.typ | typst | addiction.html
The Acceleration of Addictiveness
July 2010What hard liquor, cigarettes, heroin, and crack have in common is
that they're all more concentrated forms of less addictive predecessors.
Most if not all the things we describe as addictive are. And the
scary thing is, the process that created them is acceler... | |
https://github.com/DieracDelta/presentations | https://raw.githubusercontent.com/DieracDelta/presentations/master/polylux/book/src/utils/side-by-side.md | markdown | # Side by side
To make good use of the space on a slide, you will often want to place content
next to each other.
For convenience, Polylux provides the function `#side-by-side` for this purpose.
If you used
```typ
{{#include ../IMPORT.typ}}
```
you have it directly available.
Otherwise you can get if from the `utils` m... | |
https://github.com/DaAlbrecht/lecture-notes | https://raw.githubusercontent.com/DaAlbrecht/lecture-notes/main/computer_networks/protocols_protocol_layers.typ | typst | MIT License | #import "../template.typ": *
= Protocols and protocol layers
Communication in computer networks relies on the exchange of messages.
For effective communication, participants must understand each other, which is achieved through agreed-upon protocols.
These protocols exist at various layers, from low-level bit transmi... |
https://github.com/wyatt-feng/sustech-ug-thesis-typst | https://raw.githubusercontent.com/wyatt-feng/sustech-ug-thesis-typst/main/resources/template_en.typ | typst | Other | #import "@preview/tablex:0.0.8": tablex, rowspanx, colspanx
#let 字号 = (
初号: 42pt,
小初: 36pt,
一号: 26pt,
小一: 24pt,
二号: 22pt,
小二: 18pt,
三号: 16pt,
小三: 15pt,
四号: 14pt,
中四: 13pt,
小四: 12pt,
五号: 10.5pt,
小五: 9pt,
六号: 7.5pt,
小六: 6.5pt,
七号: 5.5pt,
小七: 5pt,
)
#let 字体 = (
仿宋: ("Times New Roman", ... |
https://github.com/1sSay/USPTU_conspects | https://raw.githubusercontent.com/1sSay/USPTU_conspects/main/src/math/Geometry.typ | typst | // Global settings and templates
#set text(14pt)
#let def(term, color: black) = {
box(stroke: color, inset: 7pt, text()[ #term ])
}
// Header
#align(center, heading(level: 1)[Математика \ Аналитическая геометрия])
#align(center, text(weight: "thin")[21.09.2024])
#align(center, text(weight: "thin")[Конспект Сайфуллин... | |
https://github.com/Mc-Zen/quill | https://raw.githubusercontent.com/Mc-Zen/quill/main/src/draw-functions.typ | typst | MIT License | // INTERNAL GATE DRAW FUNCTIONS
#import "utility.typ"
#import "arrow.typ"
#import "layout.typ"
// Default gate draw function. Draws a box with global padding
// and the gates content. Stroke and default fill are only applied if
// gate.box is true
#let draw-boxed-gate(gate, draw-params) = align(center, box(
... |
https://github.com/EricWay1024/Homological-Algebra-Notes | https://raw.githubusercontent.com/EricWay1024/Homological-Algebra-Notes/master/ha/c-gc.typ | typst | #import "../libs/template.typ": *
= Group (Co)homology
<group-cohomology>
== Definitions
#definition[
Let $G$ be a group. A *(left) $G$-module* is an abelian group $A$ together with a left group action $rho: G times A -> A$, with $rho(g, a)$ denoted as $g dot a$, such that
$
g dot (a_1 + a_2) = g dot a_1 + ... | |
https://github.com/sora0116/unix_seminar | https://raw.githubusercontent.com/sora0116/unix_seminar/master/presentation/template.typ | typst | #import "@preview/polylux:0.3.1"
#let slide-title = state("slide-title", [])
#let slide-author = state("slide-author", [])
#let slide-date = state("slide-date", datetime.today())
#let lr_margin = 40pt
#let colors = (rgb("#f6f6f6"), rgb("#d6e4f0"), rgb("#1e56a0"), rgb("#163172"))
#let full_block(bg: colors.at(0), body... | |
https://github.com/sabitov-kirill/comp-arch-conspect | https://raw.githubusercontent.com/sabitov-kirill/comp-arch-conspect/master/questions/12_parallel.typ | typst | #heading[Параллелизм.]
#emph[Параллелизм (MIMD, что такое SMT, SIMD, почему GPU это SIMD).]
#import "/commons.typ":imagebox
== Вводная терминология
#emph[Процесс] --- часть программы, запущенная на выполнение. Процессы в общем случае не имеют общего кода и общей памяти. Они достаточно независимы друг от друга.
#emph... | |
https://github.com/darkMatter781x/OverUnderNotebook | https://raw.githubusercontent.com/darkMatter781x/OverUnderNotebook/main/entries/intro/intro.typ | typst | #import "/packages.typ": notebookinator, gentle-clues
#import notebookinator: *
#import themes.radial.components: *
#import gentle-clues: *
#import themes.radial.components.icons
#import "/util.typ": qrlink
#show: create-body-entry.with(
title: "Introduction",
type: "notebook",
date: datetime(year: 1, month: 1,... | |
https://github.com/Enter-tainer/typstyle | https://raw.githubusercontent.com/Enter-tainer/typstyle/master/tests/assets/typstfmt/160-fletcher.typ | typst | Apache License 2.0 | #figure(
fletcher.diagram(
node-outset: .5em,
node-stroke: .075em,
node((+1, 0), [variable], radius: 3em), // test
node((+1.25, .75), [const], radius: 3em), // this is the second test
edge((0, 0), (+1, 0), "=>"),
edge((0.25, .75), (+1, 0), "->"),
edge((0.25, .75), (+1.25, .75), "=>"),
... |
https://github.com/Skimmeroni/Appunti | https://raw.githubusercontent.com/Skimmeroni/Appunti/main/C++/Introduzione/Casting.typ | typst | Creative Commons Zero v1.0 Universal | #import "@preview/showybox:2.0.1": showybox
Cosí come in (quasi) tutti i linguaggi di programmazione tipizzati, in C++ é
possibile fare *casting*, ovvero trasformare il tipo di dato di una variabile
in un tipo di dato diverso, purché compatibile. Alcuni cast sono *impliciti*,
ovvero dove il compilatore opera "dietro l... |
https://github.com/dark-flames/resume | https://raw.githubusercontent.com/dark-flames/resume/main/libs/trans.typ | typst | MIT License | #import "@preview/shiroa:0.1.0": is-web-target
#let multiLang(env, ..c) = {
let lang = env.at("x-lang", default: "en")
c.named().at(lang)
} |
https://github.com/Myriad-Dreamin/apollo-typst | https://raw.githubusercontent.com/Myriad-Dreamin/apollo-typst/main/content/posts/simple-se.md | markdown | +++
title = "笨蛋如何进行架构设计"
date = "2024-07-16"
[taxonomies]
tags=["software-engineering"]
[extra]
typst = "simple-se"
+++
| |
https://github.com/dainbow/MatGos | https://raw.githubusercontent.com/dainbow/MatGos/master/themes/definition.typ | typst | #import "../conf.typ": *
= Определения и формулировки
Тут собраны всякие общие определния, которые вас могут спросить и примерные идеи их доказательств
== $NN$
Вводим аксиоматически. То есть говорим,
#definition[
Если множесто $NN$ и функция $"Sc": NN -> NN$ удовлетворяют следующим аксиомам, то это множество н... | |
https://github.com/AnsgarLichter/hka-thesis-template | https://raw.githubusercontent.com/AnsgarLichter/hka-thesis-template/main/common/todo.typ | typst | #let todo(body) = [
#let rblock = block.with(stroke: red, radius: 0.5em, fill: red.lighten(80%))
#let top-left = place.with(top + left, dx: 1em, dy: -0.35em)
#block(inset: (top: 0.35em), {
rblock(width: 100%, inset: 1em, body)
top-left(rblock(fill: white, outset: 0.25em, text(fill: red)[*TODO*]))
})
<... | |
https://github.com/SWATEngineering/Docs | https://raw.githubusercontent.com/SWATEngineering/Docs/main/src/2_RTB/VerbaliInterni/VerbaleInterno_231201/meta.typ | typst | MIT License | #let data_incontro = "01-12-2023"
#let inizio_incontro = "08:30"
#let fine_incontro = "10:00"
#let luogo_incontro = "Discord" |
https://github.com/hchap1/typst-spell-check | https://raw.githubusercontent.com/hchap1/typst-spell-check/main/test.typ | typst | Here is some text with an equation $x^2 + 2x$, not to mention a spleling mitsake.
Here's a table:
#table(columns: 3,
[a],[b],[c],
[1],[2],[3]
))
| |
https://github.com/avtarted/notes | https://raw.githubusercontent.com/avtarted/notes/main/math/sumofpowersoftwo.typ | typst | #set math.equation(numbering: "(1)")
= Sums of Powers Of Two
== Introduction
My goal is to explore the following relation:
$ 1 + 2 + 4 + 8 + .... + 2^n = 2^(n+1) - 1 | n in NN $ <goal>
I'll prove this using 4 different approaches.
Merely proving this equation to be true is not enough for me.
I want to receive and pro... | |
https://github.com/akshat2602/resume | https://raw.githubusercontent.com/akshat2602/resume/master/Akshat_Sharma_Resume.typ | typst | #import "template.typ": *
#let cvdata = yaml("data.yml")
#let uservars = (
headingfont: "New Computer Modern",
bodyfont: "New Computer Modern",
fontsize: 12pt, // 10pt, 11pt, 12pt
linespacing: 7pt,
sectionspacing: 1pt,
showAddress: true, // true/false show address in contact info
showNumb... | |
https://github.com/Myriad-Dreamin/tinymist | https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/type_check/infer2.typ | typst | Apache License 2.0 | #text(size: 1pt, font: (), stroke: 1pt, fill: red)[]
#path(fill: red, stroke: red)
#line(angle: 1deg, length: 1pt, stroke: red)
#rect(width: 1pt, height: 1pt, fill: red, stroke: red, radius: 1pt, inset: 1pt, outset: 1pt)
#ellipse(fill: red, stroke: red)
#circle(fill: red, stroke: red)
#box(fill: red, stroke: red)
#bloc... |
https://github.com/typst-community/setup-typst | https://raw.githubusercontent.com/typst-community/setup-typst/main/test/requirements.typ | typst | MIT License | #import "@preview/example:0.1.0": *
|
https://github.com/maxds-lyon/lokiprint | https://raw.githubusercontent.com/maxds-lyon/lokiprint/main/templates/typst/.template/experiences.typ | typst |
#import "@preview/splash:0.3.0": tailwind
#import "@preview/cmarker:0.1.0"
#import "./shared/flex.typ": *
#import "./shared/sizes.typ": scale
#let card-padding = 24pt
#let experience-block(
content,
) = block(
inset: card-padding,
radius: 16pt,
fill: tailwind.slate-100,
)[
#flex(
gap: 24pt,
[
... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/bone-resume/0.1.0/lib.typ | typst | Apache License 2.0 | #let resume-init(title: none, author: "六个骨头", footer: none, body) = {
set document(author: author, title: title)
set page(margin: (x: 4em, y: 5em), footer: footer)
set box(fill: color.hsv(240deg, 10%, 100%), inset: 5pt, radius: 3pt)
set text(
font: ("Hack Nerd Font", "Source Han Sans"),
lang: "zh",
)
... |
https://github.com/cloudsftp/blimm.typ | https://raw.githubusercontent.com/cloudsftp/blimm.typ/latest/blimm.typ | typst | #import "@preview/letter-pro:2.1.0": letter-simple
#let blimm(
annotations: "",
recipient: (
company: "energiesandsuch",
name: "<NAME>",
street: "Kirchstraße 1",
city: "70563 Stuttgart"
),
reference-signs: (),
date: datetime.today(),
date-format: "[year]-[month]-[day]",
subject: "Empty Su... | |
https://github.com/vEnhance/1802 | https://raw.githubusercontent.com/vEnhance/1802/main/src/partial.typ | typst | MIT License | #import "@local/evan:1.0.0":*
= Partial derivatives <sec-partial-derivative>
== [TEXT] The point of differentiation is linear approximation
In 18.01, when $f : RR -> RR$, you defined a *derivative* $f'(p)$ at each input $p in RR$,
which you thought of as the *slope* of the *tangent line* at $p$.
Think $f(5.01) appro... |
https://github.com/npikall/vienna-tech | https://raw.githubusercontent.com/npikall/vienna-tech/main/README.md | markdown | The Unlicense | # The `vienna-tech` Template
<div align="center">Version 0.1.1</div>
This is a template, modeled after the LaTeX template provided by the Vienna University of Technology for Engineering Students. It is intended to be used as a starting point for writing Bachelor's or Master's theses, but can be adapted for other purpo... |
https://github.com/typst-community/setup-hayagriva | https://raw.githubusercontent.com/typst-community/setup-hayagriva/main/README.md | markdown | MIT License | # Setup Hayagriva
🏷️ Installs [the Hayagriva CLI](https://github.com/typst/hayagriva#installation) for GitHub Actions
<table align=center><td>
```yaml
- uses: jcbhmr/setup-hayagriva@v1
- run: hayagriva literature.yml reference --style apa
```
</table>
✅ Installs the `hayagriva` CLI globally \
📌 Supports version ... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/hydra/0.1.0/src/lib.typ | typst | Apache License 2.0 | #import "/src/default.typ"
#let hydra(
sel: heading,
getter: default.get-adjacent,
prev-filter: default.prev-filter,
next-filter: default.next-filter,
display: default.display,
resolve: default.resolve,
is-footer: false,
) = locate(loc => resolve(
sel: sel,
getter: getter,
prev-filter: prev-f... |
https://github.com/Jollywatt/typst-fletcher | https://raw.githubusercontent.com/Jollywatt/typst-fletcher/master/tests/hiding/test.typ | typst | MIT License | #set page(width: auto, height: auto, margin: 1em)
#import "/src/exports.typ" as fletcher: diagram, node, edge
= Hiding
#rect(inset: 0pt, diagram({
node((0,0), [Can't see me])
edge("->", bend: 20deg)
node((1,1), [Can see me])
}))
#rect(inset: 0pt, diagram({
fletcher.hide({
node((0,0), [Can't see me])
edge("->... |
https://github.com/Shuenhoy/modern-zju-thesis | https://raw.githubusercontent.com/Shuenhoy/modern-zju-thesis/master/examples/graduate-general.typ | typst | MIT License | #import "../lib.typ": graduate-general
#import graduate-general: *
#let info = (
title: ("毕业论文/设计题目", ""),
title-en: ("Graduation Thesis Title", ""),
grade: "2014级",
student-id: "学号",
author: "姓名",
department: "学院",
major: "专业",
degree: "博士",
supervisor: "指导教师",
submit-date: "递交日期",
)
#let doc = g... |
https://github.com/Fr4nk1inCs/typreset | https://raw.githubusercontent.com/Fr4nk1inCs/typreset/master/readme.md | markdown | MIT License | # Typreset (W.I.P.)
A collection of [Typst](https://typst.app) presets to provide a starting point for your writing.
Available presets:
- `font.set-font()`: Chinese & English Font support.
- `homework`: Homework template with `simple_question` and `complex_question` frame to write your homework.
- `report`: Report t... |
https://github.com/QuadnucYard/cpp-coursework-template | https://raw.githubusercontent.com/QuadnucYard/cpp-coursework-template/main/template.typ | typst | #import "cody.typ": *
#import "font.typ": fonts
#let indent = h(2em)
#let unindent = h(-2em)
#let fake_par = {
v(-1em)
box()
}
#let indent-state = state("indent", false)
#let make-style(
leading: 0.8em,
justify: false,
first-line-indent: true,
) = (
leading: leading,
justify: justify,
first-line-in... | |
https://github.com/tuto193/typst-uos-thesis | https://raw.githubusercontent.com/tuto193/typst-uos-thesis/main/README.md | markdown | MIT License | # typst-uos-thesis
This is a [typst](https://typst.app/) that follows a general set of formatting requirements. It is partly based on [typst-uwthesis](https://github.com/yangwenbo99/typst-uwthesis/tree/master)
(which itself bases on [simple-typst-thesis](https://github.com/zagoli/simple-typst-thesis).
I personally us... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/string-04.typ | typst | Other | // Test the `at` method.
#test("Hello".at(1), "e")
#test("Hello".at(4), "o")
#test("Hello".at(-1), "o")
#test("Hello".at(-2), "l")
#test("Hey: 🏳️🌈 there!".at(5), "🏳️🌈")
|
https://github.com/Mc-Zen/pillar | https://raw.githubusercontent.com/Mc-Zen/pillar/main/tests/examples/piano-keys/test.typ | typst | MIT License | #set page(width: auto, height: auto, margin: 1pt)
#import "/src/pillar.typ"
#let clr = if "dark" in sys.inputs { white } else { black }
#set page(fill: white) if clr == black
#set text(fill: clr)
#set table.hline(stroke: clr)
#set table.vline(stroke: clr)
#table(
..pillar.cols("c|ccc|r"),
[Piano Key], [MIDI Nu... |
https://github.com/sses7757/sustech-graduated-thesis | https://raw.githubusercontent.com/sses7757/sustech-graduated-thesis/main/sustech-graduated-thesis/utils/math-utils.typ | typst | Apache License 2.0 | #let svec(cont) = {
$accent(#cont, ->, size: #75%)$
}
#let _empty-l = math.class("opening", [])
#let _empty-r = math.class("closing", [])
#let sfrac(num, denom) = {
$lr(#_empty-l #num mid(\/) #denom #_empty-r)$
}
#let hide(value) = context h(measure(value).width) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.