Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pta2002/typst-timeliney
Create Gantt charts in Typst
https://github.com/pta2002/typst-timeliney
typst
Last synced: 27 days ago
JSON representation
Create Gantt charts in Typst
- Host: GitHub
- URL: https://github.com/pta2002/typst-timeliney
- Owner: pta2002
- License: mit
- Created: 2023-10-09T21:52:57.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-30T21:15:52.000Z (9 months ago)
- Last Synced: 2024-05-01T15:31:27.813Z (6 months ago)
- Topics: typst
- Language: Typst
- Homepage:
- Size: 598 KB
- Stars: 11
- Watchers: 2
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Timeliney
Create Gantt charts automatically with Typst!
Here's a fully-featured example:
```typst
#import "@preview/timeliney:0.0.1"#timeliney.timeline(
show-grid: true,
{
import timeliney: *
headerline(group(([*2023*], 4)), group(([*2024*], 4)))
headerline(
group(..range(4).map(n => strong("Q" + str(n + 1)))),
group(..range(4).map(n => strong("Q" + str(n + 1)))),
)
taskgroup(title: [*Research*], {
task("Research the market", (0, 2), style: (stroke: 2pt + gray))
task("Conduct user surveys", (1, 3), style: (stroke: 2pt + gray))
})taskgroup(title: [*Development*], {
task("Create mock-ups", (2, 3), style: (stroke: 2pt + gray))
task("Develop application", (3, 5), style: (stroke: 2pt + gray))
task("QA", (3.5, 6), style: (stroke: 2pt + gray))
})taskgroup(title: [*Marketing*], {
task("Press demos", (3.5, 7), style: (stroke: 2pt + gray))
task("Social media advertising", (6, 7.5), style: (stroke: 2pt + gray))
})milestone(
at: 3.75,
style: (stroke: (dash: "dashed")),
align(center, [
*Conference demo*\
Dec 2023
])
)milestone(
at: 6.5,
style: (stroke: (dash: "dashed")),
align(center, [
*App store launch*\
Aug 2024
])
)
}
)
```![Example Gantt chart](sample.png)
## Installation
Import with `#import "@preview/timeliney:0.0.1"`. Then, call the `timeliney.timeline` function.## Documentation
See [the manual](manual.pdf)!