mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 18:15:13 -05:00
feat: init
This commit is contained in:
commit
96c6f790fc
804 changed files with 33411 additions and 0 deletions
8
templates/typst/src/refs.yml
Executable file
8
templates/typst/src/refs.yml
Executable file
|
@ -0,0 +1,8 @@
|
|||
citizen:
|
||||
author: John Zerilli
|
||||
chapter: 3
|
||||
date: 2021
|
||||
isbn: 9780262044813
|
||||
publisher: The MIT Press
|
||||
title: A Citizen's Guide To Artificial Intelligence
|
||||
type: Book
|
63
templates/typst/src/template.typ
Executable file
63
templates/typst/src/template.typ
Executable file
|
@ -0,0 +1,63 @@
|
|||
// Catppuccin Latte
|
||||
|
||||
#let catppuccinLatteRosewater = rgb("#dc8a78")
|
||||
#let catppuccinLatteFlamingo = rgb("#dd7878")
|
||||
#let catppuccinLattePink = rgb("#ea76cb")
|
||||
#let catppuccinLatteMauve = rgb("#8839ef")
|
||||
#let catppuccinLatteRed = rgb("#d20f39")
|
||||
#let catppuccinLatteMaroon = rgb("#e64553")
|
||||
#let catppuccinLattePeach = rgb("#fe640b")
|
||||
#let catppuccinLatteYellow = rgb("#df8e1d")
|
||||
#let catppuccinLatteGreen = rgb("#40a02b")
|
||||
#let catppuccinLatteTeal = rgb("#179299")
|
||||
#let catppuccinLatteSky = rgb("#04a5e5")
|
||||
#let catppuccinLatteSapphire = rgb("#209fb5")
|
||||
#let catppuccinLatteBlue = rgb("#1e66f5")
|
||||
#let catppuccinLatteLavender = rgb("#7287fd")
|
||||
#let catppuccinLatteText = rgb("#4c4f69")
|
||||
#let catppuccinLatteSubtext1 = rgb("#5c5f77")
|
||||
#let catppuccinLatteSubtext0 = rgb("#6c6f85")
|
||||
#let catppuccinLatteOverlay2 = rgb("#7c7f93")
|
||||
#let catppuccinLatteOverlay1 = rgb("#8c8fa1")
|
||||
#let catppuccinLatteOverlay0 = rgb("#9ca0b0")
|
||||
#let catppuccinLatteSurface2 = rgb("#acb0be")
|
||||
#let catppuccinLatteSurface1 = rgb("#bcc0cc")
|
||||
#let catppuccinLatteSurface0 = rgb("#ccd0da")
|
||||
#let catppuccinLatteBase = rgb("#eff1f5")
|
||||
#let catppuccinLatteMantle = rgb("#e6e9ef")
|
||||
#let catppuccinLatteCrust = rgb("#dce0e8")
|
||||
|
||||
// General:
|
||||
|
||||
#let project(author: (:), title: (), body) = {
|
||||
show figure.caption: it => it.body
|
||||
|
||||
set quote(attribution: "content", block: true)
|
||||
|
||||
set document(author: author.firstName + " " + author.lastName, title: title)
|
||||
|
||||
set text(fill: catppuccinLatteText, font: ("New Computer Modern"), lang: "en")
|
||||
|
||||
let title = {
|
||||
align(center)[
|
||||
#block[
|
||||
#text(size: 25pt, weight: "medium")[#title]
|
||||
]
|
||||
]
|
||||
}
|
||||
|
||||
let name = {
|
||||
align(
|
||||
center,
|
||||
)[
|
||||
#block[
|
||||
#text(size: 12pt, weight: "regular")[#author.firstName #author.lastName]
|
||||
]
|
||||
]
|
||||
}
|
||||
|
||||
title
|
||||
name
|
||||
body
|
||||
}
|
||||
|
12
templates/typst/src/typst.typ
Executable file
12
templates/typst/src/typst.typ
Executable file
|
@ -0,0 +1,12 @@
|
|||
#import "template.typ": *
|
||||
|
||||
#show: project.with(author: (firstName: "First", lastName: "Last"), title: "Title")
|
||||
|
||||
Test
|
||||
|
||||
#quote(
|
||||
attribution: <citizen>,
|
||||
)[ Fact is, you can't satisfy both calibration and error rate balance if the base
|
||||
rates differ... ]
|
||||
|
||||
#bibliography("refs.yml", style: "ieee")
|
Loading…
Add table
Add a link
Reference in a new issue