Skip to content

Commit

Permalink
Headers (#5)
Browse files Browse the repository at this point in the history
* Add header content on odd and even pages

* Add Table of abbreviations

* Add page numbering footer on chapter start

---------

Co-authored-by: Ole Tytlandsvik <[email protected]>
  • Loading branch information
mrtz-j and otytlandsvik authored Sep 14, 2024
1 parent 6d9c373 commit 9c0e59a
Show file tree
Hide file tree
Showing 15 changed files with 1,231 additions and 212 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.direnv/*
.pre-commit-config.yaml
*.pdf
result
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
- [ ] List of Definitions
- [x] List of Abbreviations
- [ ] Styling
- [ ] Headings (chapter on odd, subsection on even)
- [x] Headings (chapter on odd, subsection on even)
- [ ] Font features
- [ ] Figures (captions etc)
- [x] Code blocks (syntax highlights)
- [ ] Tables
- [x] Tables
- [x] Footnotes (?)
- [ ] Good examples
- [ ] Use of figures, tables, code blocks
Expand Down
9 changes: 7 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
let
pkgs = import nixpkgs { inherit system; };
in
with pkgs; {
with pkgs;
{
checks = {
pre-commit-check = pre-commit-hooks.lib.${system}.run {
src = ./.;
Expand All @@ -54,8 +55,12 @@
open-sans
jetbrains-mono
];
extraCompileFlags = [ "--root" "./" ];
extraCompileFlags = [
"--root"
"./"
];
mainFile = "template/thesis.typ";
outputFile = "thesis.pdf";
typstPackages = {
preview = "${typst-packages}/packages/preview";
};
Expand Down
Loading

0 comments on commit 9c0e59a

Please sign in to comment.