inv-repo1/doc/main.tex

166 lines
3.9 KiB
TeX
Raw Normal View History

2024-11-15 23:04:02 +00:00
\documentclass{report}
\usepackage{siunitx} % dodaj na początku dokumentu, aby załadować pakiet siunitx
\usepackage{longtable}
% Pakiety do ustawienia marginesów
\usepackage{geometry}
\geometry{
a4paper,
left=2.6cm,
right=2.6cm,
top=2.6cm,
bottom=2.6cm
}
\usepackage[
sortcites,
backend=biber,
hyperref=true,
firstinits=true,
maxbibnames=99,
]{biblatex}
\addbibresource{references.bib}
% Kodowanie i język
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[polish]{babel}
% Pakiety do listowania kodu
\usepackage{listings}
% Pakiety do stylizacji
\usepackage{titlesec}
\usepackage{tocloft}
\usepackage{enumitem}
\usepackage{fancyhdr}
\usepackage{eso-pic}
\usepackage{graphicx}
\usepackage{transparent}
\usepackage{datetime2}
\usepackage{ulem}
\usepackage{xcolor}
% Definiowanie nowego typu listy 'longenum' z pięcioma poziomami numeracji
\newlist{longenum}{enumerate}{5}
\setlist[longenum,1]{label=\arabic*., left=.5em}
\setlist[longenum,2]{label=\arabic*), left=1.em}
\setlist[longenum,3]{label=\alph*., left=1.5em}
\setlist[longenum,4]{label=\alph*), left=2em}
\setlist[longenum,5]{label=--, left=3.5em}
% % Konfiguracja nagłówków i stopek
% \fancypagestyle{mystyle}{
% \fancyhf{}
% \fancyhead[L]{Biotechnologia PCz 2024}
% \fancyhead[R]{Grupa I}
% \fancyfoot[L]{Commit UUID: \texttt{\commitUUID} \\ Timestamp: \texttt{\DTMnow}}
% \fancyfoot[R]{\thepage}
% }
% \pagestyle{mystyle}
% Pierwsza strona bez nagłówków i stopek
% \fancypagestyle{plain}{
% \fancyhf{}
% \fancyfoot[L]{Commit UUID: \texttt{\commitUUID} \\ Timestamp: \texttt{\DTMnow}}
% \fancyfoot[R]{\thepage}
% }
% Ustawienia stylu dla kodu
\definecolor{backcolour}{rgb}{0.95,0.95,0.92}
\definecolor{codegreen}{rgb}{0,0.6,0}
\definecolor{codegray}{rgb}{0.5,0.5,0.5}
\definecolor{codepurple}{rgb}{0.58,0,0.82}
\definecolor{magentacolor}{rgb}{1.0, 0.0, 1.0}
\lstdefinestyle{mystyle}{
backgroundcolor=\color{backcolour},
commentstyle=\color{codegreen},
keywordstyle=\color{magentacolor},
numberstyle=\tiny\color{codegray},
stringstyle=\color{codepurple},
basicstyle=\ttfamily\footnotesize,
breaklines=true,
captionpos=b,
numbers=left,
numbersep=5pt,
showspaces=false,
showstringspaces=false,
showtabs=false,
tabsize=2,
extendedchars=true,
literate={ą}{{\k{a}}}1 {ć}{{\'c}}1 {ę}{{\k{e}}}1 {ł}{{\l{}}}1 {ń}{{\'n}}1 {ó}{{\'o}}1 {ś}{{\'s}}1 {ż}{{\.z}}1 {ź}{{\'z}}1
}
\lstset{style=mystyle}
% Wczytanie pliku z informacjami o commit
\input{commit.tex}
\begin{document}
% Dodanie znaku wodnego do tła każdej strony
\AddToShipoutPictureBG*{\BackgroundPic}
% Tytuł dokumentu
\begin{titlepage}
\centering
\vspace*{-2cm}
\huge{Politechnika Częstochowska}\\
\Large{Kierunek: Biotechnologia}\\
% \today \\
\vspace{8cm}
\textbf{\textbf{Plant in vitro cultures}}\\
\vspace {0.5cm}
\textbf{\textbf{Report 1: Establishment of axenic culture of plants \\ as an explant source for in vitro experiments}}\\
\vspace{0.5cm}
Grupa I, Sem. I, NS II, r. 2024\\
\vspace{4cm}
% Studenci
\noindent
\raggedright
\Large
\textbf{Students:}\\
% \vspace{0.5cm}
\normalsize % Zmniejszenie czcionki
\begin{flushleft}
\hspace{1.0cm} \normalsize Michał Michalik\\
\hspace{1.0cm} \normalsize Mateusz Pabiszczak\\
\hspace{1.0cm} \normalsize Sebastian Siarkowski\\
\end{flushleft}
% \vspace{1cm}
% Prowadzący
\vspace{2.5cm}
\Large
\begin{flushleft}
\hspace{0.5\textwidth} \textbf{Teacher:}\\
\end{flushleft}
% \vspace{0.5cm}
\begin{flushleft}
\hspace{0.5\textwidth} \normalsize dr hab. Anna Grobelak, Prof PCz\\
\end{flushleft}
\end{titlepage}
\newpage
\input{modules/inv}
\label{sec:inv}
% \input{modules/code}
% \label{sec:wykresy}
\newpage
\printbibliography
\end{document}