|
33 | 33 |
|
34 | 34 | \RequirePackage{color} |
35 | 35 | \RequirePackage{listings} |
| 36 | +\RequirePackage{enumitem} |
36 | 37 |
|
37 | | -\RequirePackage[alf]{abntex2cite} % Citações padrão ABNT |
38 | | -\RequirePackage{microtype} % para melhorias de justificação |
| 38 | +\RequirePackage[alf]{abntex2cite} % Citações padrão ABNT |
| 39 | +\RequirePackage{microtype} % para melhorias de justificação |
39 | 40 |
|
40 | 41 | \RequirePackage{booktabs} % comandos extras para as tabelas |
41 | 42 |
|
42 | 43 | \RequirePackage[table]{xcolor} % definir cor para as linhas da tabela |
43 | 44 |
|
44 | 45 | \RequirePackage{csquotes} % citações de frases |
45 | 46 |
|
| 47 | +\RequirePackage[printonlyused]{acronym} % criar lista de acrônimos |
| 48 | +\RequirePackage{ccaption} % adicionar legendas numeradas e não numeradas (ex. fonte da imagem) |
| 49 | + |
46 | 50 | \newcommand*{\eg}{\textit{e.g.}\@\xspace} |
47 | 51 | \newcommand*{\ie}{\textit{i.e.}\@\xspace} |
48 | 52 |
|
49 | | -%============================================================================== |
50 | 53 | % Códigos |
51 | 54 | %============================================================================== |
52 | 55 | \newcommand{\codejava}[3]{ |
|
121 | 124 | \expandafter\gdef\csname @author\alph{ii@authorcount}thanks\endcsname{#2} |
122 | 125 | } |
123 | 126 | % Orientador |
124 | | -\DeclareRobustCommand{\advisor}[3][]{ |
| 127 | +\DeclareRobustCommand{\advisor}[4][1]{ |
125 | 128 | \gdef\@advisorname{#2} |
126 | 129 | \gdef\@advisororigin{#3} |
| 130 | + \gdef\@advisorgender{#4} |
127 | 131 | \gdef\@advisor{#1~#2} |
128 | 132 | } |
129 | 133 | %Co-orientador |
130 | | -\DeclareRobustCommand{\coadvisor}[3][]{ |
| 134 | +\DeclareRobustCommand{\coadvisor}[4][1]{ |
131 | 135 | \gdef\@coadvisorname{#2} |
132 | 136 | \gdef\@coadvisororigin{#3} |
| 137 | + \gdef\@coadvisorgender{#4} |
133 | 138 | \gdef\@coadvisor{#1~#2} |
134 | 139 | } |
135 | 140 | % Banca - max = 3 |
|
239 | 244 | \@ifundefined{@curso}{}{\MakeUppercase{\csname \@curso\endcsname}\\}% |
240 | 245 | } |
241 | 246 | \newcommand{\titlepageadvisorinfo}{% |
242 | | - \@ifundefined{@advisor}{}{\vfill\@advisor\\\advisorname} |
243 | | - \@ifundefined{@coadvisor}{}{\\[6ex]\@coadvisor\\\coadvisorname} |
| 247 | + \@ifundefined{@advisor}{}{\vfill\@advisor\\\ifthenelse{\equal{\@advisorgender}{a}}{\advisoraname}{\advisorname}} |
| 248 | + \@ifundefined{@coadvisor}{}{\\[6ex]\@coadvisor\\\ifthenelse{\equal{\@coadvisorgender}{a}}{\coadvisoraname}{\coadvisorname}} |
244 | 249 | } |
245 | 250 |
|
246 | 251 | %===================================================================== |
|
268 | 273 | \bigskip |
269 | 274 |
|
270 | 275 | \noindent |
271 | | - Projeto Final de Curso submetido ao Departamento de Ci\^encia da Computa\c{c}\~ao do Instituto de Multidisciplinar da Universidade Federal Rural do Rio de Janeiro como parte dos requisitos necess\'arios para obten\c{c}\~ao do grau de Bacharel em Ci\^encia da Computa\c{c}\~ao. |
| 276 | + Projeto Final de Curso submetido ao Departamento de Ci\^encia da Computa\c{c}\~ao do Instituto Multidisciplinar da Universidade Federal Rural do Rio de Janeiro como parte dos requisitos necess\'arios para obten\c{c}\~ao do grau de Bacharel em Ci\^encia da Computa\c{c}\~ao. |
272 | 277 |
|
273 | 278 | \noindent |
274 | 279 | Apresentado por: |
|
350 | 355 | \normalsize |
351 | 356 |
|
352 | 357 | \noindent |
353 | | - Orientador: \@advisorname\\ |
| 358 | + \@ifundefined{@advisorgender}{}{\ifthenelse{\equal{\@advisorgender}{a}}{\advisoraname}{\advisorname}}{:} |
| 359 | + \@advisorname\\ |
354 | 360 | \@advisororigin\\ |
355 | 361 |
|
356 | 362 | \renewcommand{\baselinestretch}{1.5} |
|
472 | 478 | % Definição do conteúdo de listas de abreviaturas e símbolos |
473 | 479 | %===================================================================== |
474 | 480 | \newcommand{\makeabrevpage}[1]{ |
475 | | - \begin{listofabbrv}{XXXXXX} |
476 | | - #1 |
477 | | - \end{listofabbrv} |
| 481 | + \chapter*{\listabbrvname} |
| 482 | + \addcontentsline{toc}{chapter}{\listabbrvname} |
| 483 | + #1 |
478 | 484 | \pagebreak |
479 | | -}{} |
| 485 | +} |
480 | 486 |
|
481 | 487 | \newcommand{\makesymbolspage}[1]{ |
482 | | - \begin{listofsymbols}{XXXXXX} |
483 | | - #1 |
484 | | - \end{listofsymbols} |
| 488 | + \chapter*{\listsymbolname} |
| 489 | + \addcontentsline{toc}{chapter}{\listsymbolname} |
| 490 | + #1 |
485 | 491 | \pagebreak |
486 | 492 | }{} |
487 | 493 |
|
488 | 494 | %===================================================================== |
489 | | -% Definição das listas de abreviaturas e siglas e de símbolos |
| 495 | +% Ambiente para alineas e e subalineas (incisos) |
| 496 | +% ABNT NBR 6024/2012 - 4.2 e 4.3 |
490 | 497 | %===================================================================== |
491 | | -\newenvironment{listofabbrv}[1]{ |
492 | | - \chapter*{\listabbrvname} |
493 | | - \addcontentsline{toc}{chapter}{\listabbrvname} |
494 | | - \begin{list}{\textbf{??}}{ |
495 | | - \settowidth{\labelwidth}{#1} |
496 | | - \setlength{\labelsep}{1em} |
497 | | - \setlength{\itemindent}{0mm} |
498 | | - \setlength{\leftmargin}{\labelwidth} |
499 | | - \addtolength{\leftmargin}{\labelsep} |
500 | | - \setlength{\rightmargin}{0mm} |
501 | | - \setlength{\itemsep}{.1\baselineskip} |
502 | | - \renewcommand{\makelabel}[1]{\makebox[\labelwidth][l]{##1}} |
503 | | - } |
504 | | -} |
505 | | -{ |
506 | | - \end{list} |
507 | | -} |
508 | | -\newenvironment{listofsymbols}[1]{ |
509 | | - \chapter*{\listsymbolname} |
510 | | - \addcontentsline{toc}{chapter}{\listsymbolname} |
511 | | - \begin{list}{\textbf{??}}{ |
512 | | - \settowidth{\labelwidth}{#1} |
513 | | - \setlength{\labelsep}{1em} |
514 | | - \setlength{\itemindent}{0mm} |
515 | | - \setlength{\leftmargin}{\labelwidth} |
516 | | - \addtolength{\leftmargin}{\labelsep} |
517 | | - \setlength{\rightmargin}{0mm} |
518 | | - \setlength{\itemsep}{.1\baselineskip} |
519 | | - \renewcommand{\makelabel}[1]{\makebox[\labelwidth][l]{##1}} |
520 | | - } |
521 | | -} |
522 | | -{ |
523 | | - \end{list} |
524 | | -} |
| 498 | +\newlist{alineas}{enumerate}{2} |
| 499 | +\setlist[alineas,1]{label={\alph*)},topsep=0pt,itemsep=0pt,leftmargin=\parindent+\labelwidth-\labelsep}% |
| 500 | +\setlist[alineas,2]{label={--},topsep=0pt,itemsep=0pt,leftmargin=*} |
| 501 | +\newlist{subalineas}{enumerate}{1} |
| 502 | +\setlist[subalineas,1]{label={--},topsep=0pt,itemsep=0pt,leftmargin=*}% |
| 503 | +\newlist{incisos}{enumerate}{1} |
| 504 | +\setlist[incisos,1]{label={--},topsep=0pt,itemsep=0pt,leftmargin=*}% |
| 505 | +% --- |
525 | 506 |
|
526 | 507 | %===================================================================== |
527 | 508 | % Definição do conteúdo da tabela de conteúdo |
|
538 | 519 | \addcontentsline{toc}{chapter}{\bibname} |
539 | 520 | \bibliography{#1} |
540 | 521 | }{} |
| 522 | + |
| 523 | +%===================================================================== |
| 524 | +% Teoremas, Definições |
| 525 | +%===================================================================== |
| 526 | +\newtheorem{definition}{Definição} |
| 527 | +\newtheorem{theorem}{Teorema}[section] |
0 commit comments