
\documentclass[handout]{beamer}

\usepackage{pgfpages}
%TOHLE PREPINA do handouts! V pdf tiskarne nutno rict na celou plochu (FIT TO FULL PAGE)! a pak asi tisknout ...
%\setbeameroption{show notes on second screen=bottom} %best pro handsout
%\setbeameroption{show notes on second screen=right} % spiše ne





%Packages to be included
%\usepackage[latin1]{inputenc}
%\usepackage{beamerthemesplit}
\usepackage{graphics,epsfig, subfigure}
\usepackage{url}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[czech]{babel}
\usepackage{listings}
\lstset{basicstyle={\ttfamily},
basewidth={0.5em}}
\RequirePackage{eurosym}
\usepackage{hyperref}
\usepackage{fontawesome5} % Pro ikonky

\usepackage{ifthen}
%\usepackage[czech]{babel}
\usepackage{csquotes}
\usepackage{xcolor}
\usepackage{ragged2e}
\usepackage{calc} % Potřebné pro výpočty s rozměry
\usepackage{graphicx} % Pro pokročilé úpravy layoutu






\usecolortheme{dolphin} % Modré akcenty
\setbeamercolor{background canvas}{bg=blue!10} % Jemně modré pozadí
\setbeamersize{text margin left=10pt, text margin right=10pt} %new code
\setbeamertemplate{navigation symbols}{}
\setbeamertemplate{footline}[frame number]
%\def\osobnivzkaz#1{\begin{block}{Osobní vzkaz}#1\end{block} }
%\def\vzkaz#1{\begin{block}{Vzkaz}#1\end{block} }
\newcommand{\ChatGPT}{\includegraphics[height=1em]{figs/ChatGPT-Logo.png} }




%\def\vzkaz#1{Vzkaz: {#1} }
\def\vzkaz#1{{\bf #1} }
\def\osobnivzkaz#1{Osobní vzkaz: {\bf #1}}
\def\slide#1#2{\begin{frame}\frametitle{#1} #2\end{frame}}
\def\dblnote#1#2{{\bf#1}:#2}
\def\ig#1#2{\includegraphics[width=#1\textwidth]{figs/#2}}
\def\slidevzkaz#1#2#3#4{\slide{#1}{\bc\ig{#2}{#3}\ec\vzkaz{#4}}}
\def\blok#1#2{\begin{block}{#1}#2\end{block}}
\def\bc{\begin{center}}
\def\ec{\end{center}}
\def\bi{\begin{itemize}}
\def\ei{\end{itemize}}
\def\im{\item}

\def\citat#1#2#3#4{\begin{block}{#1}{\it "#2"} \flushright #3:#4\end{block}}

\def\sien{Still image used under fair use for educational and commentary purposes}
\def\si{Statický obrázek použit v souladu s principem fair use pro vzdělávací a komentářové účely.}


%\setbeameroption{show notes on second screen=bottom}

\def\out#1{}
\def\in#1{#1}

\newcommand{\customcquote}[2]{%
    \begin{quote}
           \textit{#1}  % Citace v kurzívě
        \vspace{0.5em} \\
       \hfill {\color{blue} \textnormal{--- #2}}
        %    \hfill {\color{blue} \textbf{--- #2}}
    \end{quote}
}


\def\twocolumns#1#2#3{
\begin{center}
\begin{columns}[c]
\column{#1\textwidth}
#2
\column{\dimexpr\textwidth-#1\textwidth\relax}
#3
\end{columns}
\end{center}
}


\in{
\AtBeginSection[]
{
   \begin{frame}
       \frametitle{Obsah}
       %\tableofcontents[]
       \tableofcontents[currentsection,hideothersubsections]
   \end{frame}
}
\AtBeginSubsection[]
{
   \begin{frame}
       \frametitle{Obsah}
       %\tableofcontents[]
       \tableofcontents[currentsection,currentsubsection]
   \end{frame}
}
}


\AtBeginSubsubsection[]
{

}


%============ BIBTEX veci ============

%\usepackage[backend=biber,style=authoryear]{biblatex}
\usepackage[backend=biber,style=numeric]{biblatex}


%\addbibresource{produkce/others.bib}
\addbibresource{produkce/reference.bib}
\newcommand{\cituj}[1]{\nocite{#1}
  %[\citeauthor{#1}, \citefield{#1}{shorttitle}, {\it \citefield{#1}{note}}, \citeyear{#1}]%
  %[\citeauthor{#1}, \citefield{#1}{shorttitle}, \citeyear{#1}]%
  [\citeauthor{#1}, \textit{\citefield{#1}{shortjournal}}, (\citeyear{#1})]%
}

\newcommand{\credit}[1]{\nocite{#1}
Credit: \citeauthor{#1}\cite{#1}
}


%\newcommand{\cituj}[1]{\cite{#1}}


%\def\cituj#1{(\citeauthor{#1}, \citetitle{#1}, \citefield{#1}{medium} \citeyear{#1})}




%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%% PDF meta data inserted here %%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\hypersetup{
	pdftitle={Duše vědce},
	pdfauthor={}
}





%%%%%% Beamer Theme %%%%%%%%%%%%%






%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%% Content starts here %%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%







