repo stringlengths 26 115 | file stringlengths 54 212 | language stringclasses 2
values | license stringclasses 16
values | content stringlengths 19 1.07M |
|---|---|---|---|---|
https://github.com/cunhapaulo/typst_styles | https://raw.githubusercontent.com/cunhapaulo/typst_styles/main/toolbox/paper.typ | typst | MIT License | #import "toolbox.typ": *
//====================================================================
// The project function defines how your document looks.
// It takes your content and some metadata and formats it.
//====================================================================
#let project(
university: ... |
https://github.com/Jozott00/typst-LLNCS-template | https://raw.githubusercontent.com/Jozott00/typst-LLNCS-template/main/main.typ | typst | #import "template.typ": *
#let inst_princ = institute("Princeton Univerity",
addr: "Princeton NJ 08544, USA"
)
#let inst_springer = institute("Spr<NAME>",
addr: "Tiergartenstr. 17, 69121 Heidelberg, Germany",
email: "<EMAIL>",
url: "http://www.springer.com/gp/computer-science/lncs"
)
#let inst_abc = institu... | |
https://github.com/ChHecker/diverential | https://raw.githubusercontent.com/ChHecker/diverential/main/README.md | markdown | MIT License | # Diverential
`diverential` is a [Typst](https://github.com/typst/typst) package simplifying the typesetting of differentials. It is the equivalent to LaTeX's `diffcoeff`, though not as mature.
## Overview
`diverential` allows normal, partial, compact, and separated derivatives with smart degree calculations.
```ts
#... |
https://github.com/Kasci/LiturgicalBooks | https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/CSL_old/oktoich/Hlas7/0_Nedela.typ | typst | #let M = (
"HV": (
("","","Prijidíte, vozrádujemsja Hóspodevi, sokrušívšemu smérti deržávu, i prosvitívšemu čelovíčeskij ród, so bezplótnymi zovúšče: soďíteľu i Spáse náš, sláva tebí."),
("","","Prijidíte, vozrádujemsja Hóspodevi, sokrušívšemu smérti deržávu, i prosvitívšemu čelovíčeskij ród, so bezplótnymi z... | |
https://github.com/elteammate/typst-compiler | https://raw.githubusercontent.com/elteammate/typst-compiler/main/src/A-showcase.typ | typst | #let add(/*int*/x, /*int*/y) = x + y
2 + 2 = #add(2, 2)
| |
https://github.com/marisbaier/Typst_eineTeXAlternative | https://raw.githubusercontent.com/marisbaier/Typst_eineTeXAlternative/main/HowToTemplate/main.typ | typst | #import "template.typ": *
#show: template.with(
title: [Dies ist ein Titel]
)
= Erstes Kapitel
Hier geht es weiter
| |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/numberingx/0.0.1/numberingx_impl.typ | typst | Apache License 2.0 | // SPDX-License-Identifier: CC0-1.0
/// Parse a style object into a descriptor
#let parse-style(s) = {
assert(type(s) == "dictionary", message: "Invalid style: " + repr(s) + ".")
assert("system" in s, message: repr(s) + " is missing a `system` key.")
let sys = s.system
assert(
sys in ("cyclic", "symbolic",... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-11300.typ | typst | Apache License 2.0 | #let data = (
("GRANTHA SIGN COMBINING ANUSVARA ABOVE", "Mn", 0),
("GRANTHA SIGN CANDRABINDU", "Mn", 0),
("GRANTHA SIGN ANUSVARA", "Mc", 0),
("GRANTHA SIGN VISARGA", "Mc", 0),
(),
("GRANTHA LETTER A", "Lo", 0),
("GRANTHA LETTER AA", "Lo", 0),
("GRANTHA LETTER I", "Lo", 0),
("GRANTHA LETTER II", "Lo", ... |
https://github.com/7sDream/fonts-and-layout-zhCN | https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/chapters/09-layout/bidi-fail.typ | typst | Other | #import "/lib/draw.typ": *
#import "/template/lang.typ": arabic
#let start = (0, 100)
#let end = (1000, 600)
#let graph = with-unit((ux, uy) => {
// mesh(start, end, (100, 100))
let lbPoint = place(left + bottom, dx: -15 * ux, dy: 15 * ux, circle(radius: 15 * ux, fill: theme.main))
let box-stroke-thickness = 8... |
https://github.com/DVDTSB/ctheorems | https://raw.githubusercontent.com/DVDTSB/ctheorems/main/0.1.0/assets/manual.typ | typst | #show raw.where(block: true): block.with(
fill: luma(250),
inset: 1em,
radius: 4pt,
width:100%,
stroke: luma(200),
)
= Getting Started
== Introduction
The `ctheorems` package provides `typst` functions that help create numbered theorems, lemmas, corollaries, etc. The package is designed to be easy to use an... | |
https://github.com/jamesrswift/ionio-illustrate | https://raw.githubusercontent.com/jamesrswift/ionio-illustrate/main/src/extras/content.typ | typst | MIT License | #import "@preview/cetz:0.1.2"
#let _prepare(self, ctx) = { return self}
#let _stroke(self, ctx) = {
cetz.draw.content(
anchor: self.anchors.at(0),
self.coordinates.at(0),
self.body
)
}
#let content(body, position, anchor: "center") = {
return ((
type: "raw",
body: ... |
https://github.com/hei-templates/hevs-typsttemplate-thesis | https://raw.githubusercontent.com/hei-templates/hevs-typsttemplate-thesis/main/00-templates/page-reportinfo.typ | typst | MIT License | //
// Description: Report info page for thesis template
// Author : <NAME>
//
#import "../00-templates/helpers.typ": *
#let page-reportinfo(
author: (),
date: none,
signature: none,
) = {
heading(numbering:none, outlined: false)[Information about this report]
v(2em)
[*Contact Information*]
tablex(
... |
https://github.com/akrantz01/resume | https://raw.githubusercontent.com/akrantz01/resume/main/template/projects.typ | typst | MIT License | #import "common.typ": date-range, icon, section
#let entry(
title,
date,
description: none,
url: none,
details: (),
settings: (:),
) = {
let about = if description != none [ *#title*, #emph(description) ] else [ *#title* ]
let about = if url != none {
let text = if settings.at("full-links", default... |
https://github.com/dyc3/senior-design | https://raw.githubusercontent.com/dyc3/senior-design/main/dev-plan/dev-plan.typ | typst | = Dev Plan
== Roles and Responsibilities
Development Lead: <NAME> \
Architect: <NAME> \
Developers: <NAME>, <NAME> \
Test Lead: <NAME> \
Testers: <NAME>, <NAME> \
Documentation: <NAME>, <NAME> \
System Admin: <NAME> \
User Advocate: <NAME>
== Method
- Software
- Languages: Rust
- Operating Systems: Linux
- De... | |
https://github.com/LDemetrios/Typst4k | https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/introspection/query.typ | typst | // Test creating a header with the query function.
--- query-here ---
// Test that `here()` yields the context element's location.
#context test(query(here()).first().func(), (context none).func())
--- query-running-header ---
#set page(
paper: "a8",
margin: (y: 1cm, x: 0.5cm),
header: context {
smallcaps[T... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/visualize/gradient-math_04.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Test on underover
#show math.equation: set text(fill: gradient.linear(..color.map.rainbow))
#show math.equation: box
$ underline(X^2) $
$ overline("hello, world!") $
|
https://github.com/wychwitch/typst-mla9-template | https://raw.githubusercontent.com/wychwitch/typst-mla9-template/main/template.typ | typst | MIT License | #let mla(
title: "Paper Title",
author: none,
professor: none,
date: none,
course: none,
bibliography-file: none,
font-size: 12pt,
font: "Times New Roman",
body
) = {
// Set document metdata.
set document(
title: title,
author: author.firstname + " " + author.lastname
)
// Configure... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/text/shift_01.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
#set super(typographic: false, baseline: -0.25em, size: 0.7em)
n#super[1], n#sub[2], ... n#super[N]
|
https://github.com/as505/HelldiversTTRPG | https://raw.githubusercontent.com/as505/HelldiversTTRPG/main/README.md | markdown | # HelldiversTTRPG
[PDF](/main.pdf)
Available online in the [Typst WebEditor](https://typst.app/project/wNBY2bQBXGE-2hqSFRPrYq)
| |
https://github.com/frectonz/the-pg-book | https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/066.%20mit.html.typ | typst | mit.html
A Student's Guide to Startups
Want to start a startup? Get funded by
Y Combinator.
October 2006(This essay is derived from a talk at MIT.)Till recently graduating seniors had two choices: get a job or go
to grad school. I think there will increasingly be a third option:
to start your own startup. But... | |
https://github.com/mem-courses/calculus | https://raw.githubusercontent.com/mem-courses/calculus/main/homework-2/homework2.typ | typst | #import "../template.typ": *
#show: project.with(
course: "Calculus II",
course_fullname: "Calculus (A) II",
course_code: "821T0160",
title: "Homework #2",
authors: ((
name: "<NAME>",
email: "<EMAIL>",
id: "3230104585"
),),
semester: "Spring-Summer 2024",
date: "January 24, 2024",
)
#let ss = [$display(... | |
https://github.com/karlis-vagalis/typst-cv | https://raw.githubusercontent.com/karlis-vagalis/typst-cv/master/cv.typ | typst | #let generateAddress(
author: (),
) = [
*#author.firstName #author.lastName* \
#author.address.street #author.address.houseNumber \
#author.address.postalCode #author.address.city
]
#let generateDetails(author: ()) = [
//#box(height: 8pt, image("../lib/icons/calendar.svg")) #author.birthday \
#... | |
https://github.com/noahjutz/CV | https://raw.githubusercontent.com/noahjutz/CV/main/body/timeline.typ | typst | #import "@preview/cetz:0.3.0"
#let _stroke = 1pt
#let _fill = black
#let entry(
prefix,
title,
postfix
) = {
block(
inset: (left: 4pt),
below: 0pt,
block(
stroke: (left: _stroke),
inset: (left: 8pt, bottom: 8pt, top: 8pt),
below: 0pt,
stack(
{
set text(fil... | |
https://github.com/xdoardo/co-thesis | https://raw.githubusercontent.com/xdoardo/co-thesis/master/thesis/chapters/imp/analysis/fold.typ | typst | #import "/includes.typ":*
#import "@preview/prooftrees:0.1.0"
=== Pure constant folding optimization<subsection-imp-analysis_optimization-fold>
Pure constant folding is the second and last transformation we consider.
Again from @concrete-semantics, pure folding consists in statically examining
the source code of the p... | |
https://github.com/ymgyt/techbook | https://raw.githubusercontent.com/ymgyt/techbook/master/programmings/js/typescript/specification/typeof.md | markdown | # typeof
* valueを引数にとってそのvalueの型を返す
```typescript
if (typeof x === "string") {
// xをstring型として扱うことをcompilerに許してもらえる
x.toUpperCase();
}
```
| |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/g-exam/0.1.0/g-exam.typ | typst | Apache License 2.0 | #import "@preview/oxifmt:0.2.0": strfmt
#let __question-number = counter("question-number")
#let __question-point = state("question-point", 0)
#let __question-point-position-state = state("question-point-position", left)
#let __localization = state("localization")
#let __default-localization = (
grade-table-que... |
https://github.com/matbesancon/modern-cv-academics | https://raw.githubusercontent.com/matbesancon/modern-cv-academics/master/resume.typ | typst | MIT License | #import "@preview/modern-cv:0.4.0": *
#show: resume.with(
author: (
firstname: "Mathieu",
lastname: "Besançon",
email: "<EMAIL>",
phone: "(+33) 111-111-1111",
github: "matbesancon",
linkedin: "corporate",
address: "The Big Lab, 3rd Main Street, UniversityCity, France",
positions: (
... |
https://github.com/DashieTM/ost-5semester | https://raw.githubusercontent.com/DashieTM/ost-5semester/main/experiment/weeks/week11.typ | typst | #import "../../utils.typ": *
#section("Approximation Tactics")
Base idea: The problem is that we don't always have the necessary parameters for
all the functions explained previously. Instead, we need to approximate both $mu$ and $sigma$.\
Note, this is a mathematical approach, not random bullshit go, aka it is a
func... | |
https://github.com/TriefendeNase1384/rezepte | https://raw.githubusercontent.com/TriefendeNase1384/rezepte/main/key_lime_pie.typ | typst | #let primary_colour = rgb("#43978D")
#let text_colour = rgb("#333")
#let recipes(title, doc) = {
set text(10pt, font: "IBM")
set page(
margin: (x: 54pt, y: 52pt),
numbering: "1",
number-align: right,
)
set align(center)
v(240pt)
text(fill: primary_colour, font: "Salzburg-Serial", size: 30pt, w... | |
https://github.com/rikhuijzer/phd-thesis | https://raw.githubusercontent.com/rikhuijzer/phd-thesis/main/chapters/5.typ | typst | The Unlicense | #import "../style.typ": citefig
#import "../functions.typ": chapter, textcite, parencite, note
#pagebreak()
#chapter(
[Early Identification of Dropouts During the Special Forces Selection Program],
label: [
<NAME>., <NAME>., <NAME>., <NAME>., & <NAME>, <NAME>. (2024).
Early Identification of Dropouts Du... |
https://github.com/Devansh0210/report_template_typst | https://raw.githubusercontent.com/Devansh0210/report_template_typst/main/template.typ | typst | #let title_page(
title: "",
authors: "",
body
) = {
align(center)[
#text(title, size: 30pt)
]
align(center)[
#authors
]
body
}
#let project(
title: "",
abstract: [],
authors: (),
logo: none,
body
) = {
// Set the document's basic properties.
set documen... | |
https://github.com/uhChainsaws/gradie | https://raw.githubusercontent.com/uhChainsaws/gradie/main/README.md | markdown | # gradie
> Gradient Climb + LAB7 for CALC03 Course
Лаба вариант №10
> by <NAME> \
> ISU\[368372\] \
> @uhChainsaws
В репозитории представлены:
* `lab7.typ` -- `typst` сорс-файл для генерации доклада
* `lab7.py` -- `python` скрипт с реализацией метода градиентного подъёма и модуль для генерации видео-визуализации с ф... | |
https://github.com/angelacorte/presentation-2024-acsos-multiplatform-self-organization | https://raw.githubusercontent.com/angelacorte/presentation-2024-acsos-multiplatform-self-organization/master/acsos-2024-doctoral-symposium.typ | typst | Apache License 2.0 | #import "@preview/polylux:0.3.1": *
#import "@preview/fontawesome:0.1.0": *
#import themes.metropolis: *
#show: metropolis-theme.with(
aspect-ratio: "16-9",
// footer: [Optional Footnote]
)
#set text(font: "Inter", weight: "light", size: 20pt)
#show math.equation: set text(font: "Fira Math")
#set strong(delta: 2... |
https://github.com/0x1B05/english | https://raw.githubusercontent.com/0x1B05/english/main/kaoyan/content/answers.typ | typst | #import "../template.typ": *
= 真题答案速查
== 2005
#align(center)[
#three-line-table[
| 题目 | 答案 |
| - | - |
|1-10(完形) |CBACB ADADB|
|11-20(完形) |CADCD BCDAB|
|21-25(Text1) |CBACB|
|26-30(Text2) |CDADB|
|31-35(Text3) |ACDDA|
|36-40(Text4) |BDABC|
|41-45(选段) |... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/layout/list-attach-01.typ | typst | Other | // Test that attached list isn't affected by block spacing.
#show list: set block(above: 100pt)
Hello
- A
World
- B
|
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/circuiteria/0.1.0/manual.typ | typst | Apache License 2.0 | #import "@preview/tidy:0.3.0"
#import "@preview/cetz:0.2.2": draw, canvas
#import "src/lib.typ"
#import "doc/examples.typ"
#import "src/circuit.typ": circuit
#import "src/element.typ"
#import "src/gates.typ"
#import "src/util.typ"
#import "src/wire.typ"
#set heading(numbering: (..num) => if num.pos().len() < 4 {
num... |
https://github.com/SidneyLYZhang/learnTypst | https://raw.githubusercontent.com/SidneyLYZhang/learnTypst/main/Documentation/Sources/003_advanced-styling.typ | typst | #set text(font:("Consolas", "Source Han Sans SC"))
#set text(lang: "zh")
#show emph: text.with(font: ("Linux Libertine","STKaiti"))
#show link: text.with(fill: color.blue)
= 高级排版样式
在本教程的前两章中,你已学会了如何在 Typst 中撰写文档并更改其格式。你在过去两章中编写的报告获得了满分的好成绩,你的上司甚至想以此为基础,撰写一篇会议论文!当然,这份报告必须符合会议的风格指南。让我们来看看如何达成这一目标。
在开始之前,让我们创建一个团队,邀请你的... | |
https://github.com/Ziyzou02/typst_feyndraw | https://raw.githubusercontent.com/Ziyzou02/typst_feyndraw/main/feyndraw.typ | typst | #import "@preview/cetz:0.2.2": canvas, draw,
#import draw: circle, arc, bezier,line,mark,content, fill,
#import draw:rotate,group
// some vector calculation
#let add(a, b) = {
if a.len() != b.len() {
return [Error length]
} else{
a.zip(b).map(
((a,b))=> (a+b)
)
}
}
#let minu(a,b) = add(a... | |
https://github.com/Enter-tainer/typst-ws | https://raw.githubusercontent.com/Enter-tainer/typst-ws/master/test.typ | typst | MIT License | #set text(font: ("Source Han Serif SC"))
= 欢迎来到 #strong[OI Wiki]!
== 内容
#label("内容")
编程竞赛发展多年,难度越来越高,内容越来越复杂,而网上资料大多零散,初学者往往并不知道如何系统地学习相关知识,需要花费大量时间摸索。
为了方便热爱编程竞赛的小伙伴更好地入门,2018 年 7 月份,#strong[OI Wiki]
迁移至 GitHub。随着 #strong[OI Wiki]
的内容不断完善,越来越多的小伙伴参与其中。
#strong[OI Wiki]
致力于成为一个免费开放且持续更新的知识整合站点,大家可以在这里获取关于
#strong[编... |
https://github.com/dashuai009/dashuai009.github.io | https://raw.githubusercontent.com/dashuai009/dashuai009.github.io/main/src/content/blog/021.typ | typst | #let date = datetime(
year: 2022,
month: 3,
day: 14,
)
#metadata((
"title": "康托展开及康托逆展开",
"author": "dashuai009",
description: "康托展开及康托逆展开",
pubDate: "'Jul 08 2022'",
subtitle: [math],
))<frontmatter>
#import "../__template/style.typ": conf
#show: conf
== 题目描述
<题目描述>
小 G 喜欢玩排列。现在他手头有两个 $n$ 的排列。$n$ 的排... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/par-justify_02.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Test forced justification with justified break.
A B C #linebreak(justify: true)
D E F #linebreak(justify: true)
|
https://github.com/magicwenli/keyle | https://raw.githubusercontent.com/magicwenli/keyle/main/src/sym.typ | typst | MIT License | // https://support.apple.com/en-hk/guide/mac-help/cpmh0011/mac
#let mac-key = (
command: "⌘",
shift: "⇧",
option: "⌥",
control: "⌃",
"return": "↩",
delete: "⌫",
forward-delete: "⌦",
escape: "⎋",
left: "←",
right: "→",
up: "↑",
down: "↓",
pageup: "⇞",
pagedown: "⇟",
home: "↖",
end: "↘",
... |
https://github.com/rijuyuezhu/latex-typst-template | https://raw.githubusercontent.com/rijuyuezhu/latex-typst-template/main/art-typst-chi/main.typ | typst | #import "template.typ": *
#show: project.with(
title: [
],
subtitle: [
],
authors: (
(
name: "",
organization: [
],
),
),
abstract: [
],
keywords: (
),
)
| |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/list_00.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
_Shopping list_
#list[Apples][Potatoes][Juice]
|
https://github.com/LDemetrios/Typst4k | https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/layout/length.typ | typst | --- length-fields ---
// Test length fields.
#test((1pt).em, 0.0)
#test((1pt).abs, 1pt)
#test((3em).em, 3.0)
#test((3em).abs, 0pt)
#test((2em + 2pt).em, 2.0)
#test((2em + 2pt).abs, 2pt)
--- length-to-unit ---
// Test length unit conversions.
#test((500.934pt).pt(), 500.934)
#test((3.3453cm).cm(), 3.3453)
#test((4.3452... | |
https://github.com/xiaoxuan-yu/CUDA-CCL | https://raw.githubusercontent.com/xiaoxuan-yu/CUDA-CCL/main/README.md | markdown | BSD 3-Clause "New" or "Revised" License | # CUDA-CCL
> Code and report for the final project of the course *"Foundations of Parallel Computing II"* at Peking University, 2024 Spring.
This repository contains the implementation of 8-connected Komura Equivalence algorithm for Connected Component Labeling (CCL) on CUDA. The algorithm is originally described in
... |
https://github.com/jneug/typst-nassi | https://raw.githubusercontent.com/jneug/typst-nassi/main/tests/statement/test.typ | typst | MIT License | #import "../../src/nassi.typ"
#nassi.diagram({
nassi.elements.process("Statement 1")
})
#v(1cm)
#nassi.diagram({
nassi.elements.process("Statement 1")
nassi.elements.process("Statement 2")
})
#v(1cm)
#block(
width: 12cm,
nassi.diagram({
nassi.elements.process("Statement 1")
nassi.elements.process("... |
https://github.com/essmehdi/ensias-report-template | https://raw.githubusercontent.com/essmehdi/ensias-report-template/master/README.md | markdown | MIT License | # ENSIAS Report Typst Template
A Typst template to quickly make reports for projects at ENSIAS. This template was created based on our reports that we also made for our projects.
## What does it provide?
For now, it provides a first page style that matches the common reports style used and encouraged at ENSIAS.
It ... |
https://github.com/flavio20002/cyrcuits | https://raw.githubusercontent.com/flavio20002/cyrcuits/main/components.typ | typst | Other | #import "@preview/cetz:0.3.1"
#let anchors(anchors) = {
for (k, v) in anchors {
cetz.draw.anchor(k, v)
}
}
#let component-content(start,end, l-modifier, label, angle,pad: 0.5) = {
let center-point = (start,50%,end)
let content-angle = angle
let padding = -1*pad
let anchor = "east"
if (angle == 0deg ... |
https://github.com/kotfind/hse-se-2-notes | https://raw.githubusercontent.com/kotfind/hse-se-2-notes/master/algo/lectures/2024-09-03.typ | typst | #import "/utils/math.typ": *
= Введение
<NAME>
$ "Накоп" = 0.25 dot "Кол" + 0.25 dot "КР" + 0.4 dot "ДЗ" + 0.1 dot "Сем" $
$
"Итог" = cases(
round("Накоп")\, &" if НЕ идти на экзамен",
0.5 dot "Накоп" + 0.5 dot "Экз"\, &" if идти на экзамен"
)
$
Контесты на 1--2 недели
= Структуры данных
... | |
https://github.com/SWATEngineering/Docs | https://raw.githubusercontent.com/SWATEngineering/Docs/main/src/2_RTB/PianoDiProgetto/sections/PianificazioneSprint/QuartoSprint.typ | typst | MIT License | #import "../../functions.typ": glossary
=== Quarto #glossary[sprint]
*Inizio*: Venerdì 15/12/2023
*Fine*: Giovedì 21/12/2023
*Obiettivi dello #glossary[sprint]*:
- Proseguire la stesura delle _Norme di Progetto_, ponendo particolare attenzione sul controllo di versione e la gestione delle #glossary[repository]\... |
https://github.com/jassielof/IT425-P2 | https://raw.githubusercontent.com/jassielof/IT425-P2/main/Documento%20de%20Parcial.typ | typst | #import "template/apa7/lib.typ": *
#import "@preview/charged-ieee:0.1.2": *
#show: apa7.with(
title: [Parcial 2: Aplicación de Lean Six Sigma en la Industria de Micromovilidades],
custom-authors: [<NAME>],
custom-affiliations: [Facultad de Ingeniería, Universidad de Santa Cruz de la Sierra],
course: [IT425: Ge... | |
https://github.com/CreakZ/mirea-algorithms | https://raw.githubusercontent.com/CreakZ/mirea-algorithms/master/reports/work_5/work_5.typ | typst | #import "../title_page_template.typ": title_page
#import "../layouts.typ": head1, head2, un_heading, indent
#set page(margin: 2cm)
#set text(size: 14pt, font: "New Computer Modern", kerning: false)
#set page(paper: "a4")
#set heading(numbering: "1.")
#set par(justify: true)
#set par(leading: 0.65em)
#set figu... | |
https://github.com/mrcinv/nummat-typst | https://raw.githubusercontent.com/mrcinv/nummat-typst/master/14_povprecna_razdalja.typ | typst | = Povprečna razdalja med dvema točkama na kvadratu
== Naloga
- Izpeljite algoritem, ki izračuna integral na več dimenzionalnem kvadru kot
večkratni integral tako, da za vsako dimenzijo uporabite isto kvadraturno formulo za enkratni integral.
- Pri implementaciji pazite, da ne delate nepotrebnih dodelitev pomnilnika... | |
https://github.com/typst-community/guidelines | https://raw.githubusercontent.com/typst-community/guidelines/main/README.md | markdown | Creative Commons Attribution Share Alike 4.0 International | # API & Style Guidelines
This repository contains a document which outlines guidelines for developers across the Typst ecosystem to help them create packages and templates with good APIs and consistent styling.
The guidlines are not hard rules, nor are they prefect, contributions and discussions to improve them are wel... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/text/lang-02.typ | typst | Other | // Error: 17-21 expected string, found none
#set text(lang: none)
|
https://github.com/myst-templates/lapreprint-typst | https://raw.githubusercontent.com/myst-templates/lapreprint-typst/main/template.typ | typst | MIT License | #import "lapreprint.typ": *
#show: template.with(
title: "[-doc.title-]",
abstract: (
(
title: "Abstract",
content: [
[-parts.abstract-]
]
[# if parts.summary #]
), (
title: "Plain Language Summary",
content: [
[-parts.summary-]
]
[# endif #]
),
),
[# if doc.subtitl... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-119A0.typ | typst | Apache License 2.0 | #let data = (
("NANDINAGARI LETTER A", "Lo", 0),
("NANDINAGARI LETTER AA", "Lo", 0),
("NANDINAGARI LETTER I", "Lo", 0),
("NANDINAGARI LETTER II", "Lo", 0),
("NANDINAGARI LETTER U", "Lo", 0),
("NANDINAGARI LETTER UU", "Lo", 0),
("NANDINAGARI LETTER VOCALIC R", "Lo", 0),
("NANDINAGARI LETTER VOCALIC RR", ... |
https://github.com/pedrofp4444/BD | https://raw.githubusercontent.com/pedrofp4444/BD/main/report/templates/index.typ | typst | #let index = {
show outline: it => {
show heading: set text(size: 18pt)
it
}
{
show outline.entry.where(level: 1): it => {
v(5pt)
strong(it)
}
outline(
title: [Índice],
indent: true,
)
}
v(-0.4em)
outline(
title: none,
target: figure.where(kin... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/import-23.typ | typst | Other | // An item after a star.
// Error: 24 expected semicolon or line break
#import "module.typ": *, a
|
https://github.com/jujimeizuo/ZJSU-typst-template | https://raw.githubusercontent.com/jujimeizuo/ZJSU-typst-template/master/template/body.typ | typst | Apache License 2.0 | #import "font.typ": *
#import "utils.typ": *
#pagebreak()
#counter(page).update(1)
// 章节计数器,记录公式层级
#let counter_chapter = counter("chapter")
#let counter_equation = counter(math.equation)
#let counter_image = counter(figure.where(kind: image))
#let counter_table = counter(figure.where(kind: table))
// 图片和... |
https://github.com/Trebor-Huang/HomotopyHistory | https://raw.githubusercontent.com/Trebor-Huang/HomotopyHistory/main/common.typ | typst | #import "@preview/cetz:0.2.0"
#import "@preview/fletcher:0.4.0" as fletcher: node, edge
// #import "@preview/ctheorems:1.1.0": *
// #show: thmrules
// #let proof = thmplain(
// "proof",
// "证明",
// base: "theorem",
// bodyfmt: body => [#body #h(1fr) $square$]
// ).with(numbering: none)
#let slash = math.class(... | |
https://github.com/fabriceHategekimana/master | https://raw.githubusercontent.com/fabriceHategekimana/master/main/3_Theorie/Matrices.typ | typst | Aujourd'hui les réseaux de neuronnes sont l'outil le plus populaire utilisés jusqu'à présent dans les sciences de données ou le machine learning. J'ai trouvé intéressant de voir ce que notre nouveau système de type est capable de faire pour ce type de cas.
Pour la réalisation de notre projet, il nous faut d'abord défi... | |
https://github.com/Readon/NSFC-application-template-typst | https://raw.githubusercontent.com/Readon/NSFC-application-template-typst/main/README.md | markdown | MIT License | # NSFC-application-template-typst
Typst自然科学基金申报书模板-非官方
Typst速度快,易于检查,语法简单效率高。
有问题可以先查阅[Typst中文用户指南](https://typst-doc-cn.github.io/docs/chinese/)。
## 问题
基本排版问题不大。欢迎提issue。
|
https://github.com/kiwiyou/algorithm-lecture | https://raw.githubusercontent.com/kiwiyou/algorithm-lecture/main/basic/02-number-theory.typ | typst | #import "@preview/cetz:0.1.2"
#import "@preview/algorithmic:0.1.0"
#import "../slide.typ"
#show: slide.style
#show link: slide.link
#show footnote.entry: slide.footnote
#let algorithm(..args) = text(font: ("linux libertine", "Pretendard"), size: 17pt)[#algorithmic.algorithm(..args)]
#let func(body) = text(font: ("linu... | |
https://github.com/ivaquero/book-control | https://raw.githubusercontent.com/ivaquero/book-control/main/03-状态空间方程.typ | typst | #import "@local/scibook:0.1.0": *
#show: doc => conf(
title: "状态空间方程",
author: ("ivaquero"),
header-cap: "现代控制理论",
footer-cap: "github@ivaquero",
outline-on: false,
doc,
)
= 状态空间
<状态空间>
== 状态空间方程
对弹簧阻尼系统
$ m dot.double(x) + B dot(x) + k x = f(t) $
选择状态变量
- $z_1 = x$
- $z_2 = x ̇$
由此,得
$ z ̇ = 1 / m ... | |
https://github.com/Favo02-unimi/statistica-e-analisi-dei-dati | https://raw.githubusercontent.com/Favo02-unimi/statistica-e-analisi-dei-dati/main/Dispensa.typ | typst | #import "@preview/gentle-clues:0.8.0": *
#import "@preview/cetz:0.2.2"
#import "@preview/codly:0.2.0": *
#import "@preview/equate:0.2.0": equate
// pdf metadata
#set document(
title: "Statistica e Analisi dei dati",
author: ("<NAME>", "<NAME>"),
)
// codly setup
#show: codly-init.with()
#codly(
languages: (pyth... | |
https://github.com/piepert/grape-suite | https://raw.githubusercontent.com/piepert/grape-suite/main/examples/essay01.typ | typst | MIT License | #import "/src/library.typ": exercise
#import exercise: project, task, subtask, todo
#show: project.with(
title: "Lorem ipsum dolor sit",
university: [University],
institute: [Institute],
seminar: [Seminar],
abstract: lorem(100),
show-outline: true,
author: "<NAME>",
show-solutions: ... |
https://github.com/adeshkadambi/ut-thesis-typst | https://raw.githubusercontent.com/adeshkadambi/ut-thesis-typst/main/README.md | markdown | MIT License | 
This is an unofficial Typst template for a University of Toronto graduate thesis.
### Installation Instructions
1. Fork the repository.
2. Clone your forked repository:
```shell
git clone https://github.com/YOUR-USERNAME/ut-thesis-typst
```
3. If you have Typst installed:
```shell
# c... |
https://github.com/sesameman/typst-slides-nankai | https://raw.githubusercontent.com/sesameman/typst-slides-nankai/main/themes/nankai.typ | typst | // =========================================
// Nankai University theme for Typst slides.
// Made By SesameMan.
// https://github.com/sesameman/typst-slides-nankai
// =========================================
#import "./slides.typ": *
#let heiti = ("Times New Roman", "Heiti SC", "Heiti TC", "SimHei")
#let songti = ("... | |
https://github.com/DannySeidel/typst-dhbw-template | https://raw.githubusercontent.com/DannySeidel/typst-dhbw-template/main/examples/example-glossary.typ | typst | MIT License | #let glossary = (
Vulnerability: "A Vulnerability is a flaw in a computer system that weakens the overall security of the system.",
Patch: "A patch is data that is intended to be used to modify an existing software resource such as a program or a file, often to fix bugs and security vulnerabilities.",
Exploit: "A... |
https://github.com/gyarab/2023-4e-ruzicka-jako_pavouk | https://raw.githubusercontent.com/gyarab/2023-4e-ruzicka-jako_pavouk/main/src-docs/titulnistrany.typ | typst | #set page(numbering: none)
#[
#set page(margin: 0in)
#set align(center)
#v(7em)
#stack(dir: ltr, spacing: 1em)[
#image("obrazky/logogyarab.png", width: 6em)
][
#v(1.5em)
#set align(left)
#stack(dir: ttb, spacing: 12pt)[
#text(20pt)[*Gymnázium Arabská, Praha 6, Arabská 14*]
][
... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/bugs/smartquotes-on-newline_00.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
"test"#linebreak()"test"
"test"\
"test"
|
https://github.com/typst-doc-cn/tutorial | https://raw.githubusercontent.com/typst-doc-cn/tutorial/main/src/intermediate/stateful/s1.typ | typst | Apache License 2.0 |
#let curr-heading = state("curr-heading", ())
#set text(size: 8pt)
#let first-heading = state("first-heading", (:))
#let last-heading = state("last-heading", (:))
#let find-headings(headings, page-num) = if page-num > 0 {
headings.at(str(page-num), default: find-headings(headings, page-num - 1))
}
#let get-headi... |
https://github.com/ParaN3xus/numblex | https://raw.githubusercontent.com/ParaN3xus/numblex/main/lib/model.typ | typst | MIT License | // Models
/// Ordinals
/// --------
/// type: "ord"
/// func: `(<positional>n: int, <named>depth: int) => str`
#let ord(f) = {
if type(f) == str {
import "ordinals.typ": ordinal_funcs
// assert(
// f in ordinal_funcs,
// message: "Unknown ordinal: " + f,
// )
if f not in ordinal_funcs {
... |
https://github.com/RaphGL/ElectronicsFromBasics | https://raw.githubusercontent.com/RaphGL/ElectronicsFromBasics/main/DC/chap7/chap7.typ | typst | Other | == Series-parallel combination circuits
#include "1_whats_a_series_parallel_circuit.typ"
#include "2_analysis_technique.typ"
#include "3_redrawing_complex_schematics.typ"
#include "4_component_failure_analysis.typ"
#include "5_building_series_parallel_resistor_circuits.typ"
|
https://github.com/TypstApp-team/typst | https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/layout/clip.typ | typst | Apache License 2.0 | // Test clipping with the `box` and `block` containers.
---
// Test box clipping with a rectangle
Hello #box(width: 1em, height: 1em, clip: false)[#rect(width: 3em, height: 3em, fill: red)]
world 1
Space
Hello #box(width: 1em, height: 1em, clip: true)[#rect(width: 3em, height: 3em, fill: red)]
world 2
---
// Test c... |
https://github.com/hargoniX/bachelor | https://raw.githubusercontent.com/hargoniX/bachelor/main/abstract/abstract.typ | typst | #let title = "verix: A Verified Rust ix(4) driver"
#let author = "<NAME>"
#set par(justify: true)
#set document(
title: title,
author: author
)
#set page(numbering : "1")
// Title page.
#align(center)[
#text(2em, weight: 700, title)
#text(1.00em, author)
]
#v(10pt)
// Inspired by: https://grosser.sc... | |
https://github.com/Tran-Thu-Le/typst-collection | https://raw.githubusercontent.com/Tran-Thu-Le/typst-collection/main/plot/graph-of-function.typ | typst | #import "@preview/cetz:0.2.2": canvas, plot
#import "@preview/cetz:0.2.2"
#canvas(length: 1cm, {
import cetz.draw: *
// content((2, 2), [Here], padding: .1)
plot.plot(
size: (7, 7),
axis-style: "school-book",
plot-style: (stroke: black),
x-tick-step: 2, y-tick-step: 2,
x-min: 1-5, x-max: 1+5,
... | |
https://github.com/An-314/Note-of-Quantum_Mechanics | https://raw.githubusercontent.com/An-314/Note-of-Quantum_Mechanics/main/cheatsheet.typ | typst | #import "@preview/physica:0.9.2": *
#import "@preview/tablex:0.0.6": tablex, hlinex
#import "@preview/tablem:0.1.0": tablem
#let three-line-table = tablem.with(
render: (columns: auto, ..args) => {
tablex(
columns: columns,
auto-lines: false,
align: center + horizon,
hlinex(y: 0... | |
https://github.com/benjamineeckh/kul-typst-template | https://raw.githubusercontent.com/benjamineeckh/kul-typst-template/main/src/text-blobs.typ | typst | MIT License | #let declaration-of-originality = (
"en": [
I declare to be responsible for the content I'm presenting in order to obtain the final degree, not to have plagiarized in all or part of, the work produced by others and having cited original sources in consistent way with current plagiarism regulations and copyright. ... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/visualize/shape-aspect-05.typ | typst | Other | // Test that square doesn't overflow due to its aspect ratio.
#set page(width: 40pt, height: 25pt, margin: 5pt)
#square(width: 100%)
#square(width: 100%)[Hello there]
|
https://github.com/sses7757/sustech-graduated-thesis | https://raw.githubusercontent.com/sses7757/sustech-graduated-thesis/main/sustech-graduated-thesis/layouts/doc.typ | typst | Apache License 2.0 | // 文稿设置,可以进行一些像页面边距这类的全局设置
#let doc(
// documentclass 传入参数
info: (:),
// 其他参数
fallback: true, // 字体缺失时使用 fallback,不显示豆腐块
lang: "zh",
margin: (x: 3cm, y: 3.1cm),
it,
) = {
// 1. 对参数进行处理
// 1.1 如果是字符串,则使用换行符将标题分隔为列表
if type(info.title) == str {
info.title = info.title.split("\n")
}
// 2. 基本的样式设置
set te... |
https://github.com/jneug/schule-typst | https://raw.githubusercontent.com/jneug/schule-typst/main/src/subjects/math.typ | typst | MIT License |
#let cancelup(base, new, dx: 2pt, dy: -1pt) = $cancel(base)^#move(dx:dx, dy:dy, $new$)$
#let canceldown(base, new, dx: 2pt, dy: 1pt) = $cancel(base)_#move(dx:dx, dy:dy, $new$)$
#let point(..coords) = $(#coords.pos().map(v => $#v$).join($thin|thin$))$
#let vect(name) = $accent(name, arrow)$
#let rem(r) = $med upright... |
https://github.com/dzwdz/agh-notes | https://raw.githubusercontent.com/dzwdz/agh-notes/main/algebra.typ | typst | #set page(margin: 1cm)
#set page(numbering: "i")
#set text(lang: "pl")
#set heading(numbering: "1.")
//#set text(font: "New Computer Modern")
#set grid(column-gutter: 16pt)
#show link: underline
#grid(
columns: (1fr, 1fr),
align: horizon,
[
#set par(justify: true)
Te notatki są moją próbą skondensowania c... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/valkyrie/0.1.0/README.md | markdown | Apache License 2.0 | # The `Valkyrie` Package
<div align="center">Version 0.1.0</div>
This package implements type validation, and is targetted mainly at package and template developers. The desired outcome is that it becomes easier for the programmer to quickly put a package together without spending a long time on type safety, but also ... |
https://github.com/Skimmeroni/Appunti | https://raw.githubusercontent.com/Skimmeroni/Appunti/main/Metodi%20Algebrici/Polinomi/Costruzione.typ | typst | Creative Commons Zero v1.0 Universal | #import "../Metodi_defs.typ": *
Siano $K$ un campo e $g(x) in K[x]$ un polinomio fissato. Due
polinomi $f(x), h(x) in K[x]$ si dicono *congrui modulo* $g(x)$
se $g(x) | f(x) − h(x)$. Per indicare che $f(x)$ e $h(x)$ sono
congrui modulo $g(x)$ si usa la notazione $f(x) equiv h(x) mod
g(x)$.
#example[
Si considerino i... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/out-of-flow-in-block_02.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Placed item in the first region.
#set page(height: 5cm, margin: 1cm)
Placed item in the first region.
#block(breakable: true, above: 1cm, stroke: 1pt, inset: 0.5cm)[
#place(dx: -0.5cm, dy: -0.75cm, box(width: 200%)[OOF])
#rect(height: 2cm, f... |
https://github.com/Jollywatt/typst-fletcher | https://raw.githubusercontent.com/Jollywatt/typst-fletcher/master/docs/gallery/ml-architecture.typ | typst | MIT License | #import "@preview/fletcher:0.5.1" as fletcher: diagram, node, edge
#import fletcher.shapes: house, hexagon
#set page(width: auto, height: auto, margin: 5mm, fill: white)
#set text(font: "Fira Sans")
#let blob(pos, label, tint: white, ..args) = node(
pos, align(center, label),
width: 26mm,
fill: tint.lighten(60%),
... |
https://github.com/liuguangxi/erdos | https://raw.githubusercontent.com/liuguangxi/erdos/master/Problems/typstdoc/figures/p70.typ | typst | #import "@preview/cetz:0.2.1"
#cetz.canvas(length: 1.5pt, {
import cetz.draw: *
let r1 = 64
let r2 = 32
let r3 = 16
set-style(fill: luma(200), stroke: 1.5pt)
circle((0, 0), radius: r1)
circle((95.99992087, -0.12325953), radius: r2)
circle((40*calc.sqrt(3), -40), radius: r3)
content((0,... | |
https://github.com/ohmycloud/computer-science-notes | https://raw.githubusercontent.com/ohmycloud/computer-science-notes/main/Misc/songs.typ | typst | #import "@preview/cetz:0.1.1"
#import "@preview/splash:0.3.0": *
#outline(title: "目录")
听说,
把一首歌反复听到上千遍,
与这首歌有关的场景或人就再也忘不掉了。
#pagebreak()
#set page(columns: 2, margin: .5cm)
#let code(body) = {
set text(weight: "regular")
show: box.with(
fill: luma(249),
inset: 0.4em,
radius: 3pt,
baseline: 0.... | |
https://github.com/MrToWy/Bachelorarbeit | https://raw.githubusercontent.com/MrToWy/Bachelorarbeit/master/Code/endpointAfter.typ | typst | ```ts
async update(moduleDto: ModuleDto) {
const {
id,
responsibleId,
responsible,
requirementsHardId,
requirementsSoftId,
requirementsHard: requirementsHardNew,
requirementsSoft: requirementsSoftNew,
degreeProgramId,
groupId,
group,
translations,
subModules,
...mod... | |
https://github.com/31core/prescription | https://raw.githubusercontent.com/31core/prescription/main/prescription.typ | typst | #set page("a5", margin: (x: 5%, y: 5%))
#import "@preview/tiaoma:0.2.1"
#import "config.typ": *
#include "config.typ"
#place(top + left)[
#tiaoma.dbar-exp("[01]98898765432106", width: 25%)
]
#place(
top + right,
text(size: 11pt)[
#rect(stroke: 0.5pt)[普通]
]
)
#set text(top-edge: 5pt)
#set text(font: "Not... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/pinit/0.1.0/pinit-core.typ | typst | Apache License 2.0 | // -----------------------------------------------
// Code from https://github.com/ntjess/typst-drafting
// -----------------------------------------------
#let _run-func-on-first-loc(func, label-name: "loc-tracker") = {
// Some placements are determined by locations relative to a fixed point. However, typst
// wil... |
https://github.com/YabusameHoulen/ncu_slide | https://raw.githubusercontent.com/YabusameHoulen/ncu_slide/master/demo.typ | typst | #import "@preview/polylux:0.3.1": *
#import "@preview/cuti:0.2.1": fakeitalic
#import "themes/ncu.typ": *
// #show: show-cn-fakebold
#set text(font: ("Times New Roman", "寒蟬錦書宋"))
#show: ncu-theme.with(footer: [南昌大学 肖君宇], short-title: [GRB数据处理])
#title-slide(title: [GRB数据处理], subtitle: [#text(20pt)[
An #text(red)... | |
https://github.com/cyp0633/hnu-bachelor-thesis-typst-template | https://raw.githubusercontent.com/cyp0633/hnu-bachelor-thesis-typst-template/master/outlines.typ | typst | // 各种目录
#import "@preview/i-figured:0.2.4"
#let toc = [
#set par(first-line-indent: 0em)
#show outline.entry: it => [
#text(size: 12pt)[#it]
]
#show outline.entry.where(level: 1): it => [
#text(font: ("Times New Roman", "Source Han Sans"), size: 12pt)[
#it
]
]
#align(center)[
#text(... | |
https://github.com/manforowicz/resume | https://raw.githubusercontent.com/manforowicz/resume/main/README.md | markdown | ## Marcin's Resume
I wrote my [resume](/resume.pdf) in [Typst](https://typst.app/docs), a modern alternative to LaTex.
Also check out [my website](https://manforowicz.github.io/) and my [LinkedIn](https://www.linkedin.com/in/m-anforowicz/).
Don't hesitate to reach out to me at <<EMAIL>>.
Happy coding!
| |
https://github.com/ammar-ahmed22/typst-resume | https://raw.githubusercontent.com/ammar-ahmed22/typst-resume/main/src/utils/icons.typ | typst | #let icon(name, size: 11pt) = {
text(
font: "Font Awesome 6 Free Solid",
size: size,
box[#name]
)
}
#let iconUnicode(unicode, size: 11pt, color: black) = {
text(
font: "Font Awesome 6 Free Solid",
size: size,
fill: color,
box[
#symbol(unicode)
]
)
}
// Font Awesome Icons
... | |
https://github.com/OkazakiYumemi/nju-ps-typst-template | https://raw.githubusercontent.com/OkazakiYumemi/nju-ps-typst-template/master/hw-preamble.typ | typst | // Basic layout
#let ind2 = h(2em)
// Environment for beautiful code blocks
#import "@preview/codly:1.0.0": *
#let codly_icon() = {
box(
height: 0.8em,
baseline: 0.05em,
)
h(0.1em)
}
// Environment for algorithmic pseudocode
#import "@preview/lovelace:0.3.0": *
#let pseudocode = pseudocod... | |
https://github.com/FkHiroki/ex-B2_typst | https://raw.githubusercontent.com/FkHiroki/ex-B2_typst/main/sections/section3.typ | typst | MIT No Attribution | = 5. 考察(強度バターンの実験値の誤差原因について)
今回の実験では、単スリットやダブルスリットを用いて、スリットの幅やスリット間隔を変えた際の回折強度パターンを観測し、理論値との比較を行った。その結果、実験値と理論値の相対誤差はどれも$10 %$以下に収まったことが確認できたが、いくつかの場合で他の場合よりも比較的に誤差が大きかった。ここでは、実験値の誤差の原因について考察する。
まず、実験値の誤差の原因として考えられるのは、スリットの幅やスリット間隔、強度パターンの測定誤差である。例として、SS1の強度パターンの周期測定、スリットの幅測定の時に、1 pixelずれた(増えた)場合の誤差への影響を計算してみる。@t... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.