\documentclass{scrartcl} % used for unnumbered sections usable with \leftmark command
\usepackage[czech]{babel} % provides czech formatting, delete this if you do not want document in czech
\usepackage{csquotes} % quotes used with \enquote{} command, czech quotes when combined with czech babel
\usepackage[a4paper]{geometry} % A4 paper
\usepackage{multicol} % multiple columns of text
\usepackage{amsmath} % unnumbered equation* environment
\usepackage{fancyhdr} % fancy header and footer
\usepackage{titling} % used for titling environment
\renewcommand\maketitlehooka{\null\mbox{}\vfill}
\renewcommand\maketitlehookd{\vfill\null}
% both used to set title to optically middle of page
\title{Title of text}
\author{Author of text}
\date{} % insert date of when you created document
\pagestyle{fancy} % fancyhdr package used here
\fancyhf{} % erase all unused header and footer datas
\fancyhead[L]{\leftmark} % displays name of current section
\fancyhead[C]{Name of document} % write name of your document here
\fancyhead[R]{Name of author} % write name of author here
\fancyfoot[C]{\thepage . page} % displays current page
\setlength{\parskip}{0pt} % set lenght of skip between lines
\setlength{\parindent}{0pt} % set lenght of indent on first line of text
\begin{document}
\begin{titlepage}
\maketitle
\thispagestyle{empty}
\end{titlepage}
\newpage
\tableofcontents
\newpage
\pagenumbering{arabic} % used to start numbering from this third page
\addsec{Blank Section} % used instead of \section*{} command
Blank text
\end{document}