Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- documentclass[a4paper]{report}% http://ctan.org/pkg/amsproc
- usepackage[top=3.00cm, bottom=3.00cm, inner=3cm, outer=3.5cm]{geometry}
- %usepackage[top=3.00cm, bottom=3.00cm, left=3cm, right=3.0cm]{geometry}
- usepackage[utf8]{inputenc}
- usepackage[T1]{fontenc}
- usepackage[x11names,table]{xcolor}
- usepackage{fourier}
- usepackage{microtype}
- SetTracking[no ligatures={f}]{encoding=*}{80}
- usepackage[strict]{changepage}%
- usepackage{graphicx}
- usepackage[explicit]{titlesec}%
- usepackage[export]{adjustbox}
- usepackage{hyperref}
- usepackage{biblatex}
- usepackage{fancyhdr}
- usepackage{lipsum}
- % BARVY
- definecolor{ukred}{RGB}{160,0,0}
- definecolor{ukgray}{RGB}{128,128,128}
- definecolor{ukredlight}{RGB}{160,0,0}
- definecolor{ukgraylight}{RGB}{210,210,210}
- % TABULKY A OBRÁZKY
- usepackage{chngcntr}
- counterwithout{figure}{chapter}
- usepackage[font={color=ukgray},figurename=Obr.]{caption}
- usepackage[labelfont={color=ukgray,bf}]{caption}
- captionsetup{justification = raggedright,singlelinecheck = false}
- counterwithout{table}{chapter}
- usepackage[tablename=Tab.]{caption}
- rowcolors{1}{ukgraylight}{white}
- renewcommand{contentsname}{Obsah}
- % NUMBERS AND LINES AT CAPTIONS
- titleformat{chapter}[hang]
- {bfseriesfontsize{14pt}{14pt}selectfontcolor{IndianRed3}lsstyle}
- {checkoddpageifoddpagellap{makebox[dimexprmarginparsep+marginparwidthrelax][l]{rule[-1.25ex]{marginparwidth}{0.5ex}llap{}}}thechapterenspaceelsethechapterenspace fi}
- {0pt}
- {MakeUppercase{#1}checkoddpageifoddpageelsehfillrlap{makebox[dimexprtextwidth + marginparsep][l]{hspace{marginparsep}rlap{rule[-1.25ex]{marginparwidth}{0.5ex}}thechapter}}fi}%titlerule[1.5pt]
- titlespacing*{chapter}{0pt}{2ex}{1ex}
- %
- titleformat{section}
- {bfserieslarge}
- {checkoddpageifoddpagellap{makebox[dimexprmarginparsep+marginparwidthrelax][l]{rule[-1.25ex]{marginparwidth}{0.5ex}llap{}}}thesectionenspaceelsethesectionenspace fi}
- {0pt}
- {#1checkoddpageifoddpageelsehfillrlap{makebox[dimexprtextwidth + marginparsep][l]{hspace{marginparsep}rlap{smash{rule[-1.25ex]{marginparwidth}{0.5ex}}}thesection}}fi}%titlerule[1.5pt]
- titlespacing*{section}{0pt}{1ex}{0.5ex}
- titleformat{subsection}
- {bfseries}
- {checkoddpageifoddpagellap{makebox[dimexprmarginparsep+marginparwidthrelax][l]{rule[-1.25ex]{marginparwidth}{0.5ex}llap{}}}thesubsectionenspaceelsethesubsectionenspace fi}
- {0pt}
- {#1checkoddpageifoddpageelsehfillrlap{makebox[dimexprtextwidth + marginparsep][l]{hspace{marginparsep}rlap{smash{rule[-1.25ex]{marginparwidth}{0.5ex}}}thesubsection}}fi} titlespacing*{subsection}{0pt}{1ex}{0.5ex}
- %%%%%%%%%
- % ČÍSLOVÁNÍ STRÁNEK
- fancyhf{}
- renewcommand{headrulewidth}{0pt}
- fancyfoot[LE,RO]{thepage}
- % HLAVIČKY
- %fancyhf{} % clear all header and footers
- %fancyhead[R]{thepageifoddvalue{page}elsehfillfi}
- % CITACE
- addbibresource{citace.bib}
- begin{document}
- tableofcontents
- chapter{Nadpis 1. úrovně}
- lipsum[1]
- section{Nadpis 2. úrovně}
- lipsum[2]
- subsection{Nadpis 3. úrovně}
- lipsum[3]
- chapter{První kapitola dizertace}
- lipsum[1]par
- Tady odcitujeme nějaký zdroj, ať víš, jak se vkládají. K tomu si budeš bohužel muset přečíst : href{https://en.wikibooks.org/wiki/LaTeX/Bibliography_Management}{tento článek:}, ale na druhou stranu, věř mi, že s přibývajícím zdroji se Ti to automatické generování stylu bude hodit. Citace pro LaTeX Ti totiž umožní kde jaká slušná databáze, takže se Ti to ve výsledku všechno zjednoduší. Takže nějaké citace cite{einstein}. Nebo další cite{dirac}.
- % begin{figure}[ht!]
- % centering
- % includegraphics[width=110mm, cfbox = ukgray 1mm 0pt]{Auticko.png}
- % caption{Autíčko s tlustým popiskem bez názvu kapitoly, netlustým textem a pojebkaným rámečkem okolo...label{overflow}}
- % end{figure}
- Tady bude zase nějaká tabulka...par
- begin{table}[htb]
- centering
- caption{Nějaká tabulka}
- % cfbox ukgray 1mm 0pt{
- begin{tabular}{r|r|r|r}
- N & R & C & T \ hline % odd -- lightblue (wrong)
- 8 & 8 & 4 & 444 \ % even
- 9 & 8 & 4 & 124 \ % odd -- lightblue (wrong)
- 10 & 8 & 4 & 672 \ % even
- end{tabular}
- end{table}
- section{Nadpis 2. úrovně}
- lipsum[2]
- chapter{Seznam použitých zkratek a symbolů}
- chapter{Seznam použitých zdrojů}
- printbibliography
- end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement