]> Untitled Git - articles.git/commitdiff
Победили ссылку в заголовке раздела. Поставил правильный фон, все слайды которые...
authorNikolay Shaplov <dhyan@nataraj.su>
Sat, 13 Jun 2026 19:49:13 +0000 (22:49 +0300)
committerNikolay Shaplov <dhyan@nataraj.su>
Sat, 13 Jun 2026 19:49:13 +0000 (22:49 +0300)
slides/0000 - LaTeX Stub/example.tex
slides/0000 - LaTeX Stub/pgpro2025bis.theme/beamerinnerthemePgPro2025bis.sty
slides/0000 - LaTeX Stub/pgpro2025bis.theme/bgpics/section_bg.pdf [new file with mode: 0644]

index f45373f4d1deb79a23175dab3029b96146ce4a75..b9ea7fa33868da77fb8df0e9ff5f0e439b6806d1 100644 (file)
 
 \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}
index 45192a6ec7b85e282e33bc805fba5e20e3d62566..695842d4f09148a40a38a50aebe54e39af513c6d 100644 (file)
 }
 
 
+\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*}%
 }
 
diff --git a/slides/0000 - LaTeX Stub/pgpro2025bis.theme/bgpics/section_bg.pdf b/slides/0000 - LaTeX Stub/pgpro2025bis.theme/bgpics/section_bg.pdf
new file mode 100644 (file)
index 0000000..94f1c5d
Binary files /dev/null and b/slides/0000 - LaTeX Stub/pgpro2025bis.theme/bgpics/section_bg.pdf differ