mirror of
https://github.com/ferdzo/iotDashboard.git
synced 2026-04-05 17:16:26 +00:00
70 lines
1.5 KiB
TeX
70 lines
1.5 KiB
TeX
\usepackage[top=2.5cm, bottom=3.5cm, left=2.5cm, right=2.5cm]{geometry}
|
|
\usepackage[utf8]{inputenc}
|
|
\usepackage[T1]{fontenc}
|
|
\usepackage[macedonian]{babel}
|
|
\usepackage[parfill]{parskip}
|
|
\usepackage{graphicx}
|
|
\usepackage{amssymb}
|
|
\usepackage{amsmath}
|
|
\usepackage{listings}
|
|
\usepackage{caption}
|
|
\renewcommand{\lstlistingname}{Код}
|
|
|
|
\usepackage{xcolor}
|
|
\usepackage{pgfplots}
|
|
\pgfplotsset{compat=1.18}
|
|
|
|
\usepackage{setspace}
|
|
\usepackage{lipsum}
|
|
\usepackage{fancyhdr}
|
|
\usepackage[hidelinks]{hyperref}
|
|
\usepackage{longtable}
|
|
\usepackage{array}
|
|
\usepackage{booktabs}
|
|
\usepackage{minted}
|
|
\setminted{
|
|
style=friendly,
|
|
fontsize=\normalsize,
|
|
tabsize=2
|
|
}
|
|
|
|
\pagestyle{fancy}
|
|
\fancyhf{}
|
|
\fancyfoot[C]{\large \thepage}
|
|
\renewcommand{\headrulewidth}{0pt}
|
|
\setlength{\footskip}{15mm}
|
|
|
|
% Code listing style for Python
|
|
\lstdefinestyle{python}{
|
|
language=Python,
|
|
basicstyle=\ttfamily\small,
|
|
keywordstyle=\bfseries\color{blue},
|
|
commentstyle=\itshape\color{gray},
|
|
stringstyle=\color{orange},
|
|
numbers=left,
|
|
numberstyle=\tiny\color{gray},
|
|
stepnumber=1,
|
|
frame=single,
|
|
breaklines=true,
|
|
showstringspaces=false,
|
|
captionpos=b,
|
|
xleftmargin=0.05\textwidth,
|
|
xrightmargin=0.05\textwidth
|
|
}
|
|
|
|
\lstset{
|
|
basicstyle=\ttfamily\small,
|
|
keywordstyle=\bfseries\color{blue},
|
|
commentstyle=\itshape\color{gray},
|
|
stringstyle=\color{cyan},
|
|
numbers=left,
|
|
numberstyle=\tiny\color{gray},
|
|
stepnumber=1,
|
|
frame=single,
|
|
breaklines=true,
|
|
showstringspaces=false,
|
|
captionpos=b,
|
|
xleftmargin=0.05\textwidth,
|
|
xrightmargin=0.05\textwidth
|
|
}
|