Skip to content

Commit e34043b

Browse files
committed
alineas abnt; genero orientador
1 parent 22a1ae1 commit e34043b

File tree

5 files changed

+68
-10
lines changed

5 files changed

+68
-10
lines changed

.gitignore

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,3 +213,40 @@ pip-log.txt
213213

214214
#Mr Developer
215215
.mr.developer.cfg
216+
217+
## Core latex/pdflatex auxiliary files:
218+
*.aux
219+
*.lof
220+
*.log
221+
*.lot
222+
*.fls
223+
*.out
224+
*.toc
225+
*.fmt
226+
*.fot
227+
*.cb
228+
*.cb2
229+
.*.lb
230+
231+
# listings
232+
*.lol
233+
234+
## Bibliography auxiliary files (bibtex/biblatex/biber):
235+
*.bbl
236+
*.bcf
237+
*.blg
238+
*-blx.aux
239+
*-blx.bib
240+
*.run.xml
241+
242+
## Build tool auxiliary files:
243+
*.fdb_latexmk
244+
*.synctex
245+
*.synctex(busy)
246+
*.synctex.gz
247+
*.synctex.gz(busy)
248+
*.pdfsync
249+
250+
## Build tool directories for auxiliary files
251+
# latexrun
252+
latex.out/

babel/brazilian.babel

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,17 @@
2828
\def\lstlistingname{C{\'o}digo}%
2929
\def\tablename{Tabela}%
3030
\def\advisorname{Orientador}%
31+
\def\advisoraname{Orientadora}%
3132
\def\coadvisorname{Co-orientador}%
33+
\def\coadvisoraname{Co-orientadora}%
3234
\def\listabbrvname{Lista de Abreviaturas e Siglas}%
3335
\def\listsymbolname{Lista de S{\'i}mbolos}%
3436
\def\lstlistlistingname{Lista de C{\'o}digos}%
3537
\def\annexname{Anexo}%
3638
\def\keywordsname{Palavras-chave}%
3739
\def\byname{por}%
3840
\def\coordname{Coordenador do Curso}%
41+
\def\coordaname{Coordenadora do Curso}%
3942
}
4043
\@namedef{datebrazilian}{%
4144
\def\monthname{%

elementos-postextuais/apendice.tex

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,8 @@ \section{Listings}\label{sec:LABEL_CHP_2_SEC_D}
100100
\codejava{Java}{alg:LABEL_CODE_2}{codigos/codigo-java.txt}
101101

102102
\section{References}\label{sec:LABEL_CHP_2_SEC_E}
103-
\begin{itemize}
103+
104+
\begin{alineas}
104105
\item Referencing \refchapter{chp:LABEL_CHP_1}
105106
\item Referencing \refsection{sec:LABEL_CHP_1_SEC_A}
106107
\item Referencing \refsection{sec:LABEL_CHP_1_SEC_C}
@@ -109,5 +110,6 @@ \section{References}\label{sec:LABEL_CHP_2_SEC_E}
109110
\item Referencing \refequation{eq:LABEL_EQ_1}
110111
\item Referencing \reflisting{alg:LABEL_CODE_1}
111112
\item Article \cite{braida2015transforming}
112-
\item Referencing \refappendix{chp:LABEL_APP_1}
113-
\end{itemize}
113+
\item Segundo \citeonline{braida2015transforming}, ....
114+
\item Referencing \refappendix{chp:LABEL_APP_1}
115+
\end{alineas}

main.tex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
\usepackage[]{algorithm2e}
77
\usepackage{paralist}
88
\usepackage{float}
9-
109
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1110
%I N I C I O D O D O C U M E N T O
1211
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -30,9 +29,11 @@
3029

3130
% orientador é obrigatório
3231
\advisor[Prof.]{Filipe Braida do Carmo,~D.Sc.}{}
32+
% \advisor[Prof.]{Nome completo,~D.Sc.}{}{a} % orientadora
3333

3434
% co-orientador é opcional
3535
%\coadvisor[Prof.]{Nome do co-orientador,~M.Sc.}{}
36+
\coadvisor[Prof.]{Nome do co-orientador,~M.Sc.}{}{a} % co-orientadora
3637

3738
% máximo de 3 integrantes da banca (orientador e co-orientador já são adicionados automaticamente)
3839
\banca[Prof.]{Nome do participante banca 1,~D.Sc.}{DCC~-~UFRRJ}

projetofinal-dcc.cls

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333

3434
\RequirePackage{color}
3535
\RequirePackage{listings}
36+
\RequirePackage{enumitem}
3637

3738
\RequirePackage[alf]{abntex2cite} % Citações padrão ABNT
3839
\RequirePackage{microtype} % para melhorias de justificação
@@ -121,15 +122,17 @@
121122
\expandafter\gdef\csname @author\alph{ii@authorcount}thanks\endcsname{#2}
122123
}
123124
% Orientador
124-
\DeclareRobustCommand{\advisor}[3][]{
125+
\DeclareRobustCommand{\advisor}[4][1]{
125126
\gdef\@advisorname{#2}
126127
\gdef\@advisororigin{#3}
128+
\gdef\@advisorgender{#4}
127129
\gdef\@advisor{#1~#2}
128130
}
129131
%Co-orientador
130-
\DeclareRobustCommand{\coadvisor}[3][]{
132+
\DeclareRobustCommand{\coadvisor}[4][1]{
131133
\gdef\@coadvisorname{#2}
132134
\gdef\@coadvisororigin{#3}
135+
\gdef\@coadvisorgender{#4}
133136
\gdef\@coadvisor{#1~#2}
134137
}
135138
% Banca - max = 3
@@ -239,8 +242,8 @@
239242
\@ifundefined{@curso}{}{\MakeUppercase{\csname \@curso\endcsname}\\}%
240243
}
241244
\newcommand{\titlepageadvisorinfo}{%
242-
\@ifundefined{@advisor}{}{\vfill\@advisor\\\advisorname}
243-
\@ifundefined{@coadvisor}{}{\\[6ex]\@coadvisor\\\coadvisorname}
245+
\@ifundefined{@advisor}{}{\vfill\@advisor\\\ifthenelse{\equal{\@advisorgender}{a}}{\advisoraname}{\advisorname}}
246+
\@ifundefined{@coadvisor}{}{\\[6ex]\@coadvisor\\\ifthenelse{\equal{\@coadvisorgender}{a}}{\coadvisoraname}{\coadvisorname}}
244247
}
245248

246249
%=====================================================================
@@ -268,7 +271,7 @@
268271
\bigskip
269272

270273
\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.
274+
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.
272275

273276
\noindent
274277
Apresentado por:
@@ -350,7 +353,8 @@
350353
\normalsize
351354

352355
\noindent
353-
Orientador: \@advisorname\\
356+
\@ifundefined{@advisorgender}{}{\ifthenelse{\equal{\@advisorgender}{a}}{\advisoraname}{\advisorname}}{:}
357+
\@advisorname\\
354358
\@advisororigin\\
355359

356360
\renewcommand{\baselinestretch}{1.5}
@@ -523,6 +527,17 @@
523527
\end{list}
524528
}
525529

530+
% Ambiente para alineas e e subalineas (incisos)
531+
% ABNT NBR 6024/2012 - 4.2 e 4.3
532+
\newlist{alineas}{enumerate}{2}
533+
\setlist[alineas,1]{label={\alph*)},topsep=0pt,itemsep=0pt,leftmargin=\parindent+\labelwidth-\labelsep}%
534+
\setlist[alineas,2]{label={--},topsep=0pt,itemsep=0pt,leftmargin=*}
535+
\newlist{subalineas}{enumerate}{1}
536+
\setlist[subalineas,1]{label={--},topsep=0pt,itemsep=0pt,leftmargin=*}%
537+
\newlist{incisos}{enumerate}{1}
538+
\setlist[incisos,1]{label={--},topsep=0pt,itemsep=0pt,leftmargin=*}%
539+
% ---
540+
526541
%=====================================================================
527542
% Definição do conteúdo da tabela de conteúdo
528543
%=====================================================================

0 commit comments

Comments
 (0)