parent
b2f174b91b
commit
6b2b24a701
3 changed files with 55 additions and 0 deletions
|
@ -40,6 +40,7 @@
|
||||||
fileset = lib.fileset.unions [
|
fileset = lib.fileset.unions [
|
||||||
(lib.fileset.fromSource (typixLib.cleanTypstSource ./.))
|
(lib.fileset.fromSource (typixLib.cleanTypstSource ./.))
|
||||||
./src/info.toml
|
./src/info.toml
|
||||||
|
# ./src/signature.svg
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
commonArgs = {
|
commonArgs = {
|
||||||
|
|
51
src/cover-letter.typ
Normal file
51
src/cover-letter.typ
Normal file
|
@ -0,0 +1,51 @@
|
||||||
|
#import "lib/main.typ": *
|
||||||
|
#import "lib/extra.typ": *
|
||||||
|
|
||||||
|
#let meta = toml("info.toml")
|
||||||
|
|
||||||
|
#show: cover-letter.with(
|
||||||
|
author: meta.personal.name,
|
||||||
|
title: meta.personal.title,
|
||||||
|
location: meta.personal.location,
|
||||||
|
email: meta.personal.email,
|
||||||
|
github: meta.personal.github,
|
||||||
|
linkedin: meta.personal.linkedin,
|
||||||
|
personal-site: meta.personal.website,
|
||||||
|
accent-color: meta.layout.accent_color,
|
||||||
|
font: meta.layout.font,
|
||||||
|
paper: meta.layout.paper,
|
||||||
|
)
|
||||||
|
|
||||||
|
\ \
|
||||||
|
|
||||||
|
// recipient
|
||||||
|
Lorem Ipsum GmbH \
|
||||||
|
Dolor sit amet Str. 1 \
|
||||||
|
11111 Lorem \
|
||||||
|
Germany
|
||||||
|
|
||||||
|
\ \
|
||||||
|
|
||||||
|
#align(
|
||||||
|
right,
|
||||||
|
datetime.today().display(),
|
||||||
|
)
|
||||||
|
|
||||||
|
Dear X,
|
||||||
|
|
||||||
|
#lorem(30)
|
||||||
|
|
||||||
|
#lorem(50)
|
||||||
|
|
||||||
|
#lorem(60)
|
||||||
|
|
||||||
|
#lorem(40)
|
||||||
|
|
||||||
|
#lorem(20)
|
||||||
|
|
||||||
|
\
|
||||||
|
|
||||||
|
Sincerely,
|
||||||
|
|
||||||
|
Felix Schröter
|
||||||
|
// #signature("signature.svg")
|
3
src/lib/extra.typ
Normal file
3
src/lib/extra.typ
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
#let signature(path) = {
|
||||||
|
image("../" + path, alt: "signature", width: 25%)
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue