mayankjoin3

Beamer Master Lectures

Jan 6th, 2026 (edited)
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Latex 7.99 KB | None | 0 0
  1. %======================================================%
  2. %   Beamer Presentation
  3. %   LaTeX Template
  4. %   compile using PDFTeXify or PDFLaTeX
  5. %======================================================%
  6.  
  7. %--------------------------------------------------------------------------------
  8. %   PACKAGES AND THEMES
  9. %--------------------------------------------------------------------------------
  10.  
  11. \documentclass[notheorems,11pt,compress]{beamer}
  12.  
  13. \mode<presentation>{
  14.  
  15. %------- Beamer theme ------
  16. \usetheme{Madrid}
  17.  
  18. %------- Color theme ------
  19. \usecolortheme{rose}
  20. %\usecolortheme{orchid}
  21.  
  22. %\setbeamertemplate{background canvas}[vertical shading][bottom=red!10,top=blue!10]
  23. \usefonttheme[onlymath]{serif}
  24.  
  25. \setbeamertemplate{blocks}[rounded][shadow=true]
  26. \setbeamertemplate{navigation symbols}{}
  27. %\setbeamertemplate{itemize items}[square]  % ball, circle
  28. % \setbeamertemplate{enumerate items}[ball] % ball,circle,square
  29. %\setbeamertemplate{section in toc}[square]
  30. }
  31.  
  32. %----------- Packages -------------
  33. \usepackage[english]{babel}
  34. \usepackage{amsmath,amssymb,version}
  35. \usepackage{graphicx,fancybox,mathrsfs,multirow}
  36. \usepackage{booktabs}
  37. \usepackage{epsfig,epstopdf}
  38. \usepackage{url,hyperref}
  39. \usepackage{tabularx,array,makecell}
  40. \usepackage{color,xcolor}
  41. \usepackage{cases}
  42. \usepackage{mathtools}
  43. \usepackage{tikz}
  44. \usepackage{animate}
  45.  
  46. %---------- Set line spacing ----------
  47.  
  48. %---------- Define new table commands ----------
  49. \newcolumntype{P}[1]{>{\centering \arraybackslash}p{#1}}
  50. \newcolumntype{L}{X}
  51. \newcolumntype{C}{>{\centering \arraybackslash}X}
  52. \newcolumntype{R}{>{\raggedleft \arraybackslash}X}
  53.  
  54. %---------- Theorem environment ----------
  55. \setbeamertemplate{theorems}[numbered]
  56. \newtheorem{theorem}{Theorem}
  57. \numberwithin{theorem}{section}
  58. \newtheorem{definition}{Definition}
  59. \numberwithin{definition}{section}
  60. \newtheorem{lemma}{Lemma}
  61. \numberwithin{lemma}{section}
  62. \newtheorem{proposition}{Proposition}
  63. \numberwithin{proposition}{section}
  64. \newtheorem{corollary}{Corollary}
  65. \numberwithin{corollary}{section}
  66. \theoremstyle{example}
  67. \newtheorem{example}{Example}
  68. \renewenvironment{proof}[1][Proof]{\textit{#1}:~}{\qed\par}
  69. %\numberwithin{example}{section}
  70.  
  71. \setbeamertemplate{caption}[numbered]
  72. \numberwithin{figure}{section}
  73. \numberwithin{table}{section}
  74. \numberwithin{equation}{section}
  75.  
  76.  
  77. %---------- Adjust the spacing of formulas ----------
  78. %\AtBeginDocument{
  79. %   \setlength{\abovedisplayskip}{4pt plus 1pt minus 1pt}
  80. %   \setlength{\belowdisplayskip}{4pt plus 1pt minus 1pt}
  81. %   \setlength{\abovedisplayshortskip}{2pt}
  82. %   \setlength{\belowdisplayshortskip}{2pt}
  83. %   \setlength{\arraycolsep}{2pt}
  84. %}
  85.  
  86. \makeatletter
  87. \newcommand\HUGE{\@setfontsize\Huge{36}{42}}
  88. \makeatother
  89.  
  90. %---------- Define new commands ----------
  91. \definecolor{utaBluePrimary}{HTML}{0064B1}
  92. \definecolor{lightgray}{RGB}{240, 240, 240}
  93. \definecolor{lightorange}{HTML}{F58025}
  94.  
  95. \newcommand{\red}[1]{\textcolor{red}{#1}}
  96. \newcommand{\blue}[1]{\textcolor{blue}{#1}}
  97. \newcommand{\utaBlue}[1]{\textcolor{utaBluePrimary}{#1}}
  98. \newcommand{\lightgray}[1]{\textcolor{lightgray}{#1}}
  99. \newcommand{\lightorange}[1]{\textcolor{lightorange}{#1}}
  100.  
  101. %---------- UTA Colors ----------
  102.  
  103.  
  104. %CHange Hex
  105. %https://latexcolor.com/
  106. % \definecolor{colorChoiceHex}{HTML}{0000FF}
  107.  
  108. % \setbeamercolor*{palette primary}{bg=colorChoiceHex, fg=white}
  109. % \setbeamercolor*{palette secondary}{bg=colorChoiceHex, fg=white}
  110. % \setbeamercolor*{palette tertiary}{bg=colorChoiceHex, fg=white}
  111. % \setbeamercolor*{titlelike}{bg=colorChoiceHex, fg=white}
  112. % \setbeamercolor*{title}{bg=colorChoiceHex, fg=white}
  113. % \setbeamercolor*{caption name}{fg=colorChoiceHex}
  114. % \setbeamercolor*{page number in head/foot}{bg=colorChoiceHex, fg=white}
  115. % \setbeamercolor*{date in head/foot}{bg=colorChoiceHex, fg=white}
  116. % \setbeamercolor*{section in toc}{fg=colorChoiceHex}
  117. % \setbeamercolor*{section number projected}{fg=white, bg=colorChoiceHex}
  118. % \setbeamercolor*{subsection number projected}{fg=white, bg=colorChoiceHex}
  119.  
  120.  
  121. \setbeamercolor*{palette primary}{bg=utaBluePrimary}
  122. \setbeamercolor*{palette secondary}{bg=utaBluePrimary, fg=white}
  123. \setbeamercolor*{palette tertiary}{bg=utaBluePrimary, fg=white}
  124. \setbeamercolor*{titlelike}{bg=utaBluePrimary, fg=white}
  125. \setbeamercolor*{title}{bg=utaBluePrimary, fg=white}
  126. \setbeamercolor*{caption name}{fg=utaBluePrimary}
  127. \setbeamercolor*{page number in head/foot}{bg=utaBluePrimary, fg=white}
  128. \setbeamercolor*{date in head/foot}{bg=utaBluePrimary,fg=white}
  129. \setbeamercolor*{section in toc}{fg=utaBluePrimary}
  130. \setbeamercolor*{section number projected}{fg=white, bg=utaBluePrimary}
  131. \setbeamercolor*{subsection number projected}{fg=white, bg=utaBluePrimary}
  132. \setbeamercolor*{item}{fg=black}
  133. % \setbeamercolor*{subitem}{fg=black}
  134.  
  135.  
  136. %---------- Show the outline ----------
  137. \AtBeginSection[]{
  138. \begin{frame}
  139.  \frametitle{Outline}
  140.  \tableofcontents[currentsection,currentsubsection,subsectionstyle=show/show/shaded]
  141.   %\tableofcontents[currentsection,hideallsubsections]
  142.   \addtocounter{framenumber}{-1}
  143. \end{frame}
  144. }
  145.  
  146.  
  147. %--------------------------------------------------------------------------------
  148. %   TITLE PAGE
  149. %--------------------------------------------------------------------------------
  150.  
  151. \title[Chapter 07: Databases]{Chapter 07: Databases}
  152.  
  153. \author{Dr. Mayank Agarwal} % Your name
  154. \institute[IIT Patna]{
  155. Department of CSE \\ % Your institution for the title page
  156. IIT Patna
  157. % \medskip
  158. % \textit{[email protected]} % Your email address
  159. }
  160. \date[\textcolor{white}{CS457 Big Data Security}]{CS457 Big Data Security\\
  161. Jan-April 2026}
  162.  
  163. \titlegraphic{\includegraphics[width=2.5cm]{logos/iitplogo.png}}
  164. \graphicspath{{./figures/}}
  165.  
  166.  
  167. \begin{document}
  168.  
  169. \setlength{\baselineskip}{15pt} % only change the spacing of body text
  170.  
  171. \begin{frame}
  172. \titlepage
  173. \end{frame}
  174.  
  175. % \begin{frame}
  176. % \frametitle{Objectives}
  177. % % \tableofcontents[hideallsubsections]
  178. % \begin{enumerate}
  179. %     \item Explain how intrusion-detection systems work
  180. % \end{enumerate}
  181. % \end{frame}
  182.  
  183. %--------------------------------------------------------------------------------
  184. %   PRESENTATION SLIDES
  185. %--------------------------------------------------------------------------------
  186.  
  187. %------------------------------------------------
  188. % \section{First Section} % Sections can be created in order to organize your presentation into discrete blocks, all sections and subsections are automatically printed in the table of contents as an overview of the talk
  189. % %------------------------------------------------
  190.  
  191. % \subsection{Subsection Example} % A subsection can be created just before a set of slides with a common theme to further break down your presentation into chunks
  192.  
  193.  
  194.  
  195. \begin{frame}
  196.    \frametitle{Security in Computing, Fifth Edition}
  197.    \framesubtitle{Chapter 07: Databases}
  198.    \begin{itemize}
  199.        \item Protecting Structured Data Stores
  200.        \item Database Security Models and Mechanisms
  201.        \item Confidentiality, Integrity, and Availability of Data
  202.    \end{itemize}
  203. Databases are the repositories of an organization's most valuable information—customer data, financial records, intellectual property. Database security focuses on protecting this structured data from unauthorized access, modification, or destruction while ensuring its availability to authorized users.
  204. \end{frame}
  205.  
  206. \begin{frame}
  207.    \frametitle{Chapter 7 Learning Objectives}
  208.    \begin{itemize}
  209.        \item Understand database security concepts and challenges
  210.        \item Learn about database vulnerabilities and attack vectors
  211.        \item Study database access control models and mechanisms
  212.        \item Analyze SQL injection attacks and defenses
  213.        \item Examine database encryption and masking techniques
  214.        \item Understand auditing, monitoring, and compliance requirements
  215.    \end{itemize}
  216. Database security sits at the intersection of several domains: access control, application security, cryptography, and system administration. This chapter provides the comprehensive knowledge needed to secure database systems.
  217. \end{frame}
  218.  
  219. \end{document}
Advertisement
Add Comment
Please, Sign In to add comment