commit e71dbc6844e8f15455241b4d08b064b2fbd688bd Author: Riccardo Finotello Date: Wed Jun 10 23:18:57 2020 +0200 Add draft of structure and submodules Signed-off-by: Riccardo Finotello diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2c207c3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,11 @@ +*.aux +*.fdb_latexmk +*.fls +*.log +*.synctex.gz +*.bbl +*.bcf +*.blg +*.run.xml +*.toc +*.xdv diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..68afcdc --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "latex-commons"] + path = latex-commons + url = git@github.com:thesfinox/latex-commons.git diff --git a/.latexmkrc b/.latexmkrc new file mode 100644 index 0000000..63ee07b --- /dev/null +++ b/.latexmkrc @@ -0,0 +1 @@ +$pdf_mode=5 diff --git a/README.md b/README.md new file mode 100644 index 0000000..6504cb9 --- /dev/null +++ b/README.md @@ -0,0 +1,7 @@ +# Ph.D. Thesis + +This project contains the LaTeX code of my Ph.D. defence thesis. + +I chose to use `XeLaTeX` to compile it (`BibTeX` for the bibliography) in order to have more freedom to customise the class and the packages. I have included a local `.latexmkrc` file so if you use [_latexmk_](https://mg.readthedocs.io/latexmk.html) you should be good to go. In other cases you should probably use somthing like `xelatex -file-line-error -synctex=1 -interaction=nonstopmode` and the name of the file to compile it. Remember to install both `xelatex` and `biber`! + +The repository contains submodules which point to other repositories where I keep my custom packages and classes. Clone the repository using `git clone --recurse-submodules` to include them in your local machine. diff --git a/debug.sty b/debug.sty new file mode 120000 index 0000000..a6b63cb --- /dev/null +++ b/debug.sty @@ -0,0 +1 @@ +latex-commons/packages/debug.sty \ No newline at end of file diff --git a/img/unito.pdf b/img/unito.pdf new file mode 100644 index 0000000..9a9f4b3 Binary files /dev/null and b/img/unito.pdf differ diff --git a/latex-commons b/latex-commons new file mode 160000 index 0000000..a3e057e --- /dev/null +++ b/latex-commons @@ -0,0 +1 @@ +Subproject commit a3e057ec4d359b82e6b985b7652d4ebfd377c150 diff --git a/sciencestuff.sty b/sciencestuff.sty new file mode 120000 index 0000000..0c3f3f5 --- /dev/null +++ b/sciencestuff.sty @@ -0,0 +1 @@ +latex-commons/packages/sciencestuff.sty \ No newline at end of file diff --git a/thesis.cls b/thesis.cls new file mode 120000 index 0000000..8c3af63 --- /dev/null +++ b/thesis.cls @@ -0,0 +1 @@ +latex-commons/classes/thesis.cls \ No newline at end of file diff --git a/thesis.tex b/thesis.tex new file mode 100644 index 0000000..7219eaf --- /dev/null +++ b/thesis.tex @@ -0,0 +1,83 @@ +\documentclass[a4paper,11pt,twoside]{thesis} + +\usepackage[british]{babel} +\usepackage{csquotes} + +\usepackage{debug} +\usepackage{sciencestuff} + +\usepackage{lipsum} + +\author{Riccardo Finotello} +\title{Title of the Thesis} +\advisor{Igor Pesando} +\institution{Universit\`{a} degli Studi di Torino} +\school{Scuola di Dottorato} +\specialisation{Dottorato in Fisica ed Astrofisica} +\logo{img/unito} + +\begin{document} + + \maketitlepage{} + + \cleardoubleplainpage{} + + \makefrontespice{} + + \cleardoubleplainpage{} + + \begin{abstractpage} + + \lipsum[1-2] + + \end{abstractpage} + + \cleardoubleplainpage{} + + \begin{acknowledgementspage} + + \lipsum[3-4] + + \end{acknowledgementspage} + + \cleardoubleplainpage{} + + \plaintoc{} + + \outline{Outline} + \lipsum[1-3] + + \thesispart{This Is the First Part} + + \section{AAA} + \lipsum[1] + + \subsection{AAA1} + \lipsum[2-5] + + \subsection{AAA2} + \lipsum[6-11] + + + \thesispart{This Is the Second Part 2} + + \section{BBB} + \lipsum[1] + + \subsection{BBB1} + \lipsum[2-5] + + \subsection{BBB2} + \lipsum[6-10] + + \appendix + + \section{CCC} + \lipsum[1-3] + + \section{DDD} + \lipsum[4-6] + +\end{document} + +% vim: ft=tex