Thesis content structure

This commit is contained in:
Radim Lipovčan 2018-06-29 16:38:17 +02:00
parent 1daab1faa9
commit bd7e55badb
2 changed files with 102 additions and 396 deletions

2
.gitignore vendored
View File

@ -22,7 +22,7 @@
# *.pdf # *.pdf
## Generated if empty string is given at "Please type another file name for output:" ## Generated if empty string is given at "Please type another file name for output:"
.pdf *.pdf
## Bibliography auxiliary files (bibtex/biblatex/biber): ## Bibliography auxiliary files (bibtex/biblatex/biber):
*.bbl *.bbl

View File

@ -7,16 +7,17 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[ \documentclass[
digital, %% This option enables the default options for the printed, %% This option enables the default options for the
%% digital version of a document. Replace with `printed` %% digital version of a document. Replace with `printed`
%% to enable the default options for the printed version %% to enable the default options for the printed version
%% of a document. %% of a document.
table, %% Causes the coloring of tables. Replace with `notable` table, %% Causes the coloring of tables. Replace with `notable`
%% to restore plain tables. %% to restore plain tables.
lof, %% Prints the List of Figures. Replace with `nolof` to nolof, %% Prints the List of Figures. Replace with `nolof` to
%% hide the List of Figures. %% hide the List of Figures.
lot, %% Prints the List of Tables. Replace with `nolot` to nolot, %% Prints the List of Tables. Replace with `nolot` to
%% hide the List of Tables. %% hide the List of Tables.
oneside, color
%% More options are listed in the user guide at %% More options are listed in the user guide at
%% <http://mirrors.ctan.org/macros/latex/contrib/fithesis/guide/mu/fi.pdf>. %% <http://mirrors.ctan.org/macros/latex/contrib/fithesis/guide/mu/fi.pdf>.
]{fithesis3} ]{fithesis3}
@ -24,10 +25,10 @@
\usepackage[resetfonts]{cmap} %% We need to load the T2A font encoding \usepackage[resetfonts]{cmap} %% We need to load the T2A font encoding
\usepackage[T1,T2A]{fontenc} %% to use the Cyrillic fonts with Russian texts. \usepackage[T1,T2A]{fontenc} %% to use the Cyrillic fonts with Russian texts.
\usepackage[ \usepackage[
main=english, %% By using `czech` or `slovak` as the main locale main=czech, %% By using `czech` or `slovak` as the main locale
%% instead of `english`, you can typeset the thesis %% instead of `english`, you can typeset the thesis
%% in either Czech or Slovak, respectively. %% in either Czech or Slovak, respectively.
german, russian, czech, slovak %% The additional keys allow german, russian, czech, slovak, english %% The additional keys allow
]{babel} %% foreign texts to be typeset as follows: ]{babel} %% foreign texts to be typeset as follows:
%% %%
%% \begin{otherlanguage}{german} ... \end{otherlanguage} %% \begin{otherlanguage}{german} ... \end{otherlanguage}
@ -45,14 +46,14 @@
date = \the\year/\the\month/\the\day, date = \the\year/\the\month/\the\day,
university = mu, university = mu,
faculty = fi, faculty = fi,
type = bc, type = mgr,
author = Jane Doe, author = Bc. Radim Lipovčan,
gender = f, gender = m,
advisor = John Smith, advisor = RNDr. Vlasta Šťavová,
title = {The Proof of P = NP}, title = {Používání a získávání kryptoměny Monero z pohledu použitelné bezpečnosti},
TeXtitle = {The Proof of $\mathsf{P}=\mathsf{NP}$}, TeXtitle = {Používání a získávání kryptoměny Monero z pohledu použitelné bezpečnosti},
keywords = {keyword1, keyword2, ...}, keywords = {Monero, usable security, cryptocurrency, mining, pool, blockchain},
TeXkeywords = {keyword1, keyword2, \ldots}, TeXkeywords = {Monero, usable security, cryptocurrency, mining, pool, blockchain},
} }
\thesislong{abstract}{ \thesislong{abstract}{
This is the abstract of my thesis, which can This is the abstract of my thesis, which can
@ -86,407 +87,112 @@
\usepackage{url} \usepackage{url}
\usepackage{menukeys} \usepackage{menukeys}
\begin{document} \begin{document}
\chapter{Introduction}
Theses are rumoured to be the capstones of education, so I decided
to write one of my own. If all goes well, I will soon have a
diploma under my belt. Wish me luck!
\begin{otherlanguage}{czech} \chapter{Úvod}
Říká se, že závěrečné práce jsou vyvrcholením studia a tak jsem se
rozhodl jednu také napsat. Pokud vše půjde podle plánu, odnesu si
na konci semestru diplom. Držte mi palce!
\end{otherlanguage}
\begin{otherlanguage}{slovak} \chapter{Kryptoměna Monero}
Hovorí sa, že záverečné práce sú vyvrcholením štúdia a tak som sa \section{Původ a zaměření kryptoměny}
rozhodol jednu tiež napísať. Ak všetko pôjde podľa plánu, odnesiem \subsection{Současný vývoj}
si na konci semestra diplom. Držte mi palce! \subsection{Alternativy}
\end{otherlanguage} \section{Blockchain technologie}
\subsection{Block}
\subsection{Návaznost a provázanost bloků}
\section{CryptoNote protokol}
\subsection{Verzování a aktualizace}
\subsection{Proof-of-Work}
\section{Prvky sítě}
\subsection{Peněženky}
\subsection{Nodes}
\subsection{Miners}
\subsection{Pools}
\section{Adresování v síti}
\subsection{Typy adres}
\subsection{Transakční adresa}
\subsection{View klíč}
\section{Transakce}
\subsection{Struktura}
\subsection{Vstupy, výstupy, mixing}
\subsection{Průběh transakce}
\subsection{Sledování transakcí na síti}
\begin{otherlanguage}{german}
Man munkelt, dass die Dissertation die Krönung der Ausbildung ist.
Deshalb habe ich mich beschlossen meine eigene zu schreiben. Wenn
alles gut geht, bekomme ich bald ein Diplom. Wünsch mir Glück!
\end{otherlanguage}
\begin{otherlanguage}{russian}\textrussian{% \chapter{Používání monera}
Говорят, что тезис -- это кульминация обучения. Поэтому я и решил \section{Pěněženky}
написать собственный тезис. Если всё сработает по плану, я скоро \subsection{Hot wallet}
получу диплом. Желайте мне удачи! \subsection{Cold wallet}
}\end{otherlanguage} \subsection{View only wallet}
\subsection{Možnosti útoků na peněženku}
\subsection{Přehled bezpečnosti úložných způsobů}
\section{Software pro práci s kryptopenězi}
\subsection{Vytvoření peněženky}
\subsection{Fullnode, remote node}
\subsection{Multisig}
\subsection{Anonymita při užívání}
Způsoby jak docílit anonymity a naopak jak zjistit, kdo to je.
\subsection{Srovnání wallet softwaru}
\subsection{Exchanges}
\section{Scamy v prostředí kryptoměny}
\subsection{Online portály}
\subsection{Mining pooly}
\subsection{Cílený malware}
\subsection{Delivery chain}
\chapter{These are} \section{Anonymita v Moneru}
\section{the available} \subsection{Usecase Monera}
\subsection{sectioning} \subsection{Darknet Markety}
\subsubsection{commands.} \subsection{Bitcoin v porovnání s Monerem}
\paragraph{Paragraphs and} \subsection{Anonymní použití kryptoměny}
\subparagraph{subparagraphs are available as well.}
Inside the text, you can also use unnumbered lists,
\begin{itemize}
\item such as
\item this one
\begin{itemize}
\item and they can be nested as well.
\item[>>] You can even turn the bullets into something fancier,
\item[\S] if you so desire.
\end{itemize}
\end{itemize}
Numbered lists are
\begin{enumerate}
\item very
\begin{enumerate}
\item similar
\end{enumerate}
\end{enumerate}
and so are description lists:
\begin{description}
\item[Description list]
A list of terms with a description of each term
\end{description}
The spacing of these lists is geared towards paragraphs of text.
For lists of words and phrases, the \textsf{paralist} package
offers commands
\begin{compactitem}
\item that
\begin{compactitem}
\item are
\begin{compactitem}
\item better
\begin{compactitem}
\item suited
\end{compactitem}
\end{compactitem}
\end{compactitem}
\end{compactitem}
\begin{compactenum}
\item to
\begin{compactenum}
\item this
\begin{compactenum}
\item kind of
\begin{compactenum}
\item content.
\end{compactenum}
\end{compactenum}
\end{compactenum}
\end{compactenum}
The \textsf{amsthm} package provides the commands necessary for the
typesetting of mathematical definitions, theorems, lemmas and
proofs.
%% We will define several mathematical sectioning commands.
\newtheorem{theorem}{Theorem}[section] %% The numbering of theorems
%% will be reset after each section.
\newtheorem{lemma}[theorem]{Lemma} %% The numbering of lemmas
\newtheorem{corr}[theorem]{Corrolary} %% and corrolaries will
%% share the counter with theorems.
\theoremstyle{definition}
\newtheorem{definition}{Definition}
\theoremstyle{remark}
\newtheorem*{remark}{Remark}
\begin{theorem} \chapter{Výzkum uživatelů kryptoměny}
This is a theorem that offers a profound insight into the \section{Definice, výzkumné otázky}
mathematical sectioning commands. \section{Na jakém vzorku}
\end{theorem} \section{Vyhodnocení international, CZ}
\begin{theorem}[Another theorem]
This is another theorem. Unlike the first one, this theorem has
been endowed with a name.
\end{theorem}
\begin{lemma}
Let us suppose that $x^2+y^2=z^2$. Then
\begin{equation}
\biggl\langle u\biggm|\sum_{i=1}^nF(e_i,v)e_i\biggr\rangle
=F\biggl(\sum_{i=1}^n\langle e_i|u\rangle e_i,v\biggr).
\end{equation}
\end{lemma}
\begin{proof}
$\nabla^2 f(x,y)=\frac{\partial^2f}{\partial x^2}+
\frac{\partial^2f}{\partial y^2}$.
\end{proof}
\begin{corr}
This is a corrolary.
\end{corr}
\begin{remark}
This is a remark.
\end{remark}
\chapter{Floats and references} \chapter{Best practices pro usage a storage Monera}
\begin{figure} \section{Návrh bezpečného úložného systému}
\begin{center} \section{Návrh pro používání kryptoměny}
%% PNG and JPG images can be inserted into the document as well, \section{Portál nabízející služby pro bezpečné používání kryptoměny}
%% but their resolution needs to be adequate. The minimum is
%% about 250 pixels per 1 centimeter. That means that a JPG or
%% PNG image typeset at 40 × 40 mm should be 1000 × 1000 px
%% large at minimum.
\includegraphics[width=40mm]{fithesis/logo/mu/fithesis-base.pdf}
\end{center}
\caption{The logo of the Masaryk University at 40\,mm}
\label{fig:mulogo1}
\end{figure}
\begin{figure}
\begin{minipage}{.66\textwidth}
\includegraphics[width=\textwidth]{fithesis/logo/mu/fithesis-base.pdf}
\end{minipage}
\begin{minipage}{.33\textwidth}
\includegraphics[width=\textwidth]{fithesis/logo/mu/fithesis-base.pdf} \\
\includegraphics[width=\textwidth]{fithesis/logo/mu/fithesis-base.pdf}
\end{minipage}
\caption{The logo of the Masaryk University at $\frac23$ and
$\frac13$ of text width}
\label{fig:mulogo2}
\end{figure}
\begin{table}
\begin{tabularx}{\textwidth}{lllX}
\toprule
Day & Min Temp & Max Temp & Summary \\
\midrule
Monday & $13^{\circ}\mathrm{C}$ & $21^\circ\mathrm{C}$ & A
clear day with low wind and no adverse current advisories. \\
Tuesday & $11^{\circ}\mathrm{C}$ & $17^\circ\mathrm{C}$ & A
trough of low pressure will come from the northwest. \\
Wednesday & $10^{\circ}\mathrm{C}$ &
$21^\circ\mathrm{C}$ & Rain will spread to all parts during the
morning. \\
\bottomrule
\end{tabularx}
\caption{A weather forecast}
\label{tab:weather}
\end{table}
The logo of the Masaryk University is shown in Figure \chapter{Získávání Monera a zajištění chodu sítě}
\ref{fig:mulogo1} and Figure \ref{fig:mulogo2} at pages \section{PoW Monera}
\pageref{fig:mulogo1} and \pageref{fig:mulogo2}. The weather \section{Mining pooly, solo mining}
forecast is shown in Table \ref{tab:weather} at page \section{Web mining, botnet mining}
\pageref{tab:weather}. The following chapter is Chapter \section{Cloud mining}
\ref{chap:matheq} and starts at page \pageref{chap:matheq}. \section{Systémy pro těžbu - ASIC, dodávané}
Items \ref{item:star1}, \ref{item:star2}, and \section{Software používaný k těžbě}
\ref{item:star3} are starred in the following list: \section{Srovnání způsobů pro získávání kryptoměny}
\begin{compactenum}
\item some text
\item some other text
\item $\star$ \label{item:star1}
\begin{compactenum}
\item some text
\item $\star$ \label{item:star2}
\item some other text
\begin{compactenum}
\item some text
\item some other text
\item yet another piece of text
\item $\star$ \label{item:star3}
\end{compactenum}
\item yet another piece of text
\end{compactenum}
\item yet another piece of text
\end{compactenum}
If your reference points to a place that has not yet been typeset,
the \verb"\ref" command will expand to \textbf{??} during the first
run of
\texttt{pdflatex \jobname.tex}
and a second run is going to be needed for the references to
resolve. With online services -- such as Overleaf -- this is
performed automatically.
\chapter{Mathematical equations} \chapter{Průzkum způsobů těžby}
\label{chap:matheq} \section{Definice, výzkumné otázky}
\TeX{} comes pre-packed with the ability to typeset inline \section{Na jakém vzorku}
equations, such as $\mathrm{e}^{ix}=\cos x+i\sin x$, and display \section{Vyhodnocení international, CZ}
equations, such as \[
\mathbf{A}^{-1} = \begin{bmatrix}
a & b \\ c & d \\
\end{bmatrix}^{-1} =
\frac{1}{\det(\mathbf{A})} \begin{bmatrix}
\,\,\,d & \!\!-b \\ -c & \,a \\
\end{bmatrix} =
\frac{1}{ad - bc} \begin{bmatrix}
\,\,\,d & \!\!-b \\ -c & \,a \\
\end{bmatrix}.
\] \LaTeX{} defines the automatically numbered \texttt{equation}
environment:
\begin{equation}
\gamma Px = PAx = PAP^{-1}Px.
\end{equation}
The package \textsf{amsmath} provides several additional
environments that can be used to typeset complex equations:
\begin{enumerate}
\item An equation can be spread over multiple lines using the
\texttt{multline} environment:
\begin{multline}
a + b + c + d + e + f + b + c + d + e + f + b + c + d + e +
f \\
+ f + g + h + i + j + k + l + m + n + o + p + q
\end{multline}
\item Several aligned equations can be typeset using the
\texttt{align} environment:
\begin{align}
a + b &= c + d \\
u &= v + w + x \\[1ex]
i + j + k + l &= m
\end{align}
\item The \texttt{alignat} environment is similar to
\texttt{align}, but it doesn't insert horizontal spaces between
the individual columns:
\begin{alignat}{2}
a + b + c &+ d & &= 0 \\
e &+ f + g & &= 5
\end{alignat}
\item Much like chapter, sections, tables, figures, or list \chapter{Průzkum operátorů sítě}
items, equations -- such as \eqref{eq:first} and \section{Definice, výzkumné otázky}
\eqref{eq:mine} -- can also be labeled and referenced: \section{Na jakém vzorku}
\begin{alignat}{4} \section{Vyhodnocení international, CZ}
b_{11}x_1 &+ b_{12}x_2 & &+ b_{13}x_3 & & &
&= y_1, \label{eq:first} \\
b_{21}x_1 &+ b_{22}x_2 & & & &+ b_{24}x_4 &
&= y_2. \tag{My equation} \label{eq:mine}
\end{alignat}
\item The \texttt{gather} environment makes it possible to
typeset several equations without any alignment:
\begin{gather}
\psi = \psi\psi, \\
\eta = \eta\eta\eta\eta\eta\eta, \\
\theta = \theta.
\end{gather}
\item Several cases can be typeset using the \texttt{cases} \chapter{Mining malware}
environment: \section{Prevence, detekce a recovery}
\begin{equation} \subsection{Server část}
|y| = \begin{cases} \subsection{Běžní uživatelé}
\phantom-y & \text{if }z\geq0, \\
-y & \text{otherwise}.
\end{cases}
\end{equation}
\end{enumerate}
For the complete list of environments and commands, consult the
\textsf{amsmath} package manual\footnote{
See \url{http://mirrors.ctan.org/macros/latex/required/amslatex/math/amsldoc.pdf}.
The \texttt{\textbackslash url} command is provided by the
package \textsf{url}.
}.
\chapter{\textnormal{We \textsf{have} \texttt{several} \textsc{fonts}
\textit{at} \textbf{disposal}}}
The serified roman font is used for the main body of the text.
\textit{Italics are typically used to denote emphasis or
quotations.} \texttt{The teletype font is typically used for source
code listings.} The \textbf{bold}, \textsc{small-caps} and
\textsf{sans-serif} variants of the base roman font can be used to
denote specific types of information.
\tiny We \scriptsize can \footnotesize also \small change \normalsize \chapter{Návrh bezpečného těžebního systému}
the \large font \Large size, \LARGE although \huge it \Huge \section{Linux-based řešení}
is \huge usually \LARGE not \Large necessary.\normalsize Ansible, Centos 7
\section{Windows-based řešení}
Windows 10 ISO unattended install, Powershell scripty, stažení a instalace Stak XMR
A wide variety of mathematical fonts is also available, such as: \[ \printbibliography[heading=bibintoc]
\mathrm{ABC}, \mathcal{ABC}, \mathbf{ABC}, \mathsf{ABC},
\mathit{ABC}, \mathtt{ABC}
\] By loading the \textsf{amsfonts} packages, several additional
fonts will become available: \[
\mathfrak{ABC}, \mathbb{ABC}
\] Many other mathematical fonts are available\footnote{
See \url{http://tex.stackexchange.com/a/58124/70941}.
}.
\chapter{Inserting the bibliography}
After loading the \texttt{biblatex} package and linking a
bibliography data\-base file to the document using the
\verb"\addbibresource" command, you can start citing the entries.
This is just dummy text \cite{inbook-full} lightly sprinkled with
citations \cite[p.~123]{incollection-full}. Several sources can be
cited at once \cite{whole-collection, manual-minimal,manual-full}.
\citetitle{inbook-full} was written by \citeauthor{inbook-full} in
\citeyear{inbook-full}. We can also produce \textcite{inbook-full}
or%% Let us define a compound command:
\def\citeauthoryear#1{(\textcite{#1},~\citeyear{#1})}
\citeauthoryear{inbook-full}. The full bibliographic citation is:
\emph{\fullcite{inbook-full}}. We can easily insert a bibliographic
citation into the footnote\footfullcite{inbook-full}.
The \verb"\nocite" command will not generate any
output\nocite{booklet-full}, but it will insert its argument into
the bibliography. The \verb"\nocite{*}" command will insert all the
records in the bibliography database file into the bibliography.
Try uncommenting the command
%% \nocite{*}
and watch the bibliography section come apart at the seams.
When typesetting the document for the first time, citing a
\texttt{work} will expand to [\textbf{work}] and the
\verb"\printbibliography" command will produce no output. It is now
necessary to generate the bibliography by running \texttt{biber
\jobname.bcf} from the command line and then by typesetting the
document again twice. During the first run, the bibliography
section and the citations will be typeset, and in the second run,
the bibliography section will appear in the table of contents.
The \texttt{biber} command needs to be executed from within the
directory, where the \LaTeX\ source file is located. In Windows,
the command line can be opened in a directory by holding down the
\keys{Shift} key and by clicking the right mouse button while
hovering the cursor over a directory. Select the \menu{Open
Command Window Here} option in the context menu that opens shortly
afterwards.
With online services -- such as Overleaf -- all commands are
executed automatically.
{\csname captions\languagename\endcsname %% Temporarily override
%% the BibLaTeX localization with the original babel definitions.
\makeatletter %% Use the correct localization of the quotations.
\thesis@selectLocale{\thesis@locale}\makeatother
\printbibliography[heading=bibintoc]} %% Print the bibliography.
\chapter{Inserting the index}
After using the \verb"\makeindex" macro and loading the
\texttt{makeidx} package that provides additional indexing
commands, index entries can be created by issuing the \verb"\index"
command. \index{dummy text|(}It is possible to create ranged index
entries, which will encompass a span of text.\index{dummy text|)}
To insert complex typographic material -- such as $\alpha$
\index{alpha@$\alpha$} or \TeX{} \index{TeX@\TeX} --
into the index, you need to specify a text string, which will
determine how the entry will be sorted. It is also possible to
create hierarchal entries. \index{vehicles!trucks}
\index{vehicles!speed cars}
After typesetting the document, it is necessary to generate the
index by running
\begin{center}%
\texttt{texindy -I latex -C utf8 -L }$\langle$\textit{locale}%
$\rangle$\texttt{ \jobname.idx}
\end{center}
from the command line, where $\langle$\textit{locale}$\rangle$
corresponds to the main locale of your thesis -- such as
\texttt{english}, and then typesetting the document again.
The \texttt{texindy} command needs to be executed from within the
directory, where the \LaTeX\ source file is located. In Windows,
the command line can be opened in a directory by holding down the
\keys{Shift} key and by clicking the right mouse button while
hovering the cursor over a directory. Select the \menu{Open Command
Window Here} option in the context menu that opens shortly
afterwards.
With online services -- such as Overleaf -- the commands are
executed automatically, although the locale may be erroneously
detected, or the \texttt{makeindex} tool (which is only able to
sort entries that contain digits and letters of the English
alphabet) may be used instead of \texttt{texindy}. In either case,
the index will be ill-sorted.
\makeatletter\thesis@blocks@clear\makeatother
\phantomsection %% Print the index and insert it into the
\addcontentsline{toc}{chapter}{\indexname} %% table of contents.
\printindex
\appendix %% Start the appendices.
\chapter{An appendix}
Here you can insert the appendices of your thesis.
%\appendix %% Start the appendices.
%\chapter{Příloha}
%Monero
\end{document} \end{document}