reflow-oven-control-sw/temp-profile-spec/specification.tex

173 lines
4.6 KiB
TeX

\documentclass[12pt,a4paper,oneside,notitlepage, numbers=noenddot,openany]{scrreprt}
\usepackage[a4paper]{geometry}
\geometry{verbose,tmargin=2.5cm,bmargin=4.5cm,lmargin=2.5cm,rmargin=2.5cm}
\setlength{\parindent}{0cm}
\usepackage{array}
\usepackage{textcomp}
\usepackage{float}
\usepackage{graphicx}
\usepackage{caption}
%\usepackage{subcaption}
%\usepackage{textgreek}
\usepackage{setspace}
\usepackage{nomencl}
\usepackage{listing}
\usepackage{tabularx}
\PassOptionsToPackage{hyphens}{url}
\usepackage[%
pdftitle={Temperature Profile File Specification},%
pdfauthor={Mario Huettel},%
pdfsubject={},%
pdfcreator={pdflatex, LaTeX with KOMA-Script},%
pdfpagemode=UseOutlines, % Beim Oeffnen Inhaltsverzeichnis anzeigen
pdfdisplaydoctitle=true, % Dokumenttitel statt Dateiname anzeigen.
pdflang=de, % Sprache des Dokuments.
%plainpages=false,
]{hyperref}
\immediate\write18{git describe --always --long --dirty > \jobname.ver}
\immediate\write18{git rev-parse --verify HEAD > \jobname.commit}
\immediate\write18{git rev-parse --abbrev-ref HEAD > \jobname.branch}
\usepackage[automark,headsepline,plainheadsepline,footsepline,plainfootsepline,autooneside=true]{scrlayer-scrpage}
\clearpairofpagestyles
\hypersetup{%
colorlinks=true, % Aktivieren von farbigen Links im Dokument
linkcolor=blue, % Farbe festlegen
citecolor=green,
%filecolor,
%menucolor=black,
%urlcolor=cyan,
bookmarksnumbered=true%, % Überschriftsnummerierung im PDF Inhalt anzeigen.
%hidelinks=false
}
\usepackage{CJKutf8}
\newenvironment{Japanese}{%
\CJKfamily{min}%
\CJKtilde
\CJKnospace}{}
\usepackage{booktabs}
\usepackage{color}
%\usepackage{cite}
\usepackage{blindtext}
\usepackage[utf8]{inputenc}
\usepackage{multicol}
\usepackage{lastpage}
\usepackage[american]{babel}
\usepackage{amssymb}
\usepackage{datetime}
\usepackage[withpage,printonlyused]{acronym}
\usepackage{amsmath}
\usepackage{mathtools}
\usepackage{forloop}
\usepackage{csvsimple}
\usepackage{xspace}
%\setcounter{secnumdepth}{3}
%\setcounter{tocdepth}{3}
%\usepackage{apacite}
%\usepackage{natbib}
%\usepackage[babel,german=quotes]{csquotes}
\usepackage{xspace}
\usepackage{nth}
%\usepackage[backend=biber, style=apa, natbib, bibencoding=utf8]{biblatex}
%
%
%
%\addbibresource{lit.bib}
%\DeclareLanguageMapping{ngerman}{ngerman-apa}
%
\usepackage{enumitem}
\newcounter{reqcount}
\newlist{requirements}{description}{1}
\setlist[requirements,1]{%
before={%
\renewcommand*\thereqcount{\arabic{reqcount}}},
font={\bfseries\stepcounter{reqcount}REQ-\thereqcount:}
}
\newcommand{\newreq}{\bfseries\stepcounter{reqcount}REQ-\thereqcount:~}
\usepackage{xargs} % Use more than one optional parameter in a new commands
\usepackage[colorinlistoftodos,prependcaption,textsize=tiny]{todonotes}
\newcommandx{\unsure}[2][1=]{\todo[noline,linecolor=red,backgroundcolor=red!25,bordercolor=red,#1]{#2}}
\newcommandx{\miscite}[1][1=]{\todo[noline,linecolor=black,backgroundcolor=black!25,bordercolor=black]{Missing citation! #1}}
\newcommandx{\change}[2][1=]{\todo[noline,linecolor=blue,backgroundcolor=blue!25,bordercolor=blue,#1]{#2}}
\newcommandx{\info}[2][1=]{\todo[noline,linecolor=OliveGreen,backgroundcolor=OliveGreen!25,bordercolor=OliveGreen,#1]{#2}}
\newcommandx{\improvement}[2][1=]{\todo[noline,linecolor=Plum,backgroundcolor=Plum!25,bordercolor=Plum,#1]{#2}}
\newcommandx{\thiswillnotshow}[2][1=]{\todo[disable,#1]{#2}}
%Figure, table and listing enumeration style
\captionsetup{labelfont=bf}
\usepackage{chngcntr}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\clubpenalty10000
\widowpenalty10000
\displaywidowpenalty10000
%\counterwithout{figure}{part}
\ihead[Spec]{Spec}
\chead[\input{\jobname.ver}]{\input{\jobname.ver}}
\ohead{\headmark}
\ofoot[\pagemark]{\pagemark}
\cfoot[\url{https://git.shimatta.de/mhu/reflow-oven-control-sw}]{\url{https://git.shimatta.de/mhu/reflow-oven-control-sw}}
\setheadsepline{.5pt}
\setfootsepline{.5pt}
\BeforeStartingTOC{\thispagestyle{scrheadings}}
\pagestyle{scrheadings}
\thispagestyle{scrheadings}
\raggedbottom
\begin{document}
\pagenumbering{roman}
\begin{titlepage}
\begin{center}
\begin{figure}[H]
\centering
\resizebox{5cm}{!}{
\includegraphics{img/shimatta-logo}}
\end{figure}
\vspace{10em}
\begin{Huge}
\sffamily\textbf{Temperature Profile File Specification}
\end{Huge}
\vspace{1cm}
\textbf{Version: \input{\jobname.ver}}
\vspace{3em}
\small\texttt{\input{\jobname.commit}/ \input{\jobname.branch}}
\end{center}
\end{titlepage}
\tableofcontents
\newpage
\thispagestyle{scrheadings}
\pagenumbering{arabic}
\chapter{Test}
\end{document}