| 1 |
%%%============================================================================== |
| 2 |
%% Copyright 2022-present by Alceu Frigeri |
| 3 |
%% |
| 4 |
%% This work may be distributed and/or modified under the conditions of |
| 5 |
%% |
| 6 |
%% * The [LaTeX Project Public License](http://www.latex-project.org/lppl.txt), |
| 7 |
%% version 1.3c (or later), and/or |
| 8 |
%% * The [GNU Affero General Public License](https://www.gnu.org/licenses/agpl-3.0.html), |
| 9 |
%% version 3 (or later) |
| 10 |
%% |
| 11 |
%% This work has the LPPL maintenance status *maintained*. |
| 12 |
%% |
| 13 |
%% The Current Maintainer of this work is Alceu Frigeri |
| 14 |
%% |
| 15 |
%% This is version {2.13} {2025/10/28} |
| 16 |
%% |
| 17 |
%% The list of files that compose this work can be found in the README.md file at |
| 18 |
%% https://ctan.org/pkg/ufrgscca |
| 19 |
%% |
| 20 |
%%%============================================================================== |
| 21 |
%% UFRGS stands for "Federal University of Rio Grande do Sul" in south Brazil |
| 22 |
%% EE stands for "Engineering School" |
| 23 |
%% CCA stands for "Control and Automation Engineering Course" (Portuguese acronym) |
| 24 |
%%%============================================================================== |
| 25 |
|
| 26 |
|
| 27 |
|
| 28 |
\ExplSyntaxOn |
| 29 |
\tl_new:N \tmpFieldA |
| 30 |
\tl_new:N \tmpFieldB |
| 31 |
\tl_new:N \tmpFieldC |
| 32 |
\ExplSyntaxOff |
| 33 |
|
| 34 |
|
| 35 |
%%%%%%%%%%%%%%% |
| 36 |
%%%%%%%%%%%%%%% |
| 37 |
|
| 38 |
|
| 39 |
\SetTerms{% |
| 40 |
advisor.descpage = % |
| 41 |
{% |
| 42 |
\noindent% |
| 43 |
\studentCoadvCase{% |
| 44 |
\UseTerm{advisors}:\\ |
| 45 |
\DataFields{student.advisor}{name}\\[1ex] |
| 46 |
\DataFields{student.coadvisor}{name} |
| 47 |
}{% |
| 48 |
\UseTerm{advisor}:\\ |
| 49 |
\DataFields{student.advisor}{name} |
| 50 |
} |
| 51 |
} , |
| 52 |
advisor.approvalpage = % |
| 53 |
{% |
| 54 |
\noindent% |
| 55 |
\studentCoadvCase{% |
| 56 |
\UseTerm{advisors}:\\ |
| 57 |
\DataFields{student.advisor}{name}, \DataFields{student.advisor}{institution}\\ |
| 58 |
\DataFields{student.advisor}{title}\\[1ex] |
| 59 |
\DataFields{student.coadvisor}{name}, \DataFields{student.coadvisor}{institution}\\ |
| 60 |
\DataFields{student.coadvisor}{title} |
| 61 |
}{% |
| 62 |
\UseTerm{advisor}:\\ |
| 63 |
\DataFields{student.advisor}{name}, \DataFields{student.advisor}{institution}\\ |
| 64 |
\DataFields{student.advisor}{title} |
| 65 |
} |
| 66 |
} , |
| 67 |
internship.tutorapproval = |
| 68 |
{ ~\\ |
| 69 |
\noindent\UseTerm{tutor}:\\ |
| 70 |
\DataFields{student.tutor}{name}, \DataFields{student.tutor}{institution}\\ |
| 71 |
\DataFields{student.tutor}{title}\\[1ex] |
| 72 |
|
| 73 |
\noindent\UseTerm{supervisor}:\\ |
| 74 |
\DataFields{student.supervisor}{name}, \DataFields{student.supervisor}{institution}\\ |
| 75 |
\DataFields{student.supervisor}{office}\\ |
| 76 |
\DataFields{student.internship}{company}\\ |
| 77 |
|
| 78 |
|
| 79 |
} , |
| 80 |
cover.students = % |
| 81 |
{% |
| 82 |
\DataGet{student}{name}{\tmpFieldA} |
| 83 |
\DataGet{student}{ID}{\tmpFieldB} |
| 84 |
\centering{\MakeUppercase{\tmpFieldA} - \tmpFieldB} |
| 85 |
} , |
| 86 |
cover.topbase = % |
| 87 |
{% |
| 88 |
\centering% |
| 89 |
\MakeUppercase{\UseHeading{university}}\\ |
| 90 |
\MakeUppercase{\UseHeading{unit}}\\ |
| 91 |
\MakeUppercase{\UseHeading{course}} |
| 92 |
} , |
| 93 |
cover.title = % |
| 94 |
{% |
| 95 |
\DataGet{student}{worktitle}{\tmpFieldA} |
| 96 |
\centering\textbf{\MakeUppercase{\tmpFieldA}} |
| 97 |
} , |
| 98 |
cover.bottom = {% |
| 99 |
\centering \UseConst{publ.city}\\ \UseConst{publ.date}\par |
| 100 |
} , |
| 101 |
ppc.top = % |
| 102 |
{% |
| 103 |
\centering% |
| 104 |
\MakeUppercase{\UseHeading{university}}\\ |
| 105 |
\MakeUppercase{\UseHeading{unit}}\\ |
| 106 |
\MakeUppercase{\UseHeading{ppc.comgrad}}\\ |
| 107 |
\MakeUppercase{\UseHeading{ppc.nde}}\\ |
| 108 |
\MakeUppercase{\UseHeading{ppc.course}}\\ |
| 109 |
|
| 110 |
} , |
| 111 |
report.top = % |
| 112 |
{% |
| 113 |
\centering% |
| 114 |
\MakeUppercase{\UseHeading{university}}\\ |
| 115 |
\MakeUppercase{\UseHeading{unit}}\\ |
| 116 |
\MakeUppercase{\UseHeading{department}}\\ |
| 117 |
\MakeUppercase{\UseHeading{class.code}~ -~ \UseHeading{class.name}}\\ |
| 118 |
} , |
| 119 |
report.prof-descpage = % |
| 120 |
{% |
| 121 |
\noindent\raggedleft |
| 122 |
\studentAdvCase{% |
| 123 |
\UseTerm{professors}:\\ |
| 124 |
\studentadvisoriterate% |
| 125 |
{% |
| 126 |
\DataFields{student.advisor}{name}\\ |
| 127 |
} |
| 128 |
}{% |
| 129 |
\UseTerm{professor}:\\ |
| 130 |
\DataFields{student.advisor}{name}\\ |
| 131 |
} |
| 132 |
} , |
| 133 |
} |
| 134 |
|
| 135 |
\SetTerms{ |
| 136 |
cover.students = |
| 137 |
{% |
| 138 |
\studentiterate% |
| 139 |
{% |
| 140 |
\DataGet{student}{name}{\tmpFieldA} |
| 141 |
\DataGet{student}{ID}{\tmpFieldB} |
| 142 |
\centering{\MakeUppercase{\tmpFieldA} - \tmpFieldB} |
| 143 |
} |
| 144 |
} |
| 145 |
} |
| 146 |
|
| 147 |
|
| 148 |
%%%%%%%%%%%%%%% |
| 149 |
%%%%%%%%%%%%%%% |
| 150 |
%%% |
| 151 |
%%% TCC I |
| 152 |
%%% |
| 153 |
%%%%%%%%%%%%%%% |
| 154 |
%%%%%%%%%%%%%%% |
| 155 |
|
| 156 |
\SetCoverFields{tccI}{clist}{cover,desc,approval} |
| 157 |
\SetCoverFields{tccI}{top}{ \UseTerm{cover.topbase} } |
| 158 |
\SetCoverFields{tccI}{students}{ \UseTerm{cover.students} } |
| 159 |
\SetCoverFields{tccI}{title}{ \UseTerm{cover.title} } |
| 160 |
\SetCoverFields{tccI}{bottom}{\centering \UseConst{publ.city}\\ \UseConst{publ.year}\par} |
| 161 |
|
| 162 |
\SetCoverFields{tccI}{text-descpage}{ \UseTerm{tccI.text-descpage} } |
| 163 |
|
| 164 |
\SetCoverFields{tccI}{advisor-descpage}{ \UseTerm{advisor.descpage} } |
| 165 |
|
| 166 |
\SetCoverFields{tccI}{bottom-descpage}{\centering \UseConst{publ.city}\\ \UseConst{publ.year}\par} |
| 167 |
|
| 168 |
\SetCoverFields{tccI}{text-approvalpage}{ \UseTerm{tccI.text-approvalpage} } |
| 169 |
\SetCoverFields{tccI}{advisor-approvalpage}{ \UseTerm{advisor.approvalpage} } |
| 170 |
|
| 171 |
\SetCoverFields{tccI}{bottom-approvalpage}{ \UseTerm{cover.bottom} } |
| 172 |
|
| 173 |
|
| 174 |
\SetCoverFields{tccI}{board}{% |
| 175 |
\noindent \UseTerm{board}:\\ |
| 176 |
\indent \DataFields{student.reviewer[2]}{name}, \DataFields{student.reviewer[2]}{institution}\\ |
| 177 |
\indent \DataFields{student.reviewer[2]}{title}\\ |
| 178 |
\\ |
| 179 |
\indent \DataFields{student.reviewer[3]}{name}, \DataFields{student.reviewer[2]}{institution}\\ |
| 180 |
\indent \DataFields{student.reviewer[3]}{title}\\ |
| 181 |
} |
| 182 |
|
| 183 |
|
| 184 |
\SetCoverFields{tccI}{coord}{% |
| 185 |
\noindent\hrulefill\\ |
| 186 |
\ActivityCoord[course]{name}\\ |
| 187 |
\ActivityCoord[course]{title}\\ |
| 188 |
\Activity[course]{name} |
| 189 |
} |
| 190 |
|
| 191 |
|
| 192 |
|
| 193 |
%%%%%%%%%%%%%%% |
| 194 |
%%%%%%%%%%%%%%% |
| 195 |
%%% |
| 196 |
%%% TCC II |
| 197 |
%%% |
| 198 |
%%%%%%%%%%%%%%% |
| 199 |
%%%%%%%%%%%%%%% |
| 200 |
|
| 201 |
\SetCoverFields{tccII}{clist}{cover,desc,approval} |
| 202 |
\SetCoverFields{tccII}{top}{ \UseTerm{cover.topbase} } |
| 203 |
\SetCoverFields{tccII}{students}{ \UseTerm{cover.students} } |
| 204 |
\SetCoverFields{tccII}{title}{ \UseTerm{cover.title} } |
| 205 |
\SetCoverFields{tccII}{bottom}{\centering \UseConst{publ.city}\\ \UseConst{publ.year}\par} |
| 206 |
|
| 207 |
\SetCoverFields{tccII}{text-descpage}{ \UseTerm{tccII.text-descpage} } |
| 208 |
|
| 209 |
\SetCoverFields{tccII}{advisor-descpage}{ \UseTerm{advisor.descpage} } |
| 210 |
|
| 211 |
\SetCoverFields{tccII}{bottom-descpage}{\centering \UseConst{publ.city}\\ \UseConst{publ.year}\par} |
| 212 |
|
| 213 |
\SetCoverFields{tccII}{text-approvalpage}{ \UseTerm{tccII.text-approvalpage} } |
| 214 |
\SetCoverFields{tccII}{advisor-approvalpage}{ \UseTerm{advisor.approvalpage} } |
| 215 |
|
| 216 |
\SetCoverFields{tccII}{bottom-approvalpage}{ \UseTerm{cover.bottom} } |
| 217 |
|
| 218 |
|
| 219 |
\SetCoverFields{tccII}{board}{ |
| 220 |
\noindent \UseTerm{board}:\\ |
| 221 |
\indent \DataFields{student.reviewer[1]}{name}, \DataFields{student.reviewer[1]}{institution}\\ |
| 222 |
\indent \DataFields{student.reviewer[1]}{title}\\[-1ex] |
| 223 |
|
| 224 |
\indent \DataFields{student.reviewer[2]}{name}, \DataFields{student.reviewer[2]}{institution}\\ |
| 225 |
\indent \DataFields{student.reviewer[2]}{title}\\[-1ex] |
| 226 |
|
| 227 |
\indent \DataFields{student.reviewer[3]}{name}, \DataFields{student.reviewer[2]}{institution}\\ |
| 228 |
\indent \DataFields{student.reviewer[3]}{title}\\ |
| 229 |
} |
| 230 |
|
| 231 |
|
| 232 |
\SetCoverFields{tccII}{coord}{ |
| 233 |
\noindent\hrulefill\\ |
| 234 |
\ActivityCoord[course]{name}\\ |
| 235 |
\ActivityCoord[course]{title}\\ |
| 236 |
\Activity[course]{name} |
| 237 |
} |
| 238 |
|
| 239 |
|
| 240 |
|
| 241 |
|
| 242 |
\SetCoverFields{ppc}{clist}{cover} |
| 243 |
\SetCoverFields{ppc}{top}{ \UseTerm{ppc.top} } |
| 244 |
\SetCoverFields{ppc}{students}{ } |
| 245 |
\SetCoverFields{ppc}{title}{ \centering PROJETO~ PEDAGÓGICO~ DO\\ |
| 246 |
CURSO~ EM~ ENGENHARIA~ DE\\ |
| 247 |
CONTROLE~ E~ AUTOMAÇÃO } |
| 248 |
\SetCoverFields{ppc}{bottom}{\centering \UseConst{publ.city}\\ \UseConst{publ.year}\par} |
| 249 |
|
| 250 |
|
| 251 |
|
| 252 |
%%%%%%%%%%%%%%% |
| 253 |
%%%%%%%%%%%%%%% |
| 254 |
%%% |
| 255 |
%%% Internship |
| 256 |
%%% |
| 257 |
%%%%%%%%%%%%%%% |
| 258 |
%%%%%%%%%%%%%%% |
| 259 |
|
| 260 |
\SetCoverFields{internship}{clist}{cover,approval} |
| 261 |
\SetCoverFields{internship}{top}{ \UseTerm{cover.topbase} } |
| 262 |
\SetCoverFields{internship}{students}{ \UseTerm{cover.students} } |
| 263 |
\SetCoverFields{internship}{title}{ \centering\textbf{ \UseTerm{internship.title} } } |
| 264 |
\SetCoverFields{internship}{bottom}{\centering \UseConst{publ.city}\\ \UseConst{publ.year}\par} |
| 265 |
|
| 266 |
\SetCoverFields{internship}{text-approvalpage}{ \UseTerm{internship.text-approvalpage} } |
| 267 |
|
| 268 |
\SetCoverFields{internship}{advisor-approvalpage}{ \UseTerm{internship.tutorapproval} } |
| 269 |
|
| 270 |
\SetCoverFields{internship}{bottom-approvalpage}{ \centering \UseConst{publ.city}\\\UseConst{publ.month}~ \UseConst{publ.year}\par } |
| 271 |
|
| 272 |
|
| 273 |
\SetCoverFields{internship}{board}{} |
| 274 |
|
| 275 |
|
| 276 |
\SetCoverFields{internship}{coord}{ |
| 277 |
\noindent\hrulefill\\ |
| 278 |
\ActivityCoord[internship]{name}\\ |
| 279 |
\ActivityCoord[internship]{title} |
| 280 |
} |
| 281 |
|
| 282 |
|
| 283 |
|
| 284 |
%%%%%%%%%%%%%%% |
| 285 |
%%%%%%%%%%%%%%% |
| 286 |
%%% |
| 287 |
%%% Nonrequired / Internship-optional |
| 288 |
%%% |
| 289 |
%%%%%%%%%%%%%%% |
| 290 |
%%%%%%%%%%%%%%% |
| 291 |
|
| 292 |
\SetCoverFields{internship-opt}{clist}{cover,approval} |
| 293 |
\SetCoverFields{internship-opt}{top}{ \UseTerm{cover.topbase} } |
| 294 |
\SetCoverFields{internship-opt}{students}{ \UseTerm{cover.students} } |
| 295 |
\SetCoverFields{internship-opt}{title}{ \centering\textbf{ \UseTerm{internship-opt.title} } } |
| 296 |
\SetCoverFields{internship-opt}{bottom}{\centering \UseConst{publ.city}\\ \UseConst{publ.year}\par} |
| 297 |
|
| 298 |
\SetCoverFields{internship-opt}{text-approvalpage}{ \UseTerm{internship-opt.text-approvalpage} } |
| 299 |
|
| 300 |
\SetCoverFields{internship-opt}{advisor-approvalpage}{ \UseTerm{internship.tutorapproval} } |
| 301 |
|
| 302 |
\SetCoverFields{internship-opt}{bottom-approvalpage}{ \centering \UseConst{publ.city}\\\UseConst{publ.month}~ \UseConst{publ.year}\par } |
| 303 |
|
| 304 |
|
| 305 |
\SetCoverFields{internship-opt}{board}{} |
| 306 |
|
| 307 |
|
| 308 |
\SetCoverFields{internship-opt}{coord}{} |
| 309 |
|
| 310 |
|
| 311 |
|
| 312 |
%%%%%%%%%%%%%%% |
| 313 |
%%%%%%%%%%%%%%% |
| 314 |
%%% |
| 315 |
%%% class report |
| 316 |
%%% |
| 317 |
%%%%%%%%%%%%%%% |
| 318 |
%%%%%%%%%%%%%%% |
| 319 |
|
| 320 |
\SetCoverFields{class-report}{clist}{desc} |
| 321 |
\SetCoverFields{class-report}{top}{ \UseTerm{report.top} } |
| 322 |
\SetCoverFields{class-report}{students}{ \UseTerm{cover.students} } |
| 323 |
\SetCoverFields{class-report}{title}{ \UseTerm{cover.title} } |
| 324 |
\SetCoverFields{class-report}{bottom}{\centering \UseConst{publ.city}\\\UseConst{publ.month}~ \UseConst{publ.year}\par} |
| 325 |
|
| 326 |
\SetCoverFields{class-report}{text-descpage}{ \UseTerm{class-report.desc} } |
| 327 |
|
| 328 |
\SetCoverFields{class-report}{advisor-descpage}{ \UseTerm{report.prof-descpage} } |
| 329 |
|
| 330 |
\SetCoverFields{class-report}{bottom-descpage}{\centering \UseConst{publ.city}\\\UseConst{publ.month}~ \UseConst{publ.year}\par} |
| 331 |
|
| 332 |
\SetCoverFields{class-report}{text-approvalpage}{} |
| 333 |
|
| 334 |
\SetCoverFields{class-report}{advisor-approvalpage}{} |
| 335 |
|
| 336 |
\SetCoverFields{class-report}{bottom-approvalpage}{} |
| 337 |
|
| 338 |
|
| 339 |
\SetCoverFields{class-report}{board}{} |
| 340 |
|
| 341 |
|
| 342 |
\SetCoverFields{class-report}{coord}{} |
| 343 |
|
| 344 |
|
| 345 |
|
| 346 |
|
| 347 |
|
| 348 |
|