You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

85 lines
1.6 KiB

9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
  1. % Template for Exams
  2. %
  3. \input{util/version}
  4. \documentclass{article}
  5. \input{util/packages}
  6. \input{util/math_macros}
  7. \input{util/styling_macros}
  8. \input{util/constants}
  9. \input{util/chapter}
  10. \input{util/tcolorbox}
  11. \pagestyle{fancy}
  12. \fancyfoot[C]{}
  13. \fancyfoot[R]{Page \thepage\ of \pageref{LastPage}}
  14. \fancypagestyle{autoempty}{
  15. \fancyhf{}
  16. \fancyfoot[R]{Page \thepage\ of \pageref{LastPage}}
  17. \renewcommand{\footrulewidth}{.4pt}
  18. \renewcommand{\headrulewidth}{.4pt}
  19. }
  20. \renewcommand{\footrulewidth}{\headrulewidth}
  21. %\renewcommand{\headrule}{\ifthenelse{\isodd{\thepage}}{\hrule}{}}
  22. \makeatletter
  23. \def\cleardoublepage{\clearpage\if@twoside \ifodd\c@page\else
  24. \hbox{}
  25. \thispagestyle{autoempty}
  26. \newpage
  27. \if@twocolumn\hbox{}\newpage\fi\fi\fi}
  28. \makeatother
  29. \newcounter{beforeCounter}
  30. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  31. \begin{document}
  32. \begin{titlepage}
  33. \begin{center}
  34. {\Large {\bf{Questionnaire ``Logic and Computability''}}}
  35. \hspace{3cm}
  36. {\Large {\bf{Summer Term 2023}}}
  37. \tableofcontents
  38. \end{center}
  39. \end{titlepage}
  40. \thispagestyle{empty}
  41. \setcounter{page}{1}
  42. \clearpage
  43. \ifchapterproplogic
  44. \setsectionnum{0}
  45. \section{Propositional Logic}
  46. \input{propositional_logic/propositional_logic.tex}
  47. \pagebreak
  48. \fi
  49. \ifchaptersatsolver
  50. \setsectionnum{1}
  51. \section{SAT Solvers}
  52. \input{sat_solvers_dpll/sat_solvers_dpll.tex}
  53. \pagebreak
  54. \fi
  55. \ifchapterbdd
  56. \setsectionnum{2}
  57. \section{Binary Decision Diagrams}
  58. \input{bdds/bdds.tex}
  59. \pagebreak
  60. \fi
  61. %---------------------------------------------------------
  62. \end{document}