%#######################################
% jjpackages.tex
% generic include for common LaTeX packages
% @author Jeff J
% usage: \input{jjpackages.tex}
%
% v0.1 2024-05
%#######################################


% ### DOCUMENTCLASS & LANGUAGE #########

\documentclass[a4paper, 10pt, german]{article}
\usepackage{geometry}

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}

\usepackage[german]{babel}


% ### MISC #############################

\usepackage[table]{xcolor}

\usepackage{hyperref}
% \usepackage[implicit=false]{hyperref} % disable color conversions for printing
\hypersetup{
  pdftitle = {Botanik \& Systematik der Pflanzen},
  pdfauthor = {Jeff Jonczyk},
  pdfsubject = {},
  pdfkeywords = {},
  colorlinks = false,
  urlcolor = blue,
  linkcolor = cyan,
  citecolor = brown,
  filecolor = magenta
  pagebackref = true
  linktoc = all
  }
  
\usepackage{url}
\usepackage{pdfpages}

\usepackage{ragged2e}
% \usepackage{parskip}
\usepackage[skip=12pt, indent=0pt, parfill=50pt]{parskip}
\usepackage{setspace}


% ### FONTS & COLORS ###################

\usepackage{lmodern} %modern font-family
%\usepackage{mathptmx} %times ff that also works in math mode


\definecolor{paragraphcol}{RGB}{27, 90, 132}

\usepackage{titlesec} % heading customisation
% \titlespacing*{command}{left}{before}{after}[right]
\titleformat{\part}{\huge\bfseries\sffamily}{Teil \thepart:}{10pt}{}
\titleformat{\section}{\Large\bfseries\sffamily}{\thesection}{10pt}{}
\titlespacing*{\section}{0pt}{3.5ex plus 1ex minus .2ex}{1.5ex plus .2ex}
\titleformat{\subsection}{\large\bfseries\sffamily}{\thesubsection}{5pt}{}
\titleformat{\paragraph}{\large\sffamily\color{paragraphcol}}{}{}{}

% options for stiketrough
% \usepackage{soul}
% \usepackage{ulem}
% \usepackage{cancel}


% ### COMMENTS & CODE ##################

% \usepackage{comment}
\usepackage{verbatim}

%\usepackage{minted}


% ### TABLES ###########################

\usepackage{multirow}
\usepackage{tabularx}
\usepackage{tabulary}
% \usepackage{ltxtable}
% \usepackage{dcolumn}
% \usepackage{tabularray}


% ### IMAGES & FIGURES #################

\usepackage{graphicx}
\usepackage{wrapfig}
%\usepackage{wrapstuff}
\usepackage[format=plain, labelfont=scriptsize, labelfont+=bf, labelfont+=sf, labelsep=colon, textfont=sf, textfont+=scriptsize]{caption}
\usepackage{float}
\floatplacement{table}{hp}
\floatplacement{figure*}{H}


% ### LISTS ############################

% \usepackage{enumerate}
\usepackage{enumitem}
\usepackage{paralist} % provides compactitem, compactenum enviroments


% ### REFERENCES #######################

%\usepackage{cleveref} % package must be loaded last; see below
%\usepackage{showkeys}

% \usepackage{acronym} % simple version
%\usepackage{acro}
% \input{acronyms.tex}


% ### MATH #############################

\usepackage{amsmath}
\usepackage{pgfplots}


% ### SCIENCE ##########################

% \usepackage{siunitx}
% \usepackage[version=4]{mhchem}
% \usepackage{chemfig}

\usepackage{cleveref} % moved from REFERENCES, must be loaded last
