diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..f6a2a17 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,38 @@ +# CHANGELOG + +## [1.0.0] - 2021-01-04 +### Added +- It added the `libs` folder that have this files: + - code-style.tex + - emblemufc.pdf + - logoUFCbackground.png + - preamble.tex + - ufc_format.cls +- It added the `code` folder with some example codes + - helloworld.java + - index.html + - main.py + - source.c +- It was add the `.gitignore` file + +## [1.1.0] - 2021-01-10 +### Fixed +- Fixed the bug of multi-columns. +- Algorithms colors + +### Added +- It added the command `\source{}` in the figures. + +## [1.2.0] - 2021-01-15 +### Fixed +- Adjustment of the documentation +- Adjustment of the `code_styles.tex` file + +## [1.3.0] - 2021-01-22 +### Added +- It added a new command: `\email{}` +- It added a new default slide (the last slide) + +### Fixed +- Adjustment the 'Sumario' slide for two columns +- Fixed the reference's slide bug diff --git a/README.md b/README.md index 6cf093b..583f83d 100644 --- a/README.md +++ b/README.md @@ -1,16 +1,50 @@ -# What is it? + +
+ What is it? • + For Whom? • + Tips • + Changelog • + Author +
+ + +## What is it? + +This project aims to create a template for presentation for the Federal University of Ceará (UFC). It was created a class called **ufc_format.cls** with a set of environments and commands related to the document. This template is not an official document from the Federal University of Ceará. However, this template can be used to create classes, presentations, short courses, etc. ## For Whom? + This template can be useful for the Federal University of Ceará (UFC) professors and students. -## Tips of this Template +- Professors: for creating classes and presentations + +- Students: for assignments and presentations + +## Tips + Some tips for using this template ### Blocks - Default Block + ```tex \begin{block}{Default Block} Body of default block. @@ -18,6 +52,7 @@ Some tips for using this template ``` - Alert Block + ```tex \begin{alertblock}{Alert Block} Body of alert block. @@ -25,6 +60,7 @@ Some tips for using this template ``` - Example Block + ```tex \begin{exampleblock}{Example Block} Body of example block. @@ -64,13 +100,17 @@ Some tips for using this template ``` ### Codes + It is possible to insert codes in this presentation. This template uses two packages for algorithms: `algorithm2e` and `listings`. - **Documentation** + - algorithm2e: [Algorithm2e Package Documentation](http://linorg.usp.br/CTAN/macros/latex/contrib/algorithm2e/doc/algorithm2e.pdf) + - listings: [Listings Package Documentation](http://linorg.usp.br/CTAN/macros/latex/contrib/listings/listings.pdf) The following example shows how to create a pseudocode: + ```tex \begin{algorithm}[H] \SetAlgoLined #includes indentation @@ -132,10 +172,31 @@ The following example shows how to insert a multi-columns: \end{columns} ``` +### Custom Commands + +This template has some custom commands that are described below: + +To print 'Universidade Federal do Ceará' +```tex +\ufc +``` + +To put the department name +```tex +\department{Department Name} +``` + +To put the email +```tex +\email{user@domain} +``` + +## Changelog + +[Changelog File](./CHANGELOG.md) + ## Author -- GitHub • - Personal Site • - LinkTree -
\ No newline at end of file + +Developed by Maurício Moreira Neto :metal: + +[![Gmail](https://img.shields.io/badge/Gmail-D14836?style=for-the-badge&logo=gmail&logoColor=white)](mailto:maumneto@gmail.com)[![Twitter](https://img.shields.io/badge/Twitter-1DA1F2?style=for-the-badge&logo=twitter&logoColor=white)](https://twitter.com/maumneto)[![LinkedIn](https://img.shields.io/badge/LinkedIn-0077B5?style=for-the-badge&logo=linkedin&logoColor=white)](https://www.linkedin.com/in/maumneto/)[![Medium](https://img.shields.io/badge/Medium-12100E?style=for-the-badge&logo=medium&logoColor=white)](https://medium.com/@maumneto)[![GitHub](https://img.shields.io/badge/GitHub-100000?style=for-the-badge&logo=github&logoColor=white)](https://github.com/maumneto) diff --git a/document.tex b/document.tex index 8914de9..deda156 100644 --- a/document.tex +++ b/document.tex @@ -6,7 +6,6 @@ %% linktree: https://linktr.ee/maumneto %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \documentclass{libs/ufc_format} - % Inserting the preamble file with the packages \input{libs/preamble.tex} % Inserting the references file @@ -20,9 +19,13 @@ \author{Nome do Autor} % Institute's Name \institute[UFC]{ + % email for contact + \normalsize{\email{usuario@dominio}} + \newline % Department Name \department{Nome do Departamento} \newline + % university name \ufc } % date of the presentation @@ -45,7 +48,9 @@ %% --------------------------------------------------------------------------- % Second frame \begin{frame}{Sumário} - \tableofcontents + \begin{multicols}{2} + \tableofcontents + \end{multicols} \end{frame} %% --------------------------------------------------------------------------- @@ -169,7 +174,7 @@ \section{Multicolunas} %% --------------------------------------------------------------------------- % This frame show an example to insert figures -\section{Images} +\section{Imagens} \begin{frame}{Seção III - Figures} \begin{figure} \centering @@ -182,10 +187,23 @@ \section{Images} %% --------------------------------------------------------------------------- % Reference frames -\section{Referências} \begin{frame}[allowframebreaks] \frametitle{Referências} \printbibliography \end{frame} +%% --------------------------------------------------------------------------- +% Final frame +\begin{frame}{} + \centering + \huge{\textbf{\example{Obrigado(a) pela Atenção!}}} + + \vspace{1cm} + + \Large{\textbf{Contato:}} + \newline + \vspace*{0.5cm} + \large{\email{usuario@dominio}} +\end{frame} + \end{document} \ No newline at end of file diff --git a/libs/preamble.tex b/libs/preamble.tex index f940f13..899a8ef 100644 --- a/libs/preamble.tex +++ b/libs/preamble.tex @@ -28,4 +28,6 @@ % Package to manage the bibliography \usepackage[backend=biber, style=numeric, sorting=none]{biblatex} % Package to facilities quotations -\usepackage{csquotes} \ No newline at end of file +\usepackage{csquotes} +% Package to use multicols +\usepackage{multicol} \ No newline at end of file diff --git a/libs/ufc_format.cls b/libs/ufc_format.cls index 11189a3..c9d19b9 100644 --- a/libs/ufc_format.cls +++ b/libs/ufc_format.cls @@ -182,4 +182,11 @@ \vspace*{0.2cm} \bfseries \normalsize{#1} +} + +% +\newcommand{\email}[1]{ + \texttt{ + \href{mailto:#1}{#1} + } } \ No newline at end of file diff --git a/libs/ufcpixel.png b/libs/ufcpixel.png new file mode 100644 index 0000000..d70e39c Binary files /dev/null and b/libs/ufcpixel.png differ