Initial commit
This commit is contained in:
commit
be2d4161e9
|
|
@ -0,0 +1,38 @@
|
|||
#let template(
|
||||
document_date: datetime.today(),
|
||||
city: "Wrocław",
|
||||
page_type: "a4",
|
||||
header_text: "",
|
||||
heading_vspace: 10%,
|
||||
page_margin: (top: 150pt),
|
||||
doc
|
||||
) = {
|
||||
set page(
|
||||
page_type,
|
||||
margin: page_margin,
|
||||
header: [
|
||||
#align(bottom)[#box(height: 30pt ,image("HSWRO-logo-mono.svg")) #h(1fr) #if document_date != none [#city, #document_date.display()] #header_text]
|
||||
#rect(
|
||||
height: 1pt,
|
||||
width: 100%,
|
||||
fill: black)
|
||||
],
|
||||
)
|
||||
show heading.where(level: 1): htext => [
|
||||
#set align(center)
|
||||
#htext
|
||||
#v(heading_vspace)
|
||||
]
|
||||
doc
|
||||
}
|
||||
|
||||
|
||||
#let dotted = tiling(size: (3pt, 6pt))[
|
||||
#place(rect(width: 50%, height: 100%, fill: black))
|
||||
]
|
||||
|
||||
#let dotline(width: 100%) = [#rect(height: 0.5pt, width: width, fill: dotted)]
|
||||
|
||||
#let signatures(who) = [#v(60pt)#columns(who.len())[
|
||||
#(who.map(name => [#dotline()#name.name\ #name.position]).join(colbreak()))
|
||||
]]
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
# Hackerspace Wrocław typst package
|
||||
|
||||
## Installation
|
||||
|
||||
Clone this repository into your Typst packages directory, but call the checked out repository `hswro`. For example:
|
||||
|
||||
- On Linux: `~/.local/share/typst/packages`
|
||||
- On MacOS: `~/Library/Application Support/typst/packages`
|
||||
- On Windows: `%APPDATA%/typst/packages`
|
||||
|
||||
The directory may not exist, you may need to create it first. More info in [the Typst package repository](https://github.com/typst/packages#local-packages). If you're not sure which directory to use, run `typsy info` to see which directory is in use in your system.
|
||||
|
||||
This will not be needed when we publish the package, so bear with us for a moment.
|
||||
|
||||
Loading…
Reference in New Issue