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/tinymist | https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/signature/builtin.typ | typst | Apache License 2.0 | #(/* ident after */ rgb);
|
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/layout/enum-numbering-01.typ | typst | Other | // Test full numbering.
#set enum(numbering: "1.a.", full: true)
+ First
+ Nested
|
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-2E00.typ | typst | Apache License 2.0 | #let data = (
("RIGHT ANGLE SUBSTITUTION MARKER", "Po", 0),
("RIGHT ANGLE DOTTED SUBSTITUTION MARKER", "Po", 0),
("LEFT SUBSTITUTION BRACKET", "Pi", 0),
("RIGHT SUBSTITUTION BRACKET", "Pf", 0),
("LEFT DOTTED SUBSTITUTION BRACKET", "Pi", 0),
("RIGHT DOTTED SUBSTITUTION BRACKET", "Pf", 0),
("RAISED INTERPOL... |
https://github.com/Wh4rp/Presentacion-Typst | https://raw.githubusercontent.com/Wh4rp/Presentacion-Typst/master/ejemplos/4_image.typ | typst | Y con ustedes, la #text(blue)[capybara] más famosa de #text(blue)[Typst]
#image("../src/capybara.jpg", width: 50%)" | |
https://github.com/yhtq/Notes | https://raw.githubusercontent.com/yhtq/Notes/main/抽象代数/作业/hw7.typ | typst | #import "../../template.typ": *
// Take a look at the file `template.typ` in the file panel
// to customize this template and discover how it works.
#show: note.with(
title: "作业7",
author: "YHTQ ",
date: none,
logo: none,
withOutlined: false
)
= 1.
#answer[
+ 对 $d$ 做素因数分解,得:
$
d = p_1^(al... | |
https://github.com/ludwig-austermann/typst-ouset | https://raw.githubusercontent.com/ludwig-austermann/typst-ouset/main/CHANGELOG.md | markdown | MIT License | # Version 0.2
- fixed an issue with typst version 0.11+.
- exchanged styles usage to context usage as intended for typst v0.11+
- improved readme |
https://github.com/OverflowCat/BUAA-Digital-Image-Processing-Sp2024 | https://raw.githubusercontent.com/OverflowCat/BUAA-Digital-Image-Processing-Sp2024/master/expt01/blockcode.typ | typst | #import "@preview/codelst:2.0.1": sourcecode
#import "@preview/showybox:2.0.1": showybox
#let bc = (body, filename: "", type: "normal") => {
let color = {
if type == "wrong" {
red.lighten(92%)
} else if type == "right" {
green.lighten(92%)
} else {
black.lighten(98%)
}
}
showyb... | |
https://github.com/Mufanc/hnuslides-typst | https://raw.githubusercontent.com/Mufanc/hnuslides-typst/master/utils/fonts.typ | typst | #let font = (
FZHT: "FZHei-B01S", // 方正黑体
FZKT: "FZKai-Z03S", // 方正楷体
HYSH: "HYShuHunJ", // 汉仪书魂
HYYK: "HYYanKaiF", // 汉仪颜楷
HYZK: "HYZhongKaiJ", // 汉仪中楷
MSYH: "Microsoft YaHei", // 微软雅黑
GYGK: "YeGenYouGuKeTi3.0", // 叶根友古刻体
KABEL: "Kabel" ... | |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/009%20-%20Born%20of%20the%20Gods/006_The%20Walls%20of%20Akros.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"The Walls of Akros",
set_name: "Born of the Gods",
story_date: datetime(day: 26, month: 02, year: 2014),
author: "<NAME>",
doc
)
#figure(image("006_The Walls of Akros/01.jpg", width: 100%), caption: [Peregrination | Art by Jonas De Ro], sup... | |
https://github.com/Myriad-Dreamin/tinymist | https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/modules/may_import.typ | typst | Apache License 2.0 | // path: base.typ
-----
// this may happens in cetz
#let evil_import() = import "base.typ"
|
https://github.com/herbertskyper/HITsz_Proposal_report_Template | https://raw.githubusercontent.com/herbertskyper/HITsz_Proposal_report_Template/main/README.md | markdown | MIT License | ## ⚠️ 警告
本模板仅适合尝鲜 Typst 特性,暂不适用于正式的写作
## 1.用途
本项目适用于哈尔滨工业大学(深圳)大一立项项目的开题报告,是typst模板
## 2.使用方法
clone本项目后在Vscode中安装Typst LSP和Typst Prview后直接预览main.typ即可
本项目提供两种立项报告(第二部分)的页面,一种是`#block_content`,可以跟随文本调整页面框的高矮(默认),第二种是`#rect_content`,可以自定义页面框的大小
## 3.待解决问题
1.中文无法加粗的问题(现官方已支持)
2.封装以简化main.typ
3.美化
## 4.参考项目
https:/... |
https://github.com/crd2333/crd2333.github.io | https://raw.githubusercontent.com/crd2333/crd2333.github.io/main/src/components/TypstTemplate/template.typ | typst | #import "/src/components/TypstTemplate/lib.typ": *
#show: project.with(
title: "",
lang: "zh",
) | |
https://github.com/pku-typst/unilab | https://raw.githubusercontent.com/pku-typst/unilab/main/template.typ | typst | MIT License | #import "@preview/chic-hdr:0.4.0": *
#import "@preview/unify:0.4.3": *
#import "@preview/linguify:0.4.0": *
#import "@preview/oxifmt:0.2.0": strfmt
#import "titlepage.typ": title-page
#let 宋体 = "SimSun"
#let 黑体 = "SimHei"
#let TITLE-FONT = 黑体
#let SUBTITLE-FONT = 黑体
#let TEXT-FONT = 宋体
#let supportedLanguages = ("z... |
https://github.com/Mufanc/hnuthss-template | https://raw.githubusercontent.com/Mufanc/hnuthss-template/main/pages/substance.typ | typst | #import "@preview/i-figured:0.2.4"
#import "/configs.typ": font, fontsize
#import "/components.typ": paragraph, fp, rfp, hstack
#let number(..nums) = [
#text(
// 略微放大编号字体以适应 Word 中的视觉效果
size: 1.05em,
// 一级标题编号需要加粗
weight: if nums.pos().len() == 1 { "bold" } else { "regular" } ,
... | |
https://github.com/stephane-klein/asdf-typst | https://raw.githubusercontent.com/stephane-klein/asdf-typst/main/contributing.md | markdown | MIT License | # Contributing
Testing Locally:
```shell
asdf plugin test <plugin-name> <plugin-url> [--asdf-tool-version <version>] [--asdf-plugin-gitref <git-ref>] [test-command*]
asdf plugin test typst https://github.com/stephane-klein/asdf-typst.git "typst --help"
```
Tests are automatically run in GitHub Actions on push and P... |
https://github.com/yan-aint-nickname/uni | https://raw.githubusercontent.com/yan-aint-nickname/uni/main/oop-matrix-cli/diagrams/count_values.typ | typst | MIT License | // https://xkcd.com/1195/
#import "@preview/fletcher:0.4.3" as fletcher: diagram, node, edge
#import fletcher.shapes: diamond, parallelogram
#set text(font: "Comic Neue", weight: 600)
#let count_values = diagram(
node-stroke: 1pt,
edge-stroke: 1pt,
node((0,0), [Посчитать кол-во элементов\ матриц A, B больше D, ... |
https://github.com/kdog3682/mathematical | https://raw.githubusercontent.com/kdog3682/mathematical/main/0.1.0/src/fletcher-canvas.typ | typst | #import "@preview/fletcher:0.5.0" as fletcher: edge, cetz
#let CANVAS_LENGTH = 1cm
#let node(a, b, ..sink) = {
let kwargs = sink.named()
let pos = sink.pos()
let c = a * CANVAS_LENGTH
let d = b * CANVAS_LENGTH
let location = (c, d)
fletcher.node(location, ..pos, ..kwargs)
}
#let cetz-renderer(items) = {
... | |
https://github.com/Functional-Bus-Description-Language/Specification | https://raw.githubusercontent.com/Functional-Bus-Description-Language/Specification/master/src/overview.typ | typst | = Overview
== Scope
This document specifies the syntax and semantics of the Functional Bus Description Language (FBDL).
== Purpose
This document is intended for the implementers of tools supporting the language and for users of the language.
The focus is on defining the valid language constructs, their meanings and... | |
https://github.com/RiccardoTonioloDev/Bachelor-Thesis | https://raw.githubusercontent.com/RiccardoTonioloDev/Bachelor-Thesis/main/preface/acknowledgements.typ | typst | Other | #import "../config/variables.typ" : profTitle, myProf, myLocation, myTime, myName
#import "../config/constants.typ" : acknlowledgements
#set par(first-line-indent: 0pt)
#set page(numbering: none)
#pagebreak(to: "odd")
#let acknowledgements_content() = {
align(right, [
#text(style: "italic", [Ogni mattina, alzand... |
https://github.com/vsheg/intermediate-ml | https://raw.githubusercontent.com/vsheg/intermediate-ml/main/05-exploratory/01-pca.typ | typst | #import "@preview/physica:0.9.3": *
#import "../defs.typ": *
#import "../template.typ": *
#show: template
= Principal Component Analysis (PCA)
== Intro
#note(
title: [Сrumbs on the floor],
)[
Each data point is represented by three coordinates $x, y, z$, but $z$ is always $0$.
Therefore, the data can be repre... | |
https://github.com/ilsubyeega/circuits-dalaby | https://raw.githubusercontent.com/ilsubyeega/circuits-dalaby/master/Type%201/1/mod.typ | typst | #include "4.typ"
#include "14.typ"
#include "15.typ"
#include "18.typ"
#include "25.typ" | |
https://github.com/protohaven/printed_materials | https://raw.githubusercontent.com/protohaven/printed_materials/main/class-handouts/class-laser_101-basic_operation.typ | typst |
#import "/meta-environments/env-templates.typ": *
#show: doc => class_handout(
title: "Basic Operation",
category: "Laser",
number: "101",
clearances: ("Rabbit Large Format Laser",),
instructors: ("Someone",),
authors: ("<NAME> <<EMAIL>>",),
draft: true,
doc
)
// Content goes here
= Welcome
Welcom... | |
https://github.com/Wuvist/typstnotes | https://raw.githubusercontent.com/Wuvist/typstnotes/main/pandoc_tpl.typ | typst | // Some definitions presupposed by pandoc's typst output.
#let blockquote(body) = [
#set text( size: 0.92em )
#block(inset: (left: 1.5em, top: 0.2em, bottom: 0.2em))[#body]
]
#let horizontalrule = [
#line(start: (25%,0%), end: (75%,0%))
]
#let endnote(num, contents) = [
#stack(dir: ltr, spacing: 3p... | |
https://github.com/shenxiangzhuang/typst-cn-book | https://raw.githubusercontent.com/shenxiangzhuang/typst-cn-book/master/template/chapters/chap1.typ | typst | MIT License | #import "../../lib.typ": amazed
= Tpyst环境安装 <chapter1>
@chapter1[章节]介绍本地配置#amazed[Tpyst]环境,
#lorem(30)
== Linux系统安装
TODO
#lorem(100)
== Mac系统安装
TODO
#lorem(100)
|
https://github.com/wagaaa/HZAU_Typst | https://raw.githubusercontent.com/wagaaa/HZAU_Typst/main/main.typ | typst | MIT License | #import "dependents/style.typ": *
#import "dependents/figures.typ": *
#import "dependents/appendix.typ": *
#show: project.with(
title: "论文标题",
title_en: "Title",
degree: "硕士",
class: "2222",
abstract_cn: "为进一步规范学位(毕业)论文写作和装订,促进研究生学位(毕业)论文形式标准化,特制订本规范,其各项要求适用于答辩前后的论文,各位研究生在论文写作时务必认真阅读,严格执行。论文组成:一本完整的论文包括:封面、扉... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/ttt-utils/0.1.0/lib/grading.typ | typst | Apache License 2.0 | #import "assignments.typ": get-questions, _question_counter
/// Fetch the total points which can be reached from the questions metadata
/// ! needs context.
///
/// -> integer
#let total-points() = get-questions().map(q => q.points).sum(default: 0)
/// Sums up all question points, grouped by assignments.
/// ! needs... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/show-bare-05.typ | typst | Other | // Error: 6 expected colon
#show it => {}
|
https://github.com/christopherkenny/typst-function | https://raw.githubusercontent.com/christopherkenny/typst-function/main/README.md | markdown | Other | # typst-function Extension For Quarto
`typst-function` is a designed to be an analogous extension to Quarto's `latex-filter` extension [(quarto-ext/latex-environment)](https://github.com/quarto-ext/latex-environment).
It allows `divs` and `spans` to be converted to `typst` functions from within Quarto.
The syntax is s... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/touying/0.1.0/lib.typ | typst | Apache License 2.0 | #import "slide.typ": s, pause
#import "utils/utils.typ"
#import "utils/states.typ"
#import "utils/pdfpc.typ"
#import "themes/themes.typ" |
https://github.com/remigerme/typst-polytechnique | https://raw.githubusercontent.com/remigerme/typst-polytechnique/main/CONTRIBUTING.md | markdown | MIT License | # Contributing to the package or template
You can simply fork this repo and work on it on your own. Feel free to PR if this repo is still active !
If you plan to distribute your version of the package, please make sure you pay respect to both [Typst packages guidelines](https://github.com/typst/packages?tab=readme-ov... |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/002%20-%20Return%20to%20Ravnica/002_The%20Shadows%20of%20Prahv%2C%20Part%202.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"The Shadows of Prahv, Part 2",
set_name: "Return to Ravnica",
story_date: datetime(day: 05, month: 09, year: 2012),
author: "<NAME>",
doc
)
Javy's cryptic note led Relov to a disreputable tenement building. Fourth floor. East End. Javy was ... | |
https://github.com/brainworkup/neurotyp-adult | https://raw.githubusercontent.com/brainworkup/neurotyp-adult/main/_extensions/neurotyp-adult/typst-show.typ | typst | MIT License | #show: report.with(
$if(title)$
title: "$title$",
$endif$
$if(name)$
name: [$name$],
$endif$
$if(doe)$
doe: [$doe$],
$endif$
$if(patient)$
patient: [$patient$],
$endif$
$if(papersize)$
paper: "$papersize$",
$endif$
$if(mainfont)$
font: ("$mainfont$"),
$endif$
$if(bodyfont)$
body-font: ("$bodyfont$"),
$end... |
https://github.com/Wybxc/typst-nix | https://raw.githubusercontent.com/Wybxc/typst-nix/main/README.md | markdown | Apache License 2.0 | # Typst in Nix


