Skip to content

invicta-thesis:1.0.0 #2738

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 23, 2025
Merged
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
21 changes: 21 additions & 0 deletions packages/preview/invicta-thesis/1.0.0/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2025 João Lourenço & Invicta Thesis Template contributors

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.
38 changes: 38 additions & 0 deletions packages/preview/invicta-thesis/1.0.0/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Invicta Thesis Template

An unofficial Master's thesis template for the Faculty of Engineering of the University of Porto (FEUP) written in Typst.

This template provides a clean and professional layout that follows FEUP's thesis formatting requirements, offering a modern alternative to LaTeX templates.

## Example Usage

```typst
#show: template.with(
title: "Advanced Machine Learning Techniques for Computer Vision",
author: "Luís Vaz de Camões",
degree: "Master in Electrical and Computer Engineering",
supervisor: "Prof. Maria Santos",
second-supervisor: "Prof. Pedro Costa",
copyright-notice: "Luís Camões, 2025",
committee-text: "Approved in oral examination by the committee:",
committee-members: (
(role: "President", name: "Prof. Ana Ferreira"),
(role: "Referee", name: "Prof. Carlos Oliveira"),
(role: "Referee", name: "Prof. Luisa Rodrigues"),
),
stage: "final",
language: "en",
has-quote: true,
bib-style: "ieee",
)
```

## Acknowledgments

This template was created for the FEUP community and is not officially endorsed by the university. The FEUP logo and university branding remain property of the Faculdade de Engenharia da Universidade do Porto.

This is based on Prof. João Canas and Prof. João Correia Lopes' Overleaf template, which can be found [here](https://www.overleaf.com/latex/templates/feup-dissertation-format/qrsrxjjwzrzf).

---

**Note**: This is an unofficial template. Always verify that your thesis meets current FEUP requirements before submission. The FEUP logo and UP logo used in this template are under copyright of Universidade do Porto, and shall not be used for non-professional purposes or by people outside of the institution without its express authorization.
158 changes: 158 additions & 0 deletions packages/preview/invicta-thesis/1.0.0/src/covers.typ
Original file line number Diff line number Diff line change
@@ -0,0 +1,158 @@
// Cover page and committee page functions for Invicta thesis

// Helper function for cover page
#let make-cover(config) = {
set page(numbering: none)
set align(center)


v(0.5em)
text(size: 12.5pt, weight: "bold")[
FACULDADE DE ENGENHARIA DA UNIVERSIDADE DO PORTO
]

v(2cm)

// Title
text(size: 18pt, weight: "bold")[
#config.title
]

v(1cm)

// Author
text(size: 14pt, weight: "bold")[
#config.author
]

v(6cm)

image("../template/figures/uporto-feup.png", width: 8cm)
v(1cm)

if config.additional-front-text != none {
v(0.5em)
text(size: 12pt)[
#config.additional-front-text
]
}

v(1fr)

// Degree
text(size: 12pt)[
#config.degree
]

v(1cm)

// Supervisor
text(size: 12pt)[
Supervisor: #config.supervisor
]

if config.second-supervisor != none {
parbreak()
text(size: 12pt)[
Second Supervisor: #config.second-supervisor
]
}

v(1cm)

// Date
let date-text = if config.thesis-date != none {
config.thesis-date
} else {
datetime.today().display("[month repr:long] [day], [year]")
}
text(size: 12pt)[
#date-text
]

pagebreak()

if config.copyright-notice != none {
place(
bottom + center,
text(size: 10pt)[
© #config.copyright-notice
]
)
}

if config.signature {
v(1cm)
line(length: 5cm)
text(size: 10pt)[Signature]
}

pagebreak()
}

// Helper function for committee page
#let make-committee-page(config) = {
if config.committee-text != none and config.committee-members.len() > 0 {
// Date
let date-text = if config.thesis-date != none {
config.thesis-date
} else {
datetime.today().display("[month repr:long] [day], [year]")
}

set page(numbering: none)

// Centered title, author, and degree at top
set align(center)
v(2cm)

text(size: 18pt, weight: "bold")[
#config.title
]

v(1cm)

text(size: 14pt, weight: "bold")[
#config.author
]

v(0.5cm)

text(size: 12pt)[
#config.degree
]

v(1fr)

// Committee information at bottom left
set align(left)

v(4cm)

block(
text(size: 14pt)[
#config.committee-text
]
)

v(0.3cm)

for member in config.committee-members {
text(size: 12pt)[
#member.role: #member.name
]
linebreak()
}


v(0.3cm)

block(
text(size: 12pt)[
#date-text
]
)

pagebreak()
}
}
20 changes: 20 additions & 0 deletions packages/preview/invicta-thesis/1.0.0/src/lib.typ
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
// INVICTA THESIS TEMPLATE for Typst
// Main package exports
// João Lourenço, July 2025 (Typst version)

// Import all template modules
#import "template.typ": invicta-thesis, main-content
#import "covers.typ": make-cover, make-committee-page
#import "toc.typ": make-toc
#import "utils.typ": *

// Export the main template function
#let template = invicta-thesis

// Export utility functions
#let cover = make-cover
#let committee-page = make-committee-page
#let table-of-contents = make-toc

// Export main content wrapper
#let main-content-wrapper = main-content
Loading