improve fonts

This commit is contained in:
Mirek Kratochvil 2020-05-11 21:43:55 +02:00
parent c0b596d637
commit f68e913344
3 changed files with 28 additions and 9 deletions

View File

@ -1,18 +1,21 @@
# A slightly improved bachelor thesis template
# A slightly improved thesis template
- modern packages
- modern fonts
What's new:
- modern packages (biblatex, cleveref, font choices)
- useful hints and some example typesetting
- less confusing directory structure
- slightly more useful examples (figures, diagrams, tables, code listings)
- Czech version has correctly named references
- builds abstracts
- autobuilding of abstract PDF/A from metadata
- university-wide variants of the front page
- Czech localization with nicely named references
See the [pre-built version](build/thesis.pdf) for details
## How-to
1. Type `make`, check that everything compiles. You should get a `thesis.pdf` that passes PDF-A validation. If not, complain.
1. Type `make`, check that everything compiles. You should get a `thesis.pdf` that passes the PDF/A validation. If not, complain.
2. Fill in `metadata.tex` and all `xmpdata` files.
3. Look at the example code (there are several hints), remember it, erase it.
4. Write the thesis.

View File

@ -57,7 +57,7 @@
tabsize=2,
showstringspaces=false,
basicstyle=\footnotesize\tt\color{black!75},
identifierstyle=\color{black},
identifierstyle=\bfseries\color{black},
commentstyle=\color{green!50!black},
stringstyle=\color{red!50!black},
keywordstyle=\color{blue!75!black}}

View File

@ -15,10 +15,26 @@
%
%\usepackage[textwidth=145mm,textheight=247mm]{geometry}
% font for typesetting (choose one)
%\usepackage{lmodern} % TeX "original" (popular in math)
%%% FONTS %%%
\usepackage{lmodern} % TeX "original" (this sets up the latin mono)
% Optionally choose an override for the main font for typesetting
\usepackage[mono=false]{libertinus} % popular for comp-sci (ACM uses this)
%\usepackage{tgschola} % Schoolbook-like (gives a bit of historic feel)
%\usepackage[scale=0.96]{tgpagella} % Palladio-like (popular in formal logic).
% Optionally choose a custom sans-serif fonts (e.g. for figures and tables).
% Default sans-serif font is usually Computer Modern Sans; some font packages
% (e.g. libertinus) replace that with a better matching sans-serif font.
%\usepackage{tgheros} % recommended and very readable (Helvetica-like)
%\usepackage{FiraSans} % looks great
% DO NOT typeset the main text in sans-serif font!
% Serifs make the text readable.
% IMPORTANT FONT NOTE: Some font requires additional PDF/A conversion by
% pdfa.sh. These include: tgpagella
% some extra packages
\usepackage{amsmath,amsfonts,amsthm,bm}