[](https://github.com/Wybxc/typst-nix/actions/workflows/test.yml)
Typst's humble yet comprehensive... |
https://github.com/7sDream/fonts-and-layout-zhCN | https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/chapters/03-unicode/store/store.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 data is stored
== 数据如何储存
// When computers store data in eight-bit bytes, representing numbers from 0 to 255, and your character set contains fewer than 255... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/quetta/0.1.0/src/quetta.typ | typst | Apache License 2.0 | #import "quenya.typ": quenya
|
https://github.com/MrToWy/Bachelorarbeit | https://raw.githubusercontent.com/MrToWy/Bachelorarbeit/master/Code/degree.controller.typ | typst | #import("../Template/customFunctions.typ"): *
#codly(
highlights:(
(line:0, fill:blue, label: <apiTags>),
(line:1, fill:green, label: <controllerDecorator>),
(line:7, fill:yellow, label: <getDecorator>),
),
annotations:(
(start: 3, end: 5, label: <constructor>),
)
)
```ts
@ApiTags('Degrees')
@Controller('degr... | |
https://github.com/yonatankremer/matrix-utils | https://raw.githubusercontent.com/yonatankremer/matrix-utils/main/src/lib.typ | typst | MIT License | // TODO - import non underscore methods only, either manually or by scripting
#import "complex.typ": *
#import "matrix.typ": *
|
https://github.com/TGM-HIT/typst-diploma-thesis | https://raw.githubusercontent.com/TGM-HIT/typst-diploma-thesis/main/template/lib.typ | typst | MIT License | #import "@preview/tgm-hit-thesis:0.2.0": *
#import "assets.typ"
|
https://github.com/Quaternijkon/notebook | https://raw.githubusercontent.com/Quaternijkon/notebook/main/content/数据结构与算法/.chapter-数据结构/数组/轮转数组.typ | typst | #import "../../../../lib.typ":*
=== #Title(
title: [轮转数组],
reflink: "https://leetcode.cn/problems/rotate-array/description/",
level: 2,
)<轮转数组>
#note(
title: [
轮转数组
],
description: [
给定一个整数数组 nums,将数组中的元素向右轮转 k 个位置,其中 k 是非负数。
],
examples: ([
输入: nums = [1,2,3,4,5,6,7], k = 3
输出: [5,6,7,1,2,3,4]
解释... | |
https://github.com/yhtq/Notes | https://raw.githubusercontent.com/yhtq/Notes/main/机器学习数学导引/main.typ | typst | #import "../template.typ": proof, note, corollary, lemma, theorem, definition, example, remark
#import "../template.typ": *
#show: note.with(
title: "机器学习数学导引",
author: "YHTQ",
date: datetime.today().display(),
logo: none,
withChapterNewPage: true
)
= 前言
- 教师:吴磊(<EMAIL>)
- 成绩:作业 40% + 大作业 60%(两到三人组)
- ... | |
https://github.com/floriandejonckheere/utu-thesis | https://raw.githubusercontent.com/floriandejonckheere/utu-thesis/master/thesis/figures/05-modular-monolith/distributedness.typ | typst | #import "@preview/cetz:0.2.2"
#set text(font: "Fira Sans", size: 7pt)
#cetz.canvas(length: 0.45cm, {
import cetz.draw: *
set-style(
content: (padding: .2),
stroke: black
)
rect(
(0, 0), (5, 5),
fill: red.lighten(90%),
stroke: none,
name: "traditional_monolith")
content("traditional... | |
https://github.com/mattfbacon/typst-egui | https://raw.githubusercontent.com/mattfbacon/typst-egui/main/README.md | markdown | Creative Commons Zero v1.0 Universal | # Typst + Egui
Very restricted proof-of-concept for showing Typst documents inside egui.
## License
CC0
|
https://github.com/FurryAcetylCoA/sgu-thesis-typst | https://raw.githubusercontent.com/FurryAcetylCoA/sgu-thesis-typst/main/nju-thesis/templates/acknowledgement.typ | typst | MIT License | #import "../utils/style.typ": 字号, 字体
// 致谢页
#let acknowledgement(
// documentclass 传入参数
fonts: (:),
anonymous: false,
twoside: false,
// 其他参数
title: "致谢",
outlined: true,
body,
) = {
fonts = 字体 + fonts
if (not anonymous) {
counter(heading).update(0)
pagebreak(weak: true, to: if twoside { "o... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/fletcher/0.1.1/src/main.typ | typst | Apache License 2.0 | #import calc: floor, ceil, min, max
#import "utils.typ": *
#import "layout.typ": *
#import "draw.typ": *
/// Draw a labelled node in an arrow diagram.
///
/// - pos (point): Dimensionless "elastic coordinates" `(x, y)` of the node,
/// where `x` is the column and `y` is the row (increasing upwards). The
/// coordina... |
https://github.com/Kasci/LiturgicalBooks | https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/CU/minea/1_generated/00_all/08_april.typ | typst | #import "../../../all.typ": *
#show: book
= #translation.at("M_08_april")
| |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/keyle/0.1.0/src/keyle.typ | typst | Apache License 2.0 | #import "sym.typ": com-key, mac-key
#let _inset = 4pt
#let _outset = 2pt
#let _radius = 3pt
#let _kbd-stardard-style(sym) = box(rect(
inset: (x: _inset),
outset: (top: _outset),
stroke: rgb("#555"),
radius: _radius,
fill: rgb("#eee"),
text(fill: black, sym),
))
#let _kbd-deep-blue-style(sym) = box(rect(
... |
https://github.com/LucaCiucci/tesi-triennale | https://raw.githubusercontent.com/LucaCiucci/tesi-triennale/main/main.typ | typst | Creative Commons Zero v1.0 Universal | #import "slide.typ": *
#import "@preview/pinit:0.1.3": *
#set text(size: 9pt)
#set math.equation(supplement: "Eq.")
//#show math.equation: set text(9pt)
#set document(
title: title,
author: (
"<NAME>",
"Prof. <NAME>",
),
date: data-laurea,
)
#set text(lang: "it")
// =================================... |
https://github.com/mumblingdrunkard/mscs-thesis | https://raw.githubusercontent.com/mumblingdrunkard/mscs-thesis/master/src/utils/setup.typ | typst | #import "./latex.typ" as latex
#import "./acronyms.typ" as acronyms
#import "./config.typ" as config
#let setup = body => {
set text(size: 10pt)
set text(font: config.font)
set par(justify: true)
set par(linebreaks: "optimized")
//set par(first-line-indent: 1em, leading: .65em)
//show par: set block(spacin... | |
https://github.com/maxgraw/bachelor | https://raw.githubusercontent.com/maxgraw/bachelor/main/apps/document/src/1-introduction/goal.typ | typst | Das primäre Ziel dieser Arbeit besteht darin, eine Augmented Reality-Konstruktionsumgebung für Möbelsysteme zu konzipieren und zu entwickeln, die auf der WebXR-Technologie basiert. Die Anwendung soll es hierbei ermöglichen, Modelle in einer Augmented Reality-Umgebung zu visualisieren und mit diesen zu interagieren. Es ... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/matrix-alignment_05.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Test #460 equations.
#let stop = {
math.class("punctuation",$.$)
}
$ mat(&a+b,c;&d, e) $
$ mat(&a+b&,c;&d&, e) $
$ mat(&&&a+b,c;&&&d, e) $
$ mat(stop &a+b&stop,c;...stop stop&d&...stop stop, e) $
|
https://github.com/cskeeters/novela-typst | https://raw.githubusercontent.com/cskeeters/novela-typst/master/test.typ | typst | = Display Regular
#text(font:"Novela")[ABC] (Should have lower contrast strokes than the line below)
#text(font:"NovelaDisplay")[ABC]
= Display Italic
#text(font:"Novela", style:"italic")[ABC] (Should have lower contrast strokes than the line below)
#text(font:"NovelaDisplay", style:"italic")[ABC]
= Ornaments
#te... | |
https://github.com/kokkonisd/typst-cross | https://raw.githubusercontent.com/kokkonisd/typst-cross/main/src/lib.typ | typst | The Unlicense | #import "preprocessing.typ": *
#import "board.typ": *
#import "clues.typ": *
// Produce a single-page crossword.
//
// Parameters:
// - `data`: the data loaded from the crossword's TOML file. See `preprocessing.typ`.
// - `show-solution`: if `true`, show the solution to the crossword.
// - `show-cell-coordinates`: if... |
https://github.com/yhtq/Notes | https://raw.githubusercontent.com/yhtq/Notes/main/并行与分布式计算/上机报告/上机报告1.typ | typst | #import "../../template.typ": *
// Take a look at the file `template.typ` in the file panel
// to customize this template and discover how it works.
#show: note.with(
title: "并行与分布式计算 第一次报告",
author: "郭子荀 2100012990",
date: datetime.today().display(),
logo: none,
withOutlined : false,
)
= 计算任务与实现方式
本次实现的计算任... | |
https://github.com/Chwiggy/thesis_bachelor | https://raw.githubusercontent.com/Chwiggy/thesis_bachelor/main/src/thesis_temp.typ | typst | #let project(
title: "",
subtitle: "",
authors: (),
date: none,
logo: none,
bib: "",
body,
) = {
// set the document's basic properties
set document(author: authors.map(a => a.name), title: title)
let ht-first = state("page-first-section", [])
let ht-last = state("page-last-sectio... | |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/038%20-%20War%20of%20the%20Spark/004_Desperate%20Operatives.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Desperate Operatives",
set_name: "War of the Spark",
story_date: datetime(day: 29, month: 05, year: 2019),
author: "<NAME>",
doc
)
#align(center)[#strong[I.]]
Finding a way to recruit the Azorius Senate—with its evil-dragon-collaborating g... | |
https://github.com/frectonz/the-pg-book | https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/115.%20segway.html.typ | typst | segway.html
The Trouble with the Segway
July 2009The Segway hasn't delivered on its initial promise, to put it mildly.
There are several reasons why, but one is that people don't want
to be seen riding them. Someone riding a Segway looks like a dork.My friend <NAME> built
his own Segway,
which we called
the Segwell.... | |
https://github.com/pank-su/report_3 | https://raw.githubusercontent.com/pank-su/report_3/master/templates/utils.typ | typst | #let prilCount = counter("pril") // pril = приложение
#let alphabet = "а б в г д е ё ж з и й к л м н о п р с т у ф х ц ч ш щ ъ ы ь э ю я".split()
// center heading
#let ch(content) = {
show heading: it => {
text(it, size: 14pt)
}
align(heading(upper(content), numbering: none), center)
}
#let chn(content) =... | |
https://github.com/emanuel-kopp/uzh-mnf-phd | https://raw.githubusercontent.com/emanuel-kopp/uzh-mnf-phd/main/template/chapters/chapter_2.typ | typst | #import "@local/uzh-mnf-phd:0.1.0": chapter
#show: chapter.with(
title: text()[Title of your first chapter, of which maybe a part must be _italic_],
authors: (
(name: "First Author", affiliation: [1, 2]),
(name: "Second Author", affiliation: 3),
(name: "Third Author", affiliation: 1),
(name: "Last ... | |
https://github.com/PgBiel/typst-truthtable | https://raw.githubusercontent.com/PgBiel/typst-truthtable/main/README.md | markdown | MIT License | # typst-truthtable
A library for generating truth tables
## Usage
Compose logic expressions with the logic operators: `l-and(a, b)`, `l-or(a, b)`,
`l-imp(a, b)`, `l-iff(a, b)`, `l-not(a)`, where `a` and `b` can be either
other expressions created with operators, atomic variables/propositions
(which can be created wit... |
https://github.com/teamdailypractice/pdf-tools | https://raw.githubusercontent.com/teamdailypractice/pdf-tools/main/typst-pdf/thirukkural-how-to-read/001-thr.typ | typst | #set page("a4")
#set text(
font: "TSCu_SaiIndira",
size: 16pt
)
#set align(center)
திருக்குறளை எப்படிப் படிப்பது?
\
#set align(left)
#set text(
font: "TSCu_SaiIndira",
size: 12pt
)
எப்பொருள், யார்-யார்-வாய்க் கேட்பினும்; அப்பொருள் \
மெய்ப்பொருள், காண்பது; அறிவு. \
1. யார் சொல்வதையும், உண்மை என்று நம்பக்கூடாது... | |
https://github.com/open-datakit/accs-finalreport-whitepaper | https://raw.githubusercontent.com/open-datakit/accs-finalreport-whitepaper/main/3-future/content.typ | typst | = Future direction
== Defining the opendata.fit datapackage profile as a git repository
== Closing the gap between analysis and publication
== HPC execution, data bookkeeping and transfer
== Local execution: #[#set text(font: "Inconsolata")
opendatafit-cli]
== Execution at the edge: WebAssembly
== Web a... | |
https://github.com/dadn-dream-home/documents | https://raw.githubusercontent.com/dadn-dream-home/documents/main/main.typ | typst | #import "metadata.typ": meta
#set document(author: meta.students.values(), title: meta.title)
#set page(
header: include "template/header.typ",
footer: include "template/footer.typ",
margin: (
top: 30mm,
bottom: 20mm,
left: 30mm,
right: 20mm,
)
)
#set text(font: "LM Roman 10", lang: "vi", regio... | |
https://github.com/sw1sh/QuantumPotatoChips | https://raw.githubusercontent.com/sw1sh/QuantumPotatoChips/main/typst/template.typ | typst | // based on https://typst.app/universe/package/arkheion
#let arxiv(
title: "",
abstract: [],
keywords: (),
authors: (),
date: none,
body,
) = {
// Set the document's basic properties.
set document(title: title, author: authors.flatten().map(a => a.name))
set page(
margin: {
(
x: (50p... | |
https://github.com/VisualFP/docs | https://raw.githubusercontent.com/VisualFP/docs/main/SA/project_documentation/content/project_plan.typ | typst | = Project Plan <project_plan>
At the start of our project we created a rough plan, which can be seen in @initial_project_plan.
That plan intends to indicate progress at later stages of the project and not to set fixed deadlines.
The plan is reflected in the timeline feature of our Jira project,
the detailed planning i... | |
https://github.com/cran/tinytable | https://raw.githubusercontent.com/cran/tinytable/master/inst/templates/typst.typ | typst | #show figure: set block(breakable: true)
#figure( // start figure preamble
$TINYTABLE_TYPST_CAPTION
kind: "tinytable",
supplement: "Table", // end figure preamble
block[ // start block
#let nhead = $TINYTABLE_TYPST_NHEAD;
#let nrow = $TINYTABLE_TYPST_NROW;
#let ncol = $TINYTABLE_TYPST_NCOL;
#let style-array ... | |
https://github.com/Error-418-SWE/Documenti | https://raw.githubusercontent.com/Error-418-SWE/Documenti/src/3%20-%20PB/Documentazione%20interna/Verbali/24-03-07/24-03-07.typ | typst | #import "/template.typ": *
#show: project.with(
date: "07/03/24",
subTitle: "Meeting post colloquio con Proponente",
docType: "verbale",
authors: (
"<NAME>",
),
timeStart: "16:40",
timeEnd: "17:00",
);
= Ordine del giorno
A seguito dell'incontro con il Proponente, il gruppo ha svolto un meeting int... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/import-16.typ | typst | Other | // Cyclic import in other file.
#import "./modules/cycle1.typ": *
This is never reached.
|
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/text/lang_05.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
//
// // Error: 17-21 expected string, found none
// #set text(lang: none) |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/flyingcircus/3.0.0/src/FlyingCircus.typ | typst | Apache License 2.0 | #import "Impl.typ" : FlyingCircus, FCPlane, FCShip, FCVehicleFancy, FCVehicleSimple, FCWeapon, KochFont, HiddenHeading |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/text/raw-01.typ | typst | Other | // Typst syntax inside.
```typ #let x = 1``` \
```typ #f(1)```
|
https://github.com/seapat/markup-resume-lib | https://raw.githubusercontent.com/seapat/markup-resume-lib/main/style.typ | typst | Apache License 2.0 | // set rules
#let format_page(render_settings, document) = {
set page(
paper: render_settings.page_type,
numbering: (..page_indices) => {
// accomodate 1 or 2 counting symbols
let numbers = (page_indices.pos().at(0) - 1,)
if render_settings.numbering.find(regex("1|a|A|i|I|い|イ|א|가|ㄱ")).len()... |
https://github.com/iceghost/resume | https://raw.githubusercontent.com/iceghost/resume/main/5-projects.typ | typst | #[
#let separator = line(length: 100%, stroke: 1pt + gray.lighten(80%))
#show heading.where(level: 3): it => [
#show "[": set text(fill: gray)
#show "]": set text(fill: gray)
[#it.body]
]
== Projects
#block(include("5-projects/1-bkalendar.typ"))
#separator
#block... | |
https://github.com/Jollywatt/typst-fletcher | https://raw.githubusercontent.com/Jollywatt/typst-fletcher/master/docs/gallery/uml-diagram.typ | typst | MIT License | #import "@preview/fletcher:0.5.1" as fletcher: diagram, node, edge
#set page(width: auto, height: auto, margin: 5mm, fill: white)
#diagram(
spacing: (18mm, 10mm),
node-stroke: luma(80%),
node((0.5,0), [*Diagram*], name: <d>),
node((0,1), [*Node*], name: <n>),
node((1,1), [*Edge*], name: <e>),
edge(<d>, ((), "|-... |
https://github.com/zurgl/typst-resume | https://raw.githubusercontent.com/zurgl/typst-resume/main/templates/resume/footer.typ | typst | /* Packages */
#import "../../metadata.typ": *
#import "../commun.typ": *
#import "@preview/fontawesome:0.1.0": *
/* Footer */
#let cvFooter() = {
place(bottom, table(
columns: (1fr, auto),
inset: 0pt,
stroke: none,
footerStyle([#firstName #lastName]),
footerStyle(languageSwitch(cvFooterInternati... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/text/features-04.typ | typst | Other | // Test number type.
#set text(number-type: "old-style")
0123456789 \
#text(number-type: auto)[0123456789]
|
https://github.com/piepert/philodidaktik-hro-phf-ifp | https://raw.githubusercontent.com/piepert/philodidaktik-hro-phf-ifp/main/src/parts/spue/anforderungen/checkliste_unterricht.typ | typst | Other | #import "/src/template.typ": *
== #ix("Checkliste", "Checkliste Unterrichtsplanung") <checkliste-unterrichtsplanung>
Trifft für Ihre Stundeplanung jeder folgende Punkt zu? Dann sind Sie auf einem guten Weg!
+ Es wird ein Problem aufgeworfen und gelöst.
+ Der Unterricht beschäftigen sich die SuS auf eine philosophisch... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/closure-12.typ | typst | Other | // Named arguments.
#{
let greet(name, birthday: false) = {
if birthday { "Happy Birthday, " } else { "Hey, " } + name + "!"
}
test(greet("Typst"), "Hey, Typst!")
test(greet("Typst", birthday: true), "Happy Birthday, Typst!")
// Error: 23-35 unexpected argument: whatever
test(greet("Typst", whatever: ... |
https://github.com/mangkoran/utm-thesis-typst | https://raw.githubusercontent.com/mangkoran/utm-thesis-typst/main/09a_abstract_en.typ | typst | MIT License | #let content() = [
#align(center,
[= Abstract]
)
#v(4em)
#lorem(30)
#lorem(30)
#pagebreak(weak: true)
]
#content()
|
https://github.com/Error-418-SWE/Documenti | https://raw.githubusercontent.com/Error-418-SWE/Documenti/src/2%20-%20RTB/Documentazione%20interna/Verbali/24-01-14/24-01-14.typ | typst | #import "/template.typ": *
#show: project.with(
date: "14/01/24",
subTitle: "Meeting di retrospettiva e pianificazione",
docType: "verbale",
authors: (
"<NAME>",
),
timeStart: "15:00",
timeEnd: "16:15",
);
= Ordine del giorno
- Valutazione dell'avanzamento;
- Analisi di retrospettiva;
- Revisione RT... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/field-01.typ | typst | Other | // Test fields on elements.
#show list: it => {
test(it.children.len(), 3)
}
- A
- B
- C
|
https://github.com/alberto-lazari/cns-report | https://raw.githubusercontent.com/alberto-lazari/cns-report/main/report.typ | typst | #import "template.typ": *
#set page(
header: align(center)[Advanced Topics in Computer Network and Security exam, II call, February 2024],
numbering: "1"
)
#show: ieee.with(
title: "Virtualizing the Process of Fuzzing for the Testing of QR Codes on Android Applications",
abstract: [
#include "abstract.typ... | |
https://github.com/Quaternijkon/notebook | https://raw.githubusercontent.com/Quaternijkon/notebook/main/content/数据结构与算法/.chapter-数据结构/数组/数组中的重复元素.typ | typst | #import "../../../../lib.typ":*
// === 数组中的重复元素 #Link("https://leetcode.cn/problems/shu-zu-zhong-zhong-fu-de-shu-zi-lcof/description/")
=== #Title(
title: [数组中的重复元素],
reflink: "https://leetcode-cn.com/problems/shu-zu-zhong-zhong-fu-de-shu-zi-lcof/description/",
level: 1,
)<数组中的重复元素>
#note(
title: [寻找文件副本],
... | |
https://github.com/DVDTSB/dvdtyp | https://raw.githubusercontent.com/DVDTSB/dvdtyp/main/template/main.typ | typst | MIT License | #import "@preview/dvdtyp:1.0.0": *
#show: dvdtyp.with(
title: "dvd.typ",
subtitle: [potato, tomato, banana],
author: "among us",
abstract: lorem(50),
)
#outline()
= Lorem ipsum is my favourite
#lorem(50)
== Colorful wooo!!
#problem[
Prove that $1+1=3$.
]
#example("addition")[$ 1+1=3 $
]
#theorem("Eucli... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/bugs/place-pagebreak_00.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
#set page(height: 40pt)
#block(height: 100%)
#place(bottom + right)[Hello world]
|
https://github.com/antonWetzel/Masterarbeit | https://raw.githubusercontent.com/antonWetzel/Masterarbeit/main/arbeit/implementierung.typ | typst | #import "setup.typ": *
= Implementierung <implementierung>
== Technik
Das Softwareprojekt ist auf #link-footnote("https://github.com/antonWetzel/treee", [GitHub]) verfügbar. Als Programmiersprache wird Rust und als Grafikkartenschnittstelle WebGPU verwendet. Rust ist eine performante Programmiersprache mit einfach... | |
https://github.com/nobel-sh/typst-report | https://raw.githubusercontent.com/nobel-sh/typst-report/main/main.typ | typst | #import "assignment.typ": assignment, note, todo
#set text(font: "New Computer Modern")
#show raw: set text(font: "New Computer Modern Mono")
// Might need sometimes
//#set text(font: "Times New Roman")
//#show raw: set text(font: "New Computer Modern")
#show: assignment
#set align(left)
#set text(size: 12pt)
#se... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/return-03.typ | typst | Other | // Test return outside of function.
#for x in range(5) {
// Error: 3-9 cannot return outside of function
return
}
|
https://github.com/soul667/typst | https://raw.githubusercontent.com/soul667/typst/main/PPT/MATLAB/touying/docs/docs/progress/sections.md | markdown | ---
sidebar_position: 2
---
# Touying Sections
Touying maintains its own sections state to record the sections and subsections of slides.
## touying-outline
`#touying-outline(enum-args: (:), padding: 0pt)` is used to display a simple outline.
## touying-final-sections
`#states.touying-final-sections(final-section... | |
https://github.com/exdevutem/taller-git | https://raw.githubusercontent.com/exdevutem/taller-git/main/src/instalacion.typ | typst | = Instalando Git
Se provee un pequeño resumen del proceso de instalación en el siguiente espacio. Se recomienda leer #link("https://www.atlassian.com/git/tutorials/install-git")[la siguiente guía] provista por Atlassian para más información, problemas y otros.
== Mac y Linux
En Linux y Mac, lo común es que este progra... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/rivet/0.1.0/src/config.typ | typst | Apache License 2.0 | #let config(
default-font-family: "Ubuntu Mono",
default-font-size: 15pt,
italic-font-family: "Ubuntu Mono",
italic-font-size: 12pt,
background: white,
text-color: black,
link-color: black,
bit-i-color: black,
border-color: black,
bit-width: 30,
bit-height: 30,
description-margin: 10,
dash-len... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/babel/0.1.1/docs/manual.typ | typst | Apache License 2.0 | #import "@preview/fontawesome:0.4.0": *
#import "@preview/mantys:0.1.4": *
#import "@preview/metalogo:1.0.2": LaTeX
#import "@preview/suiji:0.3.0"
#import "@preview/wrap-it:0.1.0": *
#import "@preview/babel:0.1.1": *
#import "../assets/logo.typ": logo
#import "../src/alphabets.typ": alphabets, maze
#let redcell = tab... |
https://github.com/ningvin/typst-resume-template | https://raw.githubusercontent.com/ningvin/typst-resume-template/main/README.md | markdown | Apache License 2.0 | # Typst Resume Template
---
A simple resume template for [typst](https://github.com/typst/typst).
|  |  |  |
| --- | --- | --- |
| [example 1](example-1.typ) | [example 2](example-2.typ) | [example 3](example-3.typ) ... |
https://github.com/jinhao-huang/SimplePaper | https://raw.githubusercontent.com/jinhao-huang/SimplePaper/main/examples/homework.typ | typst | MIT License | #import "simplepaper.typ": *
#show: project.with(
title: "编译原理作业",
authors: (
(
name: "张三",
),
),
)
#problem[
下列文法是一个无符号二进制浮点数的文法。试根据该文法,编写一个语法制导定义,描述由 S 生成的二进制数(浮点数)的数值计算。
$
S -> L . L \
L -> L B | B \
B -> 0 | 1
$
]
#solution[
设L具有继承属性side和综合属性m
L.side表示小数点的左边或右边(1表示左边0表示... |
https://github.com/SnO2WMaN/typst-tarski-undefinability-report | https://raw.githubusercontent.com/SnO2WMaN/typst-tarski-undefinability-report/main/main.typ | typst | Creative Commons Zero v1.0 Universal | #import "template.typ": *
// Take a look at the file `template.typ` in the file panel
// to customize this template and discover how it works.
#show: project.with(
title: "Tarskiの真理定義不可能性定理について",
authors: (
"SnO2WMaN",
),
)
//空きすぎなのでなんとかする
#let to = $arrow$
#let power = $arrow.t$
= 中学生の算数 <jha>
次の<EMAIL>[... |
https://github.com/HowToGibbon/PF_exam_summary | https://raw.githubusercontent.com/HowToGibbon/PF_exam_summary/main/PF_exam_summary_HS23.typ | typst | #let is_cheat_sheet = true;
#set page(columns: 5, flipped: true, margin: 10pt) if is_cheat_sheet
#set columns(2, gutter: 2pt)
#set text(size: 12pt, font: "Arial")
#set text(size: 5pt, font: "Arial") if is_cheat_sheet
#set quote(block: true)
#show heading: it => {
if (it.level == 1 and is_cheat_sheet) {
block(
... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/circuiteria/0.1.0/gallery/test.typ | typst | Apache License 2.0 | #import "../src/lib.typ": circuit, element, util, wire
#set page(width: auto, height: auto, margin: .5cm)
#circuit({
element.block(
x: 0, y: 0, w: 1.5, h: 2.2,
id: "PCBuf",
fill: util.colors.orange,
ports: (
west: (
(id: "PCNext"),
),
north: (
(id: "CLK", clock: tru... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/visualize/svg-text-00.typ | typst | Other | #set page(width: 250pt)
#figure(
image("test/assets/files/diagram.svg"),
caption: [A textful diagram],
)
|
https://github.com/luiswirth/diff-form-pres | https://raw.githubusercontent.com/luiswirth/diff-form-pres/main/src/setup.typ | typst | #let slides-config(doc) = {
set page(
paper: "presentation-16-9",
margin: 2cm,
)
set text(size: 20pt)
doc
}
#let my-config(doc) = {
// white on black
set page(fill: black)
set text(fill: white)
//set text(font: "New Computer Modern")
set par(justify: true)
show link: set text(fill: blue... | |
https://github.com/liuguangxi/suiji | https://raw.githubusercontent.com/liuguangxi/suiji/main/tests/test-randi-f.typ | typst | MIT License | #set document(date: none)
#import "/src/lib.typ": *
#let print-arr(arr) = {
if type(arr) != array {
[#raw(str(arr) + " ")]
} else {
[#raw(arr.map(it => str(it)).join(" "))]
}
}
#{
let n = 500
let rng = gen-rng-f(42)
let arr = ()
for i in range(n) {
rng = randi-f(rng... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/ofbnote/0.2.0/README.md | markdown | Apache License 2.0 | # ofbnote
This is a Typst template to help formatting documents according to the French office for biodiversity design guidelines.
## Usage
You can use the CLI to kick this project off using the command
```
typst init @preview/ofbnote
```
Typst will create a new directory with all the files needed to get you started.... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.