document.tex 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  1. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  2. %% This project aims to create the UFC template for presentation. %%
  3. %% author: Maurício Moreira Neto - Doctoral student in Computer Science (MDCC) %%
  4. %% contacts: %%
  5. %% e-mail: maumneto@ufc.br %%
  6. %% linktree: https://linktr.ee/maumneto %%
  7. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  8. \documentclass{libs/ufc_format}
  9. % Inserting the preamble file with the packages
  10. \input{libs/preamble.tex}
  11. % Inserting the references file
  12. \bibliography{references.bib}
  13. % Title
  14. \title[\textit{snailmail}]{\textbf{Eine Email-Client-App entwickeln}}
  15. % Subtitle
  16. \subtitle{snailmail}
  17. % Author of the presentation
  18. \author{Noah Vogt und Simon Hammer}
  19. % Institute's Name
  20. \institute[]{
  21. % university name
  22. \ufc
  23. }
  24. % date of the presentation
  25. \date{5 Februar 2022}
  26. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  27. %% Start Document of the Presentation %%
  28. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  29. \begin{document}
  30. % insert the code style
  31. \input{libs/code_style}
  32. %% ---------------------------------------------------------------------------
  33. % First frame (with tile, subtitle, ...)
  34. \begin{frame}{}
  35. \maketitle
  36. \end{frame}
  37. %% ---------------------------------------------------------------------------
  38. % Second frame
  39. \begin{frame}{Sumário}
  40. \begin{multicols}{2}
  41. \tableofcontents
  42. \end{multicols}
  43. \end{frame}
  44. %% ---------------------------------------------------------------------------
  45. % This presentation is separated by sections and subsections
  46. \section{Abschnitt I}
  47. \begin{frame}{Erklärung}
  48. %video try
  49. \includemovie[autoplay]{90pt}{90pt}{../media/cutaccountViewer.mp4}
  50. \includemovie[poster=../../logo/version2grey.pdf]{90pt}{90pt}{../media/draftsExample.mp4}
  51. % itemize
  52. Fuck that shit
  53. \begin{itemize}
  54. \item Apresentação de Trabalhos Acadêmicos
  55. \item Apresentação de Disciplinas
  56. \item Apresentações de Teses e Dissertações
  57. \end{itemize}
  58. \vspace{0.4cm} % vertical space
  59. % enumeration
  60. Para utilizar este template corretamente é importante que:
  61. \begin{enumerate}
  62. \item Tenha conhecimento mínimo sobre LaTeX
  63. \item Ler os comentários no template (explicações)
  64. \item Ler o README.md (documentação)
  65. \end{enumerate}
  66. \vspace{0.2cm}
  67. \example{Este é um texto de exemplo!} \emph{Texto de Ênfase!}
  68. \end{frame}
  69. %% ---------------------------------------------------------------------------
  70. \subsection{Subseção I}
  71. \begin{frame}{Criando Blocos}
  72. % Blocks styles
  73. \begin{block}{Bloco Padrão}
  74. Texto do corpo do bloco.
  75. \end{block}
  76. \begin{alertblock}{Bloco de Alerta}
  77. Texto do corpo do bloco.
  78. \end{alertblock}
  79. \begin{exampleblock}{Bloco de Exemplo}
  80. Texto do corpo do bloco.
  81. \end{exampleblock}
  82. \end{frame}
  83. %% ---------------------------------------------------------------------------
  84. \subsection{Subseção II}
  85. \begin{frame}{Criando Caixas}
  86. \successbox{testando o success box}
  87. \pause
  88. \alertbox{testando o alert box}
  89. \pause
  90. \simplebox{testando o simple box}
  91. \end{frame}
  92. %% ---------------------------------------------------------------------------
  93. \subsection{Subseção III}
  94. \begin{frame}{Criando Algoritmos (Pseudocódigo)}
  95. \begin{algorithm}[H]
  96. \SetAlgoLined
  97. \LinesNumbered
  98. \SetKwInOut{Input}{input}
  99. \SetKwInOut{Output}{output}
  100. \Input{x: float, y: float}
  101. \Output{r: float}
  102. \While{True}{
  103. r = x + y\;
  104. \eIf{r >= 30}{
  105. ``O valor de $r$ é maior ou iqual a 10.''\;
  106. break\;
  107. }{
  108. ``O valor de $r$ = '', r\;
  109. }
  110. }
  111. \caption{Algorithm Example}
  112. \end{algorithm}
  113. \end{frame}
  114. %% ---------------------------------------------------------------------------
  115. \begin{frame}{Inserindo Algoritmos}
  116. \lstset{language=Python}
  117. \lstinputlisting[language=Python]{code/main.py}
  118. \end{frame}
  119. %% ---------------------------------------------------------------------------
  120. \begin{frame}{Inserindo Algoritmos}
  121. \lstinputlisting[language=C]{code/source.c}
  122. \end{frame}
  123. %% ---------------------------------------------------------------------------
  124. \begin{frame}{Inserindo Algoritmos}
  125. \lstinputlisting[language=Java]{code/helloworld.java}
  126. \end{frame}
  127. %% ---------------------------------------------------------------------------
  128. \begin{frame}{Inserindo Algoritmos}
  129. \lstinputlisting[language=HTML]{code/index.html}
  130. \end{frame}
  131. %% ---------------------------------------------------------------------------
  132. % This frame show an example to insert multicolumns
  133. \section{Multicolunas}
  134. \begin{frame}{Seção II - Multicolunas}
  135. \begin{columns}{}
  136. \begin{column}{0.5\textwidth}
  137. \justify
  138. É possível colocar mais de uma coluna utilizando os comandos de $\backslash$begin\{column\}\{\} e $\backslash$end\{column\} \end{column}
  139. \begin{column}{0.5\textwidth}
  140. \justify
  141. Porém, o espaçamento deve ser proporcional entre as colunas para que estas colunas não entrem em coflito. O espaçamento é dado pelo segundo argumento do $\backslash$begin.
  142. \end{column}
  143. \end{columns}
  144. \end{frame}
  145. %% ---------------------------------------------------------------------------
  146. %This frame show an example to insert figures
  147. \section{Imagens}
  148. \begin{frame}{Seção III - Figures}
  149. \begin{figure}
  150. \centering
  151. \caption{Emblema da UFC.}
  152. \includegraphics[scale=0.3]{libs/emblemufc.pdf}
  153. \source{Obtido pelo site oficial da UFC \cite{siteufc} \cite{einstein}}
  154. \label{fig:ufc_emblem}
  155. \end{figure}
  156. \end{frame}
  157. %% ---------------------------------------------------------------------------
  158. % Reference frames
  159. \begin{frame}[allowframebreaks]
  160. \frametitle{Referências}
  161. \printbibliography
  162. \end{frame}
  163. %% ---------------------------------------------------------------------------
  164. % Final frame
  165. \begin{frame}{}
  166. \centering
  167. \huge{\textbf{\example{Obrigado(a) pela Atenção!}}}
  168. \vspace{1cm}
  169. \Large{\textbf{Contato:}}
  170. \newline
  171. \vspace*{0.5cm}
  172. \large{\email{usuario@dominio}}
  173. \end{frame}
  174. \end{document}