-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathders-ifro.sty
More file actions
183 lines (141 loc) · 5.96 KB
/
ders-ifro.sty
File metadata and controls
183 lines (141 loc) · 5.96 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
%%
%% Customizações do abnTeX2 (http://abnTeX2.googlecode.com) para o
%% Instituto Federal de Educação, Ciência e Tecnologia de Rondônia
%% Diretoria de Gestão de Tecnologia da Informação
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
%% of this license or (at your option) any later version.
%% The latest version of this license is in
%% http://www.latex-project.org/lppl.txt
%% and version 1.3 or later is part of all distributions of LaTeX
%% version 2005/12/01 or later.
%%
%% This work has the LPPL maintenance status `maintained'.
%%
%% The Current Maintainer of this work is SEU_NOME, SEU_EMAIL
%%
%% Further information about abnTeX2 are available on http://abntex2.googlecode.com/
%%
% ---
% INICIO DAS CUSTOMIZACOES PARA IFRO - DGTI
% ---
\usepackage[brazil]{babel}
\usepackage[utf8]{inputenc}
\newcommand{\degree}{${}^\circ$}
\usepackage[brazilian,hyperpageref]{backref}
\usepackage[alf]{abntex2cite}
\usepackage{lmodern,graphicx,url,color,listings,multirow,float,placeins,enumitem,hyperref,longtable,rotating}
\graphicspath{{assets/}}
\providecommand{\imprimirsistema}{}
\newcommand{\sistema}[1]{\renewcommand{\imprimirsistema}{#1}}
\providecommand{\imprimirversao}{}
\newcommand{\versao}[1]{\renewcommand{\imprimirversao}{#1}}
\definecolor{blue}{RGB}{41,5,195}
\definecolor{mygreen}{rgb}{0,0.6,0}
\definecolor{mygray}{rgb}{0.5,0.5,0.5}
\definecolor{mymauve}{rgb}{0.58,0,0.82}
\lstset{ %
backgroundcolor=\color{white}, % choose the background color; you must add \usepackage{color} or \usepackage{xcolor}
basicstyle=\footnotesize, % the size of the fonts that are used for the code
breakatwhitespace=false, % sets if automatic breaks should only happen at whitespace
breaklines=true, % sets automatic line breaking
captionpos=t, % sets the caption-position to top
commentstyle=\color{mygreen}, % comment style
deletekeywords={...}, % if you want to delete keywords from the given language
escapeinside={\%*}{*)}, % if you want to add LaTeX within your code
extendedchars=true, % lets you use non-ASCII characters; for 8-bits encodings only, does not work with UTF-8
frame=single, % adds a frame around the code
keepspaces=true, % keeps spaces in text, useful for keeping indentation of code (possibly needs columns=flexible)
keywordstyle=\color{blue}, % keyword style
%language=sh, % the language of the code
otherkeywords={*,...}, % if you want to add more keywords to the set
numbers=left, % where to put the line-numbers; possible values are (none, left, right)
numbersep=5pt, % how far the line-numbers are from the code
numberstyle=\tiny\color{mygray}, % the style that is used for the line-numbers
rulecolor=\color{black}, % if not set, the frame-color may be changed on line-breaks within not-black text (e.g. comments (green here))
showspaces=false, % show spaces everywhere adding particular underscores; it overrides 'showstringspaces'
showstringspaces=false, % underline spaces within strings only
showtabs=false, % show tabs within strings adding particular underscores
stepnumber=1, % the step between two line-numbers. If it's 1, each line will be numbered
stringstyle=\color{mymauve}, % string literal style
tabsize=2, % sets default tabsize to 2 spaces
title=\lstname % show the filename of files included with \lstinputlisting; also try caption instead of title
}
\makeatletter
\hypersetup{
%pagebackref=true,
pdftitle={\@title},
pdfauthor={\@author},
pdfsubject={\imprimirpreambulo},
pdfcreator={LaTeX with abnTeX2},
pdfkeywords={abnt}{latex}{abntex}{abntex2}{projeto de pesquisa},
colorlinks=true, % false: boxed links; true: colored links
linkcolor=blue, % color of internal links
citecolor=blue, % color of links to bibliography
filecolor=magenta, % color of file links
urlcolor=blue,
bookmarksdepth=4
}
\makeatother
\setlength{\parindent}{1.3cm}
\setlength{\parskip}{0.2cm}
\makeindex
% Alterações na capa
\renewcommand{\imprimircapa}{%
\begin{capa}%
\center
\includegraphics[width=1\linewidth]{ifro.png}
\hrule height 3pt
\vspace*{1cm}
\flushright{\ABNTEXchapterfont\fontsize{30pt}{5.5cm}\selectfont \textbf{Documento de Especifica\c c\~ao \\ de Requisitos de Software}}
\vfill
{\ABNTEXchapterfont\bfseries\Large\imprimirsistema \\
\footnotesize Vers\~ao \imprimirversao}
\vfill
\begin{flushright}
\imprimirautor\par
\end{flushright}
\vfill
\MakeUppercase{\textbf{\large\imprimirdata}}
\vspace*{0.5cm}
\hrule height 3pt
\end{capa}
}
% folha de rosto
\makeatletter
\renewcommand{\folhaderostocontent}{
\begin{center}
%{\ABNTEXchapterfont\Large UNIVERSIDADE QUE TORNA OS DOCUMENTOS AINDA MAIS ESTRANHOS}
% \vspace*{1cm}
\MakeUppercase{{\ABNTEXchapterfont\large\imprimirautor}}
\vspace*{\fill}\vspace*{\fill}
\begin{center}
\MakeUppercase{\ABNTEXchapterfont\bfseries\Large\imprimirtitulo}
%\MakeUppercase{\ABNTEXchapterfont\bfseries\large\imprimirtitulo} % para letra menor
\end{center}
\vspace*{\fill}
\abntex@ifnotempty{\imprimirpreambulo}{%
% \hspace{.45\textwidth}
\hspace{.25\textwidth}
\begin{minipage}{.5\textwidth}
\SingleSpacing
\imprimirpreambulo
\end{minipage}%
\vspace*{\fill}
}%
{\large\imprimirorientadorRotulo~\imprimirorientador\par}
\abntex@ifnotempty{\imprimircoorientador}{%
{\large\imprimircoorientadorRotulo~\imprimircoorientador}%
}%
\vspace*{\fill}
%{\abntex@ifnotempty{\imprimirinstituicao}{\imprimirinstituicao\vspace*{\fill}}}
{\large\imprimirlocal}
\par
{\large\imprimirdata} \vspace*{1cm}
\end{center}
}
\makeatother
% ---
% FIM DAS CUSTOMIZACOES PARA A UNIVERSIDADE XXX
% ---