Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions content/CV.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,9 @@ All supervision is at TU Delft, 2018-2025, unless noted otherwise.
| 7/2020 | Volunteer, Redders van Dordt, Dordrecht, Netherlands.<br>_City-sponsored program to educate Dutch primary school children about flood risk and emergency response. Students built rafts and practiced water evacuation._ |
| 2020-2023 | Participant, Polder2C’s Project, Hedwige-Prosperpolder, Netherlands/Belgium.<br>_Interreg project focused on flood risk and climate change adaptation along the North Sea and English Channel; collaborators in UK, NL, BE, FR._ |

## INVITED PRESENTATIONS
## OUTPUTS AND PUBLICATIONS

### INVITED PRESENTATIONS

| | |
| :--- | :--- |
Expand All @@ -158,15 +160,15 @@ All supervision is at TU Delft, 2018-2025, unless noted otherwise.
| 12/2018 | Flood defense levees: a perspective from California.<br>_Hydraulic Engineering Department Symposium, TU Delft._ |
| 2016 | Incremental risk of levee failure due to vegetation and animal burrowing.<br>_Association of Engineering Geologists Student Night, Oakland, CA._ |

## JOURNAL AND CONFERENCE PUBLICATION REVIEWER
### JOURNAL AND CONFERENCE PUBLICATION REVIEWER

- Geotechnical Engineering Education 2025 Conference: International Society for Soil Mechanics and Geotechnical Engineering
- Journal of Geotechnical and Geoenvironmental Engineering
- Environmental Geotechnics
- Georisk: Assessment and Management of Risk for Engineered Systems and Geohazards
- 31st European Safety and Reliability Conference (ESREL), 2021.

## ONLINE TEXTBOOKS
### ONLINE TEXTBOOKS

