document.tex 6.3 KB

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