Skip to content

Commit 7c9a6de

Browse files
committed
Fake vercanard release
To test the new CI workflow
1 parent 00adaa2 commit 7c9a6de

File tree

7 files changed

+856
-0
lines changed

7 files changed

+856
-0
lines changed

packages/preview/vercanard/1.0.4/LICENSE

Lines changed: 674 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# vercanard
2+
3+
A colorful resume template for Typst.
4+
5+
# What does it look like?
6+
7+
The [demo](template/main.typ) file showcases what it is possible to do.
8+
You can see the result in [the corresponding PDF](demo.pdf).
9+
10+
# Quick usage guide
11+
12+
First of all, copy the template to your Typst project, and import it.
13+
14+
```typst
15+
#import "@preview/vercanard:1.0.3": *
16+
```
17+
18+
Then, call the `resume` in a global `show` rule function to use it.
19+
This function takes a few arguments that we explain in comments below:
20+
21+
```typst
22+
#show: resume.with(
23+
// The title of your resume, generally your name
24+
name: "Your name",
25+
// The subtitle, which is the position you are looking for most of the time
26+
title: "What you are looking for",
27+
// The accent color to use (here a vibrant yellow)
28+
accent-color: rgb("f3bc54"),
29+
// the margins (only used for top and left page margins actually,
30+
// but the other ones are proportional)
31+
margin: 2.6cm,
32+
// The content to put in the right aside block
33+
aside: [
34+
= Contact
35+
36+
// lists in the aside are right aligned
37+
- #link("mailto:[email protected]")
38+
- +33 6 66 66 66 66
39+
]
40+
)
41+
42+
// And finally the main body of your resume can come here
43+
```
44+
45+
When writing the body, you can use level-1 headings as section titles,
46+
and format an entry with the `entry` function (that takes three content
47+
blocks as arguments, for title, description and details).
48+
49+
```typst
50+
= Personal projects
51+
52+
#entry[Vercanard][A resume template for Typst][2023 — Typst]
53+
```
54+
55+
# A note on the licence
56+
57+
This template is under the GPLv3 licence, but resume built
58+
using it are not considered binary derivatives, only output
59+
from another program, so you can keep full copyright on them
60+
and chose not to licence them under a free licence.
26.2 KB
Binary file not shown.
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
#let entry(title, body, details) = [
2+
#heading(level: 2, title)
3+
#block(inset: (right: 2em), body)
4+
5+
#block(above: 0.7em, text(fill: gray, details))
6+
]
7+
8+
#let resume(name: "", title: "", accent-color: rgb("db9df8"), margin: 100pt, aside: [], body) = {
9+
set page(margin: 0pt, background: place(top + right, rect(fill: accent-color.lighten(80%), width: 33.33333%, height: 100%)))
10+
set text(font: "Inria Sans", size: 12pt)
11+
set block(above: 0pt, below: 0pt)
12+
set par(justify: true)
13+
14+
{
15+
show heading.where(level: 1): set text(size: 40pt)
16+
show heading.where(level: 2): set text(size: 18pt)
17+
box(
18+
fill: accent-color,
19+
width: 100%,
20+
outset: 0pt,
21+
inset: (rest: margin, bottom: 0.4 * margin),
22+
stack(
23+
spacing: 10pt,
24+
heading(level: 1, upper(name)), heading(level: 2, upper(title)))
25+
)
26+
}
27+
28+
show heading: set text(fill: accent-color)
29+
30+
grid(
31+
columns: (2fr, 1fr),
32+
block(outset: 0pt, inset: (top: 0.4 * margin, right: 0pt, rest: margin), stroke: none, width: 100%, {
33+
set block(above: 10pt)
34+
show heading.where(level: 1): it => context {
35+
let h = text(size: 18pt, upper(it))
36+
let dim = measure(h)
37+
stack(
38+
dir: ltr,
39+
h,
40+
place(
41+
dy: 7pt,
42+
dx: 10pt,
43+
horizon + left,
44+
line(stroke: accent-color, length: 100% - dim.width - 10pt)
45+
),
46+
)
47+
}
48+
body
49+
}),
50+
block(inset: (bottom: margin, rest: 0.4 * margin), width: 100%, {
51+
show heading: it => align(right, upper(it))
52+
set list(marker: "")
53+
show list: it => {
54+
set par(justify: false, linebreaks: "optimized")
55+
set text(size: 11pt)
56+
align(right, it)
57+
}
58+
aside
59+
}),
60+
)
61+
}
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
#import "@preview/vercanard:1.0.3": *
2+
#show: resume.with(
3+
name: "Your name",
4+
title: "What you are looking for",
5+
accent-color: rgb("f3bc54"),
6+
margin: 2.6cm,
7+
aside: [
8+
= Contact
9+
10+
// lists in the aside are right aligned
11+
12+
- #link("mailto:[email protected]")
13+
- +33 6 66 66 66 66
14+
- 10 Downing Street, London
15+
16+
= Languages
17+
18+
- French : native
19+
- English : C1
20+
- German : B2
21+
22+
= Hobbies
23+
24+
- Writing documents in Typst
25+
]
26+
)
27+
28+
= Experience
29+
30+
#for i in range(3) {
31+
entry(lorem(2 + i), lorem(6 - i), "2022-2023")
32+
}
33+
34+
= Personal projects
35+
36+
#for i in range(2) {
37+
entry(lorem(2 + i), lorem(6 - i), "2022-2023")
38+
}
39+
40+
= Education
41+
42+
#for i in range(2) {
43+
entry(lorem(2 + i), lorem(6 - i), "2022-2023")
44+
}
326 KB
Loading
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
[package]
2+
name = "vercanard"
3+
version = "1.0.4"
4+
entrypoint = "template.typ"
5+
authors = ["Ana Gelez <https://ana.gelez.xyz>"]
6+
license = "GPL-3.0"
7+
description = "A colorful CV template"
8+
repository = "https://github.com/elegaanz/vercanard"
9+
homepage = "https://github.com/elegaanz/vercanard"
10+
categories = ["cv"]
11+
keywords = ["CV", "Resume", "Color"]
12+
exclude = ["*.pdf"]
13+
14+
[template]
15+
path = "template"
16+
entrypoint = "main.typ"
17+
thumbnail = "thumbnail.png"

0 commit comments

Comments
 (0)