Lanzafame, R. C. (2024). Risk and Reliability for Engineers. TU Delft OPEN Publishing. doi:10.59490/tb.89\
_🔗 [Link here](https://interactivetextbooks.tudelft.nl/risk-reliability/intro.html)_
Expand All @@ -181,7 +183,7 @@ van Woudenberg, T. R., Lanzafame, R. C., Kirsch, J. A. A., Jungbacker, C. A. A.,
_🔗 [Link here](https://teachbooks.io/manual/)_


## JOURNAL PAPERS
### JOURNAL PAPERS

Mares Nasarre, P., van Boldrik, N., Bakker, E., Lanzafame, R., & Morales Napoles, O. (2025). Unlocking Student Choices: Assessing Student Preferences in Courses in Engineering Education. Education Sciences, 15(7), Article 859. doi:10.3390/educsci.15070859\
_🔗 Link: [](https://doi.org/10.3390/educsci15070859)_
Expand All @@ -193,15 +195,15 @@ Reinders, K., Pouliasis, G., Lanzafame, R., & Morales, O. (2020). Evaluating the

Lanzafame, R., & Sitar, N. (2019). Reliability analysis of the influence of seepage on levee stability. Environmental Geotechnics, 6(5), 284-293.

## TECHNICAL REPORTS
### TECHNICAL REPORTS

Tsimopoulou, V., Koelewijn, A., Lanzafame, R., Rikkert, S., Aljer, A., Nguyen, S. Karaoulis, M., Idsinga, J., Kieftenburg, A. (2023) Management of harmful animal activities on levees: Fact finding fieldwork in the Living Lab Hedwige-Prosperpolder, Polder2C’s Project, Interreg European Regional Development Fund. https://polder2cs.eu/results/reports/flood-defence

Lanzafame, R. & Sitar, N. (2018). Reliability analysis of the influence of vegetation on levee performance, California Levee Vegetation Research Program, Department of Water Resources, Sacramento, CA.

Cohen-Waeber, J., Lanzafame, R., & Bray, J. (2014). Section 4: Effects of Surface Fault Rupture on Infrastructure, Geotechnical Engineering Reconnaissance of the August 24, 2014 M6 South Napa Earthquake. In J. D. Bray, J. Cohen-Waeber, T. Dawson, T. Kishida & N. Sitar (Eds.), GEER Association Report No. GEER--037 (Vol. Version 2).

## CONFERENCE PAPERS AND PRESENTATIONS
### CONFERENCE PAPERS AND PRESENTATIONS

Lanzafame, R., van Woudenberg, T. (2024). Online interactive textbooks: creating a book and using it with your students is easier than you think - we'll prove it! SURF Onderwijsdagen, Den Haag, Netherlands, doi:10.5281/zenodo.14068656\
_🔗 Link: [](https://doi.org/10.5281/zenodo.14068656)_
Expand All @@ -220,7 +222,7 @@ Cohen-Waeber, J., Lanzafame, R., Bray, J., & Sitar, N. (2015). The Performance o

Mathy, D., Lanzafame, R., Adams, W., & Gallyer, S. (2012). Guided Boring and the Lafayette-Pleasant Hill Road Trunk Sewer. Paper presented at the North American Society for Trenchless Technology (NASTT) No-Dig Show 2012, Nashville, TN.

## SOFTWARE AND PROGRAMMING RESOURCES
### SOFTWARE AND PROGRAMMING RESOURCES

Lanzafame, R. (2024) Modelling, Uncertainty and Data for Engineers (MUDE) Files. https://github.com/TUDelft-MUDE/2024-files. CC BY 4.0 License. doi:10.5281/zenodo.16782515\
_🔗 [Link here](https://github.com/TUDelft-MUDE/2024-files)_
Expand Down
5 changes: 3 additions & 2 deletions myst.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ project:
authors:
- name: Robert Lanzafame
title: CV
date: 2025-09-1
date: 2025-09-11
abstract: |
A description of the work life of Robert Lanzafame: teacher, engineer, co-founder of TeachBooks.

Expand All @@ -16,7 +16,8 @@ project:
title: Download CV as PDF
exports:
- format: typst
template: lapreprint-typst
# template: lapreprint-typst
template: ./template
output: exports/CV_Robert_Lanzafame.pdf
id: output-pdf

Expand Down
3 changes: 3 additions & 0 deletions template/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
lapreprint.pdf
frontmatter.pdf
template.pdf
21 changes: 21 additions & 0 deletions template/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2023 Rowan Cockett

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
229 changes: 229 additions & 0 deletions template/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,229 @@
<h1 align="center">LaPreprint for Typst</h1>
<p align="center">
<a href="https://github.com/rowanc1/LaPreprint/blob/main/LICENSE"><img alt="MIT License" src="https://img.shields.io/github/license/rowanc1/lapreprint?style=flat-square"></a>
<a href="https://github.com/rowanc1/lapreprint"><img alt="Stars" src="https://img.shields.io/github/stars/rowanc1/lapreprint?style=social"></a>
<a href="https://twitter.com/intent/tweet?url=https%3A%2F%2Fgithub.com%2Frowanc1%2FLaPreprint&via=rowancockett&text=Checkout%20the%20LaPreprint%20template%20for%20Typst"><img alt="Twitter" src="https://img.shields.io/twitter/follow/rowancockett"></a>
</p>

<p align="center">
<b>Easily create beautiful preprints in Typst</b>
</p>
<p align="center">
<img width="75%" src="https://raw.githubusercontent.com/rowanc1/LaPreprint/68f5ccbf1e1e26819149bcea1d547dfdfc5ceecd/example/files/screenshot.png">
</p>

```typst
#import "lapreprint.typ": template

#show: template.with(
title: "A beautiful preprint template"
)
```

# Features

With simple options you can enable/disable:

- color schemes of blue, red, purple
- author, ORCID, and affiliation support
- branding and logo support
- left margin with custom headings
- date accepted, published & submitted
- customizable font choices
- running title, affiliation
- multiple abstracts, e.g. plain language summary or english/french!
- keywords, page count, nice headings
- easily customize APA or IEEE citation style
- Optional: full width after first page

# Quick start

The preprint template uses Typst (not LaTeX[^latex]) for typesetting, see [typst docs](https://typst.app/docs).

[^latex]: If you are looking for LaPreprint for LaTeX, please see: https://github.com/roaldarbol/LaPreprint

Copy [`lapreprint.typ`](./lapreprint.typ) to your own folder that you are working in, you only need the single `lapreprint.typ` file:

```typst
#import "lapreprint.typ": template
```

Take a look at the examples in the [GitHub repository](https://github.com/rowanc1/LaPreprint), for example, [this file](https://github.com/rowanc1/lapreprint/blob/main/examples/pixels/main.typ#L5), the basics are to use the template with a `#show` command:

```typst
#show: template.with(
title: "A beautiful preprint template"
// ... all sorts of other options that are explained below!
)
```

## Logos and Branding

The theme of the document can be set to a specific color, which changes the headers and links. The default `theme` is blue, however, the following examples use:

```typst
theme: red.darken(50%),
```

You can also supply a logo, which is either an image file location or content, allowing you to add additional information about the journal or lab-group to the top-right of the document. You can also set the `paper-size`, `heading-numbering` and `font-face`. The default font-face used is Noto Sans, which you may need to [download](https://fonts.google.com/noto/specimen/Noto+Sans).

```typst
logo: "my-logo.png",
theme: purple.darken(20%),
paper-size: "us-letter",
heading-numbering: "1.a.i",
font-face: "Noto Sans",
```

![image](https://github.com/rowanc1/LaPreprint/assets/913249/ea6ce83b-8694-4636-8317-e49b3231352f)

## Title and Subtitle

You can have both a title and a subtitle:

```typst
title: "Pixels and their Neighbours",
subtitle: "A Tutorial on Finite Volume",
```

Will become:

![image](https://github.com/rowanc1/LaPreprint/assets/913249/534aba93-5284-4daa-baeb-38a07f0bdf5c)

## Authors and Affiliations

You can add both author and affiliations lists, each author should have a `name`, and can optionally add `orcid`, `email`, and `affiliations`. The affiliations are just content that is put in superscript, e.g. `"1,2"`, have corresponding identifiers in the top level `affiliations` list, which requires both an `id` and a `name`. If you wish to include any additional information in the affiliation (e.g. an address, department, etc.), it is content and can have whatever you want in it.

```typst
authors: (
(
name: "Rowan Cockett",
orcid: "0000-0002-7859-8394",
email: "rowan@curvenote.com",
affiliations: "1,2"
),
// Add other authors here...
),
affiliations: (
(id: "1", name: "University of British Columbia"),
(id: "2", name: "Curvenote Inc."),
),
```

![image](https://github.com/rowanc1/LaPreprint/assets/913249/2787467a-e63b-4d61-a2db-339ae141fd7c)

Note that the orcid and email icons are actually aligned to the text. Details, details!

For other information that you wish to affiliate with a specific author, you can use the `affiliations` field with any identifier you like (e.g. `†`) and then use the margin content or affiliations fields on the preprint to explain what it means.

## Abstract and Keywords

You can include one or more abstracts as well as keywords. For a simple `abstract` the default title used is "Abstract" and you can include it with:

```typst
abstract: lorem(100),
keywords: ("Finite Volume", "Tutorial", "Reproducible Research"),
```

To include one or more specific abstracts, for example, different languages or a "Plain Language Summary", provide a list, with `title` and `content` in a dictionary:

```typst
abstract: (
(title: "Abstract", content: lorem(100)),
(title: "Plain Language Summary", content: lorem(25)),
),
```

![image](https://github.com/rowanc1/LaPreprint/assets/913249/63727565-3c56-40a1-9548-5d4039973f8a)

## Margin content

The content on the first page is customizable. The first content is the `kind`, for example, "Original Research", "Review Article", "Retrospective" etc. And then the `date`, which is by default the date you compiled the document.

```typst
kind: "Notebook Tutorial",
date: datetime(year: 2023, month: 08, day: 21),
```

You can also set `date` to be a dictionary or list of dictionaries with `title` and `date` as the two required keys. The first date will be bolded as well as used in the document metadata and auto `short-citation`.

```typst
kind: "Notebook Tutorial",
date: (
(title: "Published", date: datetime(year: 2023, month: 08, day: 21)),
(title: "Accepted", date: datetime(year: 2022, month: 12, day: 10)),
(title: "Submitted", date: datetime(year: 2022, month: 12, day: 10)),
),
```

![image](https://github.com/rowanc1/LaPreprint/assets/913249/19c9ebda-db98-4ac5-919c-cde339de64b9)

The rest of the margin content can be set with `margin` property, which takes a `title` and `content`, content is required, however the title is optional.

```typst
margin: (
(
title: "Correspondence to",
content: [
Rowan Cockett\
#link("mailto:rowan@curvenote.com")[rowan\@curvenote.com]
],
),
// ... other properties
)
```

You can use the margin property for things like funding, data availability statements, explicit correspondence requests, key points, conflict of interest statements, etc.

![image](https://github.com/rowanc1/LaPreprint/assets/913249/61c264b1-509b-4082-87e5-1e6aa7a4673c)

### Setting the Margin

The first page has a left hand margin of 25%, if you do nothing this will continue for your whole document. To override this, you can reset the margin after the first page by placing `#set page(margin: auto)` in a place where you want the page break between the first and second pages[^margin].

If you opt for resetting to a full-width margin, you will want to not supply a `bibliography-file` to the template, and instead do this in your content, this is because the template will revert to the first-page margin as well as inserting a page break[^bug]. See the section on bibliography below.

[^margin]: If you know a better way of doing this to automate it in the template, please open an issue or pull-request!!
[^bug]: This seems like a bug to me in typst, but maybe is by design?

## Headers and Footers

You can control the headers and footer by providing the following information:

```typst
open-access: true,
doi: "10.1190/tle35080703.1",
venue: [ar#text(fill: red.darken(20%))[X]iv],
short-title: "Finite Volume Tutorial",
short-citation: auto,
date: datetime.today()
```

The first page will show an open-access statement and the `doi` if available. For DOIs, only include the actual identifier, not the URL portions:

![image](https://github.com/rowanc1/LaPreprint/assets/913249/99da9ef4-fa02-4284-ac46-d3b8d2f48752)

Subsequent pages will show the `short-title` and `short-citation`. If the citation is `auto` (the default) it will be created in APA formatting using the paper authors.

![image](https://github.com/rowanc1/LaPreprint/assets/913249/72f2a52a-717c-4fbd-9cd3-1eaa053d7c7f)

The footers show the `venue` (e.g. the journal or preprint repository) the `date` (which is by default `today()`) as well as the page count.

![image](https://github.com/rowanc1/LaPreprint/assets/913249/c2c52102-3bb7-4811-971c-da8b1701169a)

## Bibliography

The bibliography is only included in the theme if you supply the `bibliography-file` and an optional `bibliography-style`. The default `bibliography-style` is `"apa"`, you can override this if you like, for example, to `"ieee"`.

If you have opted for full-page margins or have an appendix, you may want to place the bibliography yourself as including in the template will default back to the same margin as the first page. You can also handle the bibliography yourself with:

```typst
#{
show bibliography: set text(8pt)
bibliography("main.bib", title: text(10pt, "References"), style: "apa")
}
```

# Acknowledgements

The Typst LaPreprint template (and this Readme!) is inspired by [@roaldarbol LaTeX template](https://github.com/roaldarbol/LaPreprint), which is in the style of eLife and PLoS. Portions of the template were based on the example IEEE template in Typst.
Binary file added template/examples/pixels/files/dc-eqns.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added template/examples/pixels/files/dc-results.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added template/examples/pixels/files/dc-setup.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added template/examples/pixels/files/divergence.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added template/examples/pixels/files/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added template/examples/pixels/files/mesh.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added template/examples/pixels/files/screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions template/examples/pixels/main.bib
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
@article{Cockett_2016,
doi = {10.1190/tle35080703.1},
url = {https://doi.org/10.1190%2Ftle35080703.1},
year = 2016,
month = {aug},
publisher = {Society of Exploration Geophysicists},
volume = {35},
number = {8},
pages = {703--706},
author = {Rowan Cockett and Lindsey J. Heagy and Douglas W. Oldenburg},
title = {Pixels and their neighbors: Finite volume},
journal = {The Leading Edge}
}
Binary file added template/examples/pixels/main.pdf
Binary file not shown.
Loading