Skip to content

Commit a462faf

Browse files
committed
Fixed Error in Figure, Better Appendix Handling
1 parent 7396ed7 commit a462faf

File tree

6 files changed

+17
-6
lines changed

6 files changed

+17
-6
lines changed

appendix_complexityAnalysis.tex

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
\subsection{Complexity Analysis: Not Feasible}%
2-
\pdfbookmark[2]{Complexity Analysis: Not Feasible}{complexityNotFeasible}%
1+
%\subsection{Complexity Analysis: Not Feasible}%
2+
%\pdfbookmark[2]{Complexity Analysis: Not Feasible}{complexityNotFeasible}%
3+
\appendix{Complexity Analysis: Not Feasible}%
34
%
45
\begin{frame}[t]%
56
\frametitle{Algorithm Analysis and Comparison}%

appendix_maxSatExample.tex

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
%
2-
\subsection{\maxSat\ Example: Details}%
3-
\pdfbookmark[2]{\maxSat\ Example: Details}{maxSatExampleDetails}%
2+
\appendix{\maxSat\ Example: Details}%
43
%
54
%%
65
\gdef\maxSatClauses{\textcolor{red}{\ensuremath{k}}}%
Binary file not shown.
Binary file not shown.

intro-slides.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
%
3939
\startPresentation{\barcodes}%
4040
%
41-
\printSectionOutlines%
41+
\printSectionOutlines{\barcodes}%
4242
%
4343
%
4444
\input{part_introduction.tex}%

styles/pack_slides_commands.sty

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,16 @@
149149
\tableofcontents[sectionstyle=show/hide,subsectionstyle=show/show/hide]%
150150
#1%
151151
\end{frame}%
152+
%
153+
\global\newcount\@appendix@hrefids%
154+
\global\@appendix@hrefids 0\relax%
155+
%
156+
\gdef\appendix##1{%
157+
\global\advance \@appendix@hrefids 1\relax%
158+
\expandafter\pdfbookmark\expandafter[\expandafter2\expandafter]\expandafter{##1}{appendix\the\@appendix@hrefids}%
159+
\subsection{##1}%
160+
}%
161+
%
152162
}%
153163
%
154164
%
@@ -164,11 +174,12 @@
164174
{\message{** patching of \string\beamer@@frametitle failed **}}%
165175
%
166176
%
167-
\gdef\printSectionOutlines{%
177+
\gdef\printSectionOutlines#1{%
168178
\AtBeginSection[]{%
169179
\begin{frame}%
170180
\frametitle{Section Outline}%
171181
\tableofcontents[currentsection,subsectionstyle=show/show/hide]%
182+
#1%
172183
\end{frame}%
173184
}%
174185
}%

0 commit comments

Comments
 (0)