From: Nikolay Shaplov Date: Sat, 13 Jun 2026 19:49:13 +0000 (+0300) Subject: Победили ссылку в заголовке раздела. Поставил правильный фон, все слайды которые... X-Git-Url: http://gitweb.nataraj.world/?a=commitdiff_plain;h=6fb64fe77bb57564ae4249c86068d00d23615ac5;p=articles.git Победили ссылку в заголовке раздела. Поставил правильный фон, все слайды которые относятся к разделу, стали разделом --- diff --git a/slides/0000 - LaTeX Stub/example.tex b/slides/0000 - LaTeX Stub/example.tex index f45373f..b9ea7fa 100644 --- a/slides/0000 - LaTeX Stub/example.tex +++ b/slides/0000 - LaTeX Stub/example.tex @@ -145,23 +145,9 @@ \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} diff --git a/slides/0000 - LaTeX Stub/pgpro2025bis.theme/beamerinnerthemePgPro2025bis.sty b/slides/0000 - LaTeX Stub/pgpro2025bis.theme/beamerinnerthemePgPro2025bis.sty index 45192a6..695842d 100644 --- a/slides/0000 - LaTeX Stub/pgpro2025bis.theme/beamerinnerthemePgPro2025bis.sty +++ b/slides/0000 - LaTeX Stub/pgpro2025bis.theme/beamerinnerthemePgPro2025bis.sty @@ -65,19 +65,21 @@ } +\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 index 0000000..94f1c5d Binary files /dev/null and b/slides/0000 - LaTeX Stub/pgpro2025bis.theme/bgpics/section_bg.pdf differ