\section{Заголовок раздела в одну, две или \\ три строки для объёмных тем \\ (шрифт Roboto Medium, 40 pt)}
-{\setbeamertemplate{background}{
- \begin{tikzpicture}
- \node[anchor=south west, inner sep=0] at (0,0) {\includegraphics[width=\the\paperwidth, height=\the\paperheight]{theme.nonfree/bgpics/pgpro_title_bg2.png}};
- \node[anchor=east] at(\textwidth+1cm,0.5cm) {\color{white}\tiny\insertframenumber};
- \end{tikzpicture}
- }
- \setbeamercolor{normal text}{fg=white}\usebeamercolor*{normal text}
- \setbeamerfont{normal text}{size*={32pt}{1},family=\sffamily}\usebeamerfont*{normal text}
- \begin{frame}
- \vskip1cm
- Демонстрация
- \end{frame}
- \begin{frame}
- \vskip1cm
- Q\&A
- \end{frame}
-}
+\section{Демонстрация}
+
+\section{Q\&A}
{\setbeamertemplate{background}{
\begin{tikzpicture}
}
+\newcommand{\striphyperlink}{\renewcommand{\hyperlink}[2]{##2}}
\defbeamertemplate*{section page}{pgpro2025bis}{%
% тёмный фон раздела поверх обычного
\begin{tikzpicture}[remember picture, overlay]
\node[anchor=south west, inner sep=0] at (current page.south west)
- {\includegraphics[width=\paperwidth, height=\paperheight]{pgpro2025bis.theme/bgpics/title_bg.pdf}};
+ {\includegraphics[width=\paperwidth, height=\paperheight]{pgpro2025bis.theme/bgpics/section_bg.pdf}};
\end{tikzpicture}%
\begin{textblock*}{\paperwidth}(\beamer@leftmargin, 12.5cm)
- %\begin{beamercolorbox}[left]{section page}
+ \begingroup
+ \striphyperlink %временно подменяем все гиперссылки на обычный текст
\usebeamercolor[fg]{section title}%
\usebeamerfont{section title}%
- \vskip \dimexpr \RobotoMediumBaselineGap - 17pt \relax%
- \insertsectionhead\par%
- %\end{beamercolorbox}
+ \vskip \dimexpr \RobotoMediumBaselineGap - 9.5pt \relax%
+ \insertsection\par%
+ \endgroup
\end{textblock*}%
}