%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%                                                         %% 
%%  Przykładowy plik z tabelą nagłówkową do ćwiczeń        %%
%%  laboratoryjnych z przedmiotu Robotyka 2                %% 
%%                                                         %% 
%%  Autor: Robert Muszyński K7/W4/PWr       Copyleft 2016  %% 
%%                                                         %% 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[12pt,a4paper,twoside,fleqn]{report}
\usepackage[utf8]{inputenc}
\usepackage[OT4,plmath]{polski}
\usepackage[width=18cm,height=25cm]{geometry}
\usepackage{fancyhdr}
\usepackage{hyperref}
\usepackage{booktabs,tabularx}
\usepackage{multirow}
\usepackage[letterspace=150]{microtype}

\addtolength{\topmargin}{-10mm}
\addtolength{\oddsidemargin}{-5mm}
\addtolength{\evensidemargin}{5mm}

\pagestyle{empty}
%\pagestyle{fancy}
%\renewcommand{\chaptermark}[1]{ \markboth{#1}{} }
\renewcommand{\sectionmark}[1]{ \markboth{1}{#1} }

% \makeatletter
% \fancyhead[LE,RO]{\thepage}
% \fancyhead[RE]{\textit{ \nouppercase{\@title}} }
% \fancyhead[LO]{\textit{ \nouppercase{\rightmark}} }
% \makeatother

% \fancyhf{}
% \fancyhead[LE,RO]{\thepage}
% \fancyhead[RE]{\textit{ \nouppercase{\doctitle}} }
% \fancyhead[LO]{\textit{ \nouppercase{\rightmark}} }
% \setlength{\headheight}{15pt}

\newcommand*\doctitle{Robotyka 2 - laboratorium}
\newcommand*\docauthor{Robert Muszyński}
\title{\bf\doctitle}
\author{\docauthor\footnote{Katedra Cybernetyki i~Robotyki}\\
Laboratorium Robotyki\\
Wydział Elektroniki\\
Politechnika Wrocławska}
\date{\today}

\hypersetup{unicode, colorlinks=true, breaklinks,
  pdfstartview={Fit}, pdfpagelayout={SinglePage},
  pdftitle=\doctitle, pdfauthor={\docauthor},
pdfsubject={Instrukcja laboratoryjna do ćwiczenia ,,\doctitle''}}

\def\thefootnote{\fnsymbol{footnote}}

\newcolumntype{C}{>{\centering\arraybackslash}X}% centering
 \setlength\extrarowheight{2pt} % extra padding

\begin{document}
%\maketitle

\begin{tabularx}{\textwidth}{@{}|C|C|C|C@{}|}
%\toprule
\hline
\multicolumn{4}{|c|}{Katedra Cybernetyki i~Robotyki, Politechnika Wrocławska}\\[-1pt]\hline
\multicolumn{4}{|c|}{\bf ROBOTYKA 2 -- LABORATORIUM}\\
\multicolumn{4}{|c|}{\large\lsstyle \bf SPRAWOZDANIE}\\\hline
\multicolumn{1}{|c|}{\hspace*{1.2cm}Ćwiczenie wykonali:\hspace*{1.2cm}} & 
                    Rok/semsetr: & Grupa/termin: &  Nr ćwiczenia:\\[1cm]\cline{2-4}
\multicolumn{1}{|c|}{} & Data wykon. ćw.: & Data dostarcz. spr.: & Ocena:\\[1cm]\cline{2-4}
\multicolumn{1}{|c|}{} &\multicolumn{3}{c|}{Temat ćwiczenia:}\\[2cm]
%\bottomrule
\hline
\end{tabularx}

\end{document}
