Sablona DU Bi8773
Author
Mojmír Vinkler, Zdeňka Geršlová
Last Updated
há 6 anos
License
Creative Commons CC BY 4.0
Abstract
Template for homework assigment for Bi8773 at Masaryk University
Template for homework assigment for Bi8773 at Masaryk University
%
\documentclass[12pt, oneside]{report}
\usepackage[margin=0.85in]{geometry}
\linespread{1}
\usepackage{xcolor}
\usepackage[colorlinks=false, linkbordercolor=white, citebordercolor=white,
filebordercolor=white, urlbordercolor=white]{hyperref}
\usepackage{graphicx}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[czech]{babel} %% nastaveni cestiny
\usepackage{fancyhdr}
\pagestyle{fancy}
\renewcommand{\headrulewidth}{0.4pt}
\fancyhead{}
\fancyhead[L]{Název předmětu -- domácí úkol} %%% Zmente podle sveho predmetu
\fancyhead[R]{Jméno Příjmení} %%% Vyplnte sve jmeno a prijmeni
\fancyfoot{}
\fancyfoot[C]{\thepage}
\usepackage{titlesec}
\titlespacing{\chapter}{0pt}{*4}{*2.5}
\titleformat{\chapter}{\normalfont\huge\bf}{\thechapter}{20pt}{\huge\bf}
% Definice prostredi
\usepackage{listings}
\definecolor{dgray}{gray}{0.35}
\definecolor{lgray}{gray}{0.95}
\lstset{ % nastaveni vzhledu R-kodu
language=R,
basicstyle=\ttfamily\small,
backgroundcolor=\color{lgray},
commentstyle=\ttfamily\small\itshape\color{dgray},
showstringspaces=false,
numbers=left,
numberstyle=\ttfamily\small,
stepnumber=1,
firstnumber=last,
breaklines=T}
\begin{document}
\input{UCO-prijmeni-jmeno-predmet-title-page} % zmente za svuj nazev souboru
\addtocontents{toc}{~\hfill\textbf{Page}\par}
\input{UCO-prijmeni-jmeno-predmet-text} % vlozi soubor s hlavnim textem - zmente za svuj nazev
\end{document}