Skip to content

Commit

Permalink
Подготовка за лекцията за стек
Browse files Browse the repository at this point in the history
  • Loading branch information
triffon committed Oct 12, 2024
1 parent e247d78 commit 2a43e6d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
9 changes: 5 additions & 4 deletions 2.1-stack.tex
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
\PassOptionsToClass{aspectratio=169}{beamer}
\documentclass[alsotrans]{beamerswitch}
\documentclass[alsotrans, beameroptions={aspectratio=169}]{beamerswitch}
\usepackage{sdp}

\title{Стек}

\date{13--20 октомври 2022 г.}
\date{10 октомври 2024 г.}

\titlegraphicx{\imageWithAttr{10em}{images/stack.jpg}{Stack of Rocks, Cattle Point, San Juan Island}{Ryan Harvey}{https://flic.kr/p/aojd1Q}{\CCBYSA{2.0}}}

\newboolfalse{stream}

\begin{document}

\begin{frame}
Expand Down Expand Up @@ -494,7 +495,7 @@ \subsection{Пресмятане на израз}
\end{center}
\end{frame}

\begin{frame}<0>
\begin{frame}<\switch{stream}>
\frametitle{Поточна обработка на израз}
Комбинирането на двата алгоритъма може да се получи по естествен начин при използване на \alert{поточна обработка}:\pause
\begin{itemize}[<+->]
Expand Down
3 changes: 3 additions & 0 deletions sdp.sty
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,9 @@
% дефиниране на флаг и задаване на стойност false
\newcommand{\newboolfalse}[1]{\newbool{#1}\boolfalse{#1}}

% превключване между активиране и деактивиране на фрейм
\newcommand{\switch}[1]{\ifbool{#1}{all:1-}{all:0}}

%% диаграми

% стрелка напред, сочеща следваща клетка
Expand Down

0 comments on commit 2a43e6d

Please sign in to comment.