-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.tex
113 lines (102 loc) · 3.77 KB
/
config.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
\documentclass[a4paper, twoside, 11pt, openright]{book}
\usepackage[english,polish]{babel}
\usepackage[utf8]{inputenc}
\usepackage{polski}
\usepackage{tabularx}
\usepackage{color}
\usepackage[left=3.0cm, right=2.0cm, top=2.5cm, bottom=2.5cm]{geometry}
% PERSONAL data about the thesis
\newcommand{\myTitle}{Analiza wiadomości z serwisów społecznościowych na użytek rozpoznawania nastrojów.}
\newcommand{\myName}{Jakub Rzepliński}
\newcommand{\myNumber}{233608}
\newcommand{\myThesisType}{Praca dyplomowa magisterska}
\newcommand{\myCourse}{Informatyka}
\newcommand{\mySpecialization}{Inżynieria oprogramowania}
\newcommand{\myProf}{dr inż. Marcin Kołodziej}
\newcommand{\myFaculty}{Wydział Elektryczny}
\newcommand{\myDepartmentFirst}{Instytut Elektrotechniki Teoretycznej i Systemów Informacyjno-Pomiarowych}
\newcommand{\myDepartmentSecond}{Zakład Elektrotechniki Teoretycznej i Informatyki Stosowanej}
\newcommand{\myUni}{Politechnika Warszawska}
\newcommand{\myLocation}{Warszawa}
\newcommand{\myYear}{2018}
\newcommand{\myKeywords}{some, keywords, in, english}
\newcommand{\myKeywordsPL}{jakieś, słowa, kluczowe, po polsku}
% apply config to document settings
\title{\myTitle}
\author{\myName}
\usepackage[unicode, hidelinks]{hyperref}
\hypersetup{
pdftitle={\myTitle},
pdfauthor = {\myName},
pdfsubject={\myThesisType},
pdfproducer={LaTeX},
pdfcreator={pdflatex},
colorlinks=false
}
% BIBLIOGRAPHY
\usepackage[backend=biber,
style=authoryear,
backref, % shows (backreferences) where publication was cited
backrefstyle=none % each occurence separately backreferenced
]{biblatex}
\usepackage{csquotes}
\DeclareQuoteStyle[quotes]{polish}
{\quotedblbase}
{\textquotedblright}
[0.05em]
{\quotesinglbase}
{\fixligatures\textquoteright}
\DeclareQuoteAlias[quotes]{polish}{polish}
\DeclareQuoteOption{polish}
% DOCUMENT settings
\usepackage{graphicx}
\usepackage[font=footnotesize, % equivalent to 9 pt font
labelfont=bf,
justification=justified,
singlelinecheck=false]{caption}
\usepackage[justification=centering]{subcaption} % two images side by side captions
\usepackage{booktabs} % pretty LaTeX tables
\usepackage{siunitx} % units SI e.g. \SI{10}{\kilogram\per\meter\square}
\usepackage{mathtools} % amsmath, symbols such as brackets, arrows, equation numbering only for referrenced eqs.
%\usepackage[parfill]{parskip} % spacing between paragraphs instead of indent
%\parfillskip 0pt plus 0.75\textwidth % get rid of widows at the end of paragraphs
\frenchspacing % for "Polish" spaces after the sentence
\usepackage{polski} % Polish rules of hyphenation
\usepackage{dashrule} % for dotted lines in declarations page
\usepackage{emptypage} % removes headers on empty pages
\usepackage{fancyhdr} % header and footer settings
\pagestyle{fancy}
\fancyhf{}
\newcommand{\fncyfront}{%
\fancyhead[RO]{}
\fancyfoot[RO]{}
\fancyhead[LE]{}
\fancyfoot[LE]{}
\fancyhead[RE,LO]{}
\fancyfoot[C]{}
\renewcommand{\headrulewidth}{0pt}}
\newcommand{\fncymain}{%
\fancyhead[RO]{{\footnotesize \rightmark}}
\fancyfoot[RO]{\thepage}
\fancyhead[LE]{{\footnotesize \leftmark}}
\fancyfoot[LE]{\thepage}
\fancyfoot[C]{}
\renewcommand{\headrulewidth}{0.3pt}}
% ABSTRACT
\newenvironment {abstract}%
{\null \vfill \begin{center}%
\bfseries \abstractname \end{center}}%
{\vfill\null\newpage}
% FONT settings
\usepackage[T1]{fontenc}
\usepackage{uarial} % you can change to 'helvet' for Helvetica clone, 'uarial' for Arial clone, 'lmodern' for Latin Modern
\renewcommand{\familydefault}{\sfdefault} % change font to sans serif
\usepackage{amsfonts} % mathematical fonts
\usepackage{inconsolata} % monospaced font in urls and \texttt
%\usepackage{url}
%\urlstyle{same}
\parskip 0.4 cm
% DEBUG
\usepackage{lipsum}
\usepackage{etoolbox} % removes page number in table of contents
\patchcmd{\chapter}{plain}{empty}{}{}