%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Large Colored Title Article
% LaTeX Template
% Version 1.1 (25/11/12)
%
% This template has been downloaded from:
% http://www.LaTeXTemplates.com
%
% Original author:
% Frits Wenneker (http://www.howtotex.com)
%
% License:
% CC BY-NC-SA 3.0 (http://creativecommons.org/licenses/by-nc-sa/3.0/)
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%----------------------------------------------------------------------------------------
%	PACKAGES AND OTHER DOCUMENT CONFIGURATIONS
%----------------------------------------------------------------------------------------

\documentclass[DIV=14, paper=a4, fontsize=11pt, onecolumn, oneside]{scrartcl}	 % A4 paper and 11pt font size

\usepackage{lipsum} % Used for inserting dummy 'Lorem ipsum' text into the template
\usepackage[english]{babel} % English language/hyphenation
\usepackage[protrusion=true,expansion=true]{microtype} % Better typography
\usepackage{amsmath,amsfonts,amsthm} % Math packages
\usepackage[svgnames]{xcolor} % Enabling colors by their 'svgnames'
\usepackage[hang, small,labelfont=bf,up,textfont=it,up]{caption} % Custom captions under/above floats in tables or figures
\usepackage{booktabs} % Horizontal rules in tables
\usepackage{fix-cm}	 % Custom font sizes - used for the initial letter in the document

\usepackage{sectsty} % Enables custom section titles

\usepackage{fancyhdr} % Needed to define custom headers/footers
\pagestyle{fancy} % Enables the custom headers/footers
\usepackage{lastpage} % Used to determine the number of pages in the document (for "Page X of Total")

\usepackage{graphicx}

%Polskie kodowanie
\usepackage{polski}
\usepackage[utf8]{inputenc} % kodowaniu UTF-8

%Bibliography style
\bibliographystyle{ieeetr}

% Headers - all currently empty
\lhead{}
\chead{}
\rhead{}

% Footers
\lfoot{}
\cfoot{\footnotesize \thepage}
\rfoot{}

\renewcommand{\headrulewidth}{0.0pt} % No header rule
\renewcommand{\footrulewidth}{0.4pt} % Thin footer rule

\usepackage{lettrine} % Package to accentuate the first letter of the text
\newcommand{\initial}[1]{ % Defines the command and style for the first letter
\lettrine[lines=3,lhang=0.3,nindent=0em]{
\color{Gray}
{\textsf{#1}}}{}}

%----------------------------------------------------------------------------------------
%	TITLE SECTION
%----------------------------------------------------------------------------------------

\usepackage{titling} % Allows custom title configuration

\newcommand{\HorRule}{\color{DimGray} \rule{\linewidth}{1pt}} % Defines the gold horizontal rule around the title

\pretitle{\vspace{-30pt} \begin{flushleft} \HorRule \fontsize{25}{25} \usefont{OT1}{phv}{b}{n} \color{DimGray} \selectfont} % Horizontal rule before the title

\title{Article Title} % Your article title

\posttitle{\par\end{flushleft}\vskip 0.5em} % Whitespace under the title

\preauthor{\begin{flushleft}\large \lineskip 0.5em \usefont{OT1}{phv}{b}{n} \color{DimGray}} % Author font configuration

\author{Jan Wrocławski$^{1}$, Janusz Warszawski$^{2}$\\} % Your name

\postauthor{\footnotesize \usefont{OT1}{phv}{m}{sl} \color{Black} % Configuration for the institution name
$^{1}$Wroclaw University of Technology, jan.wroclawski@pwr.wroc.pl\\
$^{2}$Warsaw University of Technology, janusz.warszawski@pw.waw.pl % Your institution

\par\end{flushleft}\HorRule} % Horizontal rule after the title


\date{} % Add a date here if you would like one to appear underneath the title block

%----------------------------------------------------------------------------------------

\begin{document}

\maketitle % Print the title

\thispagestyle{fancy} % Enabling the custom headers/footers for the first page

%----------------------------------------------------------------------------------------
%	ABSTRACT
%----------------------------------------------------------------------------------------

% The first character should be within \initial{}
\initial{H}\textbf{ere is some sample text to show the initial in the introductory paragraph of this template article. The color and lineheight of the initial can be modified in the preamble of this document.}

%----------------------------------------------------------------------------------------
%	ARTICLE CONTENTS
%----------------------------------------------------------------------------------------

\section{Introduction}

Text text text Text text text Text text text Text text text Text text text Text text text

\begin{align}
A =
\begin{bmatrix}
A_{11} & A_{21} \\
A_{21} & A_{22}
\end{bmatrix}
\end{align}

Text text text Text text text Text text text Text text text Text text text Text text text

%------------------------------------------------

\subsection{First subsection}

Text text text

\begin{itemize}
\item First item in a list
\item Second item in a list
\item Third item in a list
\end{itemize}

Text text text

\begin{figure}[!htbp]
\centering
\includegraphics[width=0.25\textwidth]{pan}
\caption{Example.}
\label{fig:plot1}
\end{figure}

%------------------------------------------------

\subsection{Second subsection}

Text text text

Citation of a book, e.g., \cite{BN93, B06}, citation of an article in a journal \cite{S78}, citation of a conference paper \cite{STR10}, citation of a webpage \cite{soapUI}.

\begin{table}[!htbp]
\caption{Random table}
\centering
\begin{tabular}{llr}
\toprule
\multicolumn{2}{c}{Name} \\
\cmidrule(r){1-2}
First name & Last Name & Grade \\
\midrule
John & Doe & $7.5$ \\
Richard & Miles & $2$ \\
\bottomrule
\end{tabular}
\end{table}

%------------------------------------------------

\section{Conclusion}

Text text text

\begin{description}
\item[First] This is the first item
\item[Last] This is the last item
\end{description}

Text text text

%----------------------------------------------------------------------------------------
%	REFERENCE LIST
%----------------------------------------------------------------------------------------

\begin{thebibliography}{99} % Bibliography - this is intentionally simple in this template

\bibitem{BN93}
Basseville M., Nikiforov I.V., \textit{Detection of Abrupt Changes: Theory and Application}, Prentice-Hall, Inc., Englewood Cliffs, N.J. (1993)

\bibitem{B06}
Bishop C.M., \textit{Pattern Recognition and Machine Learning}, Springer-Verlag, Singapore (2006)

\bibitem{STR10}
Saat\c{c}i Y., Turner R., Rasmussen C.E., Gaussian Process Change Point Models, \textit{Proc. of the 27th International Conference on Machine Learning}, pp. 927--934 (2010)

\bibitem{S78}
Schwarz G., Estimating the dimension of a model, \textit{Annals Statistics}, Vol. 6, No. 2, pp. 461--464 (1978)

\bibitem{soapUI}
soapUI, http://www.soapui.org/

\end{thebibliography}

%----------------------------------------------------------------------------------------

\end{document} 