-
Notifications
You must be signed in to change notification settings - Fork 1.1k
community-itu-thesis:0.2.0 #5004
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
Open
hmzsnc96
wants to merge
11
commits into
typst:main
Choose a base branch
from
hmzsnc96:itu-thesis-0.1.0
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
b6b1224
itu-thesis:0.1.0
hmzsnc96 87635db
itu-thesis:0.1.0 — fix typst.toml (drop homepage, drop auto-excluded …
hmzsnc96 1afae23
itu-thesis:0.1.0 — replace example image with drawn placeholder (remo…
hmzsnc96 bca722e
Rename package to community-itu-thesis (naming guidelines)
hmzsnc96 c0a5af1
Disable hyphenation + auto-width symbol/abbreviation column
hmzsnc96 6baf55e
Fidelity audit vs LaTeX cls: drop 'BÖLÜM' chapter prefix, single fron…
hmzsnc96 fc571e5
Fidelity vs LaTeX: bold TOC level-1 + 'Sayfa' header, abbrev/symbol f…
hmzsnc96 13d4777
Full twoside fidelity (blank versos, binding margin, right-page start…
hmzsnc96 cc133b8
ozgecmis: cls gibi düz metin yap (alt başlıkları İÇİNDEKİLER'den çıkar)
hmzsnc96 cb94990
community-itu-thesis: README'yi İngilizce'ye çevir (inceleme geri bil…
hmzsnc96 52c3e4a
community-itu-thesis: bump to 0.2.0 with a fully English API
hmzsnc96 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| MIT License | ||
|
|
||
| Copyright (c) 2026 Hamza Sancakdaroğlu | ||
|
|
||
| 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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,82 @@ | ||
| # ITU Thesis Template (Typst) · `community-itu-thesis` | ||
|
|
||
| A Typst template for graduate (master's and doctoral) theses at Istanbul | ||
| Technical University (İTÜ), ported from the official LaTeX class (`itutez.cls` | ||
| v1.7.1, January 2025). The thesis output itself is in Turkish (with optional | ||
| English language mode), since that is the intended audience. | ||
|
|
||
| > ⚠️ **Unofficial community port.** This package is not officially endorsed by | ||
| > Istanbul Technical University; it is an independent, volunteer adaptation of | ||
| > the official LaTeX class. Always verify the output against the current | ||
| > official ITU thesis guidelines before submitting your thesis. | ||
| ## Quick start | ||
|
|
||
| ```bash | ||
| typst init @preview/community-itu-thesis:0.2.0 my-thesis | ||
| cd my-thesis | ||
| typst watch main.typ | ||
| ``` | ||
|
|
||
| This creates a working sample project. Edit the information in `main.typ` to | ||
| match your own thesis. | ||
|
|
||
| ## Features | ||
|
|
||
| - Outer cover + Turkish inner cover + English inner cover | ||
| - Jury approval / signature page | ||
| - Dedication, Foreword, Table of Contents, Abbreviations, Symbols | ||
| - List of Tables and List of Figures (automatic) | ||
| - Özet / Summary (Turkish and English abstracts) | ||
| - Roman page numbers (i, ii, …) in front matter, Arabic (1, 2, …) in the body | ||
| - Numbered chapters (“1. …”, with subheadings “1.1”, “1.1.1”) and unnumbered | ||
| front/back-matter headings | ||
| - Appendices (with an "EKLER" cover page) and Curriculum Vitae | ||
| - NUM (numeric/IEEE) and APA citation styles — see `main.typ` and `main-apa.typ` | ||
| - Turkish and English language support (`lang: "tr"` / `lang: "en"`) | ||
|
|
||
| ## Usage | ||
|
|
||
| The main parameters of the `#show: thesis.with(...)` call: | ||
|
|
||
| | Parameter | Description | | ||
| | --- | --- | | ||
| | `name`, `surname`, `student-id` | Student name, surname, and ID | | ||
| | `title-tr`, `title-en` | Turkish/English title (up to 3 lines, as an array) | | ||
| | `department-tr/-en`, `program-tr/-en` | Academic department / program | | ||
| | `institute` | `"graduate"`, `"informatics"`, `"science"`, `"social-sciences"`, `"energy"`, `"eurasia"` | | ||
| | `advisor-tr/-en`, `advisor-univ-tr/-en` | Advisor name and university (TR & EN) | | ||
| | `co-advisor-*` | Co-advisor fields, same pattern as `advisor-*` (optional) | | ||
| | `jury` | Array of `(name: "...", univ: "...")` dictionaries | | ||
| | `cover-date-tr/-en` | Date shown on the covers (e.g. "Aralık 2024") | | ||
| | `submission-date-tr/-en`, `defense-date-tr/-en` | Dates on the approval page | | ||
| | `lang` | `"tr"` or `"en"` | | ||
| | `degree` | `"masters"` or `"phd"` | | ||
| | `binding` | `"hardcover"` (cloth/bez) or `"softcover"` (cardboard/karton) | | ||
| | `printing` | `"two-sided"` (default) or `"one-sided"` | | ||
| | `dedication`, `foreword`, `abbreviations`, `symbols`, `abstract-tr`, `abstract-en`, `appendices`, `cv` | Front/back-matter content | | ||
| | `list-of-figures`, `list-of-tables` | Produce the lists? (default `true`) | | ||
| | `bibliography` | `bibliography("refs.bib", style: "ieee", title: "KAYNAKLAR")` | | ||
|
|
||
| Body chapters (`= Giriş`, `== Alt başlık`, …) are written as ordinary Typst | ||
| headings after the `#show` call; they are numbered automatically. | ||
|
|
||
| ### Citations and bibliography | ||
|
|
||
| Add BibTeX records to `refs.bib` and cite them in the text with `@key`. Choose | ||
| the style via the `bibliography` parameter: `style: "ieee"` (numeric) or | ||
| `style: "apa"`. | ||
|
|
||
| ## Notes | ||
|
|
||
| - The template targets the `Times New Roman` font; if it is not installed, it | ||
| falls back to alternatives such as `TeX Gyre Termes` / `Libertinus Serif`. | ||
| Installing Times New Roman is recommended for a faithful look. | ||
| - Typst does not support EPS; add figures as PNG/PDF/SVG. | ||
|
|
||
| ## License | ||
|
|
||
| MIT — see [LICENSE](LICENSE). | ||
|
|
||
| Adapted from the official LaTeX thesis class prepared by the ITU Informatics | ||
| Institute. | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is generally appreciated to have at least an introduction sentence in English, even if the target audience for the template is not native English speakers. This allows the broader Typst community to get an idea of what the package is about and make sure that it isn't of interest to them.