-
Notifications
You must be signed in to change notification settings - Fork 0
/
document.tex
236 lines (194 loc) · 7.14 KB
/
document.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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
\documentclass[12pt, oneside, a4paper]{article}
\usepackage[utf8]{inputenc} % kodowanie na UTF-8
\usepackage[polish]{babel}
\usepackage{csquotes}
\usepackage[
style=alphabetic, % numeric, alphabetic, authoryear,
backend=biber,]{biblatex}
\addbibresource{bibliografia_maciek.bib} % dołączenie plików bibliografii
\addbibresource{bibliografia_lukasz.bib}
\usepackage[T1]{fontenc} % ,,europejski'' układ fontów (Cork)
%\usepackage[OT4,plmath]{polski} % Zestaw czcionek
\usepackage{times} % Times - Czcionki wektorowe
\usepackage{graphicx} % Wstawianie grafiki
\usepackage{geometry} %
\usepackage[usenames]{color} % Palety kolorów zdefionwanych
\usepackage{fancyhdr} %
%\usepackage{titlesec} %
%\usepackage{tocloft} %
\usepackage{amsmath} % Moduł matematyczny AMS
\usepackage{amsfonts} % pakiet czcionek AMS
\usepackage{amsthm} % Definicje matematyczne AMS
\usepackage[dvipsnames,svgnames]{xcolor} % Zestaw kolorów
\usepackage{indentfirst} % uzyskanie wcięcia przy pierwszym akapicie
\usepackage{nameref} % pakiet referencji do pełnych nazw rozdziałów
\usepackage{subcaption}
\usepackage{array}
\usepackage{footnote}
\usepackage[dvipsnames,svgnames]{xcolor}
% zdefiniowane kolory dla formatowania linków, bibliografi oraz spisu treści
\definecolor{wine}{RGB}{149,56,56}
\definecolor{wine-stain}{RGB}{200,125,125}
\definecolor{grass-green}{RGB}{53,161,103}
\definecolor{ocean-blue}{RGB}{9,63,97}
\usepackage{indentfirst} % uzyskanie wcięcia przy pierwszym akapicie
\usepackage[
font=small,
format=hang,
labelformat=simple,
justification=justified,
labelsep=colon]{caption} % pakiet dla podpisów np: dla lstlintings
\usepackage{nameref} % pakiet referencji do pełnych nazw rozdziałów
\usepackage{enumerate}
\usepackage{multirow} % pakiet dla łaczenia wierszy w tabelach
\usepackage[framemethod=tikz]{mdframed} % pakiet zastępujący mało modalny \fbox
\usepackage{listings} % pakiet dla kodów zródłowych
%------------------------------------------------------------------
% Dodanie komendy dla caption + source
\newcommand*{\captionsource}[2]{%
\caption[{#1}]{%
#1%
\\\hspace{\linewidth}%
{Źródło:} #2%
}%
}
% Wydruk kodu latexa w ramce
\newmdenv[
skipabove=0.2cm,
skipbelow=0,
nobreak=true]{outputbox}
%------------------------------------------------------------------
\lstloadlanguages{TeX}
\lstset{
literate={ą}{{\k{a}}}1
{ć}{{\'c}}1
{ę}{{\k{e}}}1
{ó}{{\'o}}1
{ń}{{\'n}}1
{ł}{{\l{}}}1
{ś}{{\'s}}1
{ź}{{\'z}}1
{ż}{{\.z}}1
{Ą}{{\k{A}}}1
{Ć}{{\'C}}1
{Ę}{{\k{E}}}1
{Ó}{{\'O}}1
{Ń}{{\'N}}1
{Ł}{{\L{}}}1
{Ś}{{\'S}}1
{Ź}{{\'Z}}1
{Ż}{{\.Z}}1,
language=bash,
captionpos=t,
tabsize=3,
frame=lines,
keywordstyle=\color{blue},
commentstyle=\color{darkgreen},
stringstyle=\color{red},
numbers=left,
numberstyle=\textnormal,
numbersep=12pt,
breaklines=true,
showstringspaces=false,
basicstyle=\ttfamily,
emph={label}
}
%---------------------------------------------------------------------------
\theoremstyle{plain}
\newtheorem{thm}{Twierdzenie}[section]
\newtheorem{lem}[thm]{Lemma}
\newtheorem{prop}[thm]{Założenie}
\newtheorem*{cor}{Wniosek}
\theoremstyle{definition}
\newtheorem{defn}[thm]{Definicja}
\newtheorem{conj}{Przypuszczenie}[section]
\newtheorem{exmp}{Przykład}[section]
\theoremstyle{remark}
\newtheorem*{rem}{Remark}
\newtheorem*{note}{Note}
%---------------------------------------------------------------------------
% Ustawienie linkowania dokumetu oraz elementów wyświetlania pdfa (4.7.4 z latex w 129 minut)
\usepackage{hyperref}
\hypersetup{
unicode=true, % używać znaków z alfabetów niełacińskich zakładkach Acrobata
pdftoolbar=true, % show Acrobat’s toolbar?
pdfmenubar=true, % show Acrobat’s menu?
pdffitwindow=false, % window fit to page when opened
pdfstartview={FitH}, % fits the width of the page to the window
pdftitle={}, % title
pdfauthor={Maciej Sypień}, % author
pdfsubject={Subject}, % subject of the document
pdfcreator={Maciej Sypień}, % creator of the document
pdfproducer={Maciej Sypień}, % producer of the document
pdfkeywords={keyword1} {key2} {key3}, % list of keywords
pdfnewwindow=true, % links in new window
linktoc=page, % Ustawienie linków dla bibliografi (none, all, page, section)
colorlinks=true, % false: boxed links; true: colored links
linkcolor=wine, % color of internal links (change box color with linkbordercolor)
citecolor=grass-green, % color of links to bibliography
filecolor=magenta, % color of file links
urlcolor=ocean-blue, % color of external links
}
%---------------------------------------------------------------------------
% Definicje własnych, nowych makr
% poniższe makra wymagają pakietu 'xcolor'
\newcommand{\red}[1]{{\color{RedOrange}{#1}}}
\newcommand{\yellow}[1]{{\color{Dandelion}{#1}}}
\newcommand{\green}[1]{{\color{LimeGreen}{#1}}}
\newcommand{\RED}[1]{{\colorbox{RedOrange}{#1}}}
\newcommand{\YELLOW}[1]{{\colorbox{Dandelion}{#1}}}
\newcommand{\GREEN}[1]{{\colorbox{LimeGreen}{#1}}}
% Lowercase \nameref = \lnameref
\newcommand{\lnameref}[1]{%
\bgroup
\let\nmu\MakeLowercase
\nameref{#1}\egroup}
% First UpperCase then lowercase = \fnameref
\newcommand{\fnameref}[1]{%
\bgroup
\def\nmu{\let\nmu\MakeLowercase}%
\nameref{#1}\egroup}
% helper for lowercase newcommands
\newcommand{\nmu}{}
% Section Author
\makeatletter
\newcommand{\chapterauthor}[1]{%
{\parindent0pt\vspace2*{-25pt}%
\linespread{1.1}\large\scshape#1%
\par\nobreak\vspace*{35pt}}
\@afterheading%
}
\makeatother
%---------------------------------------------------------------------------
\title{
\LARGE{Uniwersytet Ekonomiczny w Krakowie}\\
\vspace{0,3cm}
\Large{Wydział Zarządzania}\\
\vspace{3cm}
\Huge{Możliwości promocji w najpopularniejszych mediach społecznościowych}
\vspace{2cm}
}
\author{Łukasz Suder\\ Maciej Sypień}
\date{\today}
%---------------------------------------------------------------------------
\begin{document}
\nocite{*} % wszystkie pozycje z bibliografii
\maketitle % tworzy tytuł + imiona autorów + datę
\vspace{1cm}
\begin{abstract}
Dokument ten prezentuje możliwości jakie niosą ze sobą działania promocyjne dla firm w~najpopularniejszych mediach społecznościowych.\\
Praca została złożona przez Maciej Sypień w systemie składowania tekstu \LaTeXe{}.
\end{abstract}
\clearpage
\tableofcontents % wstawia spis treści
\clearpage
%---------------------------------------------------------------------------
\include{cha_wstep}
\include{cha_facebook}
\include{cha_google-plus}
\include{cha_podsumowanie}
%---------------------------------------------------------------------------
\listoffigures
\clearpage
\printbibliography
\end{document}