document.tex 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  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. \initclock
  36. \maketitle
  37. \end{frame}
  38. %% ---------------------------------------------------------------------------
  39. % Second frame
  40. \begin{frame}{Sumário}
  41. \begin{multicols}{2}
  42. \tableofcontents
  43. \end{multicols}
  44. \end{frame}
  45. %% ---------------------------------------------------------------------------
  46. % This presentation is separated by sections and subsections
  47. \section{Abschnitt I}
  48. \begin{frame}{Erklärung}
  49. %video try
  50. \includemovie[autoplay]{90pt}{90pt}{../media/cutaccountViewer.mp4}
  51. \includemovie[poster=../../logo/version2grey.pdf]{90pt}{90pt}{../media/draftsExample.mp4}
  52. % itemize
  53. Fuck that shit
  54. \begin{itemize}
  55. \item Apresentação de Trabalhos Acadêmicos
  56. \item Apresentação de Disciplinas
  57. \item Apresentações de Teses e Dissertações
  58. \end{itemize}
  59. \vspace{0.4cm} % vertical space
  60. % enumeration
  61. Para utilizar este template corretamente é importante que:
  62. \begin{enumerate}
  63. \item Tenha conhecimento mínimo sobre LaTeX
  64. \item Ler os comentários no template (explicações)
  65. \item Ler o README.md (documentação)
  66. \end{enumerate}
  67. \vspace{0.2cm}
  68. \example{Este é um texto de exemplo!} \emph{Texto de Ênfase!}
  69. \end{frame}
  70. %% ---------------------------------------------------------------------------
  71. \subsection{Subseção I}
  72. \begin{frame}{Criando Blocos}
  73. % Blocks styles
  74. \begin{block}{Bloco Padrão}
  75. Texto do corpo do bloco.
  76. \end{block}
  77. \begin{alertblock}{Bloco de Alerta}
  78. Texto do corpo do bloco.
  79. \end{alertblock}
  80. \begin{exampleblock}{Bloco de Exemplo}
  81. Texto do corpo do bloco.
  82. \end{exampleblock}
  83. \end{frame}
  84. %% ---------------------------------------------------------------------------
  85. \subsection{Subseção II}
  86. \begin{frame}{Criando Caixas}
  87. \successbox{testando o success box}
  88. \pause
  89. \alertbox{testando o alert box}
  90. \pause
  91. \simplebox{testando o simple box}
  92. \end{frame}
  93. %% ---------------------------------------------------------------------------
  94. \subsection{Subseção III}
  95. \begin{frame}{Criando Algoritmos (Pseudocódigo)}
  96. \begin{algorithm}[H]
  97. \SetAlgoLined
  98. \LinesNumbered
  99. \SetKwInOut{Input}{input}
  100. \SetKwInOut{Output}{output}
  101. \Input{x: float, y: float}
  102. \Output{r: float}
  103. \While{True}{
  104. r = x + y\;
  105. \eIf{r >= 30}{
  106. ``O valor de $r$ é maior ou iqual a 10.''\;
  107. break\;
  108. }{
  109. ``O valor de $r$ = '', r\;
  110. }
  111. }
  112. \caption{Algorithm Example}
  113. \end{algorithm}
  114. \end{frame}
  115. %% ---------------------------------------------------------------------------
  116. \begin{frame}{Inserindo Algoritmos}
  117. \lstset{language=Python}
  118. \lstinputlisting[language=Python]{code/main.py}
  119. \end{frame}
  120. %% ---------------------------------------------------------------------------
  121. \begin{frame}{Inserindo Algoritmos}
  122. \lstinputlisting[language=C]{code/source.c}
  123. \end{frame}
  124. %% ---------------------------------------------------------------------------
  125. \begin{frame}{Inserindo Algoritmos}
  126. \lstinputlisting[language=Java]{code/helloworld.java}
  127. \end{frame}
  128. %% ---------------------------------------------------------------------------
  129. \begin{frame}{Inserindo Algoritmos}
  130. \lstinputlisting[language=HTML]{code/index.html}
  131. \end{frame}
  132. %% ---------------------------------------------------------------------------
  133. % This frame show an example to insert multicolumns
  134. \section{Multicolunas}
  135. \begin{frame}{Seção II - Multicolunas}
  136. \begin{columns}{}
  137. \begin{column}{0.5\textwidth}
  138. \justify
  139. É possível colocar mais de uma coluna utilizando os comandos de $\backslash$begin\{column\}\{\} e $\backslash$end\{column\} \end{column}
  140. \begin{column}{0.5\textwidth}
  141. \justify
  142. 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.
  143. \end{column}
  144. \end{columns}
  145. \end{frame}
  146. %% ---------------------------------------------------------------------------
  147. %This frame show an example to insert figures
  148. \section{Imagens}
  149. \begin{frame}{Seção III - Figures}
  150. \begin{figure}
  151. \centering
  152. \caption{Emblema da UFC.}
  153. \includegraphics[scale=0.3]{libs/emblemufc.pdf}
  154. \source{Obtido pelo site oficial da UFC \cite{siteufc} \cite{einstein}}
  155. \label{fig:ufc_emblem}
  156. \end{figure}
  157. \end{frame}
  158. %% ---------------------------------------------------------------------------
  159. % Reference frames
  160. \begin{frame}[allowframebreaks]
  161. \frametitle{Referências}
  162. \printbibliography
  163. \end{frame}
  164. %% ---------------------------------------------------------------------------
  165. % Final frame
  166. \begin{frame}{}
  167. \centering
  168. \huge{\textbf{\example{Obrigado(a) pela Atenção!}}}
  169. \vspace{1cm}
  170. \Large{\textbf{Contato:}}
  171. \newline
  172. \vspace*{0.5cm}
  173. \large{\email{usuario@dominio}}
  174. \end{frame}
  175. \end{document}