Demo entry 6714692

latex document

   

Submitted by honza on Feb 15, 2018 at 08:10
Language: TeX. Code size: 4.7 kB.

\documentclass[a4paper, 10pt]{report}

\usepackage[a4paper, includeheadfoot]{geometry} %page geometry settings, margins ...
	\geometry{
	top=2cm,
	bottom=3cm,
	left=2cm,
	right=2cm
	}
	
\usepackage{titlesec} %setting spaces around chapter titles
\titleformat{\chapter}
  {\normalfont\LARGE\bfseries}{Chapter \thechapter :}{1em}{}
\titlespacing*{\chapter}{0pt}{-20pt}{2.3ex plus .2ex} %{???}{horní okraj}{dolní okraj}

\usepackage{graphicx} %insert pictures, includegraphics	

\usepackage{array} %for tables middle-aligned text in cells
\usepackage{longtable} %tables across multiple pages, tabu package needs it for longtabu working
\usepackage{tabu} %another package for tables
\usepackage{multirow} %enable using multirow command
\usepackage{makecell} %line break in cells

\usepackage{float} %[H] forcing floating enviroments be exactly HERE
\usepackage[singlelinecheck=false]{caption} %captions for non-floating enviroments? left-aligned captions
\setlength{\abovecaptionskip}{2pt} %captions to be closer to table/figure itself

\usepackage[nodayofweek]{datetime}	%for inserting date of compilation into the document
\longdate
\newcommand{\rev}{rev\_{}B\_{}devel} %for setting current revision

\usepackage{color} %enables using colors in document
	\definecolor{light-gray}{gray}{0.45}
	
\usepackage{fancyvrb} %verbatim enviroment that accepts tabs	
	
\usepackage[printwatermark]{xwatermark} %package for watermark on foreground
\usepackage{xcolor}
\usepackage{tikz} %using opacity in watermark
\newsavebox\mybox %watermark
\savebox\mybox{\tikz[color=gray,opacity=0.1]\node{\textsf{PRELIMINARY}};}
\newwatermark*[
  allpages,
  angle=60,
  scale=10,
  xpos=-40,
  ypos=30
]{\usebox\mybox}	

\usepackage{fancyhdr} %header settings
	\pagestyle{fancy} %settings for "normal" pages
	\fancyhf{} % clear all header and footer fields	
	\fancyhead[R]{\includegraphics[width=5cm]{pictures/logo-small.pdf}}
	\fancyfoot[R]{\scriptsize \textcolor{light-gray}{\rev \\ \ddmmyyyydate{\today}}}	
	\fancyfoot[C]{
		\thepage \\
		\includegraphics[width=0.7cm]{pictures/logo-big.pdf} \scriptsize \textcolor{light-gray}{is registered trademark of siliXcon. Other names and trademarks mentioned herein may be the trademarks of their respective owners. siliXcon reserves the right to make changes, without notice, to the products described in this document, in the interest of improving design, operational function and/or reliability. \\
		siliXcon, Biskupice 69, 763 41 Zl\'i{}n, Czech Republic www.silixcon.com, info@silixcon.com}
	}
	\renewcommand{\headrulewidth}{0pt}
	\renewcommand{\footrulewidth}{0pt}
	
	
	\fancypagestyle{plain}{ %settings for first page in chapter and pages like this
		\fancyhf{} % clear all header and footer fields	
		\fancyhead[R]{\includegraphics[width=5cm]{pictures/logo-small.pdf}}
		\fancyfoot[R]{\scriptsize \textcolor{light-gray}{\rev \\ \ddmmyyyydate{\today}}}		
		\fancyfoot[C]{
			\thepage \\
			\includegraphics[width=0.7cm]{pictures/logo-big.pdf} \scriptsize \textcolor{light-gray}{is registered trademark of siliXcon. Other names and trademarks mentioned herein may be the trademarks of their respective owners. siliXcon reserves the right to make changes, without notice, to the products described in this document, in the interest of improving design, operational function and/or reliability. \\
		siliXcon, Biskupice 69, 763 41 Zl\'i{}n, Czech Republic www.silixcon.com, info@silixcon.com}
		}
	}
	
\usepackage[
	hidelinks,					% schová rámečky okolo odkazů	
	breaklinks=true,			% Hypertextové odkazy mohou obsahovat zalomení řádku
	hypertexnames=false 		% Názvy hypertextových odkazů budou tvořeny
								% nezávisle na názvech TeXu
]{hyperref}						% Balíček 'hyperref' pro sazbu hypertextových odkazů
								% Nutné pro použití příkazu 'nastavenipdf' balíčku 'thesis'
								
\begin{document}
	\begin{titlepage}
		\centering
		\includegraphics[width=0.35\textwidth]{pictures/logo-big.pdf}\par\vspace{2cm}
		{\textsf{ \textbf{\Huge yOS v2.0}} \par}
		\vspace{0.5cm}
		{\textsf{ \textbf{\Huge SWtools}} \par}
		\vspace{1cm}
		{\textsf{ {\Huge Reference manual}} \par}
		\vspace{5cm}		
		{\Large \textsf{	
		\rev \\
		\vspace{1cm}
		\today}}
		\vfill
	\end{titlepage}
	\pagestyle{fancy}

	\headheight 1.3cm
	\tableofcontents

	\listoffigures

	\listoftables

\include{texts/intro} %introduction to the manual

\include{texts/yos} %about yos operating system

\include{texts/srm} %about secure remote management

\include{texts/swtools} %about software tools for controllers

\include{texts/scripts} %about yOS scripts

\end{document}

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).