Русская версия | English version
Master's thesis in LaTeX, formatted according to the standards of Sevastopol State University in 2017.
- use of XeLaTeX, main font Times New Roman, 14pt, 1.5 line spacing
- XITS Math font for formulas, PT Sans and PT Mono fonts for presentation
- figure and table captions in format
sectionNumber.figureNumber - page numbers centered at the top
- ability to specify starting page number
- ability to configure page margins
- list marking with
—symbol - numbered lists are denoted by lowercase Cyrillic letters with parentheses
- section titles in uppercase, including table of contents
- one line indent after title name
- one line indents before and after second and third level headings
- custom functions for adding figures, appendices and bibliography
- use of
listingsfor formatting source code listings in document, FreeMono font - ability to add your own PDFs to the document
- bibliography addition in
0-bibliography.texfile - separate sections for abstract, appendices
- automatically generated list of illustrative and tabular material
- references to abbreviations and symbols list
- presentation slides
Makefilefor project compilation and buildingDockerfilefor building project in isolated environment
.
├── extra
├── images
├── inc
├── presentation
├── presentation_it_planet
└── vulncontrol
In the root directory are files:
Dockerfile, with its help you can build the project in a Docker container without installing LaTeX on your local computermain.texincludes all other filesMakefilecan be used to build the projectmaster-thesis.pdfis the result of project compilationpreamble.texsets the preamble.gitignorefile contains temporary files that are not included in the repository.gitmodulesfile connects thevulncontrolrepository to the project
In the extra/ directory are included PDF files that for some reason were not typeset in LaTeX.
In the images/ directory are illustrations.
In the inc/ directory are files that are included in main.tex:
- files of format
0-*.texare unnumbered sections (e.g., introduction, conclusion, bibliography) - files of format
[1-9]-*.texare numbered sections (e.g., problem statement, literature review, etc.) - files of format
[a-z]-app.texare appendix files
In the presentation/ directory are files necessary for building presentation slides:
beamerthemeMasterThesis.styis the presentation style filemain.texfile contains the preambleMakefileis necessary for buildingslides.texis the file containing the presentation textpresentation.pdfis the result of presentation slides compilationreport.mdcontains accompanying text for the presentation slides
The vulncontrol/ directory is a link to the repository containing the source code of the script for collecting vulnerability data.
Installing required LaTeX packages in Ubuntu:
sudo apt install texlive-base texlive-latex-extra texlive-xetex texlive-lang-cyrillic latexmk texlive-fonts-extra texlive-science texlive-latex-recommendedFor building the project, installation of Times New Roman, XITS Math, PT Sans, PT Mono, FreeMono fonts is required:
sudo apt install ttf-mscorefonts-installer fonts-freefont-ttf fontconfig
sudo wget -O /usr/share/fonts/xits-math.otf https://github.com/khaledhosny/xits-math/raw/master/XITSMath-Regular.otf
sudo wget https://ponce.cc/slackware/sources/repo/ttf-paratype-pt-fonts/{PTSansOFL,PTMonoOFL}.zip
sudo unzip -o PTSansOFL.zip -d /usr/share/fonts/ && sudo unzip -o PTMonoOFL.zip -d /usr/share/fonts/
sudo rm -f {PTSansOFL,PTMonoOFL}.zip && sudo fc-cache -f -vExample of project compilation using Makefile:
git clone --recursive https://github.com/Amet13/master-thesis
cd master-thesis/
makeExample of cleaning build files after compilation (except PDF):
make cleanExample of building presentation slides:
make presThe project can be built in Docker, in which case you won't need to install LaTeX. Docker should already be installed on the server or local computer:
git clone --recursive https://github.com/Amet13/master-thesis
cd master-thesis/
make docker