LaTeX sablona - bakalarska praca
Author
Sebastián Mráz
Last Updated
2 years ago
License
Creative Commons CC BY 4.0
Abstract
LaTeX sablona - bakalarska praca
LaTeX sablona - bakalarska praca
\documentclass[a4paper,12pt]{report}
\usepackage[slovak,english]{babel}
\usepackage[utf8]{inputenc}
\usepackage[protrusion=true,expansion=true]{microtype}
\usepackage{mathpazo}
\usepackage[T1]{fontenc}
\linespread{1.2}
\usepackage{moresize}
\usepackage{geometry}
%\usepackage[inner=4cm,outer=2cm,bottom=2.5cm]{geometry}
\addtolength{\oddsidemargin}{-.5cm}
\addtolength{\evensidemargin}{-2.9cm}
\addtolength{\topmargin}{0cm}
\addtolength{\textheight}{0cm}
\addtolength{\textwidth}{2.cm}
\addtolength{\textheight}{2.cm}
\usepackage{graphicx}
\usepackage{float}
\usepackage{subfig}
\usepackage{pdfpages}
\usepackage{listings}
\usepackage{eurosym}
\usepackage{url,mathptmx}
\usepackage{booktabs}
\usepackage{array, hhline}
\usepackage{lscape}
\usepackage{amssymb, amsmath, amsfonts, lmodern}
\usepackage{helvet}
\renewcommand{\familydefault}{\sfdefault}
\usepackage{acronym}
\usepackage{paralist}
\usepackage{verbatim}
\usepackage{comment}
\usepackage[colorinlistoftodos]{todonotes}
\usepackage[pdftex,unicode,bookmarks=false]{hyperref}
\usepackage{fancyhdr}
\usepackage{csquotes}
\renewcommand{\chaptermark}[1] % HEADER / FOOTER DEFINITIONS
{
\markboth{#1}{}
}
\usepackage{sectsty}% SECTION TITLE APPEARANCE
\allsectionsfont{\mdseries\upshape}
\usepackage[explicit]{titlesec}
\usepackage[nottoc,notlof,notlot]{tocbibind}
\usepackage{nicefrac}
\usepackage{biblatex}
\addbibresource{literatura.bib}
\newtheorem{mydef}{Definícia}
\newtheorem{myexample}{Príklad}
\renewcommand{\headrulewidth}{0pt} % remove lines as well
\titlespacing*{\chapter}{0pt}{-30pt}{30pt}
\titleformat{\section}{\LARGE\bf}{\textcolor{black}{\thesection \hspace{12pt} #1}}{0pt}{}
\titleformat{\subsection}{\large\bf}{\textcolor{black}{#1}}{0pt}{}
\fancypagestyle{plain}{%
\fancyhf{}%
\fancyhead[L, R]{}
\fancyfoot[C]{}
\fancyfoot[R]{}
}
\begin{document}
\pagenumbering{arabic}
\selectlanguage{slovak}
\titleformat{\chapter}[display]{\normalfont\bfseries}{}{10pt}{\huge#1}
\pagestyle{empty}
\include{special/titulna_strana}
\include{special/zadanie_prace}
\pagestyle{plain}
\setcounter{page}{3}
\include{special/cestne_prehlasenie}
\include{special/podakovanie}
\include{special/abstrakt}
%\lhead{FRI UNIZA}
%\rhead{BAKALÁRSKA PRÁCA}
% \rfoot{\thepage}
% \fancyfoot[C]{}
\include{special/obsah}
\include{special/zoznamy}
\include{special/skratky}
\fancypagestyle{plain}{%
\fancyhf{}%
\fancyhead[L, R]{FRI UNIZA \hfill BAKALÁRSKA PRÁCA}
\renewcommand{\headrulewidth}{0.05pt}
\fancyfoot[C]{}
\fancyfoot[R]{\thepage}
}
\pagestyle{fancy}
\include{kapitoly/uvod}
\titleformat{\chapter}[display]{\normalfont\bfseries}{}{10pt}{\huge\thechapter \quad#1}
%Pripadne doplniť dalsie
\include{kapitoly/kapitola1}
\include{kapitoly/kapitola2}
\include{kapitoly/kapitola3}
\include{kapitoly/kapitola4}
\titleformat{\chapter}[display]{\normalfont\bfseries}{}{10pt}{\huge#1}
\include{kapitoly/zaver}
\renewcommand{\bibsection}{\chapter{Zoznam použitej literatúry}}
\printbibliography[title=Zoznam použitej literatúry]
\include{prilohy/zoznam_priloh}
%Pripadne doplniť dalsie
\include{prilohy/priloha1}
\include{prilohy/priloha2}
\include{prilohy/priloha3}
\end{document}