separate title pages in theses examples
This commit is contained in:
15
Makefile
15
Makefile
@@ -6,13 +6,9 @@ view_documentation: documentation.pdf
|
||||
watch_documentation:
|
||||
typst watch --font-path template/fonts documentation.typ & xdg-open documentation.pdf
|
||||
|
||||
.PHONY: watch_bp_cs
|
||||
watch_bp_cs: bp_cs.pdf
|
||||
xdg-open bp_cs.pdf & typst watch --root . --font-path template/fonts theses/bp_cs.typ bp_cs.pdf
|
||||
|
||||
.PHONY: watch_dp_cs
|
||||
watch_dp_cs: dp_cs.pdf
|
||||
xdg-open dp_cs.pdf & typst watch --root . --font-path template/fonts theses/dp_cs.typ dp_cs.pdf
|
||||
.PHONY: watch_%
|
||||
watch_%: %.pdf %_assignment.pdf
|
||||
xdg-open $< & typst watch --root . --font-path template/fonts theses/$*.typ $<
|
||||
|
||||
.PHONY: documentation
|
||||
documentation: documentation.pdf
|
||||
@@ -96,7 +92,10 @@ TEMPLATE_SRCS := $(shell find template -type f)
|
||||
documentation.pdf: documentation.typ $(TEMPLATE_SRCS)
|
||||
typst compile --font-path template/fonts $<
|
||||
|
||||
%.pdf: theses/%.typ
|
||||
%_assignment.pdf: theses/%_assignment.typ
|
||||
typst compile --font-path template/fonts --root . $< $@
|
||||
|
||||
%.pdf: theses/%.typ %_assignment.pdf
|
||||
typst compile --font-path template/fonts --root . $< $@
|
||||
|
||||
include tests/make.mk
|
||||
|
||||
@@ -5,16 +5,12 @@
|
||||
faculty: "fm",
|
||||
lang: "cs",
|
||||
document: "bp",
|
||||
title_pages: "bp_cs_assignment.pdf",
|
||||
title: (
|
||||
cs: "Ukázka dokumentu typu Bakalářská práce pro FM TUL v češtině",
|
||||
en: "Example document for a Bachelor's thesis for FM TUL in Czech",
|
||||
),
|
||||
author: "Matěj Žucha",
|
||||
author_pronouns: "masculine",
|
||||
supervisor: "Ondřej Mekina",
|
||||
consultant: "Michal Procházka (nepovinný údaj)",
|
||||
programme: (cs: "Můj krásný studijní program"),
|
||||
specialization: (cs: "Moje krásná studijní specializace"),
|
||||
abstract: (
|
||||
cs: [
|
||||
Tento dokument slouží jako praktická ukázka všech důležitcýh funkcí šablony _tultemplate2_,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#import "../template/template.typ": *
|
||||
|
||||
#tultitlepages2(
|
||||
author: "Ondřej Mekina, Matěj Žucha",
|
||||
author: "Matěj Žucha",
|
||||
author_pronouns: "masculine",
|
||||
supervisor: "Ondřej Mekina",
|
||||
document: "bp",
|
||||
@@ -5,16 +5,12 @@
|
||||
faculty: "fm",
|
||||
lang: "en",
|
||||
document: "bp",
|
||||
title_pages: "bp_en_assignment.pdf",
|
||||
title: (
|
||||
en: "Example document for a Bachelor's thesis for FM TUL in English",
|
||||
cs: "Ukázka dokumentu typu Bakalářská práce pro FM TUL v angličtině",
|
||||
),
|
||||
author: "Matěj Žucha",
|
||||
author_pronouns: "me",
|
||||
supervisor: "Ondřej Mekina",
|
||||
consultant: "Michal Procházka (nepovinný údaj)",
|
||||
programme: (en: "My beautiful study programme"),
|
||||
branch: (en: "My beautiful study branch"),
|
||||
abstract: (
|
||||
en: [
|
||||
This document serves as a practical demonstration of all the important features of the
|
||||
|
||||
35
theses/bp_en_assignment.typ
Normal file
35
theses/bp_en_assignment.typ
Normal file
@@ -0,0 +1,35 @@
|
||||
#import "../template/template.typ": *
|
||||
|
||||
#tultitlepages2(
|
||||
lang: "en",
|
||||
author: "Matěj Žucha",
|
||||
supervisor: "Ondřej Mekina",
|
||||
document: "bp",
|
||||
faculty: "fm",
|
||||
programme: (en: "MI6000000007 Top secret"),
|
||||
specialization: (en: "Creating templates"),
|
||||
title: (en: "A guide to use the Typst TUL template"),
|
||||
assignment: (
|
||||
personal_number: "A00000007",
|
||||
department: "Template department",
|
||||
academical_year: "2025/2026",
|
||||
content: [
|
||||
= Guidelines for development:
|
||||
|
||||
+ Familiarize yourself with the template options
|
||||
+ Design several possible template styles
|
||||
+ Familiarize yourself with the Typst tool
|
||||
+ Implement the template
|
||||
+ Consult on the template
|
||||
+ Fix a bunch of things
|
||||
+ Consult on the template
|
||||
+ Fix a bunch of things
|
||||
+ Consult on the template
|
||||
+ Hopefully nothing else needs to be fixed
|
||||
|
||||
= List of professional literature:
|
||||
|
||||
_Top secret_
|
||||
],
|
||||
),
|
||||
)
|
||||
@@ -5,15 +5,12 @@
|
||||
faculty: "fm",
|
||||
lang: "cs",
|
||||
document: "dp",
|
||||
title_pages: "dp_cs_assignment.pdf",
|
||||
title: (
|
||||
cs: "Ukázka dokumentu typu Diplomová práce pro FM TUL v češtině",
|
||||
en: "Example document for a Master's thesis for FM TUL in Czech",
|
||||
),
|
||||
author: "Matěj Žucha",
|
||||
author_pronouns: "masculine",
|
||||
supervisor: "Ondřej Mekina",
|
||||
consultant: "Michal Procházka (nepovinný údaj)",
|
||||
programme: (cs: "Můj krásný studijní program"),
|
||||
abstract: (
|
||||
cs: [
|
||||
Tento dokument slouží jako praktická ukázka všech důležitcýh funkcí šablony _tultemplate2_,
|
||||
|
||||
35
theses/dp_cs_assignment.typ
Normal file
35
theses/dp_cs_assignment.typ
Normal file
@@ -0,0 +1,35 @@
|
||||
#import "../template/template.typ": *
|
||||
|
||||
#tultitlepages2(
|
||||
author: "Matěj Žucha",
|
||||
author_pronouns: "masculine",
|
||||
supervisor: "Ondřej Mekina",
|
||||
document: "dp",
|
||||
faculty: "fm",
|
||||
programme: (cs: "MI6000000007 Přísně tajné"),
|
||||
specialization: (cs: "Vytváření šablon"),
|
||||
title: (cs: "Návod na použití Typst TUL šablony"),
|
||||
assignment: (
|
||||
personal_number: "A00000007",
|
||||
department: "Ústav šablon",
|
||||
academical_year: "2025/2026",
|
||||
content: [
|
||||
= Zásady pro vypracování:
|
||||
|
||||
+ Seznamte se s možnostmi šablon
|
||||
+ Navrhněte několik možných stylů šablon
|
||||
+ Seznamte se s nástrojem Typst
|
||||
+ Implementujte šablonu
|
||||
+ Zkonzultujte šablonu
|
||||
+ Opravte spoustu věcí
|
||||
+ Zkonzultujte šablonu
|
||||
+ Opravte spoustu věcí
|
||||
+ Zkonzultujte šablonu
|
||||
+ Snad už nebude nic potřeba opravit
|
||||
|
||||
= Seznam odborné literatury:
|
||||
|
||||
_Přísně tajné_
|
||||
],
|
||||
),
|
||||
)
|
||||
Reference in New Issue
Block a user