Compare commits
38 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
b846fb2b7d
|
|||
|
f8971eabe6
|
|||
|
74df4253ca
|
|||
|
|
aca613995e | ||
|
d19a30a24a
|
|||
|
9c954f4f9c
|
|||
|
071696a786
|
|||
|
7a2290c00e
|
|||
|
62d398c807
|
|||
|
0be681b0f0
|
|||
|
30fed8c158
|
|||
|
4a293f7405
|
|||
|
1dfefea074
|
|||
|
0f4d928172
|
|||
|
6ce51e199f
|
|||
|
c755d36d44
|
|||
|
b9f91512cb
|
|||
|
a951de2391
|
|||
|
3f824c6fbe
|
|||
|
8442e269b9
|
|||
|
6f7c8210b3
|
|||
|
|
544e3aeca1 | ||
|
434e01e80d
|
|||
|
8ea283d4ea
|
|||
|
1d98975e81
|
|||
|
242eca8755
|
|||
|
a295b9b419
|
|||
|
378bd509c9
|
|||
|
bdbda1189f
|
|||
|
13465c8d78
|
|||
|
7193b648f2
|
|||
|
0c1f227c7f
|
|||
|
e8796c7809
|
|||
|
49320f1e02
|
|||
|
8d2dfb146d
|
|||
|
f9cf4491eb
|
|||
|
255ff918be
|
|||
|
425730c619
|
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,2 +1,3 @@
|
||||
/*.pdf
|
||||
/pack
|
||||
/result
|
||||
|
||||
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
|
||||
xdg-open $< & typst watch --root . --font-path template/fonts theses/$*.typ $<
|
||||
|
||||
.PHONY: documentation
|
||||
documentation: documentation.pdf
|
||||
@@ -21,8 +17,9 @@ PACKDIR := pack/tultemplate2
|
||||
BUNDLEDIR := pack/bundle
|
||||
|
||||
TO_PACK := $(shell find template -type f) template/LICENSE
|
||||
BUNDLE_THESES := bp_cs bp_en dp_cs dp_en prj_cs prj_en
|
||||
BUNDLE_TARGETS := $(TO_PACK:%=$(BUNDLEDIR)/%) $(BUNDLEDIR)/citations.bib $(BUNDLEDIR)/bp_cs.typ \
|
||||
$(BUNDLEDIR)/bp_en.typ $(BUNDLEDIR)/dp_cs.typ $(BUNDLEDIR)/Makefile
|
||||
$(BUNDLE_THESES:%=$(BUNDLEDIR)/%.typ) $(BUNDLEDIR)/Makefile
|
||||
PACK_TARGETS := $(TO_PACK:%=$(PACKDIR)/%) $(PACKDIR)/documentation.typ \
|
||||
$(PACKDIR)/documentation.pdf $(PACKDIR)/citations.bib
|
||||
|
||||
@@ -36,7 +33,7 @@ bundle: $(BUNDLE_TARGETS)
|
||||
.PHONY: clean
|
||||
clean:
|
||||
rm -rf pack
|
||||
rm -f documentation.pdf bp_cs.pdf bp_assignment_cs.pdf dp_cs.pdf
|
||||
rm -f ./*.pdf
|
||||
|
||||
pack/tultemplate2.zip: $(PACK_TARGETS)
|
||||
@mkdir -p $(@D)
|
||||
|
||||
108
README.md
108
README.md
@@ -1,25 +1,115 @@
|
||||
# tultemplate2
|
||||
|
||||
Easy Typst template for TUL documents. Begin by compiling `example.typ` and reading it.
|
||||
Easy Typst template for TUL documents. Begin by compiling `documentation.typ` and reading it.
|
||||
|
||||
## How to compile
|
||||
## Recommended usage
|
||||
|
||||
It is recommended to use either:
|
||||
- The on-line Typst editor (https://typst.app/play/) - use some zip build from releases
|
||||
(https://git.zumepro.cz/tul/tultemplate2/releases).
|
||||
- The `typst` CLI tool (available in Arch repos and Snap)
|
||||
|
||||
On Linux, with the `typst` command available, you can just run:
|
||||
## Contributing
|
||||
|
||||
The development is done on our own Gitea instance
|
||||
(over at https://git.zumepro.cz/tul/tultemplate2). We have a GitHub mirror, but don't actively
|
||||
monitor it. We're sorry for this inconvenience, Gitea just gives us so many useful features.
|
||||
|
||||
If you wish to help with the development (or just want to ask us something), feel free to reach out
|
||||
to the maintainer:
|
||||
|
||||
Ondřej Mekina <ondrej@mekina.cz>
|
||||
|
||||
## Our goals and dreams
|
||||
|
||||
We dream of a simple way for students to make documents. Of a workflow revolving not around
|
||||
citations, fonts, paragraphs and other formal bs, but around the actual content of the document.
|
||||
|
||||
We aim to provide a robust (but simple) framework to build official documents at TUL.
|
||||
|
||||
We want to check as much as we can on behalf of the user and stop the compilation of the document if
|
||||
any formal rules could be broken. Our opinion is that the average user should not even have the
|
||||
opportunity to break formal rules. And if they want to - they will have to dig a bit (or set
|
||||
additional parameters in the template).
|
||||
|
||||
When we started developing this template, we cosmically underestimated the amount of effort we'd
|
||||
have to put into this project. Since then we consulted teachers, executives, typographers and
|
||||
previous TUL template developers. But even now we feel like we're far from perfect. So if you
|
||||
think you could help us or give us any advice to make this project thrive, please **reach out**.
|
||||
|
||||
This project was inspired by Pavel Satrapa's TUL LaTeX bundle
|
||||
(https://www.nti.tul.cz/~satrapa/vyuka/latex-tul/).
|
||||
|
||||
Our project aims to be a modern and more robust alternative. By rewriting in Typst, we have access
|
||||
to scripting. So we can programmatically pull up some information, translation and abort the
|
||||
compilation when necessary.
|
||||
|
||||
Oh and also... it's hella fast.
|
||||
|
||||
## How to build in CLI
|
||||
|
||||
> [!IMPORTANT]
|
||||
> This repo uses git lfs to pull fonts. Please set it up (or download a packed build from releases).
|
||||
> When running in CLI - you'll want to include the embedded fonts (or run using make):
|
||||
> `typst compile --font-path template/fonts example.typ`
|
||||
|
||||
### Dependencies
|
||||
|
||||
- Standard `bash` for Makefile commands (`mkdir`, `rm`, `xdg-open`, `echo`, `cd`, `ln`, `awk`, `sed`, `cat`)
|
||||
- `jq` for processing JSON files (is pretty standard on most GNU/Linux distros)
|
||||
- `GNU Make` for Makefiles
|
||||
- Typst command (`typst` on Snap / `typst` package on Arch-based repos - AUR not required)
|
||||
- `zip` if you want to make packed builds (perhaps for the on-line editor)
|
||||
|
||||
or
|
||||
|
||||
- Nix (use `nix develop` to enter the development shell and you can skip dependency installation)
|
||||
|
||||
### Building your own thesis
|
||||
|
||||
> [!TIP]
|
||||
> We **strongly** recommend to use the template package generator available at
|
||||
> https://tulsablona.zumepro.cz/
|
||||
|
||||
The generator will help you generate the necessary headers (so you don't have to go error-by-error -
|
||||
sadly, Typst does not yet support emitting multiple errors or warnings at once).
|
||||
|
||||
It will also give you some tips (like to upload the assignment PDF from STAG) on how to structure
|
||||
the thesis. And at the end, it will generate a whole example document for you.
|
||||
|
||||
### Building documentation
|
||||
|
||||
The documentation PDF explains different concepts in Typst and in this template.
|
||||
It's source code can be found in `documentation.typ`.
|
||||
|
||||
You can build (and view) it by running:
|
||||
|
||||
```sh
|
||||
make
|
||||
```
|
||||
|
||||
That will compile the example document and view it.
|
||||
This will compile it once and open it using `xdg-open`.
|
||||
|
||||
## Repo structure note
|
||||
Or when using Nix:
|
||||
|
||||
> [!IMPORTANT]
|
||||
> This repo uses git lfs to pull fonts. Please set it up (or download a packed build from releases).
|
||||
> When running in CLI - you'll want to include the embedded fonts:
|
||||
> `typst compile --font-path template/fonts example.typ`
|
||||
```sh
|
||||
nix build
|
||||
```
|
||||
|
||||
That will output `result/documentation.pdf` which you can view.
|
||||
|
||||
### Building thesis examples
|
||||
|
||||
Thesis examples are in `theses`. They also have assignments pulled from an external file.
|
||||
|
||||
Using:
|
||||
|
||||
```sh
|
||||
make bp_cs.pdf
|
||||
```
|
||||
|
||||
Will generate an example bachelor's thesis in czech.
|
||||
|
||||
We also have:
|
||||
- `bp_en.pdf` (only partially translated - if you wish to help translating, we'll gladly welcome it)
|
||||
- `dp_cs.pdf`
|
||||
|
||||
@@ -1,11 +1,13 @@
|
||||
#import "template/template.typ": *
|
||||
|
||||
#show: tultemplate2.with(
|
||||
title: (cs: "Návod na použití Typst TUL šablony"),
|
||||
author: "Ondřej Mekina, Matěj Žucha",
|
||||
supervisor: "Ondřej Mekina",
|
||||
title: (cs: [Návod na použití Typst TUL šablony]),
|
||||
author: [Ondřej Mekina, Matěj Žucha],
|
||||
supervisor: [Ondřej Mekina],
|
||||
)
|
||||
|
||||
#profile("release")
|
||||
|
||||
= Lehký úvod do Typstu a této šablony
|
||||
|
||||
Typst je profesionální sázecí nástroj podobný markdownu, LaTeXu/TeXu, groffu, atd.
|
||||
@@ -100,7 +102,6 @@ Velmi jednoduché. Stačí na začátek řádku dát znak `=` kolikrát chcete.
|
||||
= Nadpis
|
||||
== Podnadpis
|
||||
=== Podpodnadpis
|
||||
==== už tomu asi rozumíte ...
|
||||
|
||||
A pak obsah
|
||||
```
|
||||
@@ -301,94 +302,6 @@ co nejvíce využívala základních funkcí Typstu -- například:
|
||||
|
||||
V této kapitole se naučíme vymaxovat využití této šablony za pomocí dalších funkcí a syntaxe.
|
||||
|
||||
#pagebreak(weak: true)
|
||||
== Parametry této šablony
|
||||
|
||||
Šablonu standardně použijete takto:
|
||||
```typst
|
||||
#show: tultemplate2.with(
|
||||
<název_parametru>: <hodnota_parametru>,
|
||||
<nazev_dalšího_parametru>: "<hodnota_dalšího_parametru>",
|
||||
...
|
||||
)
|
||||
```
|
||||
|
||||
Funkce `tultemplate2` přijímá následující parametry.
|
||||
Zvýrazněné hodnoty jsou základní -- pokud vynecháte parametr, pak bude použita tato hodnota.
|
||||
|
||||
#line()
|
||||
- `style` (vizuální styl dokumentu)
|
||||
- *`"classic"`* - Klasický vizuální styl. Tento styl je neblíže klasické formální
|
||||
podobě dokumentů. _(doporučeno pro nováčky této šablony)_
|
||||
#line()
|
||||
- `faculty` (zkratka fakulty)
|
||||
- *`"tul"`* - barvy a logomarky univerzity
|
||||
- `"fs"` - fakulta strojní
|
||||
- `"ft"` - fakulta textilní
|
||||
- `"fp"` - fakulta přírodovědně-humanitní a pedagogická
|
||||
- `"ef"` - ekonomická fakulta
|
||||
- `"fua"` - fakulta umění a architektury
|
||||
- `"fm"` - fakulta mechatroniky, informatiky a mezioborových studií
|
||||
- `"fzs"` - fakulta zdravotnických studií
|
||||
- `"cxi"` - ústav pro nanomateriály, pokročilé technologie a inovace
|
||||
#line()
|
||||
- `lang` (základní jazyk dokumentu)
|
||||
- *`"cs"`* - čeština
|
||||
- `"en"`
|
||||
#line()
|
||||
- `document` (typ dokumentu)
|
||||
- *`"other"`* - nespecifikovaný (neformální) typ dokumentu
|
||||
- `bp` - Bakalářská práce
|
||||
- `dp` - Diplomová práce
|
||||
#line()
|
||||
- `title` (nadpis dokumentu)
|
||||
- Ve formátu `(<zkratka_jazyka>: "<nadpis>")`, například `(cs: "Můj nadpis")`
|
||||
- Pro většinu dokumentů (kromě `other`) jsou vyžadovány verze _cs_ a _en_ (kvůli abstraktu).
|
||||
#line()
|
||||
- `author` (autor/autoři dokumentu)
|
||||
- Příklad: `"Pavel Novák"` nebo `"Petra Velká, Jindřich Peterka"`
|
||||
#line()
|
||||
- `author_pronouns` (jazykový rod autora - není potřeba pro angličtinu, která má základní hodnotu)
|
||||
- Pro vybraný jazyk _cs_:
|
||||
- `"masculine"` - Mužský rod
|
||||
- `"feminine"` - Ženský rod
|
||||
- `"we"` - Množné číslo
|
||||
- Pro vybraný jazyk _en_:
|
||||
- *`"me"`* - První osoba jednotného čísla
|
||||
- `"we"` - První osoba množného čísla
|
||||
#line()
|
||||
- `supervisor` (vedoucí práce) <arg_supervisor>
|
||||
- V podobě textového řetězce, příklad: `"prof. Jindřich Jindřich"`
|
||||
- Ve formátu `(name: "<jméno>", institute: "<institut>")` (toto lze využít například při DP)
|
||||
#line()
|
||||
- `consultant` (konzultant práce)
|
||||
- Stejně jako u #link(<arg_supervisor>, [`supervisor`])
|
||||
#line()
|
||||
- `programme` (studijní program) <arg_programme>
|
||||
- Ve formátu `(<zkratka_jazyka>: "<název_programu>")`
|
||||
- Je vyžadován jazyk, který je vybrán pro celou šablonu -- tohle je pojistka, aby uživatel šablony
|
||||
nevynechal vybraný jazyk
|
||||
#line()
|
||||
- `specialization` (specializace)
|
||||
- Stejně jako #link(<arg_programme>, [`programme`])
|
||||
#line()
|
||||
- `abstract` (abstrakt)
|
||||
- Ve formátu `(<zkratka_jazyka>: [<abstrakt>])`, například `(cs: [Můj *krásný* abstrakt.])`
|
||||
- Dokumenty vyžadují _cs_ i _en_ abstrakt (kromě typu dokumentu `other`).
|
||||
#line()
|
||||
- `keywords` (klíčová slova zobrazovaná pod abstraktem)
|
||||
- Ve formátu `(<zkratka_jazyka>: ("slovo1", "slovo2", ...))`
|
||||
#line()
|
||||
- `assignment` (PDF soubor se zadáním)
|
||||
- Ve formě cesty k souboru, například: `"zadani.pdf"`. Pokud je tento argument vynechán, bude
|
||||
vložena hláška "vložte zadání" na příslušné místo v dokumentu -- tu stranu můžete pak nahradit
|
||||
originálem zadání.
|
||||
#line()
|
||||
- `citations` (BibTex soubor s citacemi)
|
||||
- Ve formě cesty k souboru, například: `"citace.bib"`. Pokud není specifikován, bude použit
|
||||
výchozí (`"citations.bib"`).
|
||||
|
||||
#pagebreak(weak: true)
|
||||
== Zkratky
|
||||
|
||||
LaTeX TUL šablona má k začátku dokumentu seznam zkratek. Proto jsme ho přidali i do této šablony.
|
||||
|
||||
61
flake.lock
generated
Normal file
61
flake.lock
generated
Normal file
@@ -0,0 +1,61 @@
|
||||
{
|
||||
"nodes": {
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1762482733,
|
||||
"narHash": "sha256-g/da4FzvckvbiZT075Sb1/YDNDr+tGQgh4N8i5ceYMg=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "e1ebeec86b771e9d387dd02d82ffdc77ac753abc",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "nixpkgs-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"nixpkgs": "nixpkgs",
|
||||
"utils": "utils"
|
||||
}
|
||||
},
|
||||
"systems": {
|
||||
"locked": {
|
||||
"lastModified": 1681028828,
|
||||
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||
"owner": "nix-systems",
|
||||
"repo": "default",
|
||||
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-systems",
|
||||
"repo": "default",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"utils": {
|
||||
"inputs": {
|
||||
"systems": "systems"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1731533236,
|
||||
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
|
||||
"owner": "numtide",
|
||||
"repo": "flake-utils",
|
||||
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "numtide",
|
||||
"repo": "flake-utils",
|
||||
"type": "github"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
"version": 7
|
||||
}
|
||||
35
flake.nix
Normal file
35
flake.nix
Normal file
@@ -0,0 +1,35 @@
|
||||
{
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
||||
utils.url = "github:numtide/flake-utils";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, utils }:
|
||||
utils.lib.eachDefaultSystem (system:
|
||||
let
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
dependencies = with pkgs; [ typst gnumake jq xdg-utils zip ];
|
||||
in
|
||||
{
|
||||
packages.documentation = pkgs.stdenv.mkDerivation {
|
||||
pname = "documentation";
|
||||
version = "1.2";
|
||||
src = ./.;
|
||||
buildInputs = dependencies;
|
||||
buildPhase = ''
|
||||
make documentation.pdf
|
||||
'';
|
||||
installPhase = ''
|
||||
mkdir -p $out
|
||||
cp -r documentation.pdf $out/ || true
|
||||
'';
|
||||
};
|
||||
|
||||
packages.default = self.packages.${system}.documentation;
|
||||
|
||||
devShell = with pkgs; mkShell {
|
||||
buildInputs = dependencies;
|
||||
};
|
||||
}
|
||||
);
|
||||
}
|
||||
@@ -8,21 +8,21 @@
|
||||
type: "string",
|
||||
),
|
||||
title_pages: "string | boolean | none",
|
||||
title: "dictionary[string : string] | none",
|
||||
title: "dictionary[string : string | content] | none",
|
||||
author: (
|
||||
name: "string | none",
|
||||
name: "string | content | none",
|
||||
pronouns: "string | none",
|
||||
programme: "dictionary[string : string] | none",
|
||||
specialization: "dictionary[string : string] | none",
|
||||
year_of_study: "integer | none",
|
||||
programme: "dictionary[string : string | content] | none",
|
||||
specialization: "dictionary[string : string | content] | none",
|
||||
year_of_study: "string | content | none",
|
||||
),
|
||||
project: (
|
||||
supervisor: "string | dictionary[string : string] | none",
|
||||
consultant: "string | dictionary[string : string] | none",
|
||||
supervisor: "string | content | dictionary[string : string | content] | none",
|
||||
consultant: "string | content | dictionary[string : string | content] | none",
|
||||
),
|
||||
abstract: (
|
||||
content: "dictionary[string : string | content] | none",
|
||||
keywords: "dictionary[string : array[string]] | none",
|
||||
keywords: "dictionary[string : string | content | array[string]] | none",
|
||||
),
|
||||
acknowledgement: "dictionary[string : string | content] | none",
|
||||
assignment: "dictionary[string : any] | content | string | none",
|
||||
@@ -30,9 +30,9 @@
|
||||
);
|
||||
|
||||
#let assignment_structure = (
|
||||
personal_number: "string",
|
||||
department: "string",
|
||||
academical_year: "string",
|
||||
personal_number: "string | content",
|
||||
department: "string | content",
|
||||
academical_year: "string | content",
|
||||
content: "content",
|
||||
);
|
||||
|
||||
|
||||
@@ -486,9 +486,6 @@
|
||||
<group display="right-inline">
|
||||
<text macro="archive"/>
|
||||
</group>
|
||||
<group display="right-inline">
|
||||
<text macro="abstract"/>
|
||||
</group>
|
||||
<group display="right-inline">
|
||||
<text macro="note"/>
|
||||
</group>
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
</info>
|
||||
<locale>
|
||||
<terms>
|
||||
<term name="no date">[no date]</term>
|
||||
<term name="no date">[bez data]</term>
|
||||
<term name="in">v</term>
|
||||
<term name="online">online</term>
|
||||
<term name="accessed">citováno</term>
|
||||
@@ -27,7 +27,7 @@
|
||||
</locale>
|
||||
<macro name="author">
|
||||
<names variable="author">
|
||||
<name and="text" name-as-sort-order="all" sort-separator=", " delimiter="; " delimiter-precedes-last="never">
|
||||
<name and="text" name-as-sort-order="first" sort-separator=", " delimiter="; " delimiter-precedes-last="never">
|
||||
<name-part name="family" text-case="uppercase"/>
|
||||
<name-part name="given"/>
|
||||
</name>
|
||||
@@ -148,7 +148,7 @@
|
||||
<text variable="title" font-style="italic"/>
|
||||
</else-if>
|
||||
<else-if type="patent">
|
||||
<text variable="title" suffix="."/>
|
||||
<text variable="title" font-style="italic" suffix="."/>
|
||||
</else-if>
|
||||
<else>
|
||||
<text variable="title" font-style="italic" suffix="."/>
|
||||
@@ -203,18 +203,18 @@
|
||||
</macro>
|
||||
<macro name="issue">
|
||||
<group delimiter=", ">
|
||||
<text variable="volume" prefix="vol. "/>
|
||||
<text variable="volume" prefix="Svazek "/>
|
||||
<choose>
|
||||
<if variable="volume">
|
||||
<text variable="issue" prefix="čí. "/>
|
||||
<text variable="page" prefix="str. "/>
|
||||
<text variable="issue" prefix="č. "/>
|
||||
<text variable="page" prefix="s. "/>
|
||||
</if>
|
||||
<else-if variable="issue">
|
||||
<text variable="issue" prefix="Čí. "/>
|
||||
<text variable="page" prefix="str. "/>
|
||||
<text variable="issue" prefix="Č. "/>
|
||||
<text variable="page" prefix="s. "/>
|
||||
</else-if>
|
||||
<else>
|
||||
<text variable="page" prefix="Str. "/>
|
||||
<text variable="page" prefix="S. "/>
|
||||
</else>
|
||||
</choose>
|
||||
</group>
|
||||
@@ -410,6 +410,7 @@
|
||||
<group display="right-inline">
|
||||
<text macro="responsability" suffix=". "/>
|
||||
<text macro="title" suffix=". "/>
|
||||
<text macro="publisher-group" suffix=", "/>
|
||||
<text macro="date" suffix=". "/>
|
||||
<text macro="url" suffix=". "/>
|
||||
<text macro="accessed" suffix=". "/>
|
||||
@@ -458,8 +459,8 @@
|
||||
<group display="right-inline">
|
||||
<text macro="responsability" suffix=". "/>
|
||||
<text macro="title" suffix=". "/>
|
||||
<text macro="number" suffix=". "/>
|
||||
<text macro="date" suffix=". "/>
|
||||
<text macro="number" suffix=". "/>
|
||||
<text macro="publisher-group" suffix=". "/>
|
||||
<text macro="accessed" suffix=". "/>
|
||||
<text macro="collection" suffix=". "/>
|
||||
@@ -488,9 +489,6 @@
|
||||
<group display="right-inline">
|
||||
<text macro="archive"/>
|
||||
</group>
|
||||
<group display="right-inline">
|
||||
<text macro="abstract"/>
|
||||
</group>
|
||||
<group display="right-inline">
|
||||
<text macro="note"/>
|
||||
</group>
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#import "../arguments.typ": req_arg, get_arg
|
||||
#import "../utils.typ": assert_dict_has, is_none
|
||||
#import "common.typ": mainpage, assignment, external_title_pages
|
||||
#import "thesis_base.typ": thesis_base
|
||||
|
||||
#let bp(args) = {
|
||||
let language = req_arg(args, "document.language");
|
||||
|
||||
@@ -8,12 +8,14 @@
|
||||
// thesis types
|
||||
#import "bp.typ": bp
|
||||
#import "dp.typ": dp
|
||||
#import "prj.typ": prj
|
||||
#import "other.typ": other_title_page, other_base
|
||||
#import "thesis_base.typ": thesis_base, thesis_base_title_pages
|
||||
|
||||
#let document_types = (
|
||||
"bp": (bp, thesis_base, thesis_base_title_pages),
|
||||
"dp": (dp, thesis_base, thesis_base_title_pages),
|
||||
"prj": (prj, thesis_base, thesis_base_title_pages),
|
||||
"other": (other_title_page, other_base, (args) => {}),
|
||||
)
|
||||
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
|
||||
#let base_font = "Inter";
|
||||
#let mono_font = "Noto Sans Mono";
|
||||
#let mono_font_compensation = 1.3010575323879552;
|
||||
#let serif_font = "Merriweather";
|
||||
#let tul_logomark_size = 6.5em;
|
||||
|
||||
@@ -36,8 +35,8 @@
|
||||
});
|
||||
|
||||
// text
|
||||
set text(font: serif_font);
|
||||
set par(justify: true, first-line-indent: 0.63cm);
|
||||
set text(font: base_font);
|
||||
set par(justify: true);
|
||||
if language == "cs" {
|
||||
content = set_czech_nonbreakable_terms(content);
|
||||
}
|
||||
@@ -83,7 +82,7 @@
|
||||
}
|
||||
|
||||
// other
|
||||
show raw: set text(font: mono_font, size: mono_font_compensation * 1em);
|
||||
show raw.where(block: false): set text(font: mono_font, size: 1.25em);
|
||||
show raw.where(block: true): it => {
|
||||
block(it, fill: rgb("#eee"), inset: 1em)
|
||||
};
|
||||
@@ -115,7 +114,7 @@
|
||||
#let person_info(record, item_name) = {
|
||||
if is_none(record) {
|
||||
none
|
||||
} else if type(record) == str {
|
||||
} else if type(record) == str or type(record) == content {
|
||||
record
|
||||
} else if type(record) == dictionary {
|
||||
if "name" in record {
|
||||
@@ -201,7 +200,7 @@
|
||||
("consultant", person_info(consultant, "consultant"), false),
|
||||
("study_programme", study_programme, false),
|
||||
("study_specialization", study_specialization, false),
|
||||
("year_of_study", map_none(year_of_study, (v) => str(v) + "."), false),
|
||||
("year_of_study", year_of_study, false),
|
||||
));
|
||||
}
|
||||
|
||||
@@ -286,8 +285,11 @@
|
||||
|
||||
// ASSIGNMENT PAGE
|
||||
|
||||
#let assignment(args) = {
|
||||
#let assignment(args, show_fallback: true) = {
|
||||
if is_none(get_arg(args, "assignment")) {
|
||||
if not show_fallback {
|
||||
return;
|
||||
}
|
||||
page(
|
||||
place(center + horizon, text(
|
||||
get_lang_item(req_arg(args, "document.language"), "place_assignment"),
|
||||
@@ -328,13 +330,13 @@
|
||||
|
||||
#let disclaimer(args) = {
|
||||
import "../lang.typ": disclaimer
|
||||
let (language, faculty, disclaimer_type, author, author_pronouns) = req_arg(args, (
|
||||
let (language, faculty, disclaimer_type, author) = req_arg(args, (
|
||||
"document.language",
|
||||
"document.faculty",
|
||||
"document.type",
|
||||
"author.name",
|
||||
"author.pronouns",
|
||||
));
|
||||
let author_pronouns = get_arg(args, "author.pronouns");
|
||||
heading(get_lang_item(language, "disclaimer"), numbering: none, outlined: false);
|
||||
par(
|
||||
text(disclaimer(language, disclaimer_type, author_pronouns))
|
||||
@@ -366,6 +368,14 @@
|
||||
|
||||
// ABSTRACT
|
||||
|
||||
#let display_keywords(keywords) = {
|
||||
if type(keywords) == array {
|
||||
keywords.join(", ")
|
||||
} else if type(keywords) == str or type(keywords) == content {
|
||||
keywords
|
||||
}
|
||||
}
|
||||
|
||||
#let abstract(language, args) = {
|
||||
heading(
|
||||
text(req_arg(args, "title").at(language), font: base_font), numbering: none, outlined: false
|
||||
@@ -383,7 +393,7 @@
|
||||
linebreak();
|
||||
linebreak();
|
||||
text(get_lang_item(language, "keywords") + ": ", weight: "bold", font: base_font);
|
||||
text(keywords.at(language).join(", "));
|
||||
display_keywords(keywords.at(language))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -478,26 +488,29 @@
|
||||
show repeat: none;
|
||||
block(text(it, weight: "bold", size: 1.2em), above: 1.5em);
|
||||
};
|
||||
outline(title: get_lang_item(language, "toc"));
|
||||
context {
|
||||
if query(heading.where(bookmarked: true)).len() > 0 {
|
||||
outline(title: get_lang_item(language, "toc"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// BIBLIOGRAPHY
|
||||
|
||||
#let bibliogr(args) = {
|
||||
let (language, citations_file) = req_arg(args, ("document.language", "citations"));
|
||||
if language == "cs" {
|
||||
bibliography(
|
||||
citations_file,
|
||||
style: "../citations/tul-csn690-numeric-square_brackets.csl",
|
||||
title: get_lang_item(language, "bibliography"),
|
||||
);
|
||||
} else if language == "en" {
|
||||
bibliography(
|
||||
citations_file,
|
||||
style: "../citations/iso690-numeric-square_brackets.csl",
|
||||
title: get_lang_item(language, "bibliography"),
|
||||
);
|
||||
} else {
|
||||
panic("unknown language for bibliography '" + language + "'");
|
||||
let styles = (
|
||||
"cs": "../citations/tul-csn690-numeric-square_brackets.csl",
|
||||
"en": "../citations/iso690-numeric-square_brackets.csl",
|
||||
);
|
||||
let style = styles.at(language);
|
||||
context {
|
||||
if query(ref.where(element: none)).len() > 0 {
|
||||
bibliography(
|
||||
citations_file,
|
||||
style: style,
|
||||
title: get_lang_item(language, "bibliography"),
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#import "../arguments.typ": req_arg, get_arg, map_arg
|
||||
#import "../utils.typ": assert_dict_has, is_none
|
||||
#import "common.typ": mainpage, assignment, external_title_pages
|
||||
#import "thesis_base.typ": thesis_base
|
||||
|
||||
#let dp(args) = {
|
||||
let language = req_arg(args, "document.language");
|
||||
|
||||
17
template/classic/prj.typ
Normal file
17
template/classic/prj.typ
Normal file
@@ -0,0 +1,17 @@
|
||||
#import "../arguments.typ": req_arg, get_arg
|
||||
#import "../utils.typ": assert_dict_has, is_none
|
||||
#import "common.typ": mainpage, assignment, external_title_pages
|
||||
|
||||
#let prj(args) = {
|
||||
let language = req_arg(args, "document.language");
|
||||
let programme = req_arg(args, "author.programme");
|
||||
assert_dict_has((language,), programme, "study programme");
|
||||
let specialization = req_arg(args, "author.specialization");
|
||||
assert_dict_has((language,), specialization, "study specialization");
|
||||
if language == "cs" {
|
||||
let _ = req_arg(args, "author.pronouns");
|
||||
}
|
||||
|
||||
mainpage(args);
|
||||
assignment(args, show_fallback: false);
|
||||
}
|
||||
@@ -16,6 +16,8 @@
|
||||
"bp_asgn": "Zadání bakalářské práce",
|
||||
"dp": "Diplomová práce",
|
||||
"dp_asgn": "Zadání diplomové práce",
|
||||
"prj": "Projekt",
|
||||
"prj_asgn": "Zadání projektu",
|
||||
|
||||
"city": "Liberec",
|
||||
|
||||
@@ -23,7 +25,7 @@
|
||||
"bibliography": "Použitá literatura",
|
||||
|
||||
"disclaimer": "Prohlášení",
|
||||
"disclaimer_content": "Prohlašuj{g:i|i|eme}, že {svůj} {práce:tu} js{g:em|em|me} vypracoval{g:|a|i} samostatně jako původní dílo s použitím uvedené literatury a na základě konzultací s vedoucím {{g:mé|mé|naší}} bakalářské práce a konzultantem.\n\nJs{g:em|em|me} si vědom{g:|a|i} toho, že na {{g:moji|moji|naši}} {práce:tu} se plně vztahuje zákon č. 121/2000 Sb., o právu autorském, zejména § 60 – školní dílo.\n\nBer{g:u|u|eme} na vědomí, že Technická univerzita v Liberci nezasahuje do {g:mých|mých|našich} autorských práv užitím {{g:mé|mé|naší}} {práce:té} pro vnitřní potřebu Technické univerzity v Liberci.\n\nUžij{g:i|i|eme}-li {práce:tu} nebo poskytn{g:u|u|eme}-li licenci k {jejímu} využití, js{g:em|em|me} si vědom{g:|a|i} povinnosti informovat o této skutečnosti Technickou univerzitu v Liberci; v tomto případě má Technická univerzita v Liberci právo od{g:e|e|} {g:mne|mne|nás} požadovat úhradu nákladů, které vynaložila na vytvoření díla, až do jejich skutečné výše.\n\nSoučasně čestně prohlašuj{g:i|i|eme}, že text elektronické podoby práce vložený do IS/STAG se shoduje s textem tištěné podoby práce.\n\nBer{g:u|u|eme} na vědomí, že {{g:můj|můj|naše}} {práce:ta} bude {zveřejněn} Technickou univerzitou v Liberci v souladu s § 47b zákona č. 111/1998 Sb., o vysokých školách a o změně a doplnění dalších zákonů (zákon o vysokých školách), ve znění pozdějších předpisů.\n\nJs{g:em|em|me} si vědom{g:|a|i} následků, které podle zákona o vysokých školách mohou vyplývat z porušení tohoto prohlášení.",
|
||||
"disclaimer_content": "Prohlašuj{g:i|i|eme}, že {svůj} {práce:tu} js{g:em|em|me} vypracoval{g:|a|i} samostatně jako původní dílo s použitím uvedené literatury a na základě konzultací s vedoucím {{g:mé|mé|naší}} {práce:té} a konzultantem.\n\nJs{g:em|em|me} si vědom{g:|a|i} toho, že na {{g:moji|moji|naši}} {práce:tu} se plně vztahuje zákon č. 121/2000 Sb., o právu autorském, zejména § 60 – školní dílo.\n\nBer{g:u|u|eme} na vědomí, že Technická univerzita v Liberci nezasahuje do {g:mých|mých|našich} autorských práv užitím {{g:mé|mé|naší}} {práce:té} pro vnitřní potřebu Technické univerzity v Liberci.\n\nUžij{g:i|i|eme}-li {práce:tu} nebo poskytn{g:u|u|eme}-li licenci k {jejímu} využití, js{g:em|em|me} si vědom{g:|a|i} povinnosti informovat o této skutečnosti Technickou univerzitu v Liberci; v tomto případě má Technická univerzita v Liberci právo od{g:e|e|} {g:mne|mne|nás} požadovat úhradu nákladů, které vynaložila na vytvoření díla, až do jejich skutečné výše.\n\nSoučasně čestně prohlašuj{g:i|i|eme}, že text elektronické podoby práce vložený do IS/STAG se shoduje s textem tištěné podoby práce.\n\nBer{g:u|u|eme} na vědomí, že {{g:můj|můj|naše}} {práce:ta} bude {zveřejněn} Technickou univerzitou v Liberci v souladu s § 47b zákona č. 111/1998 Sb., o vysokých školách a o změně a doplnění dalších zákonů (zákon o vysokých školách), ve znění pozdějších předpisů.\n\nJs{g:em|em|me} si vědom{g:|a|i} následků, které podle zákona o vysokých školách mohou vyplývat z porušení tohoto prohlášení.",
|
||||
|
||||
"disclaimer_replace": {
|
||||
"bp": {
|
||||
@@ -54,6 +56,21 @@
|
||||
"svůj": "svoji",
|
||||
"jejímu": "jejímu",
|
||||
"zveřejněn": "zveřejněna"
|
||||
},
|
||||
|
||||
"prj": {
|
||||
"práce:ta": "projekt",
|
||||
"práce:tu": "projekt",
|
||||
"práce:té": "projektu",
|
||||
"moji": "můj",
|
||||
"naše": "náš",
|
||||
"naši": "náš",
|
||||
"naší": "náš",
|
||||
"mé": "mého",
|
||||
"můj": "můj",
|
||||
"svůj": "svůj",
|
||||
"jejímu": "jeho",
|
||||
"zveřejněn": "zveřejněn"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -70,7 +87,21 @@
|
||||
"next_page_attachment": "začíná na další straně",
|
||||
"attached_bellow": "dále přiloženo",
|
||||
|
||||
"place_assignment": "Sem vložte zadání"
|
||||
"place_assignment": "Sem vložte zadání",
|
||||
|
||||
"break_rules": {
|
||||
"space_after": [
|
||||
"((?i)[kosuvzai])",
|
||||
"(tj|tzv|tzn)\\."
|
||||
],
|
||||
"nonbreaking_terms": [
|
||||
"(s\\. r\\. o|a\\. s|v\\. o\\. s)\\.",
|
||||
"č\\. ([pe]|ev)\\.",
|
||||
"ev?\\. č\\.",
|
||||
"(?i)Technická univerzita v Liberci\\b",
|
||||
"(?i)Česká republika\\b"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"en": {
|
||||
@@ -90,6 +121,8 @@
|
||||
"bp_asgn": "Bachelor thesis assignment",
|
||||
"dp": "Diploma thesis",
|
||||
"dp_asgn": "Diploma thesis assignment",
|
||||
"prj": "Project",
|
||||
"prj_asgn": "Project assignment",
|
||||
|
||||
"city": "Liberec",
|
||||
|
||||
@@ -106,6 +139,10 @@
|
||||
|
||||
"dp": {
|
||||
"thesis": "diploma thesis"
|
||||
},
|
||||
|
||||
"prj": {
|
||||
"thesis": "project"
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
@@ -46,30 +46,29 @@
|
||||
}
|
||||
|
||||
#let set_czech_nonbreakable_terms(content) = {
|
||||
let space_after = (
|
||||
"[kosuvzai]",
|
||||
"(tj|tzv|tzn)\.",
|
||||
let rules = get_lang_item("cs", "break_rules");
|
||||
let space_after = rules.at("space_after");
|
||||
let nonbreaking_terms = rules.at("nonbreaking_terms");
|
||||
|
||||
let terms = "\b(" + nonbreaking_terms.join("|") + ")";
|
||||
let chain = (
|
||||
"\b((" + space_after.join("|") + ") )+" +
|
||||
"(" + terms + "|\w+\b)"
|
||||
);
|
||||
show regex("\b((?i)(" + space_after.join("|") + ") )+\w+\b"): match => {
|
||||
box(match);
|
||||
}
|
||||
|
||||
let nonbreaking_abbreviations = (
|
||||
"a. s",
|
||||
"s. r. o",
|
||||
"v. o. s",
|
||||
"k. s",
|
||||
"n. p",
|
||||
"p. o",
|
||||
"č. ([pe]|ev)",
|
||||
"ev?. č",
|
||||
);
|
||||
show regex(
|
||||
"(?i)\b(" + nonbreaking_abbreviations.map((v) => { v.replace(".", "\\.") }).join("|") + ")\."
|
||||
): match => {
|
||||
box(match);
|
||||
|
||||
let apply_rules(exprs: ("",), content) = {
|
||||
let res = content;
|
||||
for expr in exprs {
|
||||
res = {
|
||||
show regex(expr): box;
|
||||
res;
|
||||
};
|
||||
}
|
||||
res
|
||||
}
|
||||
|
||||
show heading: apply_rules.with(exprs: (chain, terms));
|
||||
show par: apply_rules.with(exprs: (chain, terms));
|
||||
content
|
||||
}
|
||||
|
||||
|
||||
@@ -1,134 +1,343 @@
|
||||
@article{Wang2025,
|
||||
author = {Wang, Erming and Yu, Kaiwen and Cao, Jiqing and Wang, Minghui and Katsel, Pavel and Song, Won-min and Wang, Zhen and Li, Yuxin and Wang, Xusheng and Wang, Qian and Xu, Peng and Yu, Gefei and Zhu, Li and Geng, Jia and Habibi, Parnian and Qian, Lu and Tuck, Tony and Li, Aiqun and TCW, Julia and Roussos, Panos and Brennand, Kristen J. and Haroutunian, Vahram and Johnson, Erik C.B. and Seyfried, Nicholas T. and Levey, Allan I. and Bennett, David A. and Peng, Junmin and Cai, Dongming and Zhang, Bin},
|
||||
title = {Multiscale proteomic modeling reveals protein networks driving Alzheimer’s disease pathogenesis},
|
||||
journal = {Cell},
|
||||
year = {2025},
|
||||
volume = {},
|
||||
number = {},
|
||||
pages = {},
|
||||
publisher = {Elsevier},
|
||||
doi = {10.1016/j.cell.2025.08.038},
|
||||
url = {https://doi.org/10.1016/j.cell.2025.08.038},
|
||||
issn = {0092-8674}
|
||||
author = {Wang, Erming and Yu, Kaiwen and Cao, Jiqing and Wang, Minghui and Katsel, Pavel and Song, Won-min and Wang, Zhen and Li, Yuxin and Wang, Xusheng and Wang, Qian and Xu, Peng and Yu, Gefei and Zhu, Li and Geng, Jia and Habibi, Parnian and Qian, Lu and Tuck, Tony and Li, Aiqun and TCW, Julia and Roussos, Panos and Brennand, Kristen J. and Haroutunian, Vahram and Johnson, Erik C.B. and Seyfried, Nicholas T. and Levey, Allan I. and Bennett, David A. and Peng, Junmin and Cai, Dongming and Zhang, Bin},
|
||||
title = {Multiscale proteomic modeling reveals protein networks driving Alzheimer’s disease pathogenesis},
|
||||
journal = {Cell},
|
||||
year = {2025},
|
||||
publisher = {Elsevier},
|
||||
doi = {10.1016/j.cell.2025.08.038},
|
||||
url = {https://doi.org/10.1016/j.cell.2025.08.038},
|
||||
issn = {0092-8674}
|
||||
}
|
||||
|
||||
@misc{csl,
|
||||
title = {Citation Style Language},
|
||||
year = {2025},
|
||||
urldate = {2025-06-10},
|
||||
URL = {https://citationstyles.org/},
|
||||
title = {Citation Style Language},
|
||||
year = {2025},
|
||||
urldate = {2025-06-10},
|
||||
URL = {https://citationstyles.org/},
|
||||
}
|
||||
|
||||
@misc{linux,
|
||||
journal = {Blog | Linux Foundation},
|
||||
title = {Classic SysAdmin: Vim 101: A Beginner’s Guide to Vim},
|
||||
year = {2025},
|
||||
urldate = {2025-06-10},
|
||||
URL = {https://www.linuxfoundation.org/blog/blog/classic-sysadmin-vim-101-a-beginners-guide-to-vim},
|
||||
journal = {Blog | Linux Foundation},
|
||||
title = {Classic SysAdmin: Vim 101: A Beginner’s Guide to Vim},
|
||||
year = {2025},
|
||||
urldate = {2025-06-10},
|
||||
URL = {https://www.linuxfoundation.org/blog/blog/classic-sysadmin-vim-101-a-beginners-guide-to-vim},
|
||||
}
|
||||
|
||||
@book{Satrapa2019,
|
||||
author = {Pavel Satrapa},
|
||||
title = {IPv6 - čtvrté vydání},
|
||||
subtitle = {Internetový protokol verze 6},
|
||||
publisher = {Edice CZ.NIC},
|
||||
address = {Milešovská 5, 130 00 Praha 3},
|
||||
year = {2019},
|
||||
edition = {1. elektronické vydání},
|
||||
isbn = {978-80-88168-43-0},
|
||||
url = {https://www.bookport.cz/kniha/ipv6-ctvrte-vydani-5998/},
|
||||
author = {Pavel Satrapa},
|
||||
title = {IPv6 - čtvrté vydání},
|
||||
subtitle = {Internetový protokol verze 6},
|
||||
publisher = {Edice CZ.NIC},
|
||||
address = {Milešovská 5, 130 00 Praha 3},
|
||||
year = {2019},
|
||||
edition = {1. elektronické vydání},
|
||||
isbn = {978-80-88168-43-0},
|
||||
url = {https://www.bookport.cz/kniha/ipv6-ctvrte-vydani-5998/},
|
||||
}
|
||||
|
||||
@unpublished{Mekina2025_Typst,
|
||||
author = {Ondřej Mekina and Matěj Žucha},
|
||||
title = {Návod na použití Typst TUL šablony},
|
||||
subtitle = {Podnázev},
|
||||
publisher = {Nakladatelství Zumepro},
|
||||
address = {Liberec},
|
||||
year = {2025},
|
||||
edition = {1. vyd.},
|
||||
url = {https://zumepro.cz},
|
||||
author = {Ondřej Mekina and Matěj Žucha},
|
||||
title = {Návod na použití Typst TUL šablony},
|
||||
subtitle = {Podnázev},
|
||||
publisher = {Nakladatelství Zumepro},
|
||||
address = {Liberec},
|
||||
year = {2025},
|
||||
edition = {1. vyd.},
|
||||
url = {https://zumepro.cz},
|
||||
}
|
||||
|
||||
@misc{Lhotka2011,
|
||||
author = {Ladislav Lhotka and Pavel Satrapa},
|
||||
title = {Networking studies V},
|
||||
subtitle = {selected technical reports},
|
||||
publisher = {Cesnet},
|
||||
address = {Praha},
|
||||
year = {2011},
|
||||
edition = {2. vydání},
|
||||
isbn = {978-80-904689-1-7},
|
||||
issn = {1234-5678},
|
||||
url = {https://www.cesnet.cz/},
|
||||
author = {Ladislav Lhotka and Pavel Satrapa},
|
||||
title = {Networking studies V},
|
||||
subtitle = {selected technical reports},
|
||||
publisher = {Cesnet},
|
||||
address = {Praha},
|
||||
year = {2011},
|
||||
edition = {2. vydání},
|
||||
isbn = {978-80-904689-1-7},
|
||||
issn = {1234-5678},
|
||||
url = {https://www.cesnet.cz/},
|
||||
}
|
||||
|
||||
@misc{k8VgnlxDB5OWBNwl,
|
||||
title = {Nejlepší programovací jazyky na světě},
|
||||
subtitle = {Rust},
|
||||
publisher = {Zumepro},
|
||||
address = {Jablonec nad Nisou},
|
||||
year = {2025},
|
||||
volume = {69},
|
||||
number = {2},
|
||||
issn = {1234-5678},
|
||||
title = {Nejlepší programovací jazyky na světě},
|
||||
subtitle = {Rust},
|
||||
publisher = {Zumepro},
|
||||
address = {Jablonec nad Nisou},
|
||||
year = {2025},
|
||||
volume = {69},
|
||||
number = {2},
|
||||
issn = {1234-5678},
|
||||
}
|
||||
|
||||
@article{Mekina2025_Rust,
|
||||
author = {Ondřej Mekina},
|
||||
journal = {Nejlepší programovací jazyky na světě: Rust},
|
||||
title = {Programovací jazyk Rust},
|
||||
subtitle = {Neexistuje dokonalý programovací jazyk},
|
||||
publisher = {Zumepro},
|
||||
address = {Jablonec nad Nisou},
|
||||
year = {2025},
|
||||
pages = {1-999},
|
||||
volume = {69},
|
||||
number = {2},
|
||||
issn = {1234-5678},
|
||||
url = {https://zumepro.cz},
|
||||
author = {Ondřej Mekina},
|
||||
journal = {Nejlepší programovací jazyky na světě: Rust},
|
||||
title = {Programovací jazyk Rust},
|
||||
subtitle = {Neexistuje dokonalý programovací jazyk},
|
||||
publisher = {Zumepro},
|
||||
address = {Jablonec nad Nisou},
|
||||
year = {2025},
|
||||
pages = {1-999},
|
||||
volume = {69},
|
||||
number = {2},
|
||||
issn = {1234-5678},
|
||||
url = {https://zumepro.cz},
|
||||
}
|
||||
|
||||
@incollection{Satrapa2019_Part,
|
||||
author = {Pavel Satrapa},
|
||||
booktitle = {IPv6 - čtvrté vydání},
|
||||
booksubtitle = {Internetový protokol verze 6},
|
||||
title = {Linux},
|
||||
subtitle = {Podnázev části},
|
||||
publisher = {Edice CZ.NIC},
|
||||
address = {Milešovská 5, 130 00 Praha 3},
|
||||
year = {2019},
|
||||
edition = {1. elektronické vydání},
|
||||
pages = {355-366},
|
||||
isbn = {978-80-88168-43-0},
|
||||
url = {https://example.org},
|
||||
author = {Pavel Satrapa},
|
||||
booktitle = {IPv6 - čtvrté vydání},
|
||||
booksubtitle = {Internetový protokol verze 6},
|
||||
title = {Linux},
|
||||
subtitle = {Podnázev části},
|
||||
publisher = {Edice CZ.NIC},
|
||||
address = {Milešovská 5, 130 00 Praha 3},
|
||||
year = {2019},
|
||||
edition = {1. elektronické vydání},
|
||||
pages = {355-366},
|
||||
isbn = {978-80-88168-43-0},
|
||||
url = {https://example.org},
|
||||
}
|
||||
|
||||
@manual{Mizuno1995,
|
||||
author = {Kazumi Mizuno and Asahi Higashiyama and Satoru Kuriyama},
|
||||
title = {Controller for game machine},
|
||||
subtitle = {Game console controller},
|
||||
year = {1995},
|
||||
url = {https://patents.google.com/patent/WO1995032777A1/en},
|
||||
author = {Kazumi Mizuno and Asahi Higashiyama and Satoru Kuriyama},
|
||||
title = {Controller for game machine},
|
||||
subtitle = {Game console controller},
|
||||
year = {1995},
|
||||
url = {https://patents.google.com/patent/WO1995032777A1/en},
|
||||
}
|
||||
|
||||
@thesis{Martinec2024,
|
||||
author = {Tomáš Martinec},
|
||||
title = {Problematika generování offline trajektorií průmyslových robotů při výrobě kompozitních konstrukcí},
|
||||
subtitle = {Podnázev},
|
||||
address = {Studentská 1402/2, 461 17 Liberec 1},
|
||||
year = {2024},
|
||||
school = {Technická univerzita v Liberci},
|
||||
type = {Habilitační práce},
|
||||
url = {https://dspace.tul.cz/handle/15240/176519},
|
||||
author = {Tomáš Martinec},
|
||||
title = {Problematika generování offline trajektorií průmyslových robotů při výrobě kompozitních konstrukcí},
|
||||
subtitle = {Podnázev},
|
||||
address = {Studentská 1402/2, 461 17 Liberec 1},
|
||||
year = {2024},
|
||||
school = {Technická univerzita v Liberci},
|
||||
type = {Habilitační práce},
|
||||
url = {https://dspace.tul.cz/handle/15240/176519},
|
||||
}
|
||||
|
||||
@manual{pk1LquauFJ9DLrfE,
|
||||
title = {IEEE Standard for Floating-Point Arithmetic},
|
||||
subtitle = {Podnázev},
|
||||
publisher = {IEEE Standards Association},
|
||||
address = {New York, USA},
|
||||
year = {2019},
|
||||
edition = {754-2019},
|
||||
url = {https://standards.ieee.org/ieee/754/6210/},
|
||||
title = {IEEE Standard for Floating-Point Arithmetic},
|
||||
subtitle = {Podnázev},
|
||||
publisher = {IEEE Standards Association},
|
||||
address = {New York, USA},
|
||||
year = {2019},
|
||||
edition = {754-2019},
|
||||
url = {https://standards.ieee.org/ieee/754/6210/},
|
||||
}
|
||||
|
||||
@article{grippin_sars-cov-2_2025,
|
||||
title = {{SARS}-{CoV}-2 {mRNA} vaccines sensitize tumours to immune checkpoint blockade},
|
||||
issn = {0028-0836, 1476-4687},
|
||||
url = {https://www.nature.com/articles/s41586-025-09655-y},
|
||||
doi = {10.1038/s41586-025-09655-y},
|
||||
abstract = {Immune checkpoint inhibitors ({ICIs}) extend survival in many patients with cancer but are ineffective in patients without pre-existing immunity1-9. Although personalized {mRNA} cancer vaccines sensitize tumours to {ICIs} by directing immune attacks against preselected antigens, personalized vaccines are limited by complex and time-intensive manufacturing processes10-14. Here we show that {mRNA} vaccines targeting {SARS}-{CoV}-2 also sensitize tumours to {ICIs}. In preclinical models, {SARS}-{CoV}-2 {mRNA} vaccines led to a substantial increase in type I interferon, enabling innate immune cells to prime {CD}8+ T cells that target tumour-associated antigens. Concomitant {ICI} treatment is required for maximal efficacy in immunologically cold tumours, which respond by increasing {PD}-L1 expression. Similar correlates of vaccination response are found in humans, including increases in type I interferon, myeloid-lymphoid activation in healthy volunteers and {PD}-L1 expression on tumours. Moreover, receipt of {SARS}-{CoV}-2 {mRNA} vaccines within 100 days of initiating {ICI} is associated with significantly improved median and three-year overall survival in multiple large retrospective cohorts. This benefit is similar among patients with immunologically cold tumours. Together, these results demonstrate that clinically available {mRNA} vaccines targeting non-tumour-related antigens are potent immune modulators capable of sensitizing tumours to {ICIs}.},
|
||||
journaltitle = {Nature},
|
||||
shortjournal = {Nature},
|
||||
author = {Grippin, Adam J. and Marconi, Christiano and Copling, Sage and Li, Nan and Braun, Chen and Woody, Cole and Young, Elliana and Gupta, Priti and Wang, Min and Wu, Annette and Jeong, Seong Dong and Soni, Dhruvkumar and Weidert, Frances and Xie, Chao and Goldenberg, Eden and Kim, Andrew and Zhao, Chong and DeVries, Anna and Castillo, Paul and Lohray, Rishabh and Rooney, Michael K. and Schrank, Benjamin R. and Wang, Yifan and Ma, Yifan and Chang, Enoch and Kouzy, Ramez and Dyson, Kyle and Jafarnia, Jordan and Nariman, Nina and Gladish, Gregory and New, Jacob and Argueta, Ada and Amaya, Diana and Thomas, Nagheme and Doty, Andria and Chen, Joe and Copling, Nikhil and Alatrash, Gabriel and Simon, Julie and Davies, Alicia Bea and Dennis, William and Liang, Richard and Lewis, Jeff and Wei, Xiong and Rinsurongkawong, Waree and Vaporciyan, Ara A. and Johns, Andrew and {D3CODE Team} and Aaroe, Ashley and Abraham, Sanu and Andrews, Lee and Badami, Kiran K. and Baganz, Janna A. and Bajwa, Pratibha and Barbosa, Gregory R. and Beird, Hannah C. and Brock, Kristy and Burton, Elizabeth M. and Cata, Juan and Chung, Caroline and Claussen, Catherine and Crommett, John and Cutherell, Michael and Dabaja, Bouthaina and Dagher, Hiba and Daniels, Kevin M. and Domask, Mary and Draetta, Giulio and Edelkamp, Paul and Fisher, Sarah and French, Katy Elizabeth and Futreal, Andrew and Gaeta, Maria and Godoy, Myrna and Goldstein, Drew and Gunther, Jillian and Hutcheson, Kate and Jaffray, David and Jin, Jeff and John, Teny Matthew and Kell, Trey and Knafl, Mark and Kwan, Rayson C. and Lee, J. Jack and Litton, Jennifer and McEnery, Kevin W. and McGuire, Mary and Mescher, Benjamin and Musunuru, Tejo and Muthu, Mayoora and Nates, Joseph and Owen, Craig S. and Padmakumar, Priyadharshini and Palaskas, Nicholas and Patel, Jay J. and Prabhakaran, Sabitha and Ramsey, Lucas and Ravi, Vinod and Hernandez, Cristhiam Rojas and Sajith, Bilja and Scheet, Paul A. and Schmidt, Stephanie and Shaw, Kenna R. and Shete, Sanjay and Shoenthal, Daniel P. and Stoltenberg, Lessley J. and Tawbi, Hussein and Turin, Anastasia and Unni, Samir and Vicknamparampil, Benju and Weber, Max C. and Weinstein, John and Woodman, Scott Eric and Wozny, Mark C. and Wu, Carol and Wu, Jia and Yao, James C. and Young, Chingyi and Yu, Emily and Zatorski, Steven and Aloia, Thomas A. and Trujillo, John Cuenca and Gibbons, Christopher and Kothari, Anai and Subbiah, Ishwaria and Thompson, Phillip and Lee, Jack and Lee, Ji-Hyun and Sun, Ryan and Sharma, Padmanee and Tran, Hai and Zhang, Jianjun and Gibbons, Don L. and Wargo, Jennifer and Kim, Betty Y. S. and Heymach, John V. and Mendez-Gomez, Hector R. and Jiang, Wen and Sayour, Elias J. and Lin, Steven H.},
|
||||
urldate = {2025-11-01},
|
||||
date = {2025-10-22},
|
||||
langid = {english},
|
||||
}
|
||||
|
||||
@article{wang_enabling_2025,
|
||||
title = {Enabling Sustainable Cloud Computing With Low-Carbon Server Design},
|
||||
volume = {45},
|
||||
rights = {https://ieeexplore.ieee.org/Xplorehelp/downloads/license-information/{IEEE}.html},
|
||||
issn = {0272-1732, 1937-4143},
|
||||
url = {https://ieeexplore.ieee.org/document/11014506/},
|
||||
doi = {10.1109/MM.2025.3572955},
|
||||
abstract = {To combat climate change, we must reduce carbon emissions from hyperscale cloud computing. Compute servers cause the majority of a general-purpose cloud’s emissions. Thus, we are motivated to design carbon-efficient compute server stock keeping units ({SKUs}), or {GreenSKUs}, using recently available low-carbon components. We built three {GreenSKU} prototypes, integrating energy-efficient {CPUs}, reusing old dynamic {RAM} via compute express link, and reusing old solid-state drives. We reveal challenges that limit {GreenSKUs}’ carbon savings at scale and may prevent their adoption by cloud providers. To address these challenges, we developed a novel framework, {GSF} ({GreenSKU} Framework), that enables cloud providers to systematically evaluate {GreenSKUs}’ carbon savings at scale. By implementing {GSF} within Microsoft Azure’s production constraints, we demonstrate that {GreenSKUs} reduce net cloud emissions by 8\%, which is globally significant. This work is the first to demonstrate and quantify how carbon-efficient server designs translate to measurable cloud-scale emissions reductions, enabling meaningful contributions to cloud sustainability goals.},
|
||||
pages = {19--28},
|
||||
number = {4},
|
||||
journaltitle = {{IEEE} Micro},
|
||||
shortjournal = {{IEEE} Micro},
|
||||
author = {Wang, Jaylen and Berger, Daniel S. and Kazhamiaka, Fiodar and Irvene, Celine and Zhang, Chaojie and Choukse, Esha and Frost, Kali and Fonseca, Rodrigo and Warrier, Brijesh and Bansal, Chetan and Stern, Jonathan and Bianchini, Ricardo and Sriraman, Akshitha},
|
||||
urldate = {2025-11-01},
|
||||
date = {2025-07},
|
||||
}
|
||||
|
||||
@article{hurlburt_between_2025,
|
||||
title = {Between the Lines: International {IT} Initiatives},
|
||||
volume = {27},
|
||||
rights = {https://ieeexplore.ieee.org/Xplorehelp/downloads/license-information/{IEEE}.html},
|
||||
issn = {1520-9202, 1941-045X},
|
||||
doi = {10.1109/MITP.2025.3613070},
|
||||
shorttitle = {Between the Lines},
|
||||
pages = {4--10},
|
||||
number = {5},
|
||||
journaltitle = {{IT} Professional},
|
||||
shortjournal = {{IT} Prof.},
|
||||
author = {Hurlburt, George F.},
|
||||
urldate = {2025-11-01},
|
||||
date = {2025-09},
|
||||
}
|
||||
|
||||
@book{gjengset_rust_2022,
|
||||
location = {San Francisco},
|
||||
title = {Rust for rustaceans: idiomatic programming for experienced developers},
|
||||
isbn = {978-1-7185-0185-0},
|
||||
shorttitle = {Rust for rustaceans},
|
||||
abstract = {"For developers who've mastered the basics, this book is the next step on your way to professional-level programming in Rust. It covers everything you need to build and maintain larger code bases, write powerful and flexible applications and libraries, and confidently expand the scope and complexity of your projects. Author Jon Gjengset takes you deep into the Rust programming language, dissecting core topics like ownership, traits, concurrency, and unsafe code. You'll explore key concepts like type layout and trait coherence, delve into the inner workings of concurrent programming and asynchrony with async/await, and take a tour of the world of no\_std programming. Gjengset also provides expert guidance on {API} design, testing strategies, and error handling, and will help develop your understanding of foreign function interfaces, object safety, procedural macros, and much more."--Publisher website},
|
||||
pagetotal = {252},
|
||||
publisher = {No Starch Press},
|
||||
author = {Gjengset, Jon},
|
||||
date = {2022},
|
||||
keywords = {Handbooks and manuals, Instructional and educational works, Rust (Computer program language)},
|
||||
}
|
||||
|
||||
@misc{vaswani_attention_2023,
|
||||
title = {Attention Is All You Need},
|
||||
url = {http://arxiv.org/abs/1706.03762},
|
||||
doi = {10.48550/arXiv.1706.03762},
|
||||
abstract = {The dominant sequence transduction models are based on complex recurrent or convolutional neural networks in an encoder-decoder configuration. The best performing models also connect the encoder and decoder through an attention mechanism. We propose a new simple network architecture, the Transformer, based solely on attention mechanisms, dispensing with recurrence and convolutions entirely. Experiments on two machine translation tasks show these models to be superior in quality while being more parallelizable and requiring significantly less time to train. Our model achieves 28.4 {BLEU} on the {WMT} 2014 English-to-German translation task, improving over the existing best results, including ensembles by over 2 {BLEU}. On the {WMT} 2014 English-to-French translation task, our model establishes a new single-model state-of-the-art {BLEU} score of 41.8 after training for 3.5 days on eight {GPUs}, a small fraction of the training costs of the best models from the literature. We show that the Transformer generalizes well to other tasks by applying it successfully to English constituency parsing both with large and limited training data.},
|
||||
number = {{arXiv}:1706.03762},
|
||||
publisher = {{arXiv}},
|
||||
author = {Vaswani, Ashish and Shazeer, Noam and Parmar, Niki and Uszkoreit, Jakob and Jones, Llion and Gomez, Aidan N. and Kaiser, Lukasz and Polosukhin, Illia},
|
||||
urldate = {2025-11-01},
|
||||
date = {2023-08-02},
|
||||
eprinttype = {arxiv},
|
||||
eprint = {1706.03762 [cs]},
|
||||
keywords = {Computer Science - Computation and Language, Computer Science - Machine Learning},
|
||||
}
|
||||
|
||||
@inproceedings{von_marttens_dark_2026,
|
||||
title = {Dark energy and cosmic acceleration},
|
||||
volume = {5},
|
||||
url = {https://ui.adsabs.harvard.edu/abs/2026enap....5...33V},
|
||||
doi = {10.1016/B978-0-443-21439-4.00104-8},
|
||||
eventtitle = {Encyclopedia of Astrophysics},
|
||||
pages = {33--53},
|
||||
author = {von Marttens, Rodrigo and Alcaniz, Jailson},
|
||||
urldate = {2025-11-01},
|
||||
date = {2026-01-01},
|
||||
note = {{ADS} Bibcode: 2026enap....5...33V},
|
||||
}
|
||||
|
||||
@collection{culhane_ieee_2024,
|
||||
location = {Piscataway, {NJ}},
|
||||
title = {{IEEE} Quantum Week 2024: 15-20 September 2024, Montréal, Québec, Canada: proceedings},
|
||||
isbn = {979-8-3315-4137-8},
|
||||
shorttitle = {{IEEE} Quantum Week 2024},
|
||||
pagetotal = {1},
|
||||
publisher = {{IEEE}},
|
||||
editor = {Culhane, Candace},
|
||||
date = {2024},
|
||||
doi = {10.1109/QCE60285.2024},
|
||||
note = {Meeting Name: {IEEE} International Conference on Quantum Computing and Engineering},
|
||||
}
|
||||
|
||||
@movie{kubrick_2001_1968,
|
||||
title = {2001: A Space Odyssey},
|
||||
publisher = {Metro-Goldwyn-Mayer},
|
||||
author = {Kubrick, Stanley},
|
||||
date = {1968-04-02},
|
||||
langid = {english},
|
||||
}
|
||||
|
||||
@online{gmannickg_why_2012,
|
||||
title = {Why is processing a sorted array faster than processing an unsorted array?},
|
||||
url = {https://stackoverflow.com/questions/11227809/why-is-processing-a-sorted-array-faster-than-processing-an-unsorted-array},
|
||||
publisher = {Stack Overflow},
|
||||
author = {{GManNickG}},
|
||||
urldate = {2025-11-01},
|
||||
date = {2012-06-27},
|
||||
langid = {english},
|
||||
}
|
||||
|
||||
@letter{franklin_silence_1722,
|
||||
title = {Silence Dogood, No. 1},
|
||||
url = {https://web.archive.org/web/20080907231417/http://www.historycarper.com/resources/twobf1/sd1.htm},
|
||||
type = {Letter},
|
||||
author = {Franklin, Benjamin},
|
||||
urldate = {2025-11-01},
|
||||
date = {1722-04-02},
|
||||
langid = {english},
|
||||
}
|
||||
|
||||
@patent{page_method_2001,
|
||||
title = {Method for node ranking in a linked database},
|
||||
url = {https://patents.google.com/patent/US6285999B1/en},
|
||||
holder = {Google {LLC}},
|
||||
abstract = {A method assigns importance ranks to nodes in a linked database, such as any database of documents containing citations, the world wide web or any other hypermedia database. The rank assigned to a document is calculated from the ranks of documents citing it. In addition, the rank of a document is calculated from a constant representing the probability that a browser through the database will randomly jump to the document. The method is particularly useful in enhancing the performance of search engine results for hypermedia databases, such as the world wide web, whose documents have a large variation in quality.},
|
||||
pages = {12},
|
||||
type = {patentus},
|
||||
number = { 6,285,999 B1},
|
||||
author = {Page, Lawrence},
|
||||
urldate = {2025-11-01},
|
||||
date = {2001-09-04},
|
||||
langid = {english},
|
||||
}
|
||||
|
||||
@software{torvalds_linux_2025,
|
||||
title = {Linux kernel},
|
||||
url = {https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/?h=v6.17.6},
|
||||
version = {6.17.6},
|
||||
publisher = {The Linux Kernel Organization, Inc.},
|
||||
author = {Torvalds, Linus},
|
||||
urldate = {2025-11-01},
|
||||
date = {2025-10-29},
|
||||
}
|
||||
|
||||
@inreference{wikipedia_contributors_rust_2025,
|
||||
title = {Rust (programming language)},
|
||||
url = {https://en.wikipedia.org/w/index.php?title=Rust_(programming_language)&oldid=1318205510},
|
||||
booktitle = {Wikipedia, The Free Encyclopedia.},
|
||||
publisher = {Wikipedia, The Free Encyclopedia.},
|
||||
author = {{Wikipedia contributors}},
|
||||
urldate = {2025-11-01},
|
||||
date = {2025-10-22},
|
||||
langid = {english},
|
||||
}
|
||||
|
||||
@letter{torvalds_re_2012,
|
||||
title = {Re: [Regression w/ patch] Media commit causes user space to misbahave (was: Re: Linux 3.8-rc1)},
|
||||
url = {https://lkml.org/lkml/2012/12/23/75},
|
||||
type = {E-mail},
|
||||
author = {Torvalds, Linus},
|
||||
urldate = {2025-11-01},
|
||||
date = {2012-12-23},
|
||||
langid = {english},
|
||||
}
|
||||
|
||||
@inreference{noauthor_citation_nodate,
|
||||
title = {citation překlad z angličtiny do češtiny},
|
||||
url = {https://slovnik.seznam.cz/preklad/anglicky_cesky/citation},
|
||||
booktitle = {Seznam Slovník},
|
||||
urldate = {2025-11-01},
|
||||
}
|
||||
|
||||
@misc{lecun_mnist_2010,
|
||||
title = {{MNIST} handwritten digit database},
|
||||
url = {http://yann.lecun.com/exdb/mnist},
|
||||
publisher = {{ATT} Labs},
|
||||
author = {{LeCun}, Yann and Cortes, Corinna and Burges, {CJ}},
|
||||
urldate = {2025-11-01},
|
||||
date = {2010},
|
||||
}
|
||||
|
||||
@artwork{smetana_vysehrad_nodate,
|
||||
title = {Vyšehrad},
|
||||
author = {Smetana, Bedřich},
|
||||
}
|
||||
|
||||
@audio{presley_ghetto_1969,
|
||||
location = {American Sound, Memphis},
|
||||
title = {In the Ghetto},
|
||||
url = {https://www.youtube.com/watch?v=FJ-r0bilzhU},
|
||||
publisher = {{RCA} Victor},
|
||||
author = {Presley, Elvis},
|
||||
urldate = {2025-11-01},
|
||||
date = {1969-01-20},
|
||||
langid = {english},
|
||||
}
|
||||
|
||||
@artwork{prokofiev_romeo_1938,
|
||||
title = {Romeo and Juliet},
|
||||
author = {Prokofiev, Sergei},
|
||||
date = {1938},
|
||||
}
|
||||
|
||||
@@ -1,19 +1,7 @@
|
||||
@Wang2025
|
||||
@csl
|
||||
@linux
|
||||
@Satrapa2019
|
||||
@Mekina2025_Typst
|
||||
@Lhotka2011
|
||||
@k8VgnlxDB5OWBNwl
|
||||
@Mekina2025_Rust
|
||||
@Satrapa2019_Part
|
||||
@Mizuno1995
|
||||
@Martinec2024
|
||||
@pk1LquauFJ9DLrfE
|
||||
|
||||
#set text(lang: "cs")
|
||||
#bibliography(
|
||||
"citations.bib",
|
||||
title: "Bibliography - CZ",
|
||||
style: "../template/citations/tul-csn690-numeric-square_brackets.csl"
|
||||
style: "../template/citations/tul-csn690-numeric-square_brackets.csl",
|
||||
full: true,
|
||||
)
|
||||
|
||||
@@ -1,18 +1,6 @@
|
||||
@Wang2025
|
||||
@csl
|
||||
@linux
|
||||
@Satrapa2019
|
||||
@Mekina2025_Typst
|
||||
@Lhotka2011
|
||||
@k8VgnlxDB5OWBNwl
|
||||
@Mekina2025_Rust
|
||||
@Satrapa2019_Part
|
||||
@Mizuno1995
|
||||
@Martinec2024
|
||||
@pk1LquauFJ9DLrfE
|
||||
|
||||
#bibliography(
|
||||
"citations.bib",
|
||||
title: "Bibliography - EN",
|
||||
style: "../template/citations/iso690-numeric-square_brackets.csl",
|
||||
full: true,
|
||||
)
|
||||
|
||||
0
theses/autoref_cs.typ
Normal file
0
theses/autoref_cs.typ
Normal file
0
theses/autoref_en.typ
Normal file
0
theses/autoref_en.typ
Normal file
@@ -1,35 +0,0 @@
|
||||
#import "../template/template.typ": *
|
||||
|
||||
#tultitlepages2(
|
||||
author: "James Bond",
|
||||
author_pronouns: "masculine",
|
||||
supervisor: "Q",
|
||||
document: "bp",
|
||||
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é_
|
||||
],
|
||||
),
|
||||
)
|
||||
@@ -5,19 +5,38 @@
|
||||
faculty: "fm",
|
||||
lang: "cs",
|
||||
document: "bp",
|
||||
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",
|
||||
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é_
|
||||
],
|
||||
),
|
||||
author: "Matěj Žucha",
|
||||
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"),
|
||||
programme: (cs: [MI6000000007 Přísně tajné]),
|
||||
specialization: (cs: [Vytváření šablon]),
|
||||
supervisor: [Ondřej Mekina],
|
||||
abstract: (
|
||||
cs: [
|
||||
Tento dokument slouží jako praktická ukázka všech důležitcýh funkcí šablony _tultemplate2_,
|
||||
Tento dokument slouží jako praktická ukázka všech důležitých funkcí šablony _tultemplate2_,
|
||||
s názornými příklady použítí a jejich podrobným popisem.
|
||||
],
|
||||
en: [
|
||||
@@ -26,10 +45,10 @@
|
||||
],
|
||||
),
|
||||
keywords: (
|
||||
cs: ("Ukázka", "Klíčových", "Slov", "Česky"),
|
||||
en: ("Example", "Keywords", "In", "English"),
|
||||
cs: [Ukázka, Klíčových, Slov, Česky],
|
||||
en: [Example, Keywords, In, English],
|
||||
),
|
||||
acknowledgement: (cs: "Lorem ipsum dolor sit amet."),
|
||||
acknowledgement: (cs: [Lorem ipsum dolor sit amet.]),
|
||||
citations: "citations.bib",
|
||||
)
|
||||
|
||||
@@ -89,6 +108,12 @@ Musí akorát ručně dbát na to, aby odstavce nebyly příliš krátké, ani p
|
||||
S souvislosti s odstavci bych ještě zmínil, že Typst se za vás stará také o zarovnávání písma a slov do bloků
|
||||
a dělení slov mezi řádky, když už se na něj nevejdou. Chováním odpovídá pravidlům českého pravopisu a typografie, takže se o to nemusíte vůbec starat.
|
||||
|
||||
== Klikatelný obsah
|
||||
|
||||
Pokud používáte oficiální Typst online editor, můžete jednoduše klepnout na jakýkoliv text v pravé části (náhledové PDF), který se dá měnit,
|
||||
a editor podle toho automaticky přesune váš kurzor na správné místo.
|
||||
Je to sice drobná, ale zato velmi užitečná funkce.
|
||||
|
||||
== Nadpisy
|
||||
|
||||
První důležitá funkce kromě psaní samotného textu, k čemuž není zapotřebí žádná speciální syntax, jsou nadpisy.
|
||||
@@ -96,7 +121,7 @@ Stejně jako v jiných programech, i Typst podporuje nadpisy více úrovní. Pro
|
||||
rovná se a mezera na začátku řádku, čili ve zdrojovém souboru Typstu je používán takto:
|
||||
|
||||
```typst
|
||||
= Můj nadpis první úrovně
|
||||
= Můj nadpis první úrovně
|
||||
```
|
||||
|
||||
Pro nadpis druhé úrovně pak použijeme dvě rovná se, pro nadpis třetí úrovně tři rovná se.
|
||||
@@ -116,6 +141,13 @@ A pak obsah
|
||||
|
||||
Asi jste si všimli, že každý nadpis začíná číslem dané kapitoly. Toto číslování provádí Typst automaticky, promítne se následně i v sekci Obsah na začátku souboru, nemusíte se tak opět o nic starat.
|
||||
|
||||
= Kontrola šablony při kompilaci
|
||||
|
||||
Tato šablona je vytvořena tak, že když se ji pokusíte zkompilovat s nesprávnou syntaxí nebo s nějakou
|
||||
chybějící důležitou částí hlavičky,
|
||||
nenechá vás to provést. Vždy se podívejte na chybové hlášky, které šablona vypisuje, protože vás snadno navedou k opravě všech chyb.
|
||||
Můžete to vyzkoušet tak, že smažete něco z hlavičky nebo že např. použijete funkci, která není nikde definovaná.
|
||||
|
||||
= Používání funkcí
|
||||
|
||||
Používání většiny funkcionalit Typstu je prováděno pomocí tzv. volání funkce. Je to velmi podobné předchozím ukázkám,
|
||||
@@ -132,17 +164,17 @@ Syntaxe základního zvýraznění je velmi podobná například Markdownu. Sta
|
||||
```typst
|
||||
*tučně*
|
||||
_kurzívou_
|
||||
```
|
||||
```
|
||||
|
||||
Další stylování lze dělat právě přes funkce, viz třeba:
|
||||
|
||||
```typst
|
||||
#underline[podtrženo]
|
||||
#strike[přeškrtnuto]
|
||||
#highlight[zvýrazněno]
|
||||
#underline[podtrženo] // podtržení by se NEMĚLO používat
|
||||
```
|
||||
|
||||
Pro úplnost a ukázku je zde přímo v textu *tučný text*, _text kurzívou_, #underline[podtržený text], #strike[přeškrtnutý text] a #highlight[text zvýrazněný podle barvy příslušící vaší fakultě].
|
||||
Pro úplnost a ukázku je zde přímo v textu *tučný text*, _text kurzívou_, #strike[přeškrtnutý text] a #highlight[text zvýrazněný podle barvy příslušící vaší fakultě], #underline[podtržený text] (ačkoli typografové doporučují podtržení nepoužívat).
|
||||
|
||||
== Odkazy<links>
|
||||
|
||||
|
||||
326
theses/bp_en.typ
326
theses/bp_en.typ
@@ -5,55 +5,93 @@
|
||||
faculty: "fm",
|
||||
lang: "en",
|
||||
document: "bp",
|
||||
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ě",
|
||||
assignment: (
|
||||
personal_number: [A00000007],
|
||||
department: [Department of templates],
|
||||
academical_year: [2025/2026],
|
||||
content: [
|
||||
= Principles for drafting:
|
||||
+ Familiarize yourself with available templates
|
||||
+ Design several possible template styles
|
||||
+ Learn to use Typst
|
||||
+ Implement the template
|
||||
+ Review the template
|
||||
+ Fix many issues
|
||||
+ Review the template
|
||||
+ Fix many issues
|
||||
+ Review the template
|
||||
+ Hopefully nothing more needs fixing
|
||||
= List of professional literature:
|
||||
_Top secret_
|
||||
],
|
||||
),
|
||||
author: "Matěj Žucha",
|
||||
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: "me",
|
||||
supervisor: "Ondřej Mekina",
|
||||
consultant: "Michal Procházka (nepovinný údaj)",
|
||||
programme: (en: "My beautiful study programme"),
|
||||
branch: (en: "My beautiful study branch"),
|
||||
programme: (en: [MI6000000007 Top secret]),
|
||||
specialization: (en: [Creation of templates]),
|
||||
supervisor: [Ondřej Mekina],
|
||||
abstract: (
|
||||
cs: [
|
||||
Tento dokument slouží jako praktická ukázka všech důležitých funkcí šablony _tultemplate2_,
|
||||
s názornými příklady použítí a jejich podrobným popisem.
|
||||
],
|
||||
en: [
|
||||
This document serves as a practical demonstration of all the important features of the
|
||||
_tultemplate2_ template, with useful examples and their respective descriptions.
|
||||
],
|
||||
cs: [
|
||||
Tento dokument slouží jako praktická ukázka všech důležitcýh funkcí šablony _tultemplate2_,
|
||||
s názornými příklady použítí a jejich podrobným popisem.
|
||||
],
|
||||
),
|
||||
keywords: (
|
||||
en: ("Example", "Keywords", "In", "English"),
|
||||
cs: ("Ukázka", "Klíčových", "Slov", "Česky"),
|
||||
cs: [Ukázka, Klíčových, Slov, Česky],
|
||||
en: [Example, Keywords, In, English],
|
||||
),
|
||||
acknowledgement: (en: "Lorem ipsum dolor sit amet."),
|
||||
acknowledgement: (en: [Lorem ipsum dolor sit amet.]),
|
||||
citations: "citations.bib",
|
||||
)
|
||||
|
||||
= A quick few words about this template
|
||||
|
||||
This template should serve as an example Bachelor thesis written with the help of the *Typst* programming language and the *tultemplate2* template. It can be used as a starting point for your own report, you just have to learn a few of its useful functions, e.g. how to insert images, tables, citacions or links.
|
||||
This template should serve as an example Bachelor thesis written with the help of the *Typst* programming
|
||||
language and the *tultemplate2* template. It can be used as a starting point for your own report, you just
|
||||
have to learn a few of its useful functions, e.g. how to insert images, tables, citacions or links.
|
||||
|
||||
In contrast with the _documentation.typ_ file, which is available for download on the project's page, this document only contains the most necessary knowledge to complete most reports. If you find this document lacking in features, you can look at the aforementioned docs or contact one of the authors, who will try to help you. Just for the sake of completeness, here is a few words about the Typst programming aanguage and about Typst, as well as about the motivation behind the creation of this template:
|
||||
In contrast with the _documentation.typ_ file, which is available for download on the project's page,
|
||||
this document only contains the most necessary knowledge to complete most reports. If you find this
|
||||
documentt lacking in features, you can look at the aforementioned docs or contact one of the authors,
|
||||
who will try to help you. Just for the sake of completeness, here is a few words about the Typst programming
|
||||
language and about Typst, as well as about the motivation behind the creation of this template:
|
||||
|
||||
Typst is a professional typesetting language similar to markdown, LaTeX/TeX, groff, etc.
|
||||
|
||||
Typst is the modern equivalent of older typesetting tools, which often lack a lot of important features, such that make it next to impossible to work without today. The user must often import an incountable number of packages, which only provide only the most basic of functionalities - for example proper UTF-8 character support, formatting of elements based on the set locale, etc.
|
||||
Typst is the modern equivalent of older typesetting tools, which often lack a lot of important features,
|
||||
such that make it next to impossible to work without today. The user must often import an incountable number of packages,
|
||||
which only provide only the most basic of functionalities --- for example proper UTF-8 character support,
|
||||
formatting of elements based on the set locale, etc.
|
||||
|
||||
= Getting Started with the Template
|
||||
|
||||
You have probably downloaded this template from the generator on the website www.tulsablona.cz and inserted it into the Typst online editor. Therefore, besides the source code, you can also see the resulting PDF file. As you probably know, the main difference between traditional word processors like Microsoft Word or LibreOffice Writer and typesetting programs like LaTeX or Typst is the way in which the appearance and content of the document are edited.
|
||||
You have probably downloaded this template from the generator on the website www.tulsablona.cz and inserted
|
||||
it into the Typst online editor. Therefore, besides the source code, you can also see the resulting PDF file.
|
||||
As you probably know, the main difference between traditional word processors like Microsoft Word or LibreOffice
|
||||
Writer and typesetting programs like LaTeX or Typst is the way in which the appearance and content of the document
|
||||
are edited.
|
||||
|
||||
While Word users are used to changing the document directly using buttons and keyboard shortcuts, Typst (and also LaTeX) use a so-called source file, which is nothing more than an ordinary text file, and can then, on request, compile this source file – i.e., turn it into the final document, for example in PDF format.
|
||||
While Word users are used to changing the document directly using buttons and keyboard shortcuts, Typst (and also LaTeX)
|
||||
use a so-called source file, which is nothing more than an ordinary text file, and can then, on request, compile this
|
||||
source file -- i.e., turn it into the final document, for example in PDF format.
|
||||
|
||||
That’s why here you will find a description of all the important functions not as a gallery of images showing which buttons to click, but rather as an example and guide to all the special text sequences that Typst supports and that the template interprets differently from the main content of the report.
|
||||
That’s why here you will find a description of all the important functions not as a gallery of images showing which
|
||||
buttons to click, but rather as an example and guide to all the special text sequences that Typst supports and that
|
||||
the template interprets differently from the main content of the report.
|
||||
|
||||
== Paragraphs
|
||||
|
||||
Some of you might know this concept from using Markdown, where paragraphs, headings and for the sake of clarity all logically coherent blocks are separated by an empty line. You might have already spotted this while reading through this document. You can try for yourself what happens when
|
||||
Some of you might know this concept from using Markdown, where paragraphs, headings and for the sake of clarity all
|
||||
logically coherent blocks are separated by an empty line. You might have already spotted this while reading through
|
||||
this document. You can try for yourself what happens when
|
||||
you just end the line
|
||||
|
||||
or when you properly use an empty line,
|
||||
@@ -61,7 +99,8 @@ or when you properly use an empty line,
|
||||
|
||||
|
||||
|
||||
or maybe what happens if you use two or more empty rows. (spoiler: 1 or more empty lines share identical behavior, while newlining only is interpreted the same as using spaces or tabs)
|
||||
or maybe what happens if you use two or more empty rows. (spoiler: 1 or more empty lines share identical behavior,
|
||||
while newlining only is interpreted the same as using spaces or tabs)
|
||||
|
||||
Therefore, the user has freedom of choosing whether he uses long lines full of text,
|
||||
or
|
||||
@@ -74,226 +113,251 @@ formatting
|
||||
and manages the separation of content to lines, because it all gets concatenated into a nice consice paragraph.
|
||||
The user has to manually watch out for the length of the paragraphs, so that they are neither too short or too long.
|
||||
|
||||
In the context of paragraphs, it should be mentioned that Typst also manages the alignment of text and words into blocks and the division of words between lines when they don't fit.
|
||||
In the context of paragraphs, it should be mentioned that Typst also manages the alignment of text and words into blocks
|
||||
and the division of words between lines when they don't fit.
|
||||
This behavior complies with the English grammar and typography rules fully, so you don't have to think about that at all.
|
||||
|
||||
== Clickable content
|
||||
|
||||
When using the official Typst online editor, you can simply click on any text in the right side (the preview PDF),
|
||||
and your cursor will jump directly to that text in the source file.
|
||||
A small but very practical feature.
|
||||
|
||||
== Headings
|
||||
|
||||
První důležitá funkce kromě psaní samotného textu, k čemuž není zapotřebí žádná speciální syntax, jsou nadpisy.
|
||||
Stejně jako v jiných programech, i Typst podporuje nadpisy více úrovní. Pro nadpis první úrovně se používá znaménko
|
||||
rovná se a mezera na začátku řádku, čili ve zdrojovém souboru Typstu je používán takto:
|
||||
The first important feature, apart from writing the text itself (which requires no special syntax), is the usage of headings.
|
||||
Just like in other programs, Typst also supports multi-level headings. For a first-level heading, an equals sign followed
|
||||
by a space is used at the beginning of a line, meaning that in a Typst source file it is written like this:
|
||||
|
||||
```typst
|
||||
= Můj nadpis první úrovně
|
||||
= My first level heading
|
||||
```
|
||||
|
||||
Pro nadpis druhé úrovně pak použijeme dvě rovná se, pro nadpis třetí úrovně tři rovná se... Úrovní podnadpisů je dost na to, že vám pravděpodobně nedojdou.
|
||||
For a second-level heading, we then use two equals signs; for a third-level heading, three equals signs…
|
||||
There are enough subheading levels that you’ll probably never run out. However, the TUL guidelines for writing reports
|
||||
forbid usage of level four heading or larger, so you can (and should) only use headings from level 1 to 3.
|
||||
If you try to use fourth-level or larger heading, the template will warn you not to do that and will refuse to compile
|
||||
until you fix this. More on this behavior later.
|
||||
|
||||
```typst
|
||||
= Nadpis
|
||||
== Podnadpis
|
||||
=== Podpodnadpis
|
||||
==== už tomu asi rozumíte ...
|
||||
= Heading
|
||||
== Subheading
|
||||
=== Subsubheading
|
||||
|
||||
A pak obsah
|
||||
And then your content
|
||||
```
|
||||
|
||||
== Číslování kapitol
|
||||
== Chapter Numbering
|
||||
|
||||
Asi jste si všimli, že každý nadpis začíná číslem dané kapitoly. Toto číslování provádí Typst automaticky, promítne se následně i v sekci Obsah na začátku souboru, nemusíte se tak opět o nic starat.
|
||||
You’ve probably noticed that each heading begins with the number of its respective chapter. Typst handles this numbering
|
||||
automatically, and it’s also reflected in the *Table of Contents* at the start of the document, so you don’t have to
|
||||
worry about it yourself.
|
||||
|
||||
= Používání funkcí
|
||||
== Template compile-time checks
|
||||
|
||||
Používání většiny funkcionalit Typstu je prováděno pomocí tzv. volání funkce. Je to velmi podobné předchozím ukázkám,
|
||||
akorát místo toho, aby se text obalil pouze jedním symbolem či podobnou jednoduchou značkou, obalíme text jménem dané funkce. Syntaxe vypadá nějak takto:
|
||||
```typst
|
||||
#Název_funkce[samotný text nebo jiné parametry]
|
||||
```
|
||||
Pokud v editoru napíšete symbol hashtagu, začne vám automaticky našeptávat všechny možné funkce a jejich popisy. Přejdeme rovnou k dalším praktickým příkladům.
|
||||
This template is created in such a way that when you try to compile it with incorrect syntax or an imoportant
|
||||
part of the header missing, it won't let you. Always see the error messages the template provides,
|
||||
as they will simply guide you to fix your mistakes. You can try this by deleting something from the header,
|
||||
or by using e.g. a function that ins't defined anywhere.
|
||||
|
||||
== Zvýrazňování textu
|
||||
= Using Functions
|
||||
|
||||
Syntaxe základního zvýraznění je velmi podobná například Markdownu. Stačí použít následující symboly:
|
||||
Most Typst features are used through what’s called *function calls*. This is quite similar to the previous examples,
|
||||
except that instead of wrapping text with a single symbol or a simple marker, we wrap it with the name of the function.
|
||||
The syntax looks like this:
|
||||
|
||||
```typst
|
||||
*tučně*
|
||||
_kurzívou_
|
||||
```
|
||||
|
||||
Další stylování lze dělat právě přes funkce, viz třeba:
|
||||
|
||||
```typst
|
||||
#underline[podtrženo]
|
||||
#strike[přeškrtnuto]
|
||||
#highlight[zvýrazněno]
|
||||
#Function_name[text itself or other parameters]
|
||||
```
|
||||
|
||||
Pro úplnost a ukázku je zde přímo v textu *tučný text*, _text kurzívou_, #underline[podtržený text], #strike[přeškrtnutý text] a #highlight[text zvýrazněný podle barvy příslušící vaší fakultě].
|
||||
When you type the hash symbol in the editor, it will automatically start suggesting all available functions and their descriptions.
|
||||
Let’s move on to some practical examples.
|
||||
|
||||
== Odkazy<links>
|
||||
== Text Highlighting
|
||||
|
||||
The syntax for basic highlighting is very similar to Markdown. You just need to use the following symbols:
|
||||
|
||||
```typst
|
||||
*bold*
|
||||
_italic_
|
||||
```
|
||||
|
||||
More styling options can be applied through functions, for example:
|
||||
|
||||
```typst
|
||||
#strike[struck through]
|
||||
#highlight[highlighted]
|
||||
#underline[underlined] // underline SHOULD NOT be used
|
||||
```
|
||||
|
||||
For completeness and demonstration, here in the text we have *bold text*, _italic text_, #strike[struck-through text],
|
||||
and #highlight[text highlighted with your faculty’s color], as well as #underline[underlined text]
|
||||
(although typographers generally advise against using underlining).
|
||||
|
||||
== Links<links>
|
||||
|
||||
You can create links to URLs/URIs, emails, phone numbers, and more.
|
||||
A URL (URI) link can be written directly, without calling any function --- just type it in:
|
||||
|
||||
Odkazy je možné dělat na URL/URI zdroje, e-maily, telefony, atd...
|
||||
Odkázat URL (URI) je možné bez zavolání funkce, odkaz stačí prostě a jednodušše napsat:
|
||||
https://git.zumepro.cz/tul/tultemplate2
|
||||
|
||||
```typst
|
||||
https://git.zumepro.cz/tul/tultemplate2
|
||||
```
|
||||
|
||||
Tohle interně volá funkci `link`.
|
||||
Internally, this automatically calls the `link` function.
|
||||
|
||||
If we want to link to less common things (like email addresses), we can call the `link` function explicitly:
|
||||
|
||||
Pokud odkazujeme na méně časté věci (jako e-maily), můžeme použít funkci `link` přímo.
|
||||
```typst
|
||||
#link("mailto:ondrej@mekina.cz")
|
||||
```
|
||||
|
||||
Dalši předpony (URI schémata) můžete najít třeba na Wikipedii
|
||||
You can find other prefixes (URI schemes) on Wikipedia:
|
||||
https://en.wikipedia.org/wiki/List_of_URI_schemes.
|
||||
|
||||
== Obrázky
|
||||
== Images
|
||||
|
||||
Obrázky je možné vkládat samotné, nebo i s popiskem.
|
||||
Images can be inserted either by themselves or with a caption.
|
||||
|
||||
Obrázek se vloží pomocí funkce `image`:
|
||||
An image is inserted using the `image` function:
|
||||
|
||||
Přidání popisku a zároveň zalistování obrázku v indexu (aby se na ně třeba dalo odkazovat) lze
|
||||
udělat pomocí funkce `figure`.
|
||||
To add a caption and also include the image in the index (so you can reference it later), use the `figure` function:
|
||||
|
||||
#block([
|
||||
```typst
|
||||
#figure(
|
||||
image("mujobrazek.jpg"),
|
||||
image("myimage.jpg"),
|
||||
caption: [
|
||||
*Krásný* obrázek, který vypadá jako obrázek.
|
||||
*A beautiful* picture that looks like a picture.
|
||||
]
|
||||
)
|
||||
```
|
||||
], breakable: false)
|
||||
|
||||
Tady je praktická ukázka jednoduchého vložení obrázku s popiskem:
|
||||
Here’s a practical example of inserting an image with a caption:
|
||||
|
||||
#figure(image("../template/assets/tul_logo.svg", width: 25%), caption: [
|
||||
Logo *TUL*
|
||||
Logo of *TUL*
|
||||
])
|
||||
|
||||
První parametr funkce je zobrazovaný obsah, v našem případě zmíněný `image`. K němu můžeme psát různé parametry, v příkladu máme třeba nastavení šířky obrázku v procentech. Jako poslední je parametr `caption`, s jehož pomocí můžeme nastavit popisek obrázku/figury.
|
||||
The first parameter of the function is the displayed content --- in our case, the mentioned `image`. You can then specify various parameters for it; in the example, we define the image width as a percentage.
|
||||
The last parameter is `caption`, which lets us set the figure’s (or image’s) caption text.
|
||||
|
||||
Obrázky se zobrazí na začátku dokumentu v seznamu (pokud to daný typ dokumentu vyžaduje). I toto za vás Typst dělá automaticky, vám tak stačí do textu přidávat obrázky, jak se to hodí, a všechny se poté korektně zobrazí v Seznamu obrázků s odkazem i správně uvedenou stránkou, na které se obrázek nachází. Obrázky jsou také automaticky číslovány podle předepsaného způsobu, podobně jako kapitoly.
|
||||
If the document type requires it, images will automatically appear in a list at the beginning of the document. Typst handles this automatically for you --- all you need to do is add images wherever appropriate, and they’ll show up correctly in the *List of Figures*, complete with references and page numbers.
|
||||
Images are also numbered automatically according to the predefined style, similar to chapters.
|
||||
|
||||
== Tabulky
|
||||
== Tables
|
||||
|
||||
Tabulky lze vytvářet takto:
|
||||
Tables can be created like this:
|
||||
|
||||
```typst
|
||||
#figure(table(
|
||||
columns: 3,
|
||||
table.header([], [*Sloupec 1*], [*Sloupec 2*]),
|
||||
[*Řádek 1*], [a], [b],
|
||||
[*Řádek 2*], [c], [d],
|
||||
), caption: "Moje krásná tabulka")
|
||||
table.header([], [*Column 1*], [*Column 2*]),
|
||||
[*Row 1*], [a], [b],
|
||||
[*Row 2*], [c], [d],
|
||||
), caption: "My beautiful table")
|
||||
```
|
||||
|
||||
Parametr `columns` udává počet sloupců tabulky. Poté následuje libovolný počet buněk tabulky, pro lepší přehlednost jsou v příkladu jednotlivé řádky oddělené. Nakonec je zde opět parametr `caption` sloužící k zadání popisku tabulky.
|
||||
The `columns` parameter specifies the number of columns in the table. Then comes any number of table cells --- for clarity, the rows are separated in the example. Finally, there’s again a `caption` parameter, used to provide a caption for the table.
|
||||
|
||||
#highlight[Hlavičku tabulky (první řádek) je dobré zabalit do funkce header (viz. výše)], to je
|
||||
kvůli tomu, že Typst do vygenerovaného PDF souboru poté přidá metadata (například pro osoby se
|
||||
zrakovým postižením).
|
||||
#highlight[It’s a good idea to wrap the table header (the first row) in the `header` function (as shown above)] --- this ensures Typst includes extra metadata in the generated PDF (for example, for people with visual impairments).
|
||||
|
||||
#figure(table(
|
||||
columns: 3,
|
||||
table.header([], [*Sloupec 1*], [*Sloupec 2*]),
|
||||
[*Řádek 1*], [a], [b],
|
||||
[*Řádek 2*], [c], [d],
|
||||
), caption: "Moje krásná tabulka")
|
||||
table.header([], [*Column 1*], [*Column 2*]),
|
||||
[*Row 1*], [a], [b],
|
||||
[*Row 2*], [c], [d],
|
||||
), caption: "My beautiful table")
|
||||
|
||||
Tabulky se zobrazí na začátku dokumentu v seznamu (pokud to daný typ dokumentu vyžaduje). Jak už jste asi pochopili, i toto provede šablona automaticky.
|
||||
Tables also appear at the beginning of the document in a list (if required by the document type).
|
||||
As you’ve probably noticed by now, Typst’s template takes care of this automatically.
|
||||
|
||||
== Citace
|
||||
== Citations
|
||||
|
||||
Šablona podporuje správu citací pomocí standardního BibTeX @bibtex souboru, stejně jako
|
||||
například LaTeX. Generování citací v BibTeX zápisu umí téměř každá stránka nebo program, které mají pro citace podporu.
|
||||
Kód takovéto citace ve vhodném formátu stačí přidat do souboru _citations.bib_, poté je možné se
|
||||
na ně odkazovat pomocí `@jmeno_citace`, nebo `#cite(<jmeno_citace>)`. Můžu se tak třeba odkázat na
|
||||
citaci Typstu #cite(<typst>).
|
||||
The template supports citation management using a standard BibTeX file @bibtex, just like LaTeX. Almost every website or program that supports citations can generate BibTeX-formatted entries.
|
||||
You simply add the code for such a citation, in the proper format, to the file _citations.bib_. Once added, you can reference it using `@citation_name` or `#cite(<citation_name>)`.
|
||||
For example, I can reference the Typst citation as #cite(<typst>).
|
||||
|
||||
Formát souboru _citations.bib_ je naprosto stejný jako pro LaTeX. Tyto citace lze přímo vložit
|
||||
třeba z webu https://www.citace.com ve formátu BibTeX -- Typst tento formát také umí přečíst.
|
||||
Můžete se do souboru s příponou .bib podívat, zjistíte, že je to opravdu jen obyčejný textový soubor se specifickou strukturou.
|
||||
V přiloženém ukázkovém souboru už nějaké citace jsou - např. již použitá citace se jménem `typst`.
|
||||
The format of the _citations.bib_ file is exactly the same as in LaTeX. You can even copy entries directly from sites like [citace.com](https://www.citace.com) in BibTeX format --- Typst understands that format, too.
|
||||
If you open a `.bib` file, you’ll see that it’s simply a plain text file with a specific structure.
|
||||
The provided sample file already contains several citations --- for instance, the one named `typst`, which was already used above.
|
||||
|
||||
Soubor, ze kterého se načtou citace lze změnit pomocí argumentu šablony (tj. struktura na začátku souboru):
|
||||
You can change the file from which citations are loaded using a template argument (i.e., in the structure at the beginning of your Typst document):
|
||||
|
||||
```typst
|
||||
#show: tultemplate2.with(
|
||||
...
|
||||
citations: "jinysoubor.bib",
|
||||
citations: "anotherfile.bib",
|
||||
...
|
||||
)
|
||||
```
|
||||
|
||||
== Vnitřní odkazy a kotvy<ukazka_odkazu>
|
||||
== Internal Links and Anchors<example_anchor>
|
||||
|
||||
Trochu navážeme na Odkazy (@links).
|
||||
Let’s continue from the *Links* section (@links).
|
||||
|
||||
Můžete dělat i vnitřní odkazy třeba na kapitoly, stránky nebo obrázky s popiskem (zabalené ve
|
||||
`figure`).
|
||||
You can also create internal links --- for instance, to chapters, pages, or labeled images (those wrapped with the `figure` function).
|
||||
|
||||
```typst
|
||||
= Dobrá kapitola<dobra_kapitola>
|
||||
= A Good Chapter<good_chapter>
|
||||
|
||||
Podívejme se na Dobrou kapitolu (@dobra_kapitola).
|
||||
Let’s take a look at A Good Chapter (@good_chapter).
|
||||
```
|
||||
|
||||
Takhle vypadá kotva:
|
||||
Here’s what an anchor looks like:
|
||||
|
||||
```typst
|
||||
<nazev_kotvy>
|
||||
<anchor_name>
|
||||
```
|
||||
|
||||
Kotvu dáte někam do souboru a můžete na ní odkazovat stejně jako na citace:
|
||||
You place the anchor anywhere in the file, and you can reference it the same way you reference citations:
|
||||
|
||||
```typst
|
||||
@nazev_kotvy
|
||||
@anchor_name
|
||||
```
|
||||
Můžeme se podívat na názornou ukázku odkazu (@ukazka_odkazu).
|
||||
|
||||
== Zkratky
|
||||
For example, we can take a look at this illustrative reference (@example_anchor).
|
||||
|
||||
LaTeX TUL šablona má k začátku dokumentu seznam zkratek. Proto jsme ho přidali i do této šablony.
|
||||
Seznam zkratek je v této šabloně nastaven tak, aby se zobrazoval pouze pokud je v něm alespoň jedna
|
||||
zkratka (přišlo nám to poměrně logické).
|
||||
== Abbreviations
|
||||
|
||||
Zkratku #abbr("ABC", "Abeceda") vytvoříte (definujete) pomocí:
|
||||
The LaTeX TUL template includes a list of abbreviations at the beginning of the document. Therefore, we’ve included one here as well.
|
||||
This list is configured to appear only if there is *at least one* abbreviation defined --- which seemed quite logical.
|
||||
|
||||
You can create (define) an abbreviation with #abbr("ABC", "Alphabet") like this:
|
||||
|
||||
```typst
|
||||
#abbr("ABC", "Abeceda")
|
||||
#abbr("ABC", "Alphabet")
|
||||
```
|
||||
|
||||
Potom zkratku #abbr("ABC") už můžete použít přímo (bez opakované definice):
|
||||
After that, you can use the abbreviation #abbr("ABC") directly without redefining it:
|
||||
|
||||
```typst
|
||||
#abbr("ABC")
|
||||
```
|
||||
|
||||
Šablona zajistí následující věci:
|
||||
- Zkratka se zobrazí v seznamu zkratek
|
||||
- Při prvním použití zkratky vás šablona donutí zkratku definovat
|
||||
- Definice zkratky bude použita právě jednou (poprvé)
|
||||
The template automatically ensures the following:
|
||||
- The abbreviation appears in the list of abbreviations
|
||||
- When you use an abbreviation for the first time, the template *requires* you to define it
|
||||
- The definition is used only once (the first time it appears)
|
||||
|
||||
Při prvním použití zkratky (při definici) bude zkratka v textu vypadat takto:
|
||||
#abbr("ZK", "Zkratka").
|
||||
Při dalších použití bude vypadat takto: #abbr("ZK").
|
||||
When used for the first time (definition), the abbreviation will look like this:
|
||||
#abbr("ABR", "Abbreviation").
|
||||
In subsequent uses, it will appear as: #abbr("ABR").
|
||||
|
||||
#highlight[
|
||||
Tedy zkratku _nepřidáváte_ přímo do seznamu zkratek, ale elegantně jí používáte přímo v textu.
|
||||
In other words, you do _not_ add abbreviations directly to the abbreviation list.
|
||||
You simply use them elegantly within the text itself.
|
||||
]
|
||||
|
||||
== Přílohy
|
||||
== Attachments
|
||||
|
||||
Na konec souboru (nebo klidně doprostřed či na začátek, hlavní je, že pouze jednou) je také možné dát strukturu generující přílohy. Momentálně jsou podporované dva typy příloh, odkaz a obsah.
|
||||
Jako demonstrace by měla postačit praktická ukázka, která ve zdrojovém kódu následuje hned za tímto odstavcem, a která generuje přílohy tohoto dokumentu.
|
||||
At the end of the file (or anywhere else, as long as it’s included only once), you can add a structure that generates attachments.
|
||||
Currently, two types of attachments are supported --- links and content.
|
||||
As a demonstration, here’s a practical example (included right after this paragraph in the source code), which generates the attachments for this document:
|
||||
|
||||
#attachments(
|
||||
attach_link("Zdrojový kód této šablony", "https://git.zumepro.cz/tul/tultemplate2"),
|
||||
attach_content("Testovací obsah vygenerovaný Typstem", [Sem lze psát _stylovaný_ obsah.]),
|
||||
attach_link("Source code of this template", "https://git.zumepro.cz/tul/tultemplate2"),
|
||||
attach_content("Test content generated by Typst", [Here you can write _styled_ content.]),
|
||||
)
|
||||
|
||||
0
theses/dis_cs.typ
Normal file
0
theses/dis_cs.typ
Normal file
0
theses/dis_en.typ
Normal file
0
theses/dis_en.typ
Normal file
@@ -5,42 +5,61 @@
|
||||
faculty: "fm",
|
||||
lang: "cs",
|
||||
document: "dp",
|
||||
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",
|
||||
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é_
|
||||
],
|
||||
),
|
||||
author: "Matěj Žucha",
|
||||
title: (
|
||||
cs: [Ukázka dokumentu typu Diplomová práce pro FM TUL v češtině],
|
||||
en: [Example document for a Diploma 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"),
|
||||
programme: (cs: [MI6000000007 Přísně tajné]),
|
||||
specialization: (cs: [Vytváření šablon]),
|
||||
supervisor: [Ondřej Mekina],
|
||||
abstract: (
|
||||
cs: [
|
||||
Tento dokument slouží jako praktická ukázka všech důležitcýh funkcí šablony _tultemplate2_,
|
||||
Tento dokument slouží jako praktická ukázka všech důležitých funkcí šablony _tultemplate2_,
|
||||
s názornými příklady použítí a jejich podrobným popisem.
|
||||
],
|
||||
en: [
|
||||
This document serves as a practical demonstration of all the important features of the
|
||||
_tultemplate2_ template, with useful examples and their respective descriptions.
|
||||
]
|
||||
],
|
||||
),
|
||||
keywords: (
|
||||
cs: ("Ukázka", "Klíčových", "Slov", "Česky"),
|
||||
en: ("Example", "Keywords", "In", "English"),
|
||||
cs: [Ukázka, Klíčových, Slov, Česky],
|
||||
en: [Example, Keywords, In, English],
|
||||
),
|
||||
acknowledgement: (cs: "Lorem ipsum dolor sit amet."),
|
||||
acknowledgement: (cs: [Lorem ipsum dolor sit amet.]),
|
||||
citations: "citations.bib",
|
||||
)
|
||||
|
||||
= Co najdete v této šabloně
|
||||
|
||||
Tato šablona má sloužit jako ukázková bakalářská práce napsaná pomocí jazyka *Typst* a šablony
|
||||
Tato šablona má sloužit jako ukázková diplomová práce napsaná pomocí jazyka *Typst* a šablony
|
||||
*tultemplate2*. Může posloužit jako jednoduchý základ i pro vaši práci, stačí se naučit používat
|
||||
pár užitečných funkcí, jako např. vkládání obrázků, tabulek, citací nebo odkazů.
|
||||
|
||||
Na rozdíl od souboru _example.typ_, který je dostupný ke stažení na stránkách projektu, obsahuje
|
||||
tento dokument jenom to nejpotřebnější ze znalostí, co postačí k úspěšnému napsání práce. Jen pro
|
||||
úplnost je zde ve zkratce něco málo o jazyce typst a motivaci k tvorbě této šablony:
|
||||
Na rozdíl od souboru _documentation.typ_, který je dostupný ke stažení na stránkách projektu, obsahuje
|
||||
tento dokument jenom to nejpotřebnější ze znalostí, co postačí k úspěšnému napsání práce. Pokud vám budou nějaké funkce chybět, můžete se podívat do zmíněného souboru, anebo kontaktovat některého z autorů, kteří se vám pokusí pomoct. Jen pro úplnost je zde ve zkratce něco málo o jazyce typst a motivaci k tvorbě této šablony:
|
||||
|
||||
Typst je profesionální sázecí nástroj podobný markdownu, LaTeXu/TeXu, groffu, atd.
|
||||
|
||||
@@ -75,7 +94,7 @@ nebo když použijete zmíněný prázdný řádek,
|
||||
|
||||
|
||||
anebo co se stane při použití dvou a více prázdných řádků. (spoiler: 1 a více prázdných řádků mají identické
|
||||
chování, pouze ukončení řádku je interpretováno stejně jako např. mezerník)
|
||||
chování, pouze ukončení řádku je interpretováno stejně jako např. mezerník nebo tabulátor)
|
||||
|
||||
Uživatel má tím pádem svobodu v tom, jestli ve zdrojovém souboru používá dlouhé řádky plné textu,
|
||||
nebo
|
||||
@@ -87,7 +106,13 @@ a sám si obsah dělí na řádky, protože ve výsledném PDF souboru se stejn
|
||||
Musí akorát ručně dbát na to, aby odstavce nebyly příliš krátké, ani příliš dlouhé.
|
||||
|
||||
S souvislosti s odstavci bych ještě zmínil, že Typst se za vás stará také o zarovnávání písma a slov do bloků
|
||||
a dělení slov mezi řádky. Chováním odpovídá pravidlům českého pravopisu a typografie, takže se o to nemusíte vůbec starat.
|
||||
a dělení slov mezi řádky, když už se na něj nevejdou. Chováním odpovídá pravidlům českého pravopisu a typografie, takže se o to nemusíte vůbec starat.
|
||||
|
||||
== Klikatelný obsah
|
||||
|
||||
Pokud používáte oficiální Typst online editor, můžete jednoduše klepnout na jakýkoliv text v pravé části (náhledové PDF), který se dá měnit,
|
||||
a editor podle toho automaticky přesune váš kurzor na správné místo.
|
||||
Je to sice drobná, ale zato velmi užitečná funkce.
|
||||
|
||||
== Nadpisy
|
||||
|
||||
@@ -96,7 +121,7 @@ Stejně jako v jiných programech, i Typst podporuje nadpisy více úrovní. Pro
|
||||
rovná se a mezera na začátku řádku, čili ve zdrojovém souboru Typstu je používán takto:
|
||||
|
||||
```typst
|
||||
= Můj nadpis první úrovně
|
||||
= Můj nadpis první úrovně
|
||||
```
|
||||
|
||||
Pro nadpis druhé úrovně pak použijeme dvě rovná se, pro nadpis třetí úrovně tři rovná se.
|
||||
@@ -116,6 +141,13 @@ A pak obsah
|
||||
|
||||
Asi jste si všimli, že každý nadpis začíná číslem dané kapitoly. Toto číslování provádí Typst automaticky, promítne se následně i v sekci Obsah na začátku souboru, nemusíte se tak opět o nic starat.
|
||||
|
||||
= Kontrola šablony při kompilaci
|
||||
|
||||
Tato šablona je vytvořena tak, že když se ji pokusíte zkompilovat s nesprávnou syntaxí nebo s nějakou
|
||||
chybějící důležitou částí hlavičky,
|
||||
nenechá vás to provést. Vždy se podívejte na chybové hlášky, které šablona vypisuje, protože vás snadno navedou k opravě všech chyb.
|
||||
Můžete to vyzkoušet tak, že smažete něco z hlavičky nebo že např. použijete funkci, která není nikde definovaná.
|
||||
|
||||
= Používání funkcí
|
||||
|
||||
Používání většiny funkcionalit Typstu je prováděno pomocí tzv. volání funkce. Je to velmi podobné předchozím ukázkám,
|
||||
@@ -132,17 +164,17 @@ Syntaxe základního zvýraznění je velmi podobná například Markdownu. Sta
|
||||
```typst
|
||||
*tučně*
|
||||
_kurzívou_
|
||||
```
|
||||
```
|
||||
|
||||
Další stylování lze dělat právě přes funkce, viz třeba:
|
||||
|
||||
```typst
|
||||
#underline[podtrženo]
|
||||
#strike[přeškrtnuto]
|
||||
#highlight[zvýrazněno]
|
||||
#underline[podtrženo] // podtržení by se NEMĚLO používat
|
||||
```
|
||||
|
||||
Pro úplnost a ukázku je zde přímo v textu *tučný text*, _text kurzívou_, #underline[podtržený text], #strike[přeškrtnutý text] a #highlight[text zvýrazněný podle barvy příslušící vaší fakultě].
|
||||
Pro úplnost a ukázku je zde přímo v textu *tučný text*, _text kurzívou_, #strike[přeškrtnutý text] a #highlight[text zvýrazněný podle barvy příslušící vaší fakultě], #underline[podtržený text] (ačkoli typografové doporučují podtržení nepoužívat).
|
||||
|
||||
== Odkazy<links>
|
||||
|
||||
|
||||
363
theses/dp_en.typ
Normal file
363
theses/dp_en.typ
Normal file
@@ -0,0 +1,363 @@
|
||||
#import "../template/template.typ": *
|
||||
|
||||
#show: tultemplate2.with(
|
||||
style: "classic",
|
||||
faculty: "fm",
|
||||
lang: "en",
|
||||
document: "dp",
|
||||
assignment: (
|
||||
personal_number: [A00000007],
|
||||
department: [Department of templates],
|
||||
academical_year: [2025/2026],
|
||||
content: [
|
||||
= Principles for drafting:
|
||||
+ Familiarize yourself with available templates
|
||||
+ Design several possible template styles
|
||||
+ Learn to use Typst
|
||||
+ Implement the template
|
||||
+ Review the template
|
||||
+ Fix many issues
|
||||
+ Review the template
|
||||
+ Fix many issues
|
||||
+ Review the template
|
||||
+ Hopefully nothing more needs fixing
|
||||
= List of professional literature:
|
||||
_Top secret_
|
||||
],
|
||||
),
|
||||
title: (
|
||||
cs: [Ukázka dokumentu typu Diplomová práce pro FM TUL v češtině],
|
||||
en: [Example document for a Diploma thesis for FM TUL in Czech],
|
||||
),
|
||||
author: [Matěj Žucha],
|
||||
author_pronouns: "me",
|
||||
programme: (en: [MI6000000007 Top secret]),
|
||||
specialization: (en: [Creation of templates]),
|
||||
supervisor: [Ondřej Mekina],
|
||||
abstract: (
|
||||
cs: [
|
||||
Tento dokument slouží jako praktická ukázka všech důležitých funkcí šablony _tultemplate2_,
|
||||
s názornými příklady použítí a jejich podrobným popisem.
|
||||
],
|
||||
en: [
|
||||
This document serves as a practical demonstration of all the important features of the
|
||||
_tultemplate2_ template, with useful examples and their respective descriptions.
|
||||
],
|
||||
),
|
||||
keywords: (
|
||||
cs: [Ukázka, Klíčových, Slov, Česky],
|
||||
en: [Example, Keywords, In, English],
|
||||
),
|
||||
acknowledgement: (en: [Lorem ipsum dolor sit amet.]),
|
||||
citations: "citations.bib",
|
||||
)
|
||||
|
||||
= A quick few words about this template
|
||||
|
||||
This template should serve as an example Diploma thesis written with the help of the *Typst* programming
|
||||
language and the *tultemplate2* template. It can be used as a starting point for your own report, you just
|
||||
have to learn a few of its useful functions, e.g. how to insert images, tables, citacions or links.
|
||||
|
||||
In contrast with the _documentation.typ_ file, which is available for download on the project's page,
|
||||
this document only contains the most necessary knowledge to complete most reports. If you find this
|
||||
documentt lacking in features, you can look at the aforementioned docs or contact one of the authors,
|
||||
who will try to help you. Just for the sake of completeness, here is a few words about the Typst programming
|
||||
language and about Typst, as well as about the motivation behind the creation of this template:
|
||||
|
||||
Typst is a professional typesetting language similar to markdown, LaTeX/TeX, groff, etc.
|
||||
|
||||
Typst is the modern equivalent of older typesetting tools, which often lack a lot of important features,
|
||||
such that make it next to impossible to work without today. The user must often import an incountable number of packages,
|
||||
which only provide only the most basic of functionalities - for example proper UTF-8 character support,
|
||||
formatting of elements based on the set locale, etc.
|
||||
|
||||
= Getting Started with the Template
|
||||
|
||||
You have probably downloaded this template from the generator on the website www.tulsablona.cz and inserted
|
||||
it into the Typst online editor. Therefore, besides the source code, you can also see the resulting PDF file.
|
||||
As you probably know, the main difference between traditional word processors like Microsoft Word or LibreOffice
|
||||
Writer and typesetting programs like LaTeX or Typst is the way in which the appearance and content of the document
|
||||
are edited.
|
||||
|
||||
While Word users are used to changing the document directly using buttons and keyboard shortcuts, Typst (and also LaTeX)
|
||||
use a so-called source file, which is nothing more than an ordinary text file, and can then, on request, compile this
|
||||
source file -- i.e., turn it into the final document, for example in PDF format.
|
||||
|
||||
That’s why here you will find a description of all the important functions not as a gallery of images showing which
|
||||
buttons to click, but rather as an example and guide to all the special text sequences that Typst supports and that
|
||||
the template interprets differently from the main content of the report.
|
||||
|
||||
== Paragraphs
|
||||
|
||||
Some of you might know this concept from using Markdown, where paragraphs, headings and for the sake of clarity all
|
||||
logically coherent blocks are separated by an empty line. You might have already spotted this while reading through
|
||||
this document. You can try for yourself what happens when
|
||||
you just end the line
|
||||
|
||||
or when you properly use an empty line,
|
||||
|
||||
|
||||
|
||||
|
||||
or maybe what happens if you use two or more empty rows. (spoiler: 1 or more empty lines share identical behavior,
|
||||
while newlining only is interpreted the same as using spaces or tabs)
|
||||
|
||||
Therefore, the user has freedom of choosing whether he uses long lines full of text,
|
||||
or
|
||||
if
|
||||
he
|
||||
prefers
|
||||
a
|
||||
cleaner
|
||||
formatting
|
||||
and manages the separation of content to lines, because it all gets concatenated into a nice consice paragraph.
|
||||
The user has to manually watch out for the length of the paragraphs, so that they are neither too short or too long.
|
||||
|
||||
In the context of paragraphs, it should be mentioned that Typst also manages the alignment of text and words into blocks
|
||||
and the division of words between lines when they don't fit.
|
||||
This behavior complies with the English grammar and typography rules fully, so you don't have to think about that at all.
|
||||
|
||||
== Clickable content
|
||||
|
||||
When using the official Typst online editor, you can simply click on any text in the right side (the preview PDF),
|
||||
and your cursor will jump directly to that text in the source file.
|
||||
A small but very practical feature.
|
||||
|
||||
== Headings
|
||||
|
||||
The first important feature, apart from writing the text itself (which requires no special syntax), is the usage of headings.
|
||||
Just like in other programs, Typst also supports multi-level headings. For a first-level heading, an equals sign followed
|
||||
by a space is used at the beginning of a line, meaning that in a Typst source file it is written like this:
|
||||
|
||||
```typst
|
||||
= My first level heading
|
||||
```
|
||||
|
||||
For a second-level heading, we then use two equals signs; for a third-level heading, three equals signs...
|
||||
There are enough subheading levels that you’ll probably never run out. However, the TUL guidelines for writing reports
|
||||
forbid usage of level four heading or larger, so you can (and should) only use headings from level 1 to 3.
|
||||
If you try to use fourth-level or larger heading, the template will warn you not to do that and will refuse to compile
|
||||
until you fix this. More on this behavior later.
|
||||
|
||||
```typst
|
||||
= Heading
|
||||
== Subheading
|
||||
=== Subsubheading
|
||||
|
||||
And then your content
|
||||
```
|
||||
|
||||
== Chapter Numbering
|
||||
|
||||
You’ve probably noticed that each heading begins with the number of its respective chapter. Typst handles this numbering
|
||||
automatically, and it’s also reflected in the *Table of Contents* at the start of the document, so you don’t have to
|
||||
worry about it yourself.
|
||||
|
||||
== Template compile-time checks
|
||||
|
||||
This template is created in such a way that when you try to compile it with incorrect syntax or an imoportant
|
||||
part of the header missing, it won't let you. Always see the error messages the template provides,
|
||||
as they will simply guide you to fix your mistakes. You can try this by deleting something from the header,
|
||||
or by using e.g. a function that ins't defined anywhere.
|
||||
|
||||
= Using Functions
|
||||
|
||||
Most Typst features are used through what’s called *function calls*. This is quite similar to the previous examples,
|
||||
except that instead of wrapping text with a single symbol or a simple marker, we wrap it with the name of the function.
|
||||
The syntax looks like this:
|
||||
|
||||
```typst
|
||||
#Function_name[text itself or other parameters]
|
||||
```
|
||||
|
||||
When you type the hash symbol in the editor, it will automatically start suggesting all available functions and their descriptions.
|
||||
Let’s move on to some practical examples.
|
||||
|
||||
== Text Highlighting
|
||||
|
||||
The syntax for basic highlighting is very similar to Markdown. You just need to use the following symbols:
|
||||
|
||||
```typst
|
||||
*bold*
|
||||
_italic_
|
||||
```
|
||||
|
||||
More styling options can be applied through functions, for example:
|
||||
|
||||
```typst
|
||||
#strike[struck through]
|
||||
#highlight[highlighted]
|
||||
#underline[underlined] // underline SHOULD NOT be used
|
||||
```
|
||||
|
||||
For completeness and demonstration, here in the text we have *bold text*, _italic text_, #strike[struck-through text],
|
||||
and #highlight[text highlighted with your faculty’s color], as well as #underline[underlined text]
|
||||
(although typographers generally advise against using underlining).
|
||||
|
||||
== Links<links>
|
||||
|
||||
You can create links to URLs/URIs, emails, phone numbers, and more.
|
||||
A URL (URI) link can be written directly, without calling any function --- just type it in:
|
||||
|
||||
https://git.zumepro.cz/tul/tultemplate2
|
||||
|
||||
```typst
|
||||
https://git.zumepro.cz/tul/tultemplate2
|
||||
```
|
||||
|
||||
Internally, this automatically calls the `link` function.
|
||||
|
||||
If we want to link to less common things (like email addresses), we can call the `link` function explicitly:
|
||||
|
||||
```typst
|
||||
#link("mailto:ondrej@mekina.cz")
|
||||
```
|
||||
|
||||
You can find other prefixes (URI schemes) on Wikipedia:
|
||||
https://en.wikipedia.org/wiki/List_of_URI_schemes.
|
||||
|
||||
== Images
|
||||
|
||||
Images can be inserted either by themselves or with a caption.
|
||||
|
||||
An image is inserted using the `image` function:
|
||||
|
||||
To add a caption and also include the image in the index (so you can reference it later), use the `figure` function:
|
||||
|
||||
#block([
|
||||
```typst
|
||||
#figure(
|
||||
image("myimage.jpg"),
|
||||
caption: [
|
||||
*A beautiful* picture that looks like a picture.
|
||||
]
|
||||
)
|
||||
```
|
||||
], breakable: false)
|
||||
|
||||
Here’s a practical example of inserting an image with a caption:
|
||||
|
||||
#figure(image("../template/assets/tul_logo.svg", width: 25%), caption: [
|
||||
Logo of *TUL*
|
||||
])
|
||||
|
||||
The first parameter of the function is the displayed content --- in our case, the mentioned `image`. You can then specify various parameters for it; in the example, we define the image width as a percentage.
|
||||
The last parameter is `caption`, which lets us set the figure’s (or image’s) caption text.
|
||||
|
||||
If the document type requires it, images will automatically appear in a list at the beginning of the document. Typst handles this automatically for you --- all you need to do is add images wherever appropriate, and they’ll show up correctly in the *List of Figures*, complete with references and page numbers.
|
||||
Images are also numbered automatically according to the predefined style, similar to chapters.
|
||||
|
||||
== Tables
|
||||
|
||||
Tables can be created like this:
|
||||
|
||||
```typst
|
||||
#figure(table(
|
||||
columns: 3,
|
||||
table.header([], [*Column 1*], [*Column 2*]),
|
||||
[*Row 1*], [a], [b],
|
||||
[*Row 2*], [c], [d],
|
||||
), caption: "My beautiful table")
|
||||
```
|
||||
|
||||
The `columns` parameter specifies the number of columns in the table. Then comes any number of table cells --- for clarity, the rows are separated in the example. Finally, there’s again a `caption` parameter, used to provide a caption for the table.
|
||||
|
||||
#highlight[It’s a good idea to wrap the table header (the first row) in the `header` function (as shown above)] --- this ensures Typst includes extra metadata in the generated PDF (for example, for people with visual impairments).
|
||||
|
||||
#figure(table(
|
||||
columns: 3,
|
||||
table.header([], [*Column 1*], [*Column 2*]),
|
||||
[*Row 1*], [a], [b],
|
||||
[*Row 2*], [c], [d],
|
||||
), caption: "My beautiful table")
|
||||
|
||||
Tables also appear at the beginning of the document in a list (if required by the document type).
|
||||
As you’ve probably noticed by now, Typst’s template takes care of this automatically.
|
||||
|
||||
== Citations
|
||||
|
||||
The template supports citation management using a standard BibTeX file @bibtex, just like LaTeX. Almost every website or program that supports citations can generate BibTeX-formatted entries.
|
||||
You simply add the code for such a citation, in the proper format, to the file _citations.bib_. Once added, you can reference it using `@citation_name` or `#cite(<citation_name>)`.
|
||||
For example, I can reference the Typst citation as #cite(<typst>).
|
||||
|
||||
The format of the _citations.bib_ file is exactly the same as in LaTeX. You can even copy entries directly from sites like [citace.com](https://www.citace.com) in BibTeX format --- Typst understands that format, too.
|
||||
If you open a `.bib` file, you’ll see that it’s simply a plain text file with a specific structure.
|
||||
The provided sample file already contains several citations --- for instance, the one named `typst`, which was already used above.
|
||||
|
||||
You can change the file from which citations are loaded using a template argument (i.e., in the structure at the beginning of your Typst document):
|
||||
|
||||
```typst
|
||||
#show: tultemplate2.with(
|
||||
...
|
||||
citations: "anotherfile.bib",
|
||||
...
|
||||
)
|
||||
```
|
||||
|
||||
== Internal Links and Anchors<example_anchor>
|
||||
|
||||
Let’s continue from the *Links* section (@links).
|
||||
|
||||
You can also create internal links --- for instance, to chapters, pages, or labeled images (those wrapped with the `figure` function).
|
||||
|
||||
```typst
|
||||
= A Good Chapter<good_chapter>
|
||||
|
||||
Let’s take a look at A Good Chapter (@good_chapter).
|
||||
```
|
||||
|
||||
Here’s what an anchor looks like:
|
||||
|
||||
```typst
|
||||
<anchor_name>
|
||||
```
|
||||
|
||||
You place the anchor anywhere in the file, and you can reference it the same way you reference citations:
|
||||
|
||||
```typst
|
||||
@anchor_name
|
||||
```
|
||||
|
||||
For example, we can take a look at this illustrative reference (@example_anchor).
|
||||
|
||||
== Abbreviations
|
||||
|
||||
The LaTeX TUL template includes a list of abbreviations at the beginning of the document. Therefore, we’ve included one here as well.
|
||||
This list is configured to appear only if there is *at least one* abbreviation defined --- which seemed quite logical.
|
||||
|
||||
You can create (define) an abbreviation with #abbr("ABC", "Alphabet") like this:
|
||||
|
||||
```typst
|
||||
#abbr("ABC", "Alphabet")
|
||||
```
|
||||
|
||||
After that, you can use the abbreviation #abbr("ABC") directly without redefining it:
|
||||
|
||||
```typst
|
||||
#abbr("ABC")
|
||||
```
|
||||
|
||||
The template automatically ensures the following:
|
||||
- The abbreviation appears in the list of abbreviations
|
||||
- When you use an abbreviation for the first time, the template *requires* you to define it
|
||||
- The definition is used only once (the first time it appears)
|
||||
|
||||
When used for the first time (definition), the abbreviation will look like this:
|
||||
#abbr("ABR", "Abbreviation").
|
||||
In subsequent uses, it will appear as: #abbr("ABR").
|
||||
|
||||
#highlight[
|
||||
In other words, you do _not_ add abbreviations directly to the abbreviation list.
|
||||
You simply use them elegantly within the text itself.
|
||||
]
|
||||
|
||||
== Attachments
|
||||
|
||||
At the end of the file (or anywhere else, as long as it’s included only once), you can add a structure that generates attachments.
|
||||
Currently, two types of attachments are supported --- links and content.
|
||||
As a demonstration, here’s a practical example (included right after this paragraph in the source code), which generates the attachments for this document:
|
||||
|
||||
#attachments(
|
||||
attach_link("Source code of this template", "https://git.zumepro.cz/tul/tultemplate2"),
|
||||
attach_content("Test content generated by Typst", [Here you can write _styled_ content.]),
|
||||
)
|
||||
0
theses/hab_cs.typ
Normal file
0
theses/hab_cs.typ
Normal file
0
theses/hab_en.typ
Normal file
0
theses/hab_en.typ
Normal file
344
theses/prj_cs.typ
Normal file
344
theses/prj_cs.typ
Normal file
@@ -0,0 +1,344 @@
|
||||
#import "../template/template.typ": *
|
||||
|
||||
#show: tultemplate2.with(
|
||||
style: "classic",
|
||||
faculty: "fm",
|
||||
lang: "cs",
|
||||
document: "prj",
|
||||
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é_
|
||||
],
|
||||
),
|
||||
title: (
|
||||
cs: [Ukázka dokumentu typu Projekt pro FM TUL v češtině],
|
||||
en: [Example document for a Project report for FM TUL in Czech],
|
||||
),
|
||||
author: [Matěj Žucha],
|
||||
author_pronouns: "masculine",
|
||||
programme: (cs: [MI6000000007 Přísně tajné]),
|
||||
specialization: (cs: [Vytváření šablon]),
|
||||
supervisor: [Ondřej Mekina],
|
||||
abstract: (
|
||||
cs: [
|
||||
Tento dokument slouží jako praktická ukázka všech důležitých funkcí šablony _tultemplate2_,
|
||||
s názornými příklady použítí a jejich podrobným popisem.
|
||||
],
|
||||
en: [
|
||||
This document serves as a practical demonstration of all the important features of the
|
||||
_tultemplate2_ template, with useful examples and their respective descriptions.
|
||||
],
|
||||
),
|
||||
keywords: (
|
||||
cs: [Ukázka, Klíčových, Slov, Česky],
|
||||
en: [Example, Keywords, In, English],
|
||||
),
|
||||
acknowledgement: (cs: [Lorem ipsum dolor sit amet.]),
|
||||
citations: "citations.bib",
|
||||
)
|
||||
|
||||
= Co najdete v této šabloně
|
||||
|
||||
Tato šablona má sloužit jako ukázková zpráva k ročníkovému projektu napsaná pomocí jazyka *Typst* a šablony
|
||||
*tultemplate2*. Může posloužit jako jednoduchý základ i pro vaši práci, stačí se naučit používat
|
||||
pár užitečných funkcí, jako např. vkládání obrázků, tabulek, citací nebo odkazů.
|
||||
|
||||
Na rozdíl od souboru _documentation.typ_, který je dostupný ke stažení na stránkách projektu, obsahuje
|
||||
tento dokument jenom to nejpotřebnější ze znalostí, co postačí k úspěšnému napsání práce. Pokud vám budou nějaké funkce chybět, můžete se podívat do zmíněného souboru, anebo kontaktovat některého z autorů, kteří se vám pokusí pomoct. Jen pro úplnost je zde ve zkratce něco málo o jazyce typst a motivaci k tvorbě této šablony:
|
||||
|
||||
Typst je profesionální sázecí nástroj podobný markdownu, LaTeXu/TeXu, groffu, atd.
|
||||
|
||||
Typst je moderní obdobou starších nástrojů, které postrádají spoustu důležitých funkcí, bez kterých
|
||||
se v dnešní době prakticky nedá fungovat. Uživatel často musí importovat nepřeberné množství
|
||||
balíčků, které poskytují (podle mě) naprosto základní funkcionalitu - jako například správná podpora
|
||||
UTF-8 znaků, formátování prvků na základě jazykového lokálu, apod.
|
||||
|
||||
= Začínáme se šablonou
|
||||
|
||||
Tuto šablonu jste si pravděpodobně stáhli z generátoru na webu www.tulsablona.cz a vložili ji do Typst
|
||||
online editoru. Tím pádem vidíte kromě zdrojového kódu také výsledný PDF soubor. Jak už asi víte, hlavní
|
||||
rozdíl mezi tradičními textovými procesory jako Microsoft Word nebo LibreOffice Writer a mezi sázecími
|
||||
programy jako LaTeX nebo Typst je právě způsob, kterým se upravuje vzhled a obsah dokumentu.
|
||||
|
||||
Zatímco ve Wordu jsou uživatelé zvyklí, že pomocí tlačítek a klávesových zkratek mění dokument napřímo,
|
||||
Typst (a i LaTeX) používají tzv. zdrojový soubor, který není ničím jiným než obyčejným textovým souborem,
|
||||
a následně na vyžádání umí tento zdrojový soubor zkompilovat tj. proměnit na výsledný dokument, např. ve formátu PDF.
|
||||
|
||||
Proto zde najdete popis všech důležitých funkcí nikoliv jako galerii obrázků toho, na která tlačítka se má
|
||||
klikat, nýbrž jako ukázka a návod všech speciálních sekvencí textu, které Typst podporuje a které šablona vyhodnocuje jinak než obsah zprávy.
|
||||
|
||||
== Odstavce
|
||||
|
||||
Jak jsou někteří z vás možná zvyklí z Markdownu, odstavce, nadpisy a vlastně pro přehlednost všechny
|
||||
logicky oddělené bloky se oddělují prázným řádkem. Toho jste si jistě mohli při prohlížení tohoto souboru
|
||||
všimnout. Můžete si vyzkoušet, co se stane, když
|
||||
použijete jenom ukončení řádku enterem,
|
||||
|
||||
nebo když použijete zmíněný prázdný řádek,
|
||||
|
||||
|
||||
|
||||
anebo co se stane při použití dvou a více prázdných řádků. (spoiler: 1 a více prázdných řádků mají identické
|
||||
chování, pouze ukončení řádku je interpretováno stejně jako např. mezerník nebo tabulátor)
|
||||
|
||||
Uživatel má tím pádem svobodu v tom, jestli ve zdrojovém souboru používá dlouhé řádky plné textu,
|
||||
nebo
|
||||
má
|
||||
raději
|
||||
přehlednější
|
||||
formátování
|
||||
a sám si obsah dělí na řádky, protože ve výsledném PDF souboru se stejně spojí do jednoho celistvého odstavce.
|
||||
Musí akorát ručně dbát na to, aby odstavce nebyly příliš krátké, ani příliš dlouhé.
|
||||
|
||||
S souvislosti s odstavci bych ještě zmínil, že Typst se za vás stará také o zarovnávání písma a slov do bloků
|
||||
a dělení slov mezi řádky, když už se na něj nevejdou. Chováním odpovídá pravidlům českého pravopisu a typografie, takže se o to nemusíte vůbec starat.
|
||||
|
||||
== Klikatelný obsah
|
||||
|
||||
Pokud používáte oficiální Typst online editor, můžete jednoduše klepnout na jakýkoliv text v pravé části (náhledové PDF), který se dá měnit,
|
||||
a editor podle toho automaticky přesune váš kurzor na správné místo.
|
||||
Je to sice drobná, ale zato velmi užitečná funkce.
|
||||
|
||||
== Nadpisy
|
||||
|
||||
První důležitá funkce kromě psaní samotného textu, k čemuž není zapotřebí žádná speciální syntax, jsou nadpisy.
|
||||
Stejně jako v jiných programech, i Typst podporuje nadpisy více úrovní. Pro nadpis první úrovně se používá znaménko
|
||||
rovná se a mezera na začátku řádku, čili ve zdrojovém souboru Typstu je používán takto:
|
||||
|
||||
```typst
|
||||
= Můj nadpis první úrovně
|
||||
```
|
||||
|
||||
Pro nadpis druhé úrovně pak použijeme dvě rovná se, pro nadpis třetí úrovně tři rovná se.
|
||||
Šablona *tultemplate2* Vám ovšem bohužel nedovolí nadpis čtvrté a další úrovně, protože by takový
|
||||
nadpis porušoval směrnice TUL o formátování dokumentů. Ale nemusíte se bát. Pokud takový nadpis
|
||||
uděláte -- šablona vyhodí chybu, aby vás na to upozornila.
|
||||
|
||||
```typst
|
||||
= Nadpis
|
||||
== Podnadpis
|
||||
=== Podpodnadpis
|
||||
|
||||
A pak obsah
|
||||
```
|
||||
|
||||
== Číslování kapitol
|
||||
|
||||
Asi jste si všimli, že každý nadpis začíná číslem dané kapitoly. Toto číslování provádí Typst automaticky, promítne se následně i v sekci Obsah na začátku souboru, nemusíte se tak opět o nic starat.
|
||||
|
||||
= Kontrola šablony při kompilaci
|
||||
|
||||
Tato šablona je vytvořena tak, že když se ji pokusíte zkompilovat s nesprávnou syntaxí nebo s nějakou
|
||||
chybějící důležitou částí hlavičky,
|
||||
nenechá vás to provést. Vždy se podívejte na chybové hlášky, které šablona vypisuje, protože vás snadno navedou k opravě všech chyb.
|
||||
Můžete to vyzkoušet tak, že smažete něco z hlavičky nebo že např. použijete funkci, která není nikde definovaná.
|
||||
|
||||
= Používání funkcí
|
||||
|
||||
Používání většiny funkcionalit Typstu je prováděno pomocí tzv. volání funkce. Je to velmi podobné předchozím ukázkám,
|
||||
akorát místo toho, aby se text obalil pouze jedním symbolem či podobnou jednoduchou značkou, obalíme text jménem dané funkce. Syntaxe vypadá nějak takto:
|
||||
```typst
|
||||
#Název_funkce[samotný text nebo jiné parametry]
|
||||
```
|
||||
Pokud v editoru napíšete symbol hashtagu, začne vám automaticky našeptávat všechny možné funkce a jejich popisy. Přejdeme rovnou k dalším praktickým příkladům.
|
||||
|
||||
== Zvýrazňování textu
|
||||
|
||||
Syntaxe základního zvýraznění je velmi podobná například Markdownu. Stačí použít následující symboly:
|
||||
|
||||
```typst
|
||||
*tučně*
|
||||
_kurzívou_
|
||||
```
|
||||
|
||||
Další stylování lze dělat právě přes funkce, viz třeba:
|
||||
|
||||
```typst
|
||||
#strike[přeškrtnuto]
|
||||
#highlight[zvýrazněno]
|
||||
#underline[podtrženo] // podtržení by se NEMĚLO používat
|
||||
```
|
||||
|
||||
Pro úplnost a ukázku je zde přímo v textu *tučný text*, _text kurzívou_, #strike[přeškrtnutý text] a #highlight[text zvýrazněný podle barvy příslušící vaší fakultě], #underline[podtržený text] (ačkoli typografové doporučují podtržení nepoužívat).
|
||||
|
||||
== Odkazy<links>
|
||||
|
||||
Odkazy je možné dělat na URL/URI zdroje, e-maily, telefony, atd...
|
||||
Odkázat URL (URI) je možné bez zavolání funkce, odkaz stačí prostě a jednodušše napsat:
|
||||
https://git.zumepro.cz/tul/tultemplate2
|
||||
|
||||
```typst
|
||||
https://git.zumepro.cz/tul/tultemplate2
|
||||
```
|
||||
|
||||
Tohle interně volá funkci `link`.
|
||||
|
||||
Pokud odkazujeme na méně časté věci (jako e-maily), můžeme použít funkci `link` přímo.
|
||||
```typst
|
||||
#link("mailto:ondrej@mekina.cz")
|
||||
```
|
||||
|
||||
Dalši předpony (URI schémata) můžete najít třeba na Wikipedii
|
||||
https://en.wikipedia.org/wiki/List_of_URI_schemes.
|
||||
|
||||
== Obrázky
|
||||
|
||||
Obrázky je možné vkládat samotné, nebo i s popiskem.
|
||||
Obrázek se vloží pomocí funkce `image`.
|
||||
|
||||
Přidání popisku a zároveň zalistování obrázku v indexu (aby se na ně třeba dalo odkazovat) lze
|
||||
udělat pomocí funkce `figure`.
|
||||
|
||||
#block([
|
||||
```typst
|
||||
#figure(
|
||||
image("mujobrazek.jpg"),
|
||||
caption: [
|
||||
*Krásný* obrázek, který vypadá jako obrázek.
|
||||
]
|
||||
)
|
||||
```
|
||||
], breakable: false)
|
||||
|
||||
Tady je praktická ukázka jednoduchého vložení obrázku s popiskem:
|
||||
|
||||
#figure(image("../template/assets/tul_logo.svg", width: 25%), caption: [
|
||||
Logo *TUL*
|
||||
])
|
||||
|
||||
První parametr funkce je zobrazovaný obsah, v našem případě zmíněný `image`. K němu můžeme psát různé parametry, v příkladu máme třeba nastavení šířky obrázku v procentech. Jako poslední je parametr `caption`, s jehož pomocí můžeme nastavit popisek obrázku/figury.
|
||||
|
||||
Obrázky se zobrazí na začátku dokumentu v seznamu (pokud to daný typ dokumentu vyžaduje). I toto za vás Typst dělá automaticky, vám tak stačí do textu přidávat obrázky, jak se to hodí, a všechny se poté korektně zobrazí v Seznamu obrázků s odkazem i správně uvedenou stránkou, na které se obrázek nachází. Obrázky jsou také automaticky číslovány podle předepsaného způsobu, podobně jako kapitoly.
|
||||
|
||||
== Tabulky
|
||||
|
||||
Tabulky lze vytvářet takto:
|
||||
|
||||
```typst
|
||||
#figure(table(
|
||||
columns: 3,
|
||||
table.header([], [*Sloupec 1*], [*Sloupec 2*]),
|
||||
[*Řádek 1*], [a], [b],
|
||||
[*Řádek 2*], [c], [d],
|
||||
), caption: "Moje krásná tabulka")
|
||||
```
|
||||
|
||||
Parametr `columns` udává počet sloupců tabulky. Poté následuje libovolný počet buněk tabulky, pro lepší přehlednost jsou v příkladu jednotlivé řádky oddělené. Nakonec je zde opět parametr `caption` sloužící k zadání popisku tabulky.
|
||||
|
||||
#highlight[Hlavičku tabulky (první řádek) je dobré zabalit do funkce header (viz. výše)], to je
|
||||
kvůli tomu, že Typst do vygenerovaného PDF souboru poté přidá metadata (například pro osoby se
|
||||
zrakovým postižením).
|
||||
|
||||
#figure(table(
|
||||
columns: 3,
|
||||
table.header([], [*Sloupec 1*], [*Sloupec 2*]),
|
||||
[*Řádek 1*], [a], [b],
|
||||
[*Řádek 2*], [c], [d],
|
||||
), caption: "Moje krásná tabulka")
|
||||
|
||||
Tabulky se zobrazí na začátku dokumentu v seznamu (pokud to daný typ dokumentu vyžaduje). Jak už jste asi pochopili, i toto provede šablona automaticky.
|
||||
|
||||
== Citace
|
||||
|
||||
Šablona podporuje správu citací pomocí standardního BibTeX @bibtex souboru, stejně jako
|
||||
například LaTeX. Generování citací v BibTeX zápisu umí téměř každá stránka nebo program, které mají pro citace podporu.
|
||||
Kód takovéto citace ve vhodném formátu stačí přidat do souboru _citations.bib_, poté je možné se
|
||||
na ně odkazovat pomocí `@jmeno_citace`, nebo `#cite(<jmeno_citace>)`. Můžu se tak třeba odkázat na
|
||||
citaci Typstu #cite(<typst>).
|
||||
|
||||
Formát souboru _citations.bib_ je naprosto stejný jako pro LaTeX. Tyto citace lze přímo vložit
|
||||
třeba z webu https://www.citace.com ve formátu BibTeX -- Typst tento formát také umí přečíst.
|
||||
Můžete se do souboru s příponou .bib podívat, zjistíte, že je to opravdu jen obyčejný textový soubor se specifickou strukturou.
|
||||
V přiloženém ukázkovém souboru už nějaké citace jsou - např. již použitá citace se jménem `typst`.
|
||||
|
||||
Soubor, ze kterého se načtou citace lze změnit pomocí argumentu šablony (tj. struktura na začátku souboru):
|
||||
|
||||
```typst
|
||||
#show: tultemplate2.with(
|
||||
...
|
||||
citations: "jinysoubor.bib",
|
||||
...
|
||||
)
|
||||
```
|
||||
|
||||
== Vnitřní odkazy a kotvy<ukazka_odkazu>
|
||||
|
||||
Trochu navážeme na Odkazy (@links).
|
||||
|
||||
Můžete dělat i vnitřní odkazy třeba na kapitoly, stránky nebo obrázky s popiskem (zabalené ve
|
||||
`figure`).
|
||||
|
||||
```typst
|
||||
= Dobrá kapitola<dobra_kapitola>
|
||||
|
||||
Podívejme se na Dobrou kapitolu (@dobra_kapitola).
|
||||
```
|
||||
|
||||
Takhle vypadá kotva:
|
||||
|
||||
```typst
|
||||
<nazev_kotvy>
|
||||
```
|
||||
|
||||
Kotvu dáte někam do souboru a můžete na ní odkazovat stejně jako na citace:
|
||||
|
||||
```typst
|
||||
@nazev_kotvy
|
||||
```
|
||||
Můžeme se podívat na názornou ukázku odkazu (@ukazka_odkazu).
|
||||
|
||||
== Zkratky
|
||||
|
||||
LaTeX TUL šablona má k začátku dokumentu seznam zkratek. Proto jsme ho přidali i do této šablony.
|
||||
Seznam zkratek je v této šabloně nastaven tak, aby se zobrazoval pouze pokud je v něm alespoň jedna
|
||||
zkratka (přišlo nám to poměrně logické).
|
||||
|
||||
Zkratku #abbr("ABC", "Abeceda") vytvoříte (definujete) pomocí:
|
||||
|
||||
```typst
|
||||
#abbr("ABC", "Abeceda")
|
||||
```
|
||||
|
||||
Potom zkratku #abbr("ABC") už můžete použít přímo (bez opakované definice):
|
||||
|
||||
```typst
|
||||
#abbr("ABC")
|
||||
```
|
||||
|
||||
Šablona zajistí následující věci:
|
||||
- Zkratka se zobrazí v seznamu zkratek
|
||||
- Při prvním použití zkratky vás šablona donutí zkratku definovat
|
||||
- Definice zkratky bude použita právě jednou (poprvé)
|
||||
|
||||
Při prvním použití zkratky (při definici) bude zkratka v textu vypadat takto:
|
||||
#abbr("ZK", "Zkratka").
|
||||
Při dalších použití bude vypadat takto: #abbr("ZK").
|
||||
|
||||
#highlight[
|
||||
Tedy zkratku _nepřidáváte_ přímo do seznamu zkratek, ale elegantně jí používáte přímo v textu.
|
||||
]
|
||||
|
||||
== Přílohy
|
||||
|
||||
Na konec souboru (nebo klidně doprostřed či na začátek, hlavní je, že pouze jednou) je také možné dát strukturu generující přílohy. Momentálně jsou podporované čtyři typy příloh: odkaz, obsah, PDF soubor vložený na konec dokumentu a odkaz na externí soubor (například přiložený do systému s bakalářskou prací).
|
||||
Jako demonstrace by měla postačit praktická ukázka, která ve zdrojovém kódu následuje hned za tímto odstavcem, a která generuje přílohy tohoto dokumentu.
|
||||
|
||||
#attachments(
|
||||
attach_link("Zdrojový kód této šablony", "https://git.zumepro.cz/tul/tultemplate2"),
|
||||
attach_content("Testovací obsah vygenerovaný Typstem", [Sem lze psát _stylovaný_ obsah.]),
|
||||
)
|
||||
363
theses/prj_en.typ
Normal file
363
theses/prj_en.typ
Normal file
@@ -0,0 +1,363 @@
|
||||
#import "../template/template.typ": *
|
||||
|
||||
#show: tultemplate2.with(
|
||||
style: "classic",
|
||||
faculty: "fm",
|
||||
lang: "en",
|
||||
document: "prj",
|
||||
assignment: (
|
||||
personal_number: [A00000007],
|
||||
department: [Department of templates],
|
||||
academical_year: [2025/2026],
|
||||
content: [
|
||||
= Principles for drafting:
|
||||
+ Familiarize yourself with available templates
|
||||
+ Design several possible template styles
|
||||
+ Learn to use Typst
|
||||
+ Implement the template
|
||||
+ Review the template
|
||||
+ Fix many issues
|
||||
+ Review the template
|
||||
+ Fix many issues
|
||||
+ Review the template
|
||||
+ Hopefully nothing more needs fixing
|
||||
= List of professional literature:
|
||||
_Top secret_
|
||||
],
|
||||
),
|
||||
title: (
|
||||
cs: [Ukázka dokumentu typu Projekt pro FM TUL v češtině],
|
||||
en: [Example document for a Project report for FM TUL in Czech],
|
||||
),
|
||||
author: [Matěj Žucha],
|
||||
author_pronouns: "me",
|
||||
programme: (en: [MI6000000007 Top secret]),
|
||||
specialization: (en: [Creation of templates]),
|
||||
supervisor: [Ondřej Mekina],
|
||||
abstract: (
|
||||
cs: [
|
||||
Tento dokument slouží jako praktická ukázka všech důležitých funkcí šablony _tultemplate2_,
|
||||
s názornými příklady použítí a jejich podrobným popisem.
|
||||
],
|
||||
en: [
|
||||
This document serves as a practical demonstration of all the important features of the
|
||||
_tultemplate2_ template, with useful examples and their respective descriptions.
|
||||
],
|
||||
),
|
||||
keywords: (
|
||||
cs: [Ukázka, Klíčových, Slov, Česky],
|
||||
en: [Example, Keywords, In, English],
|
||||
),
|
||||
acknowledgement: (en: [Lorem ipsum dolor sit amet.]),
|
||||
citations: "citations.bib",
|
||||
)
|
||||
|
||||
= A quick few words about this template
|
||||
|
||||
This template should serve as an example yearly Project report thesis written with the help of the *Typst* programming
|
||||
language and the *tultemplate2* template. It can be used as a starting point for your own report, you just
|
||||
have to learn a few of its useful functions, e.g. how to insert images, tables, citacions or links.
|
||||
|
||||
In contrast with the _documentation.typ_ file, which is available for download on the project's page,
|
||||
this document only contains the most necessary knowledge to complete most reports. If you find this
|
||||
documentt lacking in features, you can look at the aforementioned docs or contact one of the authors,
|
||||
who will try to help you. Just for the sake of completeness, here is a few words about the Typst programming
|
||||
language and about Typst, as well as about the motivation behind the creation of this template:
|
||||
|
||||
Typst is a professional typesetting language similar to markdown, LaTeX/TeX, groff, etc.
|
||||
|
||||
Typst is the modern equivalent of older typesetting tools, which often lack a lot of important features,
|
||||
such that make it next to impossible to work without today. The user must often import an incountable number of packages,
|
||||
which only provide only the most basic of functionalities - for example proper UTF-8 character support,
|
||||
formatting of elements based on the set locale, etc.
|
||||
|
||||
= Getting Started with the Template
|
||||
|
||||
You have probably downloaded this template from the generator on the website www.tulsablona.cz and inserted
|
||||
it into the Typst online editor. Therefore, besides the source code, you can also see the resulting PDF file.
|
||||
As you probably know, the main difference between traditional word processors like Microsoft Word or LibreOffice
|
||||
Writer and typesetting programs like LaTeX or Typst is the way in which the appearance and content of the document
|
||||
are edited.
|
||||
|
||||
While Word users are used to changing the document directly using buttons and keyboard shortcuts, Typst (and also LaTeX)
|
||||
use a so-called source file, which is nothing more than an ordinary text file, and can then, on request, compile this
|
||||
source file -- i.e., turn it into the final document, for example in PDF format.
|
||||
|
||||
That’s why here you will find a description of all the important functions not as a gallery of images showing which
|
||||
buttons to click, but rather as an example and guide to all the special text sequences that Typst supports and that
|
||||
the template interprets differently from the main content of the report.
|
||||
|
||||
== Paragraphs
|
||||
|
||||
Some of you might know this concept from using Markdown, where paragraphs, headings and for the sake of clarity all
|
||||
logically coherent blocks are separated by an empty line. You might have already spotted this while reading through
|
||||
this document. You can try for yourself what happens when
|
||||
you just end the line
|
||||
|
||||
or when you properly use an empty line,
|
||||
|
||||
|
||||
|
||||
|
||||
or maybe what happens if you use two or more empty rows. (spoiler: 1 or more empty lines share identical behavior,
|
||||
while newlining only is interpreted the same as using spaces or tabs)
|
||||
|
||||
Therefore, the user has freedom of choosing whether he uses long lines full of text,
|
||||
or
|
||||
if
|
||||
he
|
||||
prefers
|
||||
a
|
||||
cleaner
|
||||
formatting
|
||||
and manages the separation of content to lines, because it all gets concatenated into a nice consice paragraph.
|
||||
The user has to manually watch out for the length of the paragraphs, so that they are neither too short or too long.
|
||||
|
||||
In the context of paragraphs, it should be mentioned that Typst also manages the alignment of text and words into blocks
|
||||
and the division of words between lines when they don't fit.
|
||||
This behavior complies with the English grammar and typography rules fully, so you don't have to think about that at all.
|
||||
|
||||
== Clickable content
|
||||
|
||||
When using the official Typst online editor, you can simply click on any text in the right side (the preview PDF),
|
||||
and your cursor will jump directly to that text in the source file.
|
||||
A small but very practical feature.
|
||||
|
||||
== Headings
|
||||
|
||||
The first important feature, apart from writing the text itself (which requires no special syntax), is the usage of headings.
|
||||
Just like in other programs, Typst also supports multi-level headings. For a first-level heading, an equals sign followed
|
||||
by a space is used at the beginning of a line, meaning that in a Typst source file it is written like this:
|
||||
|
||||
```typst
|
||||
= My first level heading
|
||||
```
|
||||
|
||||
For a second-level heading, we then use two equals signs; for a third-level heading, three equals signs...
|
||||
There are enough subheading levels that you’ll probably never run out. However, the TUL guidelines for writing reports
|
||||
forbid usage of level four heading or larger, so you can (and should) only use headings from level 1 to 3.
|
||||
If you try to use fourth-level or larger heading, the template will warn you not to do that and will refuse to compile
|
||||
until you fix this. More on this behavior later.
|
||||
|
||||
```typst
|
||||
= Heading
|
||||
== Subheading
|
||||
=== Subsubheading
|
||||
|
||||
And then your content
|
||||
```
|
||||
|
||||
== Chapter Numbering
|
||||
|
||||
You’ve probably noticed that each heading begins with the number of its respective chapter. Typst handles this numbering
|
||||
automatically, and it’s also reflected in the *Table of Contents* at the start of the document, so you don’t have to
|
||||
worry about it yourself.
|
||||
|
||||
== Template compile-time checks
|
||||
|
||||
This template is created in such a way that when you try to compile it with incorrect syntax or an imoportant
|
||||
part of the header missing, it won't let you. Always see the error messages the template provides,
|
||||
as they will simply guide you to fix your mistakes. You can try this by deleting something from the header,
|
||||
or by using e.g. a function that ins't defined anywhere.
|
||||
|
||||
= Using Functions
|
||||
|
||||
Most Typst features are used through what’s called *function calls*. This is quite similar to the previous examples,
|
||||
except that instead of wrapping text with a single symbol or a simple marker, we wrap it with the name of the function.
|
||||
The syntax looks like this:
|
||||
|
||||
```typst
|
||||
#Function_name[text itself or other parameters]
|
||||
```
|
||||
|
||||
When you type the hash symbol in the editor, it will automatically start suggesting all available functions and their descriptions.
|
||||
Let’s move on to some practical examples.
|
||||
|
||||
== Text Highlighting
|
||||
|
||||
The syntax for basic highlighting is very similar to Markdown. You just need to use the following symbols:
|
||||
|
||||
```typst
|
||||
*bold*
|
||||
_italic_
|
||||
```
|
||||
|
||||
More styling options can be applied through functions, for example:
|
||||
|
||||
```typst
|
||||
#strike[struck through]
|
||||
#highlight[highlighted]
|
||||
#underline[underlined] // underline SHOULD NOT be used
|
||||
```
|
||||
|
||||
For completeness and demonstration, here in the text we have *bold text*, _italic text_, #strike[struck-through text],
|
||||
and #highlight[text highlighted with your faculty’s color], as well as #underline[underlined text]
|
||||
(although typographers generally advise against using underlining).
|
||||
|
||||
== Links<links>
|
||||
|
||||
You can create links to URLs/URIs, emails, phone numbers, and more.
|
||||
A URL (URI) link can be written directly, without calling any function --- just type it in:
|
||||
|
||||
https://git.zumepro.cz/tul/tultemplate2
|
||||
|
||||
```typst
|
||||
https://git.zumepro.cz/tul/tultemplate2
|
||||
```
|
||||
|
||||
Internally, this automatically calls the `link` function.
|
||||
|
||||
If we want to link to less common things (like email addresses), we can call the `link` function explicitly:
|
||||
|
||||
```typst
|
||||
#link("mailto:ondrej@mekina.cz")
|
||||
```
|
||||
|
||||
You can find other prefixes (URI schemes) on Wikipedia:
|
||||
https://en.wikipedia.org/wiki/List_of_URI_schemes.
|
||||
|
||||
== Images
|
||||
|
||||
Images can be inserted either by themselves or with a caption.
|
||||
|
||||
An image is inserted using the `image` function:
|
||||
|
||||
To add a caption and also include the image in the index (so you can reference it later), use the `figure` function:
|
||||
|
||||
#block([
|
||||
```typst
|
||||
#figure(
|
||||
image("myimage.jpg"),
|
||||
caption: [
|
||||
*A beautiful* picture that looks like a picture.
|
||||
]
|
||||
)
|
||||
```
|
||||
], breakable: false)
|
||||
|
||||
Here’s a practical example of inserting an image with a caption:
|
||||
|
||||
#figure(image("../template/assets/tul_logo.svg", width: 25%), caption: [
|
||||
Logo of *TUL*
|
||||
])
|
||||
|
||||
The first parameter of the function is the displayed content --- in our case, the mentioned `image`. You can then specify various parameters for it; in the example, we define the image width as a percentage.
|
||||
The last parameter is `caption`, which lets us set the figure’s (or image’s) caption text.
|
||||
|
||||
If the document type requires it, images will automatically appear in a list at the beginning of the document. Typst handles this automatically for you --- all you need to do is add images wherever appropriate, and they’ll show up correctly in the *List of Figures*, complete with references and page numbers.
|
||||
Images are also numbered automatically according to the predefined style, similar to chapters.
|
||||
|
||||
== Tables
|
||||
|
||||
Tables can be created like this:
|
||||
|
||||
```typst
|
||||
#figure(table(
|
||||
columns: 3,
|
||||
table.header([], [*Column 1*], [*Column 2*]),
|
||||
[*Row 1*], [a], [b],
|
||||
[*Row 2*], [c], [d],
|
||||
), caption: "My beautiful table")
|
||||
```
|
||||
|
||||
The `columns` parameter specifies the number of columns in the table. Then comes any number of table cells --- for clarity, the rows are separated in the example. Finally, there’s again a `caption` parameter, used to provide a caption for the table.
|
||||
|
||||
#highlight[It’s a good idea to wrap the table header (the first row) in the `header` function (as shown above)] --- this ensures Typst includes extra metadata in the generated PDF (for example, for people with visual impairments).
|
||||
|
||||
#figure(table(
|
||||
columns: 3,
|
||||
table.header([], [*Column 1*], [*Column 2*]),
|
||||
[*Row 1*], [a], [b],
|
||||
[*Row 2*], [c], [d],
|
||||
), caption: "My beautiful table")
|
||||
|
||||
Tables also appear at the beginning of the document in a list (if required by the document type).
|
||||
As you’ve probably noticed by now, Typst’s template takes care of this automatically.
|
||||
|
||||
== Citations
|
||||
|
||||
The template supports citation management using a standard BibTeX file @bibtex, just like LaTeX. Almost every website or program that supports citations can generate BibTeX-formatted entries.
|
||||
You simply add the code for such a citation, in the proper format, to the file _citations.bib_. Once added, you can reference it using `@citation_name` or `#cite(<citation_name>)`.
|
||||
For example, I can reference the Typst citation as #cite(<typst>).
|
||||
|
||||
The format of the _citations.bib_ file is exactly the same as in LaTeX. You can even copy entries directly from sites like [citace.com](https://www.citace.com) in BibTeX format --- Typst understands that format, too.
|
||||
If you open a `.bib` file, you’ll see that it’s simply a plain text file with a specific structure.
|
||||
The provided sample file already contains several citations --- for instance, the one named `typst`, which was already used above.
|
||||
|
||||
You can change the file from which citations are loaded using a template argument (i.e., in the structure at the beginning of your Typst document):
|
||||
|
||||
```typst
|
||||
#show: tultemplate2.with(
|
||||
...
|
||||
citations: "anotherfile.bib",
|
||||
...
|
||||
)
|
||||
```
|
||||
|
||||
== Internal Links and Anchors<example_anchor>
|
||||
|
||||
Let’s continue from the *Links* section (@links).
|
||||
|
||||
You can also create internal links --- for instance, to chapters, pages, or labeled images (those wrapped with the `figure` function).
|
||||
|
||||
```typst
|
||||
= A Good Chapter<good_chapter>
|
||||
|
||||
Let’s take a look at A Good Chapter (@good_chapter).
|
||||
```
|
||||
|
||||
Here’s what an anchor looks like:
|
||||
|
||||
```typst
|
||||
<anchor_name>
|
||||
```
|
||||
|
||||
You place the anchor anywhere in the file, and you can reference it the same way you reference citations:
|
||||
|
||||
```typst
|
||||
@anchor_name
|
||||
```
|
||||
|
||||
For example, we can take a look at this illustrative reference (@example_anchor).
|
||||
|
||||
== Abbreviations
|
||||
|
||||
The LaTeX TUL template includes a list of abbreviations at the beginning of the document. Therefore, we’ve included one here as well.
|
||||
This list is configured to appear only if there is *at least one* abbreviation defined --- which seemed quite logical.
|
||||
|
||||
You can create (define) an abbreviation with #abbr("ABC", "Alphabet") like this:
|
||||
|
||||
```typst
|
||||
#abbr("ABC", "Alphabet")
|
||||
```
|
||||
|
||||
After that, you can use the abbreviation #abbr("ABC") directly without redefining it:
|
||||
|
||||
```typst
|
||||
#abbr("ABC")
|
||||
```
|
||||
|
||||
The template automatically ensures the following:
|
||||
- The abbreviation appears in the list of abbreviations
|
||||
- When you use an abbreviation for the first time, the template *requires* you to define it
|
||||
- The definition is used only once (the first time it appears)
|
||||
|
||||
When used for the first time (definition), the abbreviation will look like this:
|
||||
#abbr("ABR", "Abbreviation").
|
||||
In subsequent uses, it will appear as: #abbr("ABR").
|
||||
|
||||
#highlight[
|
||||
In other words, you do _not_ add abbreviations directly to the abbreviation list.
|
||||
You simply use them elegantly within the text itself.
|
||||
]
|
||||
|
||||
== Attachments
|
||||
|
||||
At the end of the file (or anywhere else, as long as it’s included only once), you can add a structure that generates attachments.
|
||||
Currently, two types of attachments are supported --- links and content.
|
||||
As a demonstration, here’s a practical example (included right after this paragraph in the source code), which generates the attachments for this document:
|
||||
|
||||
#attachments(
|
||||
attach_link("Source code of this template", "https://git.zumepro.cz/tul/tultemplate2"),
|
||||
attach_content("Test content generated by Typst", [Here you can write _styled_ content.]),
|
||||
)
|
||||
0
theses/sp_cs.typ
Normal file
0
theses/sp_cs.typ
Normal file
0
theses/sp_en.typ
Normal file
0
theses/sp_en.typ
Normal file
0
theses/teze_cs.typ
Normal file
0
theses/teze_cs.typ
Normal file
0
theses/teze_en.typ
Normal file
0
theses/teze_en.typ
Normal file
Reference in New Issue
Block a user