← All templates

UFABC PPG-ENE Energy dissertation and thesis

The UFABC Graduate Program in Energy's LaTeX template (updated 2022) for master's dissertations and doctoral theses, derived from the COPPE class, in Portuguese.

Create an account to use this
Category
Thesis
Document class
ufabcFHZh (ufabcFHZh.cls) — ships with TeX Live
Workflow
Thesis / dissertation — submissions and revision rounds
Author
Federal University of ABC, Graduate Program in Energy (PPG-ENE)
Source
Federal University of ABC, Graduate Program in Energy (PPG-ENE)
Licence
ufabcFHZh.cls: GNU General Public License. The sample text is Federal University of ABC, Graduate Program in Energy (PPG-ENE)'s, provided for authors preparing a submission.

These are the publisher’s own files. This project starts from Federal University of ABC, Graduate Program in Energy (PPG-ENE)’s package for this publication — their manuscript, their ufabcFHZh.cls, their bibliography style — so what compiles here is what they would have given you.

Federal University of ABC, Graduate Program in Energy (PPG-ENE) serves this exact file to Federal University of ABC. Check Federal University of ABC, Graduate Program in Energy (PPG-ENE)’s author pages for the current instructions.

What you get

  • Anexos/Input_An01_1_0.tex · 1018 B
  • Apendices/Input_Ap01_1_0.tex · 979 B
  • Bibliografia/Bibliografia_modelo.bib · 1010 B
  • Bibliografia/abntFHZ5.bst · 32 KB
  • Exemplos/Input_Exemplos_Figuras_Parte1.tex · 4 KB
  • Exemplos/Input_Exemplos_Figuras_Parte2.tex · 2 KB
  • NewCommands/Input_NewCommand.tex · 2 KB
  • NewCommands/Input_NewCommand_Figures.tex · 4 KB
  • NewCommands/Input_NewCommand_Figures_for_IEEE.tex · 4 KB
  • Pacotes/Input_Pacotes.tex · 6 KB
  • Pacotes/Input_Pacotes_Listings.tex · 3 KB
  • Pre-Textuais/Include_Abv_1_0.tex · 2 KB
  • Pre-Textuais/Include_Sim_1_0.tex · 2 KB
  • Pre-Textuais/Input_Abs_1_0.tex · 757 B
  • Pre-Textuais/Input_Abs_2_0.tex · 664 B
  • Pre-Textuais/Input_Agr_1_0.tex · 665 B
  • Pre-Textuais/Input_Epi_1_0.tex · 824 B
  • Relatorio_TCC_Mestrado_Base_1_0_FHZ.tex — the file that is compiled · 13 KB
  • Textuais/Images/garfo.jpg · 40 KB
  • Textuais/Images/ufabclogo.png · 273 KB
  • Textuais/Include_Con_1_0.tex · 5 KB
  • Textuais/Include_Int_1_0.tex · 913 B
  • Textuais/Include_Met_1_0.tex · 1 KB
  • Textuais/Include_Mod_1_0.tex · 687 B
  • Textuais/Include_Obj_1_0.tex · 2 KB
  • Textuais/Include_Rev_1_0.tex · 1 KB
  • abnt.bst · 28 KB
  • mcode.sty · 12 KB
  • ufabcFHZh.cls · 52 KB

These become your files. Editing them afterwards changes your project and nothing else — a project owns its files from the moment it is made.

Source

Anexos/Input_An01_1_0.tex · 1018 B
%% =============================
%%      IMPORTANTE
%% ESTE ARQUIVO DEVE ESTAR SALVO COMO
%%      UTF - 8
%% =============================

% ----------------------------------------------------------
% Este capítulo é parte integrante do arquivo mestre
% Relatorio_TCC_Mestrado_Base_VERSÃO_SUBVERSÃO_FHZ
% ----------------------------------------------------------


% --------------------------------------------------------
% Anexo - em arquivo separado - inserido com "\input{file}"
% --------------------------------------------------------

% -----------------------------------------------------------------------------------------------------------------
\chapter{Anexo 01}
\label{cap_an01}
% ----------------------------------------------------------

Este é um anexo.

Não há renumeração para os anexos neste modelo.

Não parece ser útil ter distinção entre apêndices e anexos.

Se fizer passar para a versão $1\_0$.


% ----------------------------------------------------------
% Fim Arquivo
Apendices/Input_Ap01_1_0.tex · 979 B
%% =============================
%%      IMPORTANTE
%% ESTE ARQUIVO DEVE ESTAR SALVO COMO
%%      UTF - 8
%% =============================

% ----------------------------------------------------------
% Este capítulo é parte integrante do arquivo mestre
% Relatorio_TCC_Mestrado_Base_VERSÃO_SUBVERSÃO_FHZ
% ----------------------------------------------------------


% --------------------------------------------------------
% Apêndice - em arquivo separado - inserido com "\input{file}"
% --------------------------------------------------------

% -----------------------------------------------------------------------------------------------------------------
\chapter{Anexos}
\label{Atc_ap01}
% ----------------------------------------------------------
Este é um anexo.

Não há renumeração para os anexos neste modelo.

Não parece ser útil ter distinção entre apêndices e anexos.


% ----------------------------------------------------------
% Fim Arquivo
Bibliografia/Bibliografia_modelo.bib · 1010 B
%% =============================
%%      IMPORTANTE
%% ESTE ARQUIVO DEVE ESTAR SALVO COMO
%%      UTF - 8
%% =============================

% ----------------------------------------------------------
% Este capítulo é parte integrante do arquivo mestre
% Relatorio_TCC_Mestrado_Base_VERSÃO_SUBVERSÃO
% ----------------------------------------------------------

%% This BibTeX bibliography file was created using BibDesk.
%% http://bibdesk.sourceforge.net/

%% Saved with string encoding Unicode (UTF-8) 

%% As referências de base vindas com o arquivo da ABNT estão no outro arquivo usado no TG

% ----------------------------------------------------------
%% Referências de modelo
% ----------------------------------------------------------

% CHAPTER 1
% ---------------------------------------------------------- 

@book{garvin,
    title={Gerenciando a Qualidade: a visão estratégica e competitiva},
    author={Garvin, D.A.},
    pages={6--22},
    year={1992},
    publisher={Qualitymark}
}

Bibliografia/abntFHZ5.bst · 32 KB
%==============================================================================
% abnt.bst
% Estilo BibTeX de formatação de referências bibliográficas no padrão ABNT
%
% UFRGS TeX Users Group
% Informatics Institute --- UFRGS
% Porto Alegre, Brazil
% http://www.inf.ufrgs.br/utug
% Discussion list: [email protected]
%
% $Id: abnt.bst,v 5.7 2003/04/15 15:09:10 avila Exp $
% BATATA: abntFHZ.bst altered 2016/05/10 - adding url
%
% Copyright (C) 2001-2003 UFRGS TeX Users Group
%
% This program is free software; you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation; either version 2 of the License, or
% (at your option) any later version.
%
% This program is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
% GNU General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% along with this program; if not, write to the Free Software
% Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
%==============================================================================

%==============================================================================
% abntFHZ4.bst - 03.10.2016
% Adicionado opção de inserir doi, mas a inserção está comentada tal como a opção para ISBN.
% 
% 26.10.2016 
% removido: " --- "
% traço dos campos de masterthesis e phdthesis
% linha de comando antiga
% str:mastersthesis format.type " --- " * format.publisher *
%
%==============================================================================

%==============================================================================
% abntFHZ3.bst - 12.07.2016
% Estilo BibTeX de formatação de referências bibliográficas no padrão ABNT com URL
% UFABC Posmec - Pós-graduação em Engenharia Mecânica
%
% Edtions to insert ABNT rules to an url adress
% This version using the extra strings added outside the "url = {}" adress of the .bib file
% 	Copying technic from apalikeFHZURL
% 
% BATATA: Entrada para encontrar trechos editados em relação ao abnt.bst original
% Na dúvida siga a BATATA, ela mostrará o caminho.
%==============================================================================


%==============================================================================
% Definição dos campos das entradas
%==============================================================================
ENTRY
{ 
	author
	editor
	title
	booktitle
	chapter
	pages
	address
	publisher
	year
	journal
	month
	number
	edition
	howpublished
	institution
	key
	note
	organization
	school
	series
	type
	volume
	%% === BATATA
	url
	urldate
	isbn
	issn
	location
	doi
}
{}
{
	label
	year.char
}

INTEGERS {i j n}
STRINGS {s t last.label last.year.char current.letter names new.pages}

%==============================================================================
% Definicao dos nomes dos meses - PT
%==============================================================================
MACRO {jan} {"Jan."}
MACRO {fev} {"Fev."}
MACRO {mar} {"Mar."}
MACRO {abr} {"Abr."}
MACRO {mai} {"Maio"}
MACRO {jun} {"Jun."}
MACRO {jul} {"Jul."}
MACRO {ago} {"Ago."}
MACRO {set} {"Set."}
MACRO {out} {"Out."}
MACRO {nov} {"Nov."}
MACRO {dez} {"Dez."}

%==============================================================================
% Definicao dos nomes dos meses - EN
%==============================================================================
%MACRO {jan} {"Jan."}
MACRO {feb} {"Feb."}
%MACRO {mar} {"Mar."}
MACRO {apr} {"Apr."}
MACRO {may} {"May"}
%MACRO {jun} {"June"}
%MACRO {jul} {"July"}
MACRO {aug} {"Aug."}
MACRO {sep} {"Sept."}
MACRO {oct} {"Oct."}
%MACRO {nov} {"Nov."}
MACRO {dec} {"Dec."}

%==============================================================================
% Definicao de strings usados na elaboracao das referencias
%==============================================================================
FUNCTION {str:mastersthesis} {"Disserta{\c{c}}{\~a}o"}
FUNCTION {str:phdthesis} {"Tese"}
FUNCTION {str:chapter} {"Cap."}

%==============================================================================
% Definicao das abreviaturas padrao
%==============================================================================
MACRO {acmcs} {"ACM Computing Surveys"}
MACRO {acta} {"Acta Informatica"}
MACRO {cacm} {"Communications of the ACM"}
MACRO {ibmjrd} {"IBM Journal of Research and Development"}
MACRO {ibmsj} {"IBM Systems Journal"}
MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
MACRO {ieeetc} {"IEEE Transactions on Computers"}
MACRO {ieeetcad}
	{"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
MACRO {ipl} {"Information Processing Letters"}
MACRO {jacm} {"Journal of the ACM"}
MACRO {jcss} {"Journal of Computer and System Sciences"}
MACRO {scp} {"Science of Computer Programming"}
MACRO {sicomp} {"SIAM Journal on Computing"}
MACRO {tocs} {"ACM Transactions on Computer Systems"}
MACRO {tods} {"ACM Transactions on Database Systems"}
MACRO {tog} {"ACM Transactions on Graphics"}
MACRO {toms} {"ACM Transactions on Mathematical Software"}
MACRO {toois} {"ACM Transactions on Office Information Systems"}
MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
MACRO {tcs} {"Theoretical Computer Science"}

%==============================================================================
% Exibe warning quando um campo ``required'' esta' faltando. Recebe na pilha o
% tipo do campo.
%==============================================================================
FUNCTION {show.missing.field.warning}
{
	"Falta o campo " swap$ " em " cite$ * * * warning$
}

%==============================================================================
% Funcoes logicas
%==============================================================================
FUNCTION {not}
{
		{ #0 }
		{ #1 }
	if$
}

FUNCTION {and}
{
		'skip$
		{ pop$ #0 }
	if$
}

FUNCTION {or}
{
		{ pop$ #1 }
		'skip$
	if$
}

FUNCTION {is.numeric.char}
{
	#1 #1 substring$
	duplicate$ "" =
		{pop$ #0}
		{
			duplicate$ chr.to.int$ #47 >
			swap$ chr.to.int$ #58 <
			and
		}
	if$
}

FUNCTION {is.uppercase.char}
{
	#1 #1 substring$
	duplicate$ "" =
		{pop$ #0}
		{
			duplicate$ chr.to.int$ #64 >
			swap$ chr.to.int$ #91 <
			and
		}
	if$
}

%==============================================================================
% Escreve no arquivo o comando que gera o item
%
% Parm:
%	 um string com a formatacao do item
%==============================================================================
FUNCTION {write.item}
{
	"\bibitem[" label * "]{" * cite$ * "} " *
	swap$ *
	write$ newline$ newline$
}

%==============================================================================
% Separa o titulo em titulo e sub-titulo, empilhando o sub-titulo e o titulo,
% nessa ordem
%
% Parm:
%	 o titulo
%==============================================================================
FUNCTION {extract.subtitle}
{
	#1 'i :=

	duplicate$
	i #1 substring$
	{
		duplicate$ ":" = not
		swap$ "" = not
		and
	}
	{
		#1 i + 'i :=
		duplicate$
		i #1 substring$
	} while$

	duplicate$ i #999 substring$
	swap$
	#1 i #1 - substring$
}

%==============================================================================
% Separa a primeira palavra do texto, empilhando o resto e a palavra, nessa
% ordem
%
% Parm:
%	 o texto
%==============================================================================
FUNCTION {extract.first.word}
{
	#1 'i :=

	duplicate$
	i #1 substring$
	{
		duplicate$ " " = not
		swap$ "" = not
		and
	}
	{
		#1 i + 'i :=
		duplicate$
		i #1 substring$
	} while$

	duplicate$ i #999 substring$
	swap$
	#1 i #1 - substring$
}

%==============================================================================
% Enfatiza um string
%
% Parm:
%	 o string
%==============================================================================
FUNCTION {emphasize}
{
	"\textbf{" swap$ * "}" *
}

%==============================================================================
% Adiciona um texto (se nao-empty$) ja' formatado ao item, separando-o por
% ponto.
% Ex.: NOME. Titulo. data. ano.
%
% Parm:
%	 um string representando o item (pode ser vazio, para iniciar o item)
%	 o texto a ser adicionado
%==============================================================================
FUNCTION {add.to.item}
{
	duplicate$ empty$
		'pop$
		{
			swap$
			duplicate$ empty$
				'skip$
				{" " *}
			if$
			swap$ add.period$ *
		}
	if$
}

%==============================================================================
% Adiciona um item (se nao-empty$) a uma lista do tipo "a, b, c, ..."
%
% Parm:
%	 um string representando a lista (pode ser vazio, para criar uma lista)
%	 o item a ser adicionado
%==============================================================================
FUNCTION {add.to.list}
{
	duplicate$ empty$
		'pop$
		{
			swap$
			duplicate$ empty$
				'skip$
				{", " *}
			if$
			swap$ *
		}
	if$
}

%==============================================================================
% Adiciona um nome a uma lista de nomes (separados por ponto-e-virgula)
%
% Parm:
%	 um string representando a lista (pode ser vazio, para criar uma lista)
%	 o nome a ser adicionado
%==============================================================================
FUNCTION {add.to.namelist}
{
	swap$
	duplicate$ empty$
		'skip$
		{"; " *}
	if$
	swap$ *
}

%==============================================================================
% Formata uma lista de nomes.
%
% Parm:
%	 os nomes a serem formatados
%==============================================================================
FUNCTION {format.names}
{
	duplicate$ num.names$ 'n :=
	#1 'i :=
	"" 'names :=

	{i n #1 + <}
	{
		duplicate$ duplicate$ i "{ll}{~jj}" format.name$
		duplicate$ "others" =
		n #3 >
		i #2 =
		and
		or
		{
			pop$ pop$ names " et~al." *
			n 'i :=
		}{
			"u" change.case$ swap$
			i "{, f.}{~vv}" format.name$ *
			names swap$ add.to.namelist
		} if$ 'names :=
		#1 i + 'i :=
	} while$
	pop$
	names
	duplicate$ #-1 #1 substring$ "." = {
		#-2 global.max$ substring$
		"\@." *
	}
		'skip$
	if$
}

%==============================================================================
% Formata uma lista de sobrenomes.
%
% Parm:
%	 os nomes a serem formatados
%==============================================================================
FUNCTION {format.family.names}
{
	duplicate$ num.names$ 'n :=
	#1 'i :=
	"" 'names :=

	{i n #1 + <}
	{
		duplicate$ i "{ll}{~jj}" format.name$
		duplicate$ "others" =
		n #3 >
		i #2 =
		and
		or
		{
			pop$ names " et~al." *
			n 'i :=
		}{
			"u" change.case$
			names swap$ add.to.namelist
		} if$ 'names :=
		#1 i + 'i :=
	} while$
	pop$
	names
}

%==============================================================================
% Formata uma lista de sobrenomes com todos os autores.
%
% Parm:
%	 os nomes a serem formatados
%==============================================================================
FUNCTION {format.family.names.all}
{
	duplicate$ num.names$ 'n :=
	#1 'i :=
	"" 'names :=

	{i n #1 + <}
	{
		duplicate$ i "{ll}{~jj}" format.name$
		duplicate$ "others" =
		{
			pop$ names " et~al." *
			n 'i :=
		}{
			"u" change.case$
			names swap$ add.to.namelist
		} if$ 'names :=
		#1 i + 'i :=
	} while$
	pop$
	names
}

%==============================================================================
% Formata um titulo (pode ser `title' ou `booktitle')
%
% Parm:
%	 um valor (0 ou 1) que indica se a formatacao deve ser enfatizada ou nao
%	 um string com o titulo a ser formatado
%==============================================================================
FUNCTION {format.title}
{
        swap$
                {extract.subtitle emphasize}
                {extract.subtitle}
        if$
        swap$ "l" change.case$ *
}

%==============================================================================
% Retorna a indicacao de paginas ajustada para ter dois tracos (`--') se a
% entrada so' tiver um.
%==============================================================================
FUNCTION {get.adjusted.pages}
{
	#1 'i :=
	"" 'new.pages :=
	pages #1 #1 substring$
	{duplicate$ "" = not}
	{
		duplicate$ "-" =
		pages i #1 - #1 substring$ "-" = not
		and
		pages i #1 + #1 substring$ "-" = not
		and
			{"-" *}
			'skip$
		if$
		new.pages swap$ * 'new.pages :=
		#1 i + 'i :=
		pages i #1 substring$
	} while$
	pop$
	new.pages
}

%==============================================================================
% Coloca a primeira palavra do titulo em letras maiusculas e o resto em
% minusculas. Esta funcao e' usada para gerar referencias cuja entrada e' pelo
% titulo.
%==============================================================================
FUNCTION {format.entrytitle}
{
	#0 title format.title
	extract.first.word "u" change.case$
	swap$ * 
}

%==============================================================================
% Converte a edicao literal ("First", "Second", etc., que é o padrão indicado
% no manual do BibTeX) para o algarismo correspondente. Recebe na pilha o
% string e devolve o numero.
%==============================================================================
FUNCTION {convert.to.number}
{
	duplicate$ "First" =
	{pop$ "1"}
	{duplicate$ "Second" =
	{pop$ "2"}
	{duplicate$ "Third" =
	{pop$ "3"}
	{duplicate$ "Fourth" =
	{pop$ "4"}
	{duplicate$ "Fifth" =
	{pop$ "5"}
	{duplicate$ "Sixth" =
	{pop$ "6"}
	{duplicate$ "Seventh" =
	{pop$ "7"}
	{duplicate$ "Eighth" =
	{pop$ "8"}
	{duplicate$ "Ninth" =
	{pop$ "9"}
	{duplicate$ "Tenth" =
	{pop$ "10"}
	{skip$
	} if$
	} if$
	} if$
	} if$
	} if$
	} if$
	} if$
	} if$
	} if$
	} if$
}

%=========================================================================
% Formatacao dos campos. Se o campo nao existir a funcao devolve um string
% vazio.
%==============================================================================
FUNCTION {format.author}
{
	author empty$
		{""}
		{author format.names}
	if$
}

FUNCTION {format.editor}
{
	editor empty$
		{""}
		{editor format.names "~(Ed.)" *}
	if$
}

FUNCTION {format.edition}
{
	edition empty$
		{""}
		{edition convert.to.number ".ed." *}
	if$
}

FUNCTION {format.volume}
{
	volume empty$
		{""}
		{"v." volume *}
	if$
}

FUNCTION {format.number}
{
	number empty$
		{""}
		{"n." number *}
	if$
}

FUNCTION {format.month}
{
	month empty$
		{""}
		{month}
	if$
}

FUNCTION {format.address}
{
	address empty$
		{""}
		{address}
	if$
}

FUNCTION {format.publisher}
{
	type$ "mastersthesis" =
	type$ "phdthesis" =
	or {
		school empty$ {""} {school} if$
	}{
	type$ "techreport" = {
		institution empty$ {""} {institution} if$
	}{
	type$ "manual" = {
		organization empty$ {""} {organization} if$
	}{
		publisher empty$ {""} {publisher} if$
	} if$
	} if$
	} if$
}

FUNCTION {format.year}
{
	year empty$
		{""}
		{year}
	if$
}

FUNCTION {format.chapter}
{
	chapter empty$
		{""}
		{
			type empty$
				{str:chapter}
				{type "~" *}
			if$
			chapter *
		}
	if$
}

FUNCTION {format.pages}
{
	pages empty$
		{""}
		{"p." get.adjusted.pages *}
	if$
}

FUNCTION {format.totalpages}
{
	pages empty$
		{""}
		{pages "p." *}
	if$
}

FUNCTION {format.note}
{
	note empty$
		{""}
		{note}
	if$
}

FUNCTION {format.month.year}
{
	month empty$
		{year}
		{month "~" * year *}
	if$
}

FUNCTION {format.type}
{
	type empty$
		'skip$
		{pop$ type}
	if$
}

FUNCTION {format.howpublished}
{
	howpublished empty$
		{""}
		{howpublished}
	if$
}

FUNCTION {format.series}
{
	series empty$
		{""}
		{series}
	if$
}

FUNCTION {format.parenthised.number}
{
	number empty$ {
		""
	}{
		"(" number * ")" *
	} if$
}

%% ========= BATATA
FUNCTION {format.url}
{
	url empty$
		{""}
		{" Dispon\'{\i}vel em: <\url{" * url * "}>."}
	if$
}

%%% FUNCTION {format.url}
%%% { url empty$
%%% { "" }
%%% { hrefform #1 =
%%% { % special case -- add HyperTeX specials
%%% urlintro "\url{" url * "}" * url make.href.hypertex * }
%%% { urlintro "\url{" * url * "}" * }
%%% % if$
%%% }
%%% if$
%%% }

FUNCTION {format.urldate}
{ 
	urldate empty$
	{ "" }
	{ " Acesso em: " * urldate } %* %"."}
	if$
}

FUNCTION {format.isbn}
{
	isbn empty$
		{""}
		{"ISBN: " isbn *}
	if$
}

FUNCTION {format.issn}
{
issn empty$
{""}
{"ISSN: " issn *}
if$
}

FUNCTION {format.doi}
{
	isbn empty$
	{""}
	{"doi: " doi *}
	if$
}

FUNCTION {format.institution}
{
	institution empty$
		{""}
		{institution}
	if$
}
FUNCTION {format.location}
{
	location empty$
		{""}
		{location}
	if$
}
%% =========
%==============================================================================
% As seguintes funcoes adicionam um item a uma lista passada na pilha.
%==============================================================================
FUNCTION {add.address} {format.address add.to.list}
FUNCTION {add.publisher} {format.publisher add.to.list}
FUNCTION {add.year} {format.year add.to.list}
FUNCTION {add.chapter} {format.chapter add.to.list}
FUNCTION {add.edition} {format.edition add.to.list}
FUNCTION {add.volume} {format.volume add.to.list}
FUNCTION {add.number} {format.number add.to.list}
FUNCTION {add.month} {format.month add.to.list}
FUNCTION {add.totalpages} {format.totalpages add.to.list}
FUNCTION {add.pages} {format.pages add.to.list}
FUNCTION {add.note} {format.note add.to.list}
FUNCTION {add.month.year} {format.month.year add.to.list}
FUNCTION {add.howpublished} {format.howpublished add.to.list}

%% === BATATA
FUNCTION {add.url} {format.url add.to.list}
FUNCTION {add.urldate} {format.urldate add.to.list}
FUNCTION {add.isbn} {format.isbn add.to.list}
FUNCTION {add.doi} {format.doi add.to.list}
%% ===

%==============================================================================
% Converte virgula para dois-pontos; usado na formatacao do publisher de
% proceedings e inproceedings, que normalmente levam tambem o local de publi-
% cao; no padrao ABNT essa separacao deve ser por dois-pontos.
% Recebe o string original e devolve o novo.
%==============================================================================
FUNCTION {comma.to.colon}
{
	's :=
	"" 't :=
	#1 'i :=
	{s i #1 substring$ "" = not}
	{
		s i #1 substring$ duplicate$ "," =
			{pop$ t ":" * 't :=}
			{t swap$ * 't :=}
		if$
		i #1 + 'i :=
	} while$
	t
}

%
% localiza a posicao do primeiro caractere maiusculo
% recebe o string, devolve a posicao
%
FUNCTION {find.first.uppercase.char}
{
	's :=
	#1 'j :=
	#1 'i :=
	{
		s i #1 substring$ 't :=
		t "" = not
		t is.uppercase.char not
		and
	}
	{
		i #1 + 'i :=
		t "\" = not
		t "{" = not
		and
		t "}" = not
		and
			{i 'j :=}
			'skip$
		if$
	} while$
	t "" =
		{#1}
		{j}
	if$
}

%
% extrai o primeiro numero que aparece no string passado na pilha,
% retornando-o; se nao ha' numero, retorna ""
%
FUNCTION {extract.first.number}
{
	's :=
	"" 't :=
	#1 'i :=
	{
		s i #1 substring$
		duplicate$ is.numeric.char not
		swap$ "" = not
		and
	}
	{
		i #1 + 'i :=
	} while$
	{s i #1 substring$ is.numeric.char}
	{
		t s i #1 substring$ * 't :=
		i #1 + 'i :=
	} while$
	t
}

%
% divide um string em dois
% recebe o string e a posicao
% devolve a primeira e a segunda parte
FUNCTION {split.string}
{
	swap$ 's :=
	duplicate$
	s swap$ #1 swap$ #1 - substring$
	swap$ s swap$ global.max$ substring$
}

%
% recebe o titulo original e devolve, na ordem, o tipo de proceedings e o
% restante do titulo
%
FUNCTION {extract.proceedings.type}
{
	's :=
	type empty$ not
		{type s}
		{"dummy"
	pop$ s #1 #11 substring$ duplicate$ "Proceedings" =
		{s #12 global.max$ substring$}{
	pop$ s #1 #5 substring$ duplicate$ "Proc." =
		{pop$ "Proceedings" s #6 global.max$ substring$}{
	pop$ s #1 #22 substring$ duplicate$ "Conference Proceedings" =
		{pop$ "Proceedings" s #23 global.max$ substring$}{
	pop$ s #1 #6 substring$ duplicate$ "Annals" =
		{s #7 global.max$ substring$}{
	pop$ s #1 #5 substring$ duplicate$ "Actas" =
		{s #6 global.max$ substring$}{
	pop$ s #1 #5 substring$ duplicate$ "Anais" =
		{s #6 global.max$ substring$}{
	pop$ s #1 #6 substring$ duplicate$ "Anales" =
		{s #7 global.max$ substring$}{
	pop$ s #1 #8 substring$ duplicate$ "Memorias" =
		{s #9 global.max$ substring$}{
	pop$ s #1 #22 substring$ duplicate$ "Trabajos Seleccionados" =
		{s #23 global.max$ substring$}{
	pop$ s #1 #11 substring$ duplicate$ "Tagungsband" =
		{s #12 global.max$ substring$}
		{pop$ "Anais" s} if$
	} if$
	} if$
	} if$
	} if$
	} if$
	} if$
	} if$
	} if$
	} if$
	} if$
}

%==============================================================================
% Converte um booktitle do tipo "Proc. of XXX" no padrao ABNT
% Recebe na pilha o titulo original
% Devolve na pilha, na ordem:
% - o tipo de publicacao
% - o titulo ja' formatado (em maiusculas e com a edicao)
%==============================================================================
FUNCTION {process.proceedings.booktitle}
{
	extract.proceedings.type
	duplicate$ find.first.uppercase.char split.string "u" change.case$
	swap$ extract.first.number
	duplicate$ empty$
		'pop$
		{", " swap$ * * "." *}
	if$
}

%==============================================================================
% Estas funcoes formatam partes comuns a varios tipos de referencia.
%==============================================================================
FUNCTION {format.publication}
{
	""
	address empty$
		{
			%"[S.l."
			%format.publisher empty$
			%	{":~s.n.]" *}
			%	{"]: " format.publisher * *}
			%if$ add.year add.to.item
		}
		{
			format.address
			format.publisher empty$
				{": [s.n.]" *}
				{": " format.publisher * *}
			if$ add.year add.to.item
		}
	if$
}

FUNCTION {format.proceedings.publication}
{
	publisher empty$
		{
			%"[S.l.:~s.n.]"
			organization empty$ {""} {organization} if$
		}
		{publisher comma.to.colon}
	if$ add.year
}

FUNCTION {format.misc.publication}
{
	publisher empty$ {
		format.address add.year
	}{
		format.publication
	} if$
}

FUNCTION {format.series.info}
{
	"(" format.series *
	add.volume ")" *
}

FUNCTION {format.complementary.data.with.totalpages}
{
	"" format.totalpages add.to.item
	""
	series empty$
		{add.volume add.number add.to.item}
		{add.number add.to.item format.series.info add.to.item}
	if$
}

FUNCTION {format.complementary.data.with.page.range}
{
	""
	series empty$
		{add.volume add.number add.pages}
		{"" add.number add.pages add.to.item format.series.info add.to.item}
	if$
}

%
% esta funcao recebe o titulo a ser formatado
%
FUNCTION {format.proceedings.booktitle}
{
	process.proceedings.booktitle "" swap$ add.address add.to.item
	swap$ "{\ldots}" * emphasize " " swap$ * *
}

%==============================================================================
% Formatacao das entradas
%==============================================================================
FUNCTION {article}
{
	""
	format.author add.to.item
	#0 title format.title add.to.item
	journal emphasize
		address empty$ {
			%"[S.l.]" add.to.list
		}{
			add.address
		} if$
		add.volume add.number add.pages add.month.year add.to.item
	format.note add.to.item
	
	%% === BATATA
	format.url add.to.item
	format.urldate add.to.item
	format.doi add.to.item
	%% ===

	write.item
}

FUNCTION {book}
{
	""
	editor empty$
		{format.author}
		{format.editor}
	if$ add.to.item
	#1 title format.title add.to.item
	%% === BATATA
	format.year add.to.item
	format.edition add.to.item
	format.publisher add.to.item
	%% ===
	format.publication add.to.item
	format.complementary.data.with.totalpages add.to.item
	format.note add.to.item
	%% === BATATA
	format.url add.to.item
	format.urldate add.to.item
	%format.isbn add.to.item
	%% ===
	write.item
}

FUNCTION {inbook}
{
	""
	editor empty$
		{format.author}
		{format.editor}
	if$ add.to.item
	#1 title format.title add.to.item
	format.edition add.to.item
	format.publication add.to.item
	format.complementary.data.with.page.range add.to.item
	format.note add.to.item
	%% === BATATA
	format.url add.to.item
	format.urldate add.to.item
	%% ===
	write.item
}

FUNCTION {incollection}
{
	""
	format.author add.to.item
	#0 title format.title add.to.item
	"In:"
		editor empty$
			'skip$
			{format.editor add.to.item}
		if$ 
		#1 booktitle format.title add.to.item add.to.item
	format.edition add.to.item
	format.publication add.to.item
	format.complementary.data.with.page.range add.to.item
	format.note add.to.item
	%% === BATATA
	format.url add.to.item
	format.urldate add.to.item
	%format.doi add.to.item
	%% ===
	write.item
}

FUNCTION {inproceedings}
{
	""
	format.author add.to.item
	#0 title format.title add.to.item
	" In: " booktitle format.proceedings.booktitle * *
	format.proceedings.publication add.to.item
	format.complementary.data.with.page.range add.to.item
	format.note add.to.item
	%% === BATATA
	format.url add.to.item
	format.urldate add.to.item
	%format.doi add.to.item
	%format.issn add.to.item
	%% ===
	write.item
}

FUNCTION {manual}
{
	""
	author empty$
		{format.entrytitle add.to.item}
		{
			format.author add.to.item
			#1 title format.title add.to.item
		}
	if$

	format.edition add.to.item
	format.publication add.to.item
	format.complementary.data.with.totalpages add.to.item
	format.note add.to.item
	%% === BATATA
	format.url add.to.item
	format.urldate add.to.item
	%% ===
	write.item
}

FUNCTION {misc}
{
	""
	author empty$
		{
			title empty$
				'skip$
				{format.entrytitle add.to.item}
			if$
		}
		{
			format.author add.to.item
			title empty$
				'skip$
				{#1 title format.title add.to.item}
			if$
		}
	if$
	note empty$ {
		format.misc.publication add.to.item
		format.complementary.data.with.totalpages add.to.item
	}{
		format.note add.howpublished add.to.item
	} if$
	%% === BATATA
	format.url add.to.item
	format.urldate add.to.item
	%format.doi add.to.item
	%% ===
	write.item
}

FUNCTION {mastersthesis}
{
	""
	format.author add.to.item
	#1 title format.title add.to.item
	format.year add.to.item
	format.totalpages add.to.item
	str:mastersthesis format.type format.publisher * %% === BATATA
	add.address add.to.item
	format.note add.to.item
	format.parenthised.number add.to.item
	%% === BATATA
	format.institution add.to.item
	format.location add.to.item	
	format.url add.to.item
	format.urldate add.to.item
	%% ===
	write.item
}

FUNCTION {phdthesis}
{
	""
	format.author add.to.item
	#1 title format.title add.to.item
	format.year add.to.item
	format.totalpages add.to.item
	str:phdthesis format.type format.publisher * %% === BATATA
		add.address add.to.item
	format.note add.to.item
	format.parenthised.number add.to.item
	%% === BATATA
	format.institution add.to.item
	format.location add.to.item	
	format.url add.to.item
	format.urldate add.to.item
	%% ===
	write.item
}

FUNCTION {proceedings}
{
	""
	title format.proceedings.booktitle *
	format.proceedings.publication add.to.item
	format.complementary.data.with.page.range add.to.item
	format.note add.to.item
	%% === BATATA
	format.url add.to.item
	format.urldate add.to.item
	%format.doi add.to.item
	%% ===
	write.item
}

FUNCTION {techreport}
{
	""
	format.author add.to.item
	#1 title format.title add.to.item
	format.publication add.to.item
	type empty$
		{""}
		{type}
	if$ add.note add.to.item
	format.parenthised.number add.to.item
	%% === BATATA
	format.url add.to.item
	format.urldate add.to.item
	%% ===
	write.item
}

FUNCTION {booklet} {misc}
FUNCTION {unpublished} {misc}
FUNCTION {online} {misc}
FUNCTION {default.type} {misc}

%==============================================================================
% Inicializa algumas variaveis globais
%==============================================================================
FUNCTION {init}
{
	"" 'last.label :=
	"b" 'current.letter :=
}

%==============================================================================
% Retorna na pilha o string a ser usado para a ordenacao das entradas.
%==============================================================================
FUNCTION {get.sortstring}
{
	author empty$ not {format.author " AAA" *}{
	editor empty$ not {format.editor " AAA" *}{
	title empty$ not {title}{
	note empty$ not {note}{
	key empty$ not {key}{
	"???"
	} if$
	} if$
	} if$
	} if$
	} if$

	type$ "inbook" =
	booktitle empty$ not
	and
		{
			booktitle title = not
				{pop$ title}
				'skip$
			if$
		}
		'skip$
	if$

	type$ "proceedings" = {
		pop$
		title process.proceedings.booktitle
		swap$ pop$
	}
		'skip$
	if$
	purify$ "l" change.case$
}

%==============================================================================
% Define as ``keys'' para ordenacao
%==============================================================================
FUNCTION {set.sortkeys}
{
	get.sortstring
	format.year *
	#1 entry.max$ substring$
	#1 global.max$ substring$
	'sort.key$ :=
}

%==============================================================================
% Ajusta os labels, adicionando letras minusculas aos labels de mesmo autor e
% ano
%==============================================================================
FUNCTION {adjust.label}
{
        last.label
        label 'last.label :=
        label = {
                current.letter 'year.char :=
                current.letter chr.to.int$
                #1 + int.to.chr$
                'current.letter :=
        }{
		"" 'year.char :=
                "b" 'current.letter :=
	} if$
}
FUNCTION {reverse.adjust.label}
{
        last.year.char "b" = {
		"a" 'year.char :=
	}
		'skip$
	if$
        year.char 'last.year.char :=
}

%==============================================================================
% Retorna na pilha o string a ser usado para a construcao do label. Quase sempre
% sera' o sobrenome do primeiro autor, mas para alguns tipos de referencia pode
% ser o editor, a entidade ou o titulo
%==============================================================================
FUNCTION {get.labelstring}
{
	author empty$ not
		{author format.family.names}
		{
			editor empty$ not
				{editor format.family.names}
				{
					title empty$ not
						{title "u" change.case$}
						{
							key empty$ not
								{key}
								{"???"}
							if$
						}
					if$
				}
			if$
		}
	if$

	type$ "inbook" =
	booktitle empty$ not
	and
		{
			booktitle title = not
				{pop$ title "u" change.case$}
				'skip$
			if$
		}
		'skip$
	if$
}

%==============================================================================
% Retorna na pilha o string a ser usado para a construcao do label. Quase sempre
% sera' o sobrenome do primeiro autor, mas para alguns tipos de referencia pode
% ser o editor, a entidade ou o titulo
%
% esta versao retorna os nomes completos
%==============================================================================
FUNCTION {get.labelstring.all}
{
	author empty$ not
		{author format.family.names.all}
		{
			editor empty$ not
				{editor format.family.names.all}
				{
					title empty$ not
						{title "u" change.case$}
						{
							key empty$ not
								{key}
								{"???"}
							if$
						}
					if$
				}
			if$
		}
	if$

	type$ "inbook" =
	booktitle empty$ not
	and
		{
			booktitle title = not
				{pop$ title "u" change.case$}
				'skip$
			if$
		}
		'skip$
	if$
}

%==============================================================================
% Construção dos labels
%==============================================================================
FUNCTION {prepare.label.sorting}
{
	get.labelstring.all format.year *
	duplicate$ 'label := 'sort.key$ :=
}
FUNCTION {make.label}
{
	get.labelstring
	"(" *
	year empty$ {
		"????"
	}{
		year year.char *
	} if$ *
	")" *
	get.labelstring.all *
	#1 entry.max$ substring$
	#1 global.max$ substring$
	'label :=
}

%==============================================================================
% Inicia a definicao das referencias
%==============================================================================
FUNCTION {begin.bib}
{
	preamble$ empty$
		'skip$
		{preamble$ write$ newline$ newline$}
	if$
	"\begin{thebibliography}{\hspace{\parindent}}" write$ newline$
	newline$
}

%==============================================================================
% Termina a definicao das referencias
%==============================================================================
FUNCTION {end.bib}
{
	"\end{thebibliography}" write$ newline$
}

%==============================================================================
% main()
%==============================================================================
READ
EXECUTE {init}
ITERATE {prepare.label.sorting}
SORT
ITERATE {adjust.label}
REVERSE {reverse.adjust.label}
ITERATE {make.label}
ITERATE {set.sortkeys}
SORT
EXECUTE {begin.bib}
ITERATE {call.type$}
EXECUTE {end.bib}
Exemplos/Input_Exemplos_Figuras_Parte1.tex · 4 KB
%% =============================
%%      IMPORTANTE
%% ESTE ARQUIVO DEVE ESTAR SALVO COMO
%%      UTF - 8
%% =============================

% ----------------------------------------------------------
% Este capítulo é parte integrante do arquivo mestre
% Relatorio_TCC_Mestrado_Base_VERSÃO_SUBVERSÃO_FHZ
% ----------------------------------------------------------


\begin{figure}[!htb]
	\figIncLongCap{keepaspectratio, width = 0.1\linewidth, trim = 0cm 0cm 0cm 0cm, clip = true}
	{logo_ufabc}
	{Figura de exemplo 1.}
	\label{fig_exemplo_1}\\
	\Fonte{UFABC}
\end{figure}

\begin{figure}[!htb]
	\figIncLongCap{keepaspectratio, width = 0.1\linewidth, trim = 0cm 0cm 0cm 0cm, clip = true}
	{logo_ufabc}
	{Figura de exemplo 2.}
	\label{fig_exemplo_2}\\
	\Fonte{UFABC}
\end{figure}

\begin{figure}[!htb]
	\figIncLongCap{keepaspectratio, width = 0.1\linewidth, trim = 0cm 0cm 0cm 0cm, clip = true}
	{logo_ufabc}
	{Figura de exemplo 3.}
	\label{fig_exemplo_3}\\
	\Fonte{UFABC}
\end{figure}

\begin{figure}[!htb]
	\figIncLongCap{keepaspectratio, width = 0.1\linewidth, trim = 0cm 0cm 0cm 0cm, clip = true}
	{logo_ufabc}
	{Figura de exemplo 4.}
	\label{fig_exemplo_4}\\
	\Fonte{UFABC}
\end{figure}

\begin{figure}[!htb]
	\figIncLongCap{keepaspectratio, width = 0.1\linewidth, trim = 0cm 0cm 0cm 0cm, clip = true}
	{logo_ufabc}
	{Figura de exemplo 5.}
	\label{fig_exemplo_5}\\
	\Fonte{UFABC}
\end{figure}

\begin{figure}[!htb]
	\figIncLongCap{keepaspectratio, width = 0.1\linewidth, trim = 0cm 0cm 0cm 0cm, clip = true}
	{logo_ufabc}
	{Figura de exemplo 6.}
	\label{fig_exemplo_6}\\
	\Fonte{UFABC}
\end{figure}

\begin{figure}[!htb]
	\figIncLongCap{keepaspectratio, width = 0.1\linewidth, trim = 0cm 0cm 0cm 0cm, clip = true}
	{logo_ufabc}
	{Figura de exemplo 7.}
	\label{fig_exemplo_7}\\
	\Fonte{UFABC}
\end{figure}

\begin{figure}[!htb]
	\figIncLongCap{keepaspectratio, width = 0.1\linewidth, trim = 0cm 0cm 0cm 0cm, clip = true}
	{logo_ufabc}
	{Figura de exemplo 8.}
	\label{fig_exemplo_8}\\
	\Fonte{UFABC}
\end{figure}

\begin{figure}[!htb]
	\figIncLongCap{keepaspectratio, width = 0.1\linewidth, trim = 0cm 0cm 0cm 0cm, clip = true}
	{logo_ufabc}
	{Figura de exemplo 9.}
	\label{fig_exemplo_9}\\
	\Fonte{UFABC}
\end{figure}

\begin{figure}[!htb]
	\figIncLongCap{keepaspectratio, width = 0.1\linewidth, trim = 0cm 0cm 0cm 0cm, clip = true}
	{logo_ufabc}
	{Figura de exemplo 10.}
	\label{fig_exemplo_10}\\
	\Fonte{UFABC}
\end{figure}

\begin{figure}[!htb]
	\figIncLongCap{keepaspectratio, width = 0.1\linewidth, trim = 0cm 0cm 0cm 0cm, clip = true}
	{logo_ufabc}
	{Figura de exemplo 11.}
	\label{fig_exemplo_11}\\
	\Fonte{UFABC}
\end{figure}

\begin{figure}[!htb]
	\figIncLongCap{keepaspectratio, width = 0.1\linewidth, trim = 0cm 0cm 0cm 0cm, clip = true}
	{logo_ufabc}
	{Figura de exemplo 12.}
	\label{fig_exemplo_12}\\
	\Fonte{UFABC}
\end{figure}

\begin{figure}[!htb]
	\figIncLongCap{keepaspectratio, width = 0.1\linewidth, trim = 0cm 0cm 0cm 0cm, clip = true}
	{logo_ufabc}
	{Figura de exemplo 13.}
	\label{fig_exemplo_13}\\
	\Fonte{UFABC}
\end{figure}

\begin{figure}[!htb]
	\figIncLongCap{keepaspectratio, width = 0.1\linewidth, trim = 0cm 0cm 0cm 0cm, clip = true}
	{logo_ufabc}
	{Figura de exemplo 14.}
	\label{fig_exemplo_14}\\
	\Fonte{UFABC}
\end{figure}

\begin{figure}[!htb]
	\figIncLongCap{keepaspectratio, width = 0.1\linewidth, trim = 0cm 0cm 0cm 0cm, clip = true}
	{logo_ufabc}
	{Figura de exemplo 15.}
	\label{fig_exemplo_15}\\
	\Fonte{UFABC}
\end{figure}

\begin{figure}[!htb]
	\figIncLongCap{keepaspectratio, width = 0.1\linewidth, trim = 0cm 0cm 0cm 0cm, clip = true}
	{logo_ufabc}
	{Figura de exemplo 16.}
	\label{fig_exemplo_16}\\
	\Fonte{UFABC}
\end{figure}

\begin{figure}[!htb]
	\figIncLongCap{keepaspectratio, width = 0.1\linewidth, trim = 0cm 0cm 0cm 0cm, clip = true}
	{logo_ufabc}
	{Figura de exemplo 17.}
	\label{fig_exemplo_17}\\
	\Fonte{UFABC}
\end{figure}

\begin{figure}[!htb]
	\figIncLongCap{keepaspectratio, width = 0.1\linewidth, trim = 0cm 0cm 0cm 0cm, clip = true}
	{logo_ufabc}
	{Figura de exemplo 18.}
	\label{fig_exemplo_18}\\
	\Fonte{UFABC}
\end{figure}

\begin{figure}[!htb]
	\figIncLongCap{keepaspectratio, width = 0.1\linewidth, trim = 0cm 0cm 0cm 0cm, clip = true}
	{logo_ufabc}
	{Figura de exemplo 19.}
	\label{fig_exemplo_19}\\
	\Fonte{UFABC}
\end{figure}


% ----------------------------------------------------------
% Fim Arquivo
Exemplos/Input_Exemplos_Figuras_Parte2.tex · 2 KB
%% =============================
%%      IMPORTANTE
%% ESTE ARQUIVO DEVE ESTAR SALVO COMO
%%      UTF - 8
%% =============================

% ----------------------------------------------------------
% Este capítulo é parte integrante do arquivo mestre
% Relatorio_TCC_Mestrado_Base_VERSÃO_SUBVERSÃO_FHZ
% ----------------------------------------------------------


\begin{figure}[!htb]
	\figIncLongCap{keepaspectratio, width = 0.1\linewidth, trim = 0cm 0cm 0cm 0cm, clip = true}
	{logo_ufabc}
	{Figura de exemplo 20.}
	\label{fig_exemplo_20}\\
	\Fonte{UFABC}
\end{figure}

\begin{figure}[!htb]
	\figIncLongCap{keepaspectratio, width = 0.1\linewidth, trim = 0cm 0cm 0cm 0cm, clip = true}
	{logo_ufabc}
	{Figura de exemplo 21.}
	\label{fig_exemplo_21}\\
	\Fonte{UFABC}
\end{figure}

\begin{figure}[!htb]
	\figIncLongCap{keepaspectratio, width = 0.1\linewidth, trim = 0cm 0cm 0cm 0cm, clip = true}
	{logo_ufabc}
	{Figura de exemplo 22.}
	\label{fig_exemplo_22}\\
	\Fonte{UFABC}
\end{figure}

\begin{figure}[!htb]
	\figIncLongCap{keepaspectratio, width = 0.1\linewidth, trim = 0cm 0cm 0cm 0cm, clip = true}
	{logo_ufabc}
	{Figura de exemplo 23.}
	\label{fig_exemplo_23}\\
	\Fonte{UFABC}
\end{figure}

\begin{figure}[!htb]
	\figIncLongCap{keepaspectratio, width = 0.1\linewidth, trim = 0cm 0cm 0cm 0cm, clip = true}
	{logo_ufabc}
	{Figura de exemplo 24.}
	\label{fig_exemplo_24}\\
	\Fonte{UFABC}
\end{figure}

\begin{figure}[!htb]
	\figIncLongCap{keepaspectratio, width = 0.1\linewidth, trim = 0cm 0cm 0cm 0cm, clip = true}
	{logo_ufabc}
	{Figura de exemplo 25.}
	\label{fig_exemplo_25}\\
	\Fonte{UFABC}
\end{figure}

\begin{figure}[!htb]
	\figIncLongCap{keepaspectratio, width = 0.1\linewidth, trim = 0cm 0cm 0cm 0cm, clip = true}
	{logo_ufabc}
	{Figura de exemplo 26.}
	\label{fig_exemplo_26}\\
	\Fonte{UFABC}
\end{figure}

\begin{figure}[!htb]
	\figIncLongCap{keepaspectratio, width = 0.1\linewidth, trim = 0cm 0cm 0cm 0cm, clip = true}
	{logo_ufabc}
	{Figura de exemplo 27.}
	\label{fig_exemplo_27}\\
	\Fonte{UFABC}
\end{figure}

\begin{figure}[!htb]
	\figIncLongCap{keepaspectratio, width = 0.1\linewidth, trim = 0cm 0cm 0cm 0cm, clip = true}
	{logo_ufabc}
	{Figura de exemplo 28.}
	\label{fig_exemplo_28}\\
	\Fonte{UFABC}
\end{figure}

\begin{figure}[!htb]
	\figIncLongCap{keepaspectratio, width = 0.1\linewidth, trim = 0cm 0cm 0cm 0cm, clip = true}
	{logo_ufabc}
	{Figura de exemplo 29.}
	\label{fig_exemplo_29}\\
	\Fonte{UFABC}
\end{figure}


% ----------------------------------------------------------
% Fim Arquivo
NewCommands/Input_NewCommand.tex · 2 KB
%% =============================
%%      IMPORTANTE
%% ESTE ARQUIVO DEVE ESTAR SALVO COMO
%%      UTF - 8
%% =============================

% ----------------------------------------------------------
% Este capítulo é parte integrante do arquivo mestre
% Relatorio_TCC_Mestrado_Base_VERSÃO_SUBVERSÃO
% ----------------------------------------------------------

%==== Novos comandos para escrever nomes pré-formatados
%---
\newcommand{\ufabcFHZ}
{\textbf{\textit{ufabcFHZh.cls}}}
%---
\newcommand{\abntFHZ}
{\textbf{\textit{abntFHZ5.bst}}}
%---
\newcommand{\Fonte}[1]
{{\footnotesize Fonte: #1.}}
%---
\newcommand{\Oautor}
{O autor}
%---
\newcommand{\matlab}
%{Matlab$^\circledR$}
{Matlab\textsuperscript{\textregistered}}
%---
\newcommand{\simulink}
{Simulink\textsuperscript{\textregistered}}
%---
\newcommand{\matlabsimulink}
{Matlab/Simulink\textsuperscript{\textregistered}}
%---
\newcommand{\arduino}
{Arduino\textsuperscript{\textregistered}}
%---
\newcommand{\arduinomega}
{Arduino\textsuperscript{\textregistered} Mega}

%---
\newcommand{\DINAMA}
{\textit{DINAMA}}
%---
\newcommand{\excel}
{Excel\textsuperscript{\textregistered}}
%---
\newcommand{\projetoDaniel}
{\textit{Projeto Daniel}}
%---
\newcommand{\notimpossiblenow}
{\textit{Not Impossible\textsuperscript{Now}}}
%---
\newcommand{\caltech}
{\textit{Caltech}}
%====

% ----------------------------------------- 
% Formas de uso de condicional ifthenelse / toogle para selecionar cores de links
% -----------------------------------------
% http://alvinalexander.com/blog/post/latex/two-simple-examples-using-latex-ifthen-package
% http://tex.stackexchange.com/questions/5894/latex-conditional-expression
% -----------------------------------------
\usepackage{etoolbox} 		% Permite o uso de \newtoggle para criar desvios de fluxo
%---
\newtoggle{LinksComCores} 	% Opção para selecionar entre links sem cores ou coloridos
% ===
% -----------------------------------------

% ----------------------------------------------------------
% Fim Arquivo
NewCommands/Input_NewCommand_Figures.tex · 4 KB
%% =============================
%%      IMPORTANTE
%% ESTE ARQUIVO DEVE ESTAR SALVO COMO
%%      UTF - 8
%% =============================

% ----------------------------------------------------------
% Este capítulo é parte integrante do arquivo mestre
% Relatorio_TCC_Mestrado_Base_VERSÃO_SUBVERSÃO
% Formatos com \caption acima do \includegraphics conforme ABNT
% ----------------------------------------------------------

% -----------------------------------------
% Metodologia
%
% A ideia é utilizar a mesma sequência de entrada ter a opção de trocar a posição conforme a necessidade
% 
% O comando deve ser usado dentro do ambiente {figure} de forma que o comando \label{key} esteja dentro do ambiente e permita a melhor localização pelo editor LaTeX
%
% Forma de uso
%
% --------------------- Figuras Simples
%	\begin{figure}[H]
%		\figNameCommand{options includegraphics}{filename with path}{caption}
%		\label{label_figure_1}
%	\end{figure}
%
% --------------------- Figuras Compostas
%	\begin{figure}[H]
%		\figCapTwoSubfigInc{caption geral}
%		{subcaption (a) }
%		{width = 7cm, height = 6cm, trim = 0cm 0cm 0cm 0cm, clip = true}
%		{figure with path}
%		{subcaption (b) }
%		{width = 7cm, height = 6cm, trim = 0cm 0cm 0cm 0cm, clip = true}
%		{figure with path}
%		\label{fig_label}
%	\end{figure}
%
% --------------------- Comando Trim
% trim = left bottom right top
% -----------------------------------------

% -----------------------------------------
% Comandos para Figuras Simples
% -----------------------------------------
\newcommand{\figIncLongCap}[3]
{ 	
	\centering
	\caption{#3}
	\includegraphics[#1]{#2}
}

\newcommand{\figIncShortCap}[4]
{ 	
	\centering
	\caption[#4]{#3}
	\includegraphics[#1]{#2}
}

% -----------------------------------------
% Comandos para Figuras Duplas Com Subfigures
% -----------------------------------------
\newcommand{\figTwoSubfigIncLongCap}[7]
{ 	
	\centering
	\caption{#7}
	\subfigure[#1]
	{\includegraphics[#2]{#3}}
	\quad
	\subfigure[#4]
	{\includegraphics[#5]{#6}}
}

\newcommand{\figTwoSubfigIncShortCap}[8]
{ 	
	\centering
	\caption[#8]{#7}
	\subfigure[#1]
	{\includegraphics[#2]{#3}}
	\quad
	\subfigure[#4]
	{\includegraphics[#5]{#6}}
}

% -----------------------------------------
% Comandos para Figuras Triplas em Cascata Com Subfigures
% -----------------------------------------
\newcommand{\figThreeSubfigIncCap}[4]
{ 	
	\centering
	\SubfigSubcapSubfigInc{#1}
	\quad
	\SubfigSubcapSubfigInc{#2}
	\quad
	\SubfigSubcapSubfigInc{#3}
	\quad
	\caption{#4}
}

% -----------------------------------------
% Comandos Base para Figuras Múltiplas em Cascata Com Subfigures
% -----------------------------------------
\newcommand{\SubfigcapSubfigInc}[3]
{ 	
	\subfigure[#1]
	{\includegraphics[#2]{#3}} 
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% ===== Magno old versions ===== %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% -----------------------------------------
% Comandos para Figuras Duplas sem Subfigure
% -----------------------------------------
\newcommand{\figDob}[5]
{   
	\centering
	\caption{#5}
	\includegraphics[#1]{#2}
	\includegraphics[#3]{#4} \\
	\vspace*{0.2cm}
	(a) \hspace{6.5cm} (b)
}

% -----------------------------------------
% Comandos para Figuras Triplas sem Subfigure
% -----------------------------------------
\newcommand{\figTre}[7]
{   
	\centering
	\caption{#7}
	\includegraphics[#1]{#2}
	\includegraphics[#3]{#4} \\
	\vspace*{0.2cm}
	(a) \hspace{6.5cm} (b) \\
	\includegraphics[#5]{#6} \\
	\vspace*{0.2cm}
	(c)
}

\newcommand{\figTreV}[7]
{   
	\centering
	\caption{#7}
	\includegraphics[#1]{#2}
	\includegraphics[#3]{#4}
	\includegraphics[#5]{#6}   \\
	\vspace*{0.2cm}
	(a) \hspace{4.cm} (b) \hspace{4.cm} (c)
}
% ----------------------------------------------------------
% Fim Arquivo
NewCommands/Input_NewCommand_Figures_for_IEEE.tex · 4 KB
%% =============================
%%      IMPORTANTE
%% ESTE ARQUIVO DEVE ESTAR SALVO COMO
%%      UTF - 8
%% =============================

% ----------------------------------------------------------
% Este capítulo é parte integrante do arquivo mestre
% Relatorio_TCC_Mestrado_Base_VERSÃO_SUBVERSÃO
% Formatos com \caption acima do \includegraphics conforme todos exceto ABNT, e.g., IEEE
% ----------------------------------------------------------

% -----------------------------------------
% Metodologia
%
% A ideia é utilizar a mesma sequência de entrada ter a opção de trocar a posição conforme a necessidade
% 
% O comando deve ser usado dentro do ambiente {figure} de forma que o comando \label{key} esteja dentro do ambiente e permita a melhor localização pelo editor LaTeX
%
% Forma de uso
%
% --------------------- Figuras Simples
%	\begin{figure}[H]
%		\figNameCommand{options includegraphics}{filename with path}{caption}
%		\label{label_figure_1}
%	\end{figure}
%
% --------------------- Figuras Compostas
%	\begin{figure}[H]
%		\figCapTwoSubfigInc{caption geral}
%		{subcaption (a) }
%		{width = 7cm, height = 6cm, trim = 0cm 0cm 0cm 0cm, clip = true}
%		{figure with path}
%		{subcaption (b) }
%		{width = 7cm, height = 6cm, trim = 0cm 0cm 0cm 0cm, clip = true}
%		{figure with path}
%		\label{fig_label}
%	\end{figure}
%
% --------------------- Comando Trim
% trim = left bottom right top
% -----------------------------------------

% -----------------------------------------
% Comandos para Figuras Simples
% -----------------------------------------
\newcommand{\figIncLongCap}[3]
{ 	
	\centering
	\includegraphics[#1]{#2}
	\caption{#3}
}

\newcommand{\figIncShortCap}[4]
{ 	
	\centering
	\includegraphics[#1]{#2}
	\caption[#4]{#3}
}

% -----------------------------------------
% Comandos para Figuras Duplas Com Subfigures
% -----------------------------------------
\newcommand{\figTwoSubfigIncLongCap}[7]
{ 	
	\centering
	\subfigure[#1]
	{\includegraphics[#2]{#3}}
	\quad
	\subfigure[#4]
	{\includegraphics[#5]{#6}}
	\caption{#7}
}

\newcommand{\figTwoSubfigIncShortCap}[8]
{ 	
	\centering
	\subfigure[#1]
	{\includegraphics[#2]{#3}}
	\quad
	\subfigure[#4]
	{\includegraphics[#5]{#6}}
	\caption[#8]{#7}
}

% -----------------------------------------
% Comandos para Figuras Triplas em Cascata Com Subfigures
% -----------------------------------------
\newcommand{\figThreeSubfigIncCap}[4]
{ 	
	\centering
	\SubfigSubcapSubfigInc{#1}
	\quad
	\SubfigSubcapSubfigInc{#2}
	\quad
	\SubfigSubcapSubfigInc{#3}
	\quad
	\caption{#4}
}

% -----------------------------------------
% Comandos Base para Figuras Múltiplas em Cascata Com Subfigures
% -----------------------------------------
\newcommand{\SubfigcapSubfigInc}[3]
{ 	
	\subfigure[#1]
	{\includegraphics[#2]{#3}} 
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% ===== Magno old versions ===== %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% -----------------------------------------
% Comandos para Figuras Duplas sem Subfigure
% -----------------------------------------
\newcommand{\figDob}[5]
{   
	\centering
	\includegraphics[#1]{#2}
	\includegraphics[#3]{#4} \\
	\vspace*{0.2cm}
	(a) \hspace{6.5cm} (b) %\\
	\caption{#5}
}

% -----------------------------------------
% Comandos para Figuras Triplas sem Subfigure
% -----------------------------------------
\newcommand{\figTre}[7]
{   
	\centering
	\includegraphics[#1]{#2}
	\includegraphics[#3]{#4} \\
	\vspace*{0.2cm}
	(a) \hspace{6.5cm} (b) \\
	\includegraphics[#5]{#6} \\
	\vspace*{0.2cm}
	(c)
	\caption{#7}
}

\newcommand{\figTreV}[7]
{   
	\centering
	\includegraphics[#1]{#2}
	\includegraphics[#3]{#4}
	\includegraphics[#5]{#6}   \\
	\vspace*{0.2cm}
	(a) \hspace{4.cm} (b) \hspace{4.cm} (c)
	\caption{#7}
}
% ----------------------------------------------------------
% Fim Arquivo
Pacotes/Input_Pacotes.tex · 6 KB
%% =============================
%%      IMPORTANTE
%% ESTE ARQUIVO DEVE ESTAR SALVO COMO
%%      UTF - 8
%% =============================

% ----------------------------------------------------------
% Este capítulo é parte integrante do arquivo mestre
% Relatorio_TCC_Mestrado_Base_VERSÃO_SUBVERSÃO
% ----------------------------------------------------------

% -----------------------------------------
% Pacotes básicos 
% -----------------------------------------
\usepackage[section]{placeins}
\usepackage{lastpage}		% Usado pela Ficha catalográfica
\usepackage{indentfirst}	% Indenta o primeiro parágrafo de cada seção.
\usepackage{color}			% Controle das cores
\usepackage{microtype} 		% Melhorias de justificação \usepackage[section]{placeins}
\usepackage{amsmath} 		% Referências de equações com parênteses automático usar \eqref
\usepackage{amssymb} 		% Símbolos matemáticos, incluindo os principais conjuntos numéricos
\usepackage{cancel}
% -----------------------------------------

% -----------------------------------------
% Pacotes gráficos
% -----------------------------------------
\usepackage{ae}
\usepackage{aecompl}
\usepackage{graphicx}	% Inclusão de gráficos
\usepackage{float} 		% Permite que eu use "H" para a figura ficar entre os parágrafos que eu quero
\usepackage{subfigure} % make it possible to include more than one captioned figure/table in a single float
%\usepackage[font=small,labelfont=bf]{caption}
\usepackage[font= footnotesize]{caption} % Reduz o tamanho de todos os ``captions''
%\usepackage{subcaption}
%\usepackage{subfloat} % make it possible to include more than one captioned 
\usepackage{epstopdf}
\usepackage{ulem}
\usepackage{nomencl}
\makenomenclature
% \usepackage{framed}
\usepackage{lipsum} % geração de texto inútil - dummy
\usepackage{morefloats}

% -----------------------------------------
% Pacotes gráficos - Formatação do título
% -----------------------------------------
% Se fncychap for adicionado como RequirePackage dentro de ufabcFHZ#.cls não gera o mesmo efeito.
\usepackage[Bjornstrup]{fncychap} % Formas elegantes de cabeçalho
%% ------------------------------------
% Referência: http://tex.stackexchange.com/questions/13357/fncychap-package-reduce-vertical-gap-space-between-header-and-chapter-heading
%% ------------------------------------
%% A única alteração feita é em ``\vspace'', por padrão será usado ``-1cm'', fica bom, maximiza o espaço  - Não é necessário editar esse trecho.
%% ------------------------------------
\makeatletter
\renewcommand*{\@makechapterhead}[1]{%
	%\vspace*{-5\p@}%
	\vspace*{-1cm}% Recuo vertical para maximizar aproveitamento da página
	{\parindent \z@ \raggedright \normalfont
		\ifnum \c@secnumdepth >\m@ne
		\if@mainmatter%%%%% Fix for frontmatter, mainmatter, and backmatter 040920
		\DOCH
		\fi
		\fi
		\interlinepenalty\@M
		\if@mainmatter%%%%% Fix for frontmatter, mainmatter, and backmatter 060424
		\DOTI{#1}%
		\else%
		\DOTIS{#1}%
		\fi
	}
}
% For the case \chapter*:
\renewcommand*{\@makeschapterhead}[1]{%
	\vspace*{-1cm}% Recuo vertical para maximizar aproveitamento da página
	{\parindent \z@ \raggedright
		\normalfont
		\interlinepenalty\@M
		\DOTIS{#1}
		\vskip 40\p@
	}
}
\makeatother
%% ------------------------------------

% -----------------------------------------
% Pacotes Ambiente de comentário
% -----------------------------------------
\usepackage{comment}

% ----------------------------------------- 
% Tabelas
% ----------------------------------------- 
\usepackage{booktabs} % for much better looking tables
\usepackage{multirow} % Permite uma célula de várias linhas
% ----------------------------------------- 

% ----------------------------------------- 
% Enumerate com letras pré-fixas
% ----------------------------------------- 
\usepackage{paralist} 		% very flexible & customisable lists (eg. enumerate/itemize, etc.)
\usepackage{enumitem}

% ----------------------------------------- 
% Equações
% ----------------------------------------- 
\usepackage{breqn} 		 % Garante quebra automático com \begin{dmath}, mesmo contador de \begin{equation}
\usepackage{array} 		 % for better arrays (eg matrices) in maths
\usepackage{subeqnarray} % Permite o use de subnumeração numa equação 1.a 1.b 1.c etc
\usepackage{cancel} 	 % Permite o corte numa simplificação de expressão:
% \cancel{expression}
% \cancelto{value}{expression}

% ----------------------------------------- 
% Links Coloridos - Com seleção de uso de cores pelo usuário no arquivo base usando \toogletrue ou \togglefalse
% ----------------------------------------- 
\usepackage[colorlinks=true,
linkcolor 		= red,
anchorcolor 	= black,
citecolor 		= green,
filecolor 		= cyan,
	% ==== Selecionando opção de links coloridos - Em parceria com comando "\newtoggle{LinksComCores}"
	\iftoggle{LinksComCores}{%
		%hidelinks
	}{%
		hidelinks
	}
	% ==== 
]{hyperref} %Pacote para hyperlinks
%hidelinks %opção para os links não serem coloridos, útil para a versão final do trabalho, também posso usar %linkcolor=black


% ----------------------------------------- 
% Links Coloridos - Com seleção de uso de cores (des)comentando "hidelinks"
%% - Este código está dentro da classe ufabcFHZ#.cls
%% - 	Ele é mantido aqui para conferência
% ----------------------------------------- 
%\usepackage[colorlinks=true,
%linkcolor 		= red,
%anchorcolor 	= black,
%citecolor 		= green,
%filecolor 		= cyan,
%hidelinks
%]{hyperref} %Pacote para hyperlinks
%%hidelinks %opção para os links não serem coloridos, útil para a versão final do trabalho, também posso usar %linkcolor=black

% ----------------------------------------- 
% Inserção de código do Matlab
% ----------------------------------------- 
\usepackage[numbered]{mcode} 		% configure listings for Matlab

%==== Pacote para url nas referências da ABNT
%\usepackage[num,abnt-url-package=url]{abntcite}
%====

% ----------------------------------------------------------
% Fim Arquivo
Pacotes/Input_Pacotes_Listings.tex · 3 KB
%% =============================
%%      IMPORTANTE
%% ESTE ARQUIVO DEVE ESTAR SALVO COMO
%%      UTF - 8
%% =============================

% ----------------------------------------------------------
% Este capítulo é parte integrante do arquivo mestre
% Relatorio_TCC_Mestrado_Base_VERSÃO_SUBVERSÃO
% ----------------------------------------------------------


%================ Pacotes para inserir código
% ----------------------------------------- 
% Inserção de código do Matlab
% ----------------------------------------- 
\usepackage[numbered]{mcode} 		% configure listings for Matlab

% Deve estar na mesma pasta que o arquivo Base do relatório
%%%% *** Bloco adicionado em mcode.sty - FHZ
% % general definitions
% \lstset{%
% extendedchars = true,
% inputencoding = latin1, % funciona com latin1
%%%% ***

% ----------------------------------------- 
% en­ables the user to type­set pro­grams (pro­gram­ming code) 
% ----------------------------------------- 
\usepackage{listings}

%%%%% ++++++ Referências e explicações:
%http://tex.stackexchange.com/questions/68356/how-to-create-conditionals-in-a-document-class-for-latex
%http://tex.stackexchange.com/questions/30512/how-to-insert-code-with-accents-with-listings
%http://tex.stackexchange.com/questions/24528/having-problems-with-listings-and-utf-8-can-it-be-fixed
%http://tex.stackexchange.com/questions/30512/how-to-insert-code-with-accents-with-listings
%http://tex.searchalleasy.com/q/30512
%http://stackoverflow.com/questions/1116266/listings-in-latex-with-utf-8-or-at-least-german-umlauts
%http://www.mathworks.com/matlabcentral/fileexchange/8015-m-code-latex-package
%%%%% ++++++ 

% ----------------------------------------- 
% --- Comando para definir estilo da \lstinputlisting
% ----------------------------------------- 
\lstset{basicstyle=\footnotesize}

% ----------------------------------------- 
% --- Comando para garantir acentuação correta para \lstinputlisting[language = C].
% ----------------------------------------- 
\lstset{literate = %
	{Ö}{{\"O}}1
	{Ä}{{\"A}}1
	{Ü}{{\"U}}1
	{ß}{{\s{s}}}1
	{ü}{{\"u}}1
	{ä}{{\"a}}1
	{ö}{{\"o}}1
	{~}{{\textasciitilde}}1
	{ã}{{\~a}}1
	{á}{{\'a}}1
	{à}{{\`a}}1
	{â}{{\^a}}1
	{é}{{\'e}}1
	{ê}{{\^e}}1
	{í}{{\'\i}}1
	{õ}{{\~o}}1
	{ó}{{\'o}}1
	{ô}{{\^o}}1
	{ú}{{\'u}}1
	{ç}{{\c c}}1
	{Ã}{{\~A}}1
	{Á}{{\'A}}1
	{À}{{\`A}}1
	{Â}{{\^A}}1
	{É}{{\'E}}1
	{Ê}{{\^E}}1
	{Í}{{\'{I}}}1
	{Õ}{{\~O}}1
	{Ó}{{\'O}}1
	{Ô}{{\^O}}1
	{Ú}{{\'U}}1
	{Ç}{{\c {C}}}1
}
%================

% ----------------------------------------------------------
% Fim Arquivo
Pre-Textuais/Include_Abv_1_0.tex · 2 KB
%%      IMPORTANTE
%% ESTE ARQUIVO DEVE ESTAR SALVO COMO
%%      UTF - 8
%% =============================

% ----------------------------------------------------------
% Este capítulo é parte integrante do arquivo mestre
% Relatorio_TCC_Mestrado_Base_VERSÃO_SUBVERSÃO_FHZ
% ----------------------------------------------------------

% --------------------------------------------------------
% Lista de Abreviaturas - em arquivo separado - inserido com "\input{file}"
% Este é um método alternativo ao que gera a lista automaticamente
% Hã o método manual, quee não possui restreabilidade, e uma variação do automático
%% ----- Manual
% O nome em \chapter{title} é o que será exibido
% O uso de {itemize} garante a melhor tabulação
%% ----- Agrupado
% Comentar \chapter{title} para não gerar folha nova
% Uso de \abbrev{}{} - necessita compilar MakeIndex
% --------------------------------------------------------

% ----------------------------------------------------------
\chapter{Lista de Abreviaturas}
% ----------------------------------------------------------

%%% ============ Agrupado ---- Se quiser apenas agrupar todos os símbolos em um único local
% Lembre-se de comentar o \chapter{Lista de Símbolos} e o ambiente \begin{itemize} abaixo
%\abbrev{\textit{e.g.}}{Por exemplo (\textit{exemplia gratia})}
%\abbrev{\textit{i.e.}}{Isto é (\textit{istum est})}
%
%\abbrev{DH}{Denavit-Hartenberg}
%%% ============ 

%%% ============ Manual ------ Se quiser inserir e controlar manualmente
\begin{itemize}

\item[IA] Inteligência Artificial
\item[SHM] Structure Health Monitoring - Monitoramento da Integridade Estrutural
\item[OCR] Optical Character Recognition - Reconhecimento Ótico de Caracteres
\item[DFT] Discrete Fourier Transform - Transformada de Fourier Discreta

\end{itemize}
%%% ============

%% ----------------------------------------------------------
%% Fim Arquivo
Pre-Textuais/Include_Sim_1_0.tex · 2 KB
%% =============================
%%      IMPORTANTE
%% ESTE ARQUIVO DEVE ESTAR SALVO COMO
%%      UTF - 8
%% =============================

% ----------------------------------------------------------
% Este capítulo é parte integrante do arquivo mestre
% Relatorio_TCC_Mestrado_Base_VERSÃO_SUBVERSÃO_FHZ
% ----------------------------------------------------------

% --------------------------------------------------------
% Lista de Símbolos - em arquivo separado - inserido com "\input{file}"
% Este é um método alternativo ao que gera a lista automaticamente
% Hã o método manual, quee não possui restreabilidade, e uma variação do automático
%% ----- Manual
% O nome em \chapter{title} é o que será exibido
% O uso de {itemize} garante a melhor tabulação
%% ----- Agrupado
% Comentar \chapter{title} para não gerar folha nova
% Uso de \symbl{}{} - necessita compilar MakeIndex
% --------------------------------------------------------

% ----------------------------------------------------------
\chapter{Lista de Símbolos}
% ----------------------------------------------------------

%%% ============ Agrupado ---- Se quiser apenas agrupar todos os símbolos em um único local
% Lembre-se de comentar o \chapter{Lista de Símbolos} e o ambiente \begin{itemize} abaixo
% \symbl{$m_1$}{Massa do bloco 1}
% \symbl{$m_2$}{Massa do bloco 2}
%%% ============ 

%%% ============ Manual ------ Se quiser inserir e controlar manualmente
\begin{itemize}
\item[$m_1$] 		Massa do bloco 1
\item[$m_2$] 		Massa do bloco 2
\end{itemize}
%%% ============

%% ----------------------------------------------------------
%% Fim Arquivo
Pre-Textuais/Input_Abs_1_0.tex · 757 B
%% =============================
%%      IMPORTANTE
%% ESTE ARQUIVO DEVE ESTAR SALVO COMO
%%      UTF - 8
%% =============================

% ----------------------------------------------------------
% Este capítulo é parte integrante do arquivo mestre
% Relatorio_TCC_Mestrado_Base_VERSÃO_SUBVERSÃO_FHZ
% ----------------------------------------------------------

% --------------------------------------------------------
% RESUMO - ABSTRACT - em arquivo separado - inserido com "\input{file}"
% --------------------------------------------------------

Abstract in English




% A linha abaixo deve ser apagada. É um gerador de texto inútil
% -------------
%------------

% ----------------------------------------------------------
% Fim Arquivo
Pre-Textuais/Input_Abs_2_0.tex · 664 B
%% =============================
%%      IMPORTANTE
%% ESTE ARQUIVO DEVE ESTAR SALVO COMO
%%      UTF - 8
%% =============================

% ----------------------------------------------------------
% Este capítulo é parte integrante do arquivo mestre
% Relatorio_TCC_Mestrado_Base_VERSÃO_SUBVERSÃO_FHZ
% ----------------------------------------------------------

% --------------------------------------------------------
% RESUMO - ABSTRACT - em arquivo separado - inserido com "\input{file}"
% --------------------------------------------------------


Abstract



%------------

% ----------------------------------------------------------
% Fim Arquivo
Pre-Textuais/Input_Agr_1_0.tex · 665 B
%% =============================
%%      IMPORTANTE
%% ESTE ARQUIVO DEVE ESTAR SALVO COMO
%%      UTF - 8
%% =============================

% ----------------------------------------------------------
% Este capítulo é parte integrante do arquivo mestre
% Relatorio_TCC_Mestrado_Base_VERSÃO_SUBVERSÃO_FHZ
% ----------------------------------------------------------

% --------------------------------------------------------
% AGRADECIMENTOS - em arquivo separado - inserido com "\input{file}"
% --------------------------------------------------------
\vspace{5 mm}

Obrigado a todos

% ----------------------------------------------------------
% Fim Arquivo
Pre-Textuais/Input_Epi_1_0.tex · 824 B
%% =============================
%%      IMPORTANTE
%% ESTE ARQUIVO DEVE ESTAR SALVO COMO
%%      UTF - 8
%% =============================

% ----------------------------------------------------------
% Este capítulo é parte integrante do arquivo mestre
% Relatorio_TCC_Mestrado_Base_VERSÃO_SUBVERSÃO_FHZ
% ----------------------------------------------------------

% --------------------------------------------------------
% EPÍGRAFE - em arquivo separado - inserido com "\input{file}"
% --------------------------------------------------------

\vspace*{\fill}
\begin{flushright}
	\textit{``A menos que todas as perdas sejam detectadas e eliminadas, o sucesso irá, sempre, tornar-se apenas um sonho'' \\
		(Taiichi Ohno)}
\end{flushright}

% ----------------------------------------------------------
% Fim Arquivo
Relatorio_TCC_Mestrado_Base_1_0_FHZ.tex — the file that is compiled · 13 KB
%% =============================
% * <[email protected]> 2018-08-09T22:36:34.296Z:
%
% ^.
%%      IMPORTANTE
%% ESTE ARQUIVO DEVE ESTAR SALVO COMO
%%      UTF - 8
%% =============================

% ----------------------------------------------------------
% Este arquivo é o arquivo mestre
% Relatorio_TCC_Mestrado_Base_VERSÃO_SUBVERSÃO_FHZ
% Ele contém as classes, formatações e pacotes usadas
% Contém as informações bases para capas e elementos não textuais
% Contém a chamada dos arquivos externos
% ----------------------------------------------------------

%% =====================================
%% The original source files were:
%%
%% coppe.dtx  (with options: `example')
%%
%% This is a sample monograph which illustrates the use of `ufabc' document
%% class and `coppe-unsrt' BibTeX style.
%% =====================================

%% ===================================== ufabcFHZ
%% Esta versão para uso da UFABC gera a classe `ufabcFHZ#.dtx'
%% 		onde # se refere a letra usada para controle das versões
%% As classes `ufabcFHZ#.cls' possuem comentários explicitando os blocos de comandos usados e o histórico das versões.
%%
%% O gerador de referências `abntFHZ#.bst' 
%% 		onde # se refere ao número usado para controle das versões
%%
%% Esta é a versão `ufabcFHZ_LaTeX_Posgrad_v05' - 09.11.2016
%% 		Organizando os arquivos em LaTeX para o trabalho, comandos personalizados e pacotes inseridos
%%
%% ufabcFHZh:
%% Author(s): FHZ - B. Eng. Fernando Henrique G. Zucatelli
%% 			  Prof. Dr. Magno Enrique Mendoza Meza
%% Collaboration(s):
%% 			  B.Eng. Reginaldo Cardoso
%% Translator(s):
%% 			  FHZ & Reginaldo
%% =====================================


% -----------------------------------------
% Classe do documento ufabcFHZh.cls
% -----------------------------------------
% ----------------------------------------- Versão econômica em português
%\documentclass[dsc]{ufabcFHZh}
% ----------------------------------------- Versão final em português
\documentclass[msc, PT, VF]{ufabcFHZh}
% ----------------------------------------- Versão econômica em inglês
%\documentclass[msc, EN]{ufabcFHZh}
% ----------------------------------------- Versão final em inglês
%\documentclass[msc, EN, VF]{ufabcFHZh}
% -----------------------------------------
% ---- Opções da classe:
%%% msc 	- Mestrado  - Dissertação
%%% dscexam	- Doutorado - Exame de Qualificação
%%% dsc 	- Doutorado - Tese
%%% -- // -- // -- Seleção de idiomas, PT é padrão em caso de vazio/omissão
%%% É necessário compilar duas vezes seguidas para atualizar o arquivo após alterar o idioma
%%% (Vazio) - Português
%%% EN - English
%%% -- // -- // -- Versão Final ou Econômica
%%% omissão - versão econômica
%%% VF 		- Versão Final
%%% A impressão da versão final deve conter os elementos pré-textuais apenas nas folhas ímpares (lado direito), exceto a ficha catalográfica que fica no verso da folha de rosto, todavia as páginas em branco devem ser contadas, e os elementos textuais e pós-textuais em ambos os lados\footnote{Guia de nornamlização pós-graduações UFABC \url{http://propg.ufabc.edu.br/wp-content/uploads/guia-normalizacao.pdf}}.
%%% 	De tal forma que a solução mais simples é sempre imprimir frente e verso
% ----

% -----------------------------------------
% Codificação - Comandos personalizados - Seleção de cores nos links - Pacotes
% -----------------------------------------
% ========= Codificação
\usepackage[T1]{fontenc}
%\usepackage[latin1]{inputenc}
\usepackage[utf8]{inputenc}
% =========
\usepackage{pgfplots}
% ========== Novos comandos para escrever nomes pré-formatados
\input{NewCommands/Input_NewCommand}
\input{NewCommands/Input_NewCommand_Figures}
%\input{NewCommands/Input_NewCommand_Figures_for_IEEE}
% ==========

% ==========  Seleção de uso de links coloridos para visualização ou sem cor para impressão final
%\toggletrue{LinksComCores} 		% Opção links COM CORES => Forma para auxiliar na escrita do relatório
\togglefalse{LinksComCores} 		% Opção links SEM CORES => Forma correta para imprimir a versão final a ser entregue
% ==========

% ========== Pacotes
\input{Pacotes/Input_Pacotes}
%\input{Pacotes/Input_Pacotes_for_IEEE}
%\input{Pacotes/Input_Pacotes_Listings}
% ========== 

% ========== Caminho das Figuras
%\graphicspath{{Figuras/}}
%\graphicspath{{Textuais/Images/Fig-Internet.JPG}}
% ========== 

% ------------------------------------------
% Cria Lista de Símbolos
% ------------------------------------------
\makelosymbols

% ------------------------------------------
% Cria Lista de Abreviações
% ------------------------------------------
\makeloabbreviations

% ------------------------------------------
% Início do documento
% ------------------------------------------
\begin{document}
	
% -----------------------------------------
% INFORMAÇÕES E DADOS - CAPA e FOLHA DE ROSTO
% -----------------------------------------

\title{Your paper}


\foreigntitle{English Title}



\author{}{Autor}



% ------- Orientador e (se houver) Coorientador
\advisor{ Prof. Dr.}{Romulo}{Gonçalves Lins}{}
\advisor{ Prof. Dr.}{Ricardo}{Gaspar}{}

% ------- Banca
\examiner{Profa. Dra.}{Marcia Maria Penteado Marchesini}{Examinadora Externa}
\examiner{Prof. Dr.}{Wilson Carlos da Silva Júnior}{Examinador Externo}
\examiner{Profa. Dra.}{Franciane Freitas Silveira}{Examinadora Interna Suplente}
\examiner{Prof. Dr.}{ Rômulo Gonçalves Lins}{Presidente}
% ------- Coordenador do curso
\coordinator{Prof.}{Dr.}{NomeCoordenador}{}
% ------ Data de entrega
\date{23}{03}{2022} % dia - mês - ano
% ------ Limite de 5 palavras chaves para ficha catalográfica
\keyword{K1}
\keyword{K2}
\keyword{K3}
\keyword{K4}
\keyword{K5}

% ------ Curso/Programa de pós-graduação
\department{EEN}
%%% ---- Opções de ``\department''  
%%% -> Edição em ufabcFHZ#.cls % *************** Cursos - Inicio
%%%	{PEB} 	- {Engenharia Biomédica}
%%%	{PEC} 	- {Engenharia Civil}
%%%	{PEE} 	- {Engenharia Elétrica}
%%%	{PEM} 	- {Engenharia Mecânica}
%%%	{PEMM} 	- {Engenharia Metalúrgica e de Materiais}
%%%	{PEN} 	- {Engenharia Nuclear}
%%%	{PENO} 	- {Engenharia Oceânica}
%%%	{PPE} 	- {Planejamento Energético}
%%%	{PEP} 	- {Engenharia de Produção}
%%%	{PEQ} 	- {Engenharia Química}
%%%	{PESC} 	- {Engenharia de Sistemas e Computação}
%%%	{PET} 	- {Engenharia de Transportes}
%  ===== Adicionado em 18.11.2015 - fonte: http://propg.ufabc.edu.br/cursos/
%%%	{BIOS} 	- {Biossistemas}
%%%	{BIOT} 	- {Biotecnociência}
%%%	{CCM} 	- {Ciência da Computação}	
%%%	{CTA}	- {Ciência e Tecnologia Ambiental}	
%%%	{CTQ} 	- {Ciência e Tecnologia/Química}	
%%%	{CHS} 	- {Ciências Humanas e Sociais}	
%%%	{EEN} 	- {Energia}	
%%%	{MEB} 	- {Engenharia Biomédica}	
%%%	{MEI} 	- {Engenharia da Informação}	
%%% {EGI} 	- {Engenharia de Instrumentação, Automação e Robótica}	
%%%	{EHFCM} - {Ensino, História e Filosofia das Ciências e Matemática}

%%%	{EDI} 	- {Evolução e Diversidade }	
%%%	{FIL} 	- {Filosofia}	
%%%	{FIS} 	- {Física}	
%%%	{MAT} 	- {Matemática}	
%%%	{NMA} 	- {Nanociências e Materiais Avançados}	
%%%	{NCG} 	- {Neurociência e Cognição}	
%%%	{PGT} 	- {Planejamento e Gestão do Território}	
%%%	{PPU} 	- {Políticas Públicas}	
%%%	%% Mestrado Profissional
%%%	{PROFMAT} - {Mestrado Profissional em Matemática em Rede Nacional}	
%%%	{MNPEF}   - {Mestrado Nacional Profissional em Ensino de Física}
%%%	%% Doutorado Acadêmico Industrial
%%%	{DAI} 	  - {Doutorado Acadêmico Industrial}

%  ===== Adicionado em 25.08.2019 - Mestrado de Gestão da Inovação
%%%	{INV} 	  - {Engenharia e Gestão da Inovação}

% ----
% ------------------------------------------
% Criar Capa
% ------------------------------------------
\maketitle

% -----------------------------
% ELEMENTOS PRÉ-TEXTUAIS
% -----------------------------
%%%%%%%%%%%================%%%%%%%%%%%
\frontmatter
%%%%%%%%%%%================%%%%%%%%%%%

% ------------------------------------------
% Dedicatória
% ------------------------------------------
\dedication{}

% ------------------------------------------
% AGRADECIMENTOS - Input externo
% ------------------------------------------
\begin{agradecimentos}
	\input{Pre-Textuais/Input_Agr_1_0}
\end{agradecimentos}
% -----------------------------------------

% -----------------------------------------
% EPÍGRAFE - Input externo
% -----------------------------------------
\begin{epigrafe}
	\input{Pre-Textuais/Input_Epi_1_0}
\end{epigrafe}
% -----------------------------------------

% -----------------------------------------
% RESUMOS - Input externo
% -----------------------------------------
% --- resumo em inglês
\begin{foreignabstract}
	\input{Pre-Textuais/Input_Abs_1_0}
\end{foreignabstract}
\keywordeng
{Fourth Industrial Revolution};
{Data-Driven Culture};
{Computer Vision systems};
{Quality control};
{Statistical process control}
% -----------------------------------------

% --- resumo em português
\begin{abstract}
	\input{Pre-Textuais/Input_Abs_2_0}
\end{abstract}
\palavrachave{Indústria 4.0};
{Cultura de Dados};
{Sistemas de visão computacional};
{Qualidade};
{Controle estatístico de processo}

% -----------------------------------------
% Inserir Lista de Figuras
% -----------------------------------------
\listoffigures


% -----------------------------------------
% Inserir lista de Tabelas
% -----------------------------------------
\listoftables
% -----------------------------------------
% Inserir lista de símbolos e abreviações
% -----------------------------------------
\printloabbreviations
\printlosymbols




%%%%%%%%%%%%%%%%%%%%%%%%%
% Referências e explicações detalhadas:
% http://sourceforge.net/p/coppetex/mailman/message/19812913/
% http://tex.stackexchange.com/questions/161304/makeindex-no-nls-file
% ++++++
% Comandos a serem inseridos para agilizar produção da lista de símbolos e de abreviaturas
% ++++++
% makeindex -s coppe.ist -o <filename>.los <filename>.syx
% makeindex -s coppe.ist -o <filename>.lab <filename>.abx
% ++++++
% Para este arquivo temos:
% <filename> = Relatorio_TCC_Mestrado_Base_1_0_FHZ
%%%%%%%%%%%%%%%%%%%%%%%%%
% ++++++------
% Método alternativo para inserir lista de símbolos e abreviações
% Inserir arquivos externos com as listas prontas.
% São deixados os exemplos abaixo.
 \include{Pre-Textuais/Include_Sim_1_0}
 \include{Pre-Textuais/Include_Abv_1_0} 
% ++++++------

% -----------------------------------------
% Inserir Sumário
% -----------------------------------------
% ************
\makeatletter \let\ps@plain\ps@empty \makeatother % Remove #pag na 1ª pag do sumário
% ************
\tableofcontents
% -----------------------------------------

% ************ Salvar número da página - Para numeração contínua - Não edite esse bloco
\setcounter{pagenumber_frontmatter}{\number\value{page}}
% ************

% -----------------------------
% ELEMENTOS TEXTUAIS
% -----------------------------

%%%%%%%%%%%================%%%%%%%%%%%
\mainmatter
%%%%%%%%%%%================%%%%%%%%%%%

% ************ Retornar número da página salvo: + 1 no rascunho, + 2 na versão final - Não edite esse bloco
\iftoggle{toggleVersaoFinal}
{\setcounter{page}{\number\value{pagenumber_frontmatter} + 2}}
{\setcounter{page}{\number\value{pagenumber_frontmatter} + 1}}
% ************

% -----------------------------------------
% CAPÍTULOS Inseridos de arquivos externos
%% -----------------------------------------
\include{Textuais/Include_Int_1_0}
%% -----------------------------------------
%% \include{Textuais/Include_Obj_1_0}
%%\include{Textuais/Include_Obj_1_0}
%% -----------------------------------------
\include{Textuais/Include_Rev_1_0} 
%% -----------------------------------------
%% \include{Textuais/Include_Jus_1_0} 
%% -----------------------------------------
\include{Textuais/Include_Met_1_0}
%% -----------------------------------------
\include{Textuais/Include_Mod_1_0}
%% -----------------------------------------
%\include{Textuais/Include_Con_1_0}
\include{Textuais/Include_Con_1_0}
%% -----------------------------------------

% -----------------------------
% ELEMENTOS PÓS-TEXTUAIS
% -----------------------------

%%%%%%%%%%%================%%%%%%%%%%%
\backmatter
%%%%%%%%%%%================%%%%%%%%%%%
  
% -----------------------------
% Referências bibliográficas
% -----------------------------
% \bibliographystyle{coppe-unsrt}
% \bibliographystyle{plain}
% \bibliographystyle{abntex2-alf} 
\bibliographystyle{Bibliografia/abntFHZ5}

% -----------------------------
% Arquivo bibtex contendo as Referências
% -----------------------------

\bibliography{Bibliografia/Bibliografia_modelo}
%@article{chen2009similarity,
%  title={On the similarity metric and the distance metric},
%  author={Chen, Shihyen and Ma, Bin and Zhang, Kaizhong},
%  journal={Theoretical Computer Science},
%  volume={410},
%  number={24-25},
%  pages={2365--2376},
%  year={2009},
%  publisher={Elsevier}
%}
%CASO QUEIRA INSERIR ANEXOS, RETIRAR O COMENTÁRIO DA LINHA%\appendix
%E DA LINHA%\input{Apendices/Input_Ap01_1_0}
% -----------------------------
% Apêndices
% -----------------------------
%\appendix
% -----------------------------
\input{Apendices/Input_Ap01_1_0}

% -----------------------------
% Anexos - OBS: Não há neste modelo distinção numérica entre apêndice e anexo
% -----------------------------
\input{Anexos/Input_An01_1_0}

\end{document}
% ----------------------------------------------------------
%% End of file `Relatorio_TCC_Mestrado_Base_x_y_autor.tex'.

Textuais/Images/garfo.jpg — binary, 40 KB

Textuais/Images/ufabclogo.png — binary, 273 KB

Textuais/Include_Con_1_0.tex · 5 KB
%% =============================
%%      IMPORTANTE
%% ESTE ARQUIVO DEVE ESTAR SALVO COMO
%%      UTF - 8
%% =============================

% ----------------------------------------------------------
% Este capítulo é parte integrante do arquivo mestre
% Relatorio_TCC_Mestrado_Base_VERSÃO_SUBVERSÃO_FHZ
% ----------------------------------------------------------


% -----------------------------------------------------------------------------------------------------------------
\chapter{Resultados}
\label{cap_conclus}
% ----------------------------------------------------------

\section{Determinação do caso a ser estudado}

Etapa concluída. 
















% ****** símbolo
\symbl{$S01$}{\footnotesize Símbolo 01}
\symbl{$S02$}{\footnotesize Símbolo 02}
\symbl{$S03$}{\footnotesize Símbolo 03}
\symbl{$S04$}{\footnotesize Símbolo 04}
\symbl{$S05$}{\footnotesize Símbolo 05}
\symbl{$S06$}{\footnotesize Símbolo 06}
\symbl{$S07$}{\footnotesize Símbolo 07}
\symbl{$S08$}{\footnotesize Símbolo 08}
\symbl{$S09$}{\footnotesize Símbolo 09}
\symbl{$S10$}{\footnotesize Símbolo 10}
\symbl{$S11$}{\footnotesize Símbolo 11}
\symbl{$S12$}{\footnotesize Símbolo 12}
\symbl{$S13$}{\footnotesize Símbolo 13}
\symbl{$S14$}{\footnotesize Símbolo 14}
\symbl{$S15$}{\footnotesize Símbolo 15}
\symbl{$S16$}{\footnotesize Símbolo 16}
\symbl{$S17$}{\footnotesize Símbolo 17}
\symbl{$S18$}{\footnotesize Símbolo 18}
\symbl{$S19$}{\footnotesize Símbolo 19}
\symbl{$S20$}{\footnotesize Símbolo 20}
\symbl{$S21$}{\footnotesize Símbolo 21}
\symbl{$S22$}{\footnotesize Símbolo 22}
\symbl{$S23$}{\footnotesize Símbolo 23}
\symbl{$S24$}{\footnotesize Símbolo 24}
\symbl{$S25$}{\footnotesize Símbolo 25}
\symbl{$S26$}{\footnotesize Símbolo 26}
\symbl{$S27$}{\footnotesize Símbolo 27}
\symbl{$S28$}{\footnotesize Símbolo 28}
\symbl{$S29$}{\footnotesize Símbolo 29}
\symbl{$S30$}{\footnotesize Símbolo 30}
% ******

% ****** abreviaturas
\abbrev{A01}{\footnotesize Abreviatura 01}
\abbrev{A02}{\footnotesize Abreviatura 02}
\abbrev{A03}{\footnotesize Abreviatura 03}
\abbrev{A04}{\footnotesize Abreviatura 04}
\abbrev{A05}{\footnotesize Abreviatura 05}
\abbrev{A06}{\footnotesize Abreviatura 06}
\abbrev{A07}{\footnotesize Abreviatura 07}
\abbrev{A08}{\footnotesize Abreviatura 08}
\abbrev{A09}{\footnotesize Abreviatura 09}
\abbrev{A10}{\footnotesize Abreviatura 10}
\abbrev{A11}{\footnotesize Abreviatura 11}
\abbrev{A12}{\footnotesize Abreviatura 12}
\abbrev{A13}{\footnotesize Abreviatura 13}
\abbrev{A14}{\footnotesize Abreviatura 14}
\abbrev{A15}{\footnotesize Abreviatura 15}
\abbrev{A16}{\footnotesize Abreviatura 16}
\abbrev{A17}{\footnotesize Abreviatura 17}
\abbrev{A18}{\footnotesize Abreviatura 18}
\abbrev{A19}{\footnotesize Abreviatura 19}
\abbrev{A20}{\footnotesize Abreviatura 20}
\abbrev{A21}{\footnotesize Abreviatura 21}
\abbrev{A22}{\footnotesize Abreviatura 22}
\abbrev{A23}{\footnotesize Abreviatura 23}
\abbrev{A24}{\footnotesize Abreviatura 24}
\abbrev{A25}{\footnotesize Abreviatura 25}
\abbrev{A26}{\footnotesize Abreviatura 26}
\abbrev{A27}{\footnotesize Abreviatura 27}
\abbrev{A28}{\footnotesize Abreviatura 28}
\abbrev{A29}{\footnotesize Abreviatura 29}
\abbrev{A30}{\footnotesize Abreviatura 30}
\abbrev{A31}{\footnotesize Abreviatura 31}
\abbrev{A32}{\footnotesize Abreviatura 32}
\abbrev{A33}{\footnotesize Abreviatura 33}
\abbrev{A34}{\footnotesize Abreviatura 34}
\abbrev{A35}{\footnotesize Abreviatura 35}
\abbrev{A36}{\footnotesize Abreviatura 36}
\abbrev{A37}{\footnotesize Abreviatura 37}
\abbrev{A38}{\footnotesize Abreviatura 38}
\abbrev{A39}{\footnotesize Abreviatura 39}
\abbrev{A40}{\footnotesize Abreviatura 40}
\abbrev{A41}{\footnotesize Abreviatura 41}
\abbrev{A42}{\footnotesize Abreviatura 42}
\abbrev{A43}{\footnotesize Abreviatura 43}
\abbrev{A44}{\footnotesize Abreviatura 44}
\abbrev{A45}{\footnotesize Abreviatura 45}
\abbrev{A46}{\footnotesize Abreviatura 46}
\abbrev{A47}{\footnotesize Abreviatura 47}
\abbrev{A48}{\footnotesize Abreviatura 48}
\abbrev{A49}{\footnotesize Abreviatura 49}
\abbrev{A50}{\footnotesize Abreviatura 50}
\abbrev{A51}{\footnotesize Abreviatura 51}
\abbrev{A52}{\footnotesize Abreviatura 52}
\abbrev{A53}{\footnotesize Abreviatura 53}
\abbrev{A54}{\footnotesize Abreviatura 54}
\abbrev{A55}{\footnotesize Abreviatura 55}
\abbrev{A56}{\footnotesize Abreviatura 56}
\abbrev{A57}{\footnotesize Abreviatura 57}
\abbrev{A58}{\footnotesize Abreviatura 58}
\abbrev{A59}{\footnotesize Abreviatura 59}
\abbrev{A60}{\footnotesize Abreviatura 60}
% ******

% ----------------------------------------------------------
% Fim Arquivo
Textuais/Include_Int_1_0.tex · 913 B
%% =============================
%%      IMPORTANTE
%% ESTE ARQUIVO DEVE ESTAR SALVO COMO
%%      UTF - 8
%% =============================

% ----------------------------------------------------------
% Este capítulo é parte integrante do arquivo mestre
% Relatorio_TCC_Mestrado_Base_VERSÃO_SUBVERSÃO_FHZ
% ----------------------------------------------------------

% ----------------------------------------------------------
\chapter{Introdução}
\label{cap_introducao}
% ----------------------------------------------------------

segundo~\cite{garvin} pode efetivamente nunca ser atingida.

\begin{figure}
    \centering
    \includegraphics{Textuais/Images/garfo.jpg}
    \caption{Exemplo de deformação ocorrida durante o processo de fabricação em comparação com produto aprovado}
    \label{fig:my_label}
\end{figure}



% ----------------------------------------------------------
% Fim Arquivo
Textuais/Include_Met_1_0.tex · 1 KB
%% =============================
%%      IMPORTANTE
%% ESTE ARQUIVO DEVE ESTAR SALVO COMO
%%      UTF - 8
%% =============================

% ----------------------------------------------------------
% Este capítulo é parte integrante do arquivo mestre
% Relatorio_TCC_Mestrado_Base_VERSÃO_SUBVERSÃO_FHZ
% ----------------------------------------------------------


% ----------------------------------------------------------
\chapter{Metodologia}
\label{cap_methodology}
% ----------------------------------------------------------

A metodologia a ser utilizada 
\begin{itemize}
    \item Passo 1 ;
    \item Passo 2 ;
    \item Passo 3 : .
\end{itemize}

%\textcolor{red}{cronograma}
\newpage

\section{Cronograma de desenvolvimento do projeto}

A Tabela a seguir contém um exemplo de cronograma estimado de desenvolvimento da pesquisa.

\begin{table}[!h]
 \begin{center}
 \small
 \begin{tabular}{|c|c|c|c|c|c|c|}
 \hline
 &05/2020&09/2020&01/2021&05/2021&09/2021&01/2022\\
 Passo MASP&at\'e&at\'e&at\'e&at\'e&at\'e&at\'e\\
 &08/2020&12/2020&04/2021&08/2021&12/2021&04/2022\\
 \hline
 1&X&&&&&\\
 2&X&X&&&&\\
 3&X&X&&&&\\
 4&&X&X&&&\\
 5&&&X&X&X&X\\
 6&&&&&X&\\
 7&&&&&X&X\\
 8&&&&&&X\\
 \hline
 \end{tabular}
 \caption{Cronograma estimado de desenvolvimento do trabalho.}
 \end{center}
\end{table}


% ----------------------------------------------------------
% Fim Arquivo
Textuais/Include_Mod_1_0.tex · 687 B

%% =============================
%%      IMPORTANTE
%% ESTE ARQUIVO DEVE ESTAR SALVO COMO
%%      UTF - 8
%% =============================

% ----------------------------------------------------------
% Este capítulo é parte integrante do arquivo mestre
% Relatorio_TCC_Mestrado_Base_VERSÃO_SUBVERSÃO_FHZ
% ----------------------------------------------------------


% ----------------------------------------------------------
\chapter{Aplicação da Metodologia}
\label{cap_resultado}

% ----------------------------------------------------------

\section{Determinação do caso a ser estudado}









% ----------------------------------------------------------
% Fim Arquivo
Textuais/Include_Obj_1_0.tex · 2 KB
%% =============================
%%      IMPORTANTE
%% ESTE ARQUIVO DEVE ESTAR SALVO COMO
%%      UTF - 8
%% =============================

% ----------------------------------------------------------
% Este capítulo é parte integrante do arquivo mestre
% Relatorio_TCC_Mestrado_Base_VERSÃO_SUBVERSÃO_FHZ
% ----------------------------------------------------------


% ----------------------------------------------------------
\chapter{Objectives}
\label{cap_objectives}
% ----------------------------------------------------------
\section{Objetivos}

Como resultado deste estudo, será possível determinar as características necessárias de um sistema de visão, os impactos gerados no processo, bem como  sua viabilidade, tanto sob a ótica financeira, como sua praticidade, além da estimativa dos custos relativos de sua implementação face à mudança e melhoria causada no processo. Também pode ser citado como objetivo, a fixação dos conhecimentos adquiridos ao longo do curso.

Ademais, como objetivos específicos deste estudo, pode-se descrever:
\begin{itemize}
    \item Descrever os controles específicos utilizados em processos de produção;
    \item Estudar a metodologia utilizada na implementação dos controles acima descritos;
    \item Avaliar a criação de um ponto ótimo na implementação de controles de alta tecnologia;
    \item Avaliar a metodologia utilizada na criação de um plano de controle de produção.
\end{itemize}






% ----------------------------------------------------------
% Fim Arquivo
Textuais/Include_Rev_1_0.tex · 1 KB
%% =============================
%%      IMPORTANTE
%% ESTE ARQUIVO DEVE ESTAR SALVO COMO
%%      UTF - 8
%% =============================

% ----------------------------------------------------------
% Este capítulo é parte integrante do arquivo mestre
% Relatorio_TCC_Mestrado_Base_VERSÃO_SUBVERSÃO_FHZ
% ----------------------------------------------------------


% ----------------------------------------------------------
\chapter{Fundamentação Teórica}
\label{cap_revisao}
% ----------------------------------------------------------

\section{Impactos financeiros de um produto defeituoso}

\subsection{O valor de uma marca}



\begin{equation}
    \nabla ^2f_{ij}=4f_{ij}-(f_{(i+1)j}+f_{(i-1)j}+f_{i(j+1)}+f_{i(j+1)})
\end{equation}
Outra forma simples de apresentar esta expressão consiste em fornecer uma \textit{matriz} contendo os coeficientes dos \textit{pixels}:
\[ \left[ \begin{array}{ccc}
 0 & -1 &  0 \\
-1 &  4 & -1 \\
 0 & -1 &  0 \\
\end{array} \right]
\]





% ----------------------------------------------------------
% Fim Arquivo
abnt.bst · 28 KB
%==============================================================================
% abnt.bst
% Estilo BibTeX de formatação de referências bibliográficas no padrão ABNT
%
% UFRGS TeX Users Group
% Informatics Institute --- UFRGS
% Porto Alegre, Brazil
% http://www.inf.ufrgs.br/utug
% Discussion list: [email protected]
%
% $Id: abnt.bst,v 5.7 2003/04/15 15:09:10 avila Exp $
%
% Copyright (C) 2001-2003 UFRGS TeX Users Group
%
% This program is free software; you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation; either version 2 of the License, or
% (at your option) any later version.
%
% This program is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
% GNU General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% along with this program; if not, write to the Free Software
% Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
%==============================================================================

%==============================================================================
% Definição dos campos das entradas
%==============================================================================
ENTRY
{ 
	author
	editor
	title
	booktitle
	chapter
	pages
	address
	publisher
	year
	journal
	month
	number
	edition
	howpublished
	institution
	key
	note
	organization
	school
	series
	type
	volume
}
{}
{
	label
	year.char
}

INTEGERS {i j n}
STRINGS {s t last.label last.year.char current.letter names new.pages}

%==============================================================================
% Definicao dos nomes dos meses
%==============================================================================
MACRO {jan} {"Jan."}
MACRO {feb} {"Feb."}
MACRO {mar} {"Mar."}
MACRO {apr} {"Apr."}
MACRO {may} {"May"}
MACRO {jun} {"June"}
MACRO {jul} {"July"}
MACRO {aug} {"Aug."}
MACRO {sep} {"Sept."}
MACRO {oct} {"Oct."}
MACRO {nov} {"Nov."}
MACRO {dec} {"Dec."}

%==============================================================================
% Definicao de strings usados na elaboracao das referencias
%==============================================================================
FUNCTION {str:mastersthesis} {"Dissertation (Mestrado em Ci{\^e}ncia da Computa{\c{c}}{\~a}o)"}
FUNCTION {str:phdthesis} {"Tese (Doutorado em Ci{\^e}ncia da Computa{\c{c}}{\~a}o)"}
FUNCTION {str:chapter} {"Cap."}

%==============================================================================
% Definicao das abreviaturas padrao
%==============================================================================
MACRO {acmcs} {"ACM Computing Surveys"}
MACRO {acta} {"Acta Informatica"}
MACRO {cacm} {"Communications of the ACM"}
MACRO {ibmjrd} {"IBM Journal of Research and Development"}
MACRO {ibmsj} {"IBM Systems Journal"}
MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
MACRO {ieeetc} {"IEEE Transactions on Computers"}
MACRO {ieeetcad}
	{"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
MACRO {ipl} {"Information Processing Letters"}
MACRO {jacm} {"Journal of the ACM"}
MACRO {jcss} {"Journal of Computer and System Sciences"}
MACRO {scp} {"Science of Computer Programming"}
MACRO {sicomp} {"SIAM Journal on Computing"}
MACRO {tocs} {"ACM Transactions on Computer Systems"}
MACRO {tods} {"ACM Transactions on Database Systems"}
MACRO {tog} {"ACM Transactions on Graphics"}
MACRO {toms} {"ACM Transactions on Mathematical Software"}
MACRO {toois} {"ACM Transactions on Office Information Systems"}
MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
MACRO {tcs} {"Theoretical Computer Science"}

%==============================================================================
% Exibe warning quando um campo ``required'' esta' faltando. Recebe na pilha o
% tipo do campo.
%==============================================================================
FUNCTION {show.missing.field.warning}
{
	"Falta o campo " swap$ " em " cite$ * * * warning$
}

%==============================================================================
% Funcoes logicas
%==============================================================================
FUNCTION {not}
{
		{ #0 }
		{ #1 }
	if$
}

FUNCTION {and}
{
		'skip$
		{ pop$ #0 }
	if$
}

FUNCTION {or}
{
		{ pop$ #1 }
		'skip$
	if$
}

FUNCTION {is.numeric.char}
{
	#1 #1 substring$
	duplicate$ "" =
		{pop$ #0}
		{
			duplicate$ chr.to.int$ #47 >
			swap$ chr.to.int$ #58 <
			and
		}
	if$
}

FUNCTION {is.uppercase.char}
{
	#1 #1 substring$
	duplicate$ "" =
		{pop$ #0}
		{
			duplicate$ chr.to.int$ #64 >
			swap$ chr.to.int$ #91 <
			and
		}
	if$
}

%==============================================================================
% Escreve no arquivo o comando que gera o item
%
% Parm:
%	 um string com a formatacao do item
%==============================================================================
FUNCTION {write.item}
{
	"\bibitem[" label * "]{" * cite$ * "} " *
	swap$ *
	write$ newline$ newline$
}

%==============================================================================
% Separa o titulo em titulo e sub-titulo, empilhando o sub-titulo e o titulo,
% nessa ordem
%
% Parm:
%	 o titulo
%==============================================================================
FUNCTION {extract.subtitle}
{
	#1 'i :=

	duplicate$
	i #1 substring$
	{
		duplicate$ ":" = not
		swap$ "" = not
		and
	}
	{
		#1 i + 'i :=
		duplicate$
		i #1 substring$
	} while$

	duplicate$ i #999 substring$
	swap$
	#1 i #1 - substring$
}

%==============================================================================
% Separa a primeira palavra do texto, empilhando o resto e a palavra, nessa
% ordem
%
% Parm:
%	 o texto
%==============================================================================
FUNCTION {extract.first.word}
{
	#1 'i :=

	duplicate$
	i #1 substring$
	{
		duplicate$ " " = not
		swap$ "" = not
		and
	}
	{
		#1 i + 'i :=
		duplicate$
		i #1 substring$
	} while$

	duplicate$ i #999 substring$
	swap$
	#1 i #1 - substring$
}

%==============================================================================
% Enfatiza um string
%
% Parm:
%	 o string
%==============================================================================
FUNCTION {emphasize}
{
	"\textbf{" swap$ * "}" *
}

%==============================================================================
% Adiciona um texto (se nao-empty$) ja' formatado ao item, separando-o por
% ponto.
% Ex.: NOME. Titulo. data. ano.
%
% Parm:
%	 um string representando o item (pode ser vazio, para iniciar o item)
%	 o texto a ser adicionado
%==============================================================================
FUNCTION {add.to.item}
{
	duplicate$ empty$
		'pop$
		{
			swap$
			duplicate$ empty$
				'skip$
				{" " *}
			if$
			swap$ add.period$ *
		}
	if$
}

%==============================================================================
% Adiciona um item (se nao-empty$) a uma lista do tipo "a, b, c, ..."
%
% Parm:
%	 um string representando a lista (pode ser vazio, para criar uma lista)
%	 o item a ser adicionado
%==============================================================================
FUNCTION {add.to.list}
{
	duplicate$ empty$
		'pop$
		{
			swap$
			duplicate$ empty$
				'skip$
				{", " *}
			if$
			swap$ *
		}
	if$
}

%==============================================================================
% Adiciona um nome a uma lista de nomes (separados por ponto-e-virgula)
%
% Parm:
%	 um string representando a lista (pode ser vazio, para criar uma lista)
%	 o nome a ser adicionado
%==============================================================================
FUNCTION {add.to.namelist}
{
	swap$
	duplicate$ empty$
		'skip$
		{"; " *}
	if$
	swap$ *
}

%==============================================================================
% Formata uma lista de nomes.
%
% Parm:
%	 os nomes a serem formatados
%==============================================================================
FUNCTION {format.names}
{
	duplicate$ num.names$ 'n :=
	#1 'i :=
	"" 'names :=

	{i n #1 + <}
	{
		duplicate$ duplicate$ i "{ll}{~jj}" format.name$
		duplicate$ "others" =
		n #3 >
		i #2 =
		and
		or
		{
			pop$ pop$ names " et~al." *
			n 'i :=
		}{
			"u" change.case$ swap$
			i "{, f.}{~vv}" format.name$ *
			names swap$ add.to.namelist
		} if$ 'names :=
		#1 i + 'i :=
	} while$
	pop$
	names
	duplicate$ #-1 #1 substring$ "." = {
		#-2 global.max$ substring$
		"\@." *
	}
		'skip$
	if$
}

%==============================================================================
% Formata uma lista de sobrenomes.
%
% Parm:
%	 os nomes a serem formatados
%==============================================================================
FUNCTION {format.family.names}
{
	duplicate$ num.names$ 'n :=
	#1 'i :=
	"" 'names :=

	{i n #1 + <}
	{
		duplicate$ i "{ll}{~jj}" format.name$
		duplicate$ "others" =
		n #3 >
		i #2 =
		and
		or
		{
			pop$ names " et~al." *
			n 'i :=
		}{
			"u" change.case$
			names swap$ add.to.namelist
		} if$ 'names :=
		#1 i + 'i :=
	} while$
	pop$
	names
}

%==============================================================================
% Formata uma lista de sobrenomes com todos os autores.
%
% Parm:
%	 os nomes a serem formatados
%==============================================================================
FUNCTION {format.family.names.all}
{
	duplicate$ num.names$ 'n :=
	#1 'i :=
	"" 'names :=

	{i n #1 + <}
	{
		duplicate$ i "{ll}{~jj}" format.name$
		duplicate$ "others" =
		{
			pop$ names " et~al." *
			n 'i :=
		}{
			"u" change.case$
			names swap$ add.to.namelist
		} if$ 'names :=
		#1 i + 'i :=
	} while$
	pop$
	names
}

%==============================================================================
% Formata um titulo (pode ser `title' ou `booktitle')
%
% Parm:
%	 um valor (0 ou 1) que indica se a formatacao deve ser enfatizada ou nao
%	 um string com o titulo a ser formatado
%==============================================================================
FUNCTION {format.title}
{
        swap$
                {extract.subtitle emphasize}
                {extract.subtitle}
        if$
        swap$ "l" change.case$ *
}

%==============================================================================
% Retorna a indicacao de paginas ajustada para ter dois tracos (`--') se a
% entrada so' tiver um.
%==============================================================================
FUNCTION {get.adjusted.pages}
{
	#1 'i :=
	"" 'new.pages :=
	pages #1 #1 substring$
	{duplicate$ "" = not}
	{
		duplicate$ "-" =
		pages i #1 - #1 substring$ "-" = not
		and
		pages i #1 + #1 substring$ "-" = not
		and
			{"-" *}
			'skip$
		if$
		new.pages swap$ * 'new.pages :=
		#1 i + 'i :=
		pages i #1 substring$
	} while$
	pop$
	new.pages
}

%==============================================================================
% Coloca a primeira palavra do titulo em letras maiusculas e o resto em
% minusculas. Esta funcao e' usada para gerar referencias cuja entrada e' pelo
% titulo.
%==============================================================================
FUNCTION {format.entrytitle}
{
	#0 title format.title
	extract.first.word "u" change.case$
	swap$ * 
}

%==============================================================================
% Converte a edicao literal ("First", "Second", etc., que é o padrão indicado
% no manual do BibTeX) para o algarismo correspondente. Recebe na pilha o
% string e devolve o numero.
%==============================================================================
FUNCTION {convert.to.number}
{
	duplicate$ "First" =
	{pop$ "1"}
	{duplicate$ "Second" =
	{pop$ "2"}
	{duplicate$ "Third" =
	{pop$ "3"}
	{duplicate$ "Fourth" =
	{pop$ "4"}
	{duplicate$ "Fifth" =
	{pop$ "5"}
	{duplicate$ "Sixth" =
	{pop$ "6"}
	{duplicate$ "Seventh" =
	{pop$ "7"}
	{duplicate$ "Eighth" =
	{pop$ "8"}
	{duplicate$ "Ninth" =
	{pop$ "9"}
	{duplicate$ "Tenth" =
	{pop$ "10"}
	{skip$
	} if$
	} if$
	} if$
	} if$
	} if$
	} if$
	} if$
	} if$
	} if$
	} if$
}

%=========================================================================
% Formatacao dos campos. Se o campo nao existir a funcao devolve um string
% vazio.
%==============================================================================
FUNCTION {format.author}
{
	author empty$
		{""}
		{author format.names}
	if$
}

FUNCTION {format.editor}
{
	editor empty$
		{""}
		{editor format.names "~(Ed.)" *}
	if$
}

FUNCTION {format.edition}
{
	edition empty$
		{""}
		{edition convert.to.number ".ed." *}
	if$
}

FUNCTION {format.volume}
{
	volume empty$
		{""}
		{"v." volume *}
	if$
}

FUNCTION {format.number}
{
	number empty$
		{""}
		{"n." number *}
	if$
}

FUNCTION {format.month}
{
	month empty$
		{""}
		{month}
	if$
}

FUNCTION {format.address}
{
	address empty$
		{""}
		{address}
	if$
}

FUNCTION {format.publisher}
{
	type$ "mastersthesis" =
	type$ "phdthesis" =
	or {
		school empty$ {""} {school} if$
	}{
	type$ "techreport" = {
		institution empty$ {""} {institution} if$
	}{
	type$ "manual" = {
		organization empty$ {""} {organization} if$
	}{
		publisher empty$ {""} {publisher} if$
	} if$
	} if$
	} if$
}

FUNCTION {format.year}
{
	year empty$
		{""}
		{year}
	if$
}

FUNCTION {format.chapter}
{
	chapter empty$
		{""}
		{
			type empty$
				{str:chapter}
				{type "~" *}
			if$
			chapter *
		}
	if$
}

FUNCTION {format.pages}
{
	pages empty$
		{""}
		{"p." get.adjusted.pages *}
	if$
}

FUNCTION {format.totalpages}
{
	pages empty$
		{""}
		{pages "p." *}
	if$
}

FUNCTION {format.note}
{
	note empty$
		{""}
		{note}
	if$
}

FUNCTION {format.month.year}
{
	month empty$
		{year}
		{month "~" * year *}
	if$
}

FUNCTION {format.type}
{
	type empty$
		'skip$
		{pop$ type}
	if$
}

FUNCTION {format.howpublished}
{
	howpublished empty$
		{""}
		{howpublished}
	if$
}

FUNCTION {format.series}
{
	series empty$
		{""}
		{series}
	if$
}

FUNCTION {format.parenthised.number}
{
	number empty$ {
		""
	}{
		"(" number * ")" *
	} if$
}

%==============================================================================
% As seguintes funcoes adicionam um item a uma lista passada na pilha.
%==============================================================================
FUNCTION {add.address} {format.address add.to.list}
FUNCTION {add.publisher} {format.publisher add.to.list}
FUNCTION {add.year} {format.year add.to.list}
FUNCTION {add.chapter} {format.chapter add.to.list}
FUNCTION {add.edition} {format.edition add.to.list}
FUNCTION {add.volume} {format.volume add.to.list}
FUNCTION {add.number} {format.number add.to.list}
FUNCTION {add.month} {format.month add.to.list}
FUNCTION {add.totalpages} {format.totalpages add.to.list}
FUNCTION {add.pages} {format.pages add.to.list}
FUNCTION {add.note} {format.note add.to.list}
FUNCTION {add.month.year} {format.month.year add.to.list}
FUNCTION {add.howpublished} {format.howpublished add.to.list}

%==============================================================================
% Converte virgula para dois-pontos; usado na formatacao do publisher de
% proceedings e inproceedings, que normalmente levam tambem o local de publi-
% cao; no padrao ABNT essa separacao deve ser por dois-pontos.
% Recebe o string original e devolve o novo.
%==============================================================================
FUNCTION {comma.to.colon}
{
	's :=
	"" 't :=
	#1 'i :=
	{s i #1 substring$ "" = not}
	{
		s i #1 substring$ duplicate$ "," =
			{pop$ t ":" * 't :=}
			{t swap$ * 't :=}
		if$
		i #1 + 'i :=
	} while$
	t
}

%
% localiza a posicao do primeiro caractere maiusculo
% recebe o string, devolve a posicao
%
FUNCTION {find.first.uppercase.char}
{
	's :=
	#1 'j :=
	#1 'i :=
	{
		s i #1 substring$ 't :=
		t "" = not
		t is.uppercase.char not
		and
	}
	{
		i #1 + 'i :=
		t "\" = not
		t "{" = not
		and
		t "}" = not
		and
			{i 'j :=}
			'skip$
		if$
	} while$
	t "" =
		{#1}
		{j}
	if$
}

%
% extrai o primeiro numero que aparece no string passado na pilha,
% retornando-o; se nao ha' numero, retorna ""
%
FUNCTION {extract.first.number}
{
	's :=
	"" 't :=
	#1 'i :=
	{
		s i #1 substring$
		duplicate$ is.numeric.char not
		swap$ "" = not
		and
	}
	{
		i #1 + 'i :=
	} while$
	{s i #1 substring$ is.numeric.char}
	{
		t s i #1 substring$ * 't :=
		i #1 + 'i :=
	} while$
	t
}

%
% divide um string em dois
% recebe o string e a posicao
% devolve a primeira e a segunda parte
FUNCTION {split.string}
{
	swap$ 's :=
	duplicate$
	s swap$ #1 swap$ #1 - substring$
	swap$ s swap$ global.max$ substring$
}

%
% recebe o titulo original e devolve, na ordem, o tipo de proceedings e o
% restante do titulo
%
FUNCTION {extract.proceedings.type}
{
	's :=
	type empty$ not
		{type s}
		{"dummy"
	pop$ s #1 #11 substring$ duplicate$ "Proceedings" =
		{s #12 global.max$ substring$}{
	pop$ s #1 #5 substring$ duplicate$ "Proc." =
		{pop$ "Proceedings" s #6 global.max$ substring$}{
	pop$ s #1 #22 substring$ duplicate$ "Conference Proceedings" =
		{pop$ "Proceedings" s #23 global.max$ substring$}{
	pop$ s #1 #6 substring$ duplicate$ "Annals" =
		{s #7 global.max$ substring$}{
	pop$ s #1 #5 substring$ duplicate$ "Actas" =
		{s #6 global.max$ substring$}{
	pop$ s #1 #5 substring$ duplicate$ "Anais" =
		{s #6 global.max$ substring$}{
	pop$ s #1 #6 substring$ duplicate$ "Anales" =
		{s #7 global.max$ substring$}{
	pop$ s #1 #8 substring$ duplicate$ "Memorias" =
		{s #9 global.max$ substring$}{
	pop$ s #1 #22 substring$ duplicate$ "Trabajos Seleccionados" =
		{s #23 global.max$ substring$}{
	pop$ s #1 #11 substring$ duplicate$ "Tagungsband" =
		{s #12 global.max$ substring$}
		{pop$ "Anais" s} if$
	} if$
	} if$
	} if$
	} if$
	} if$
	} if$
	} if$
	} if$
	} if$
	} if$
}

%==============================================================================
% Converte um booktitle do tipo "Proc. of XXX" no padrao ABNT
% Recebe na pilha o titulo original
% Devolve na pilha, na ordem:
% - o tipo de publicacao
% - o titulo ja' formatado (em maiusculas e com a edicao)
%==============================================================================
FUNCTION {process.proceedings.booktitle}
{
	extract.proceedings.type
	duplicate$ find.first.uppercase.char split.string "u" change.case$
	swap$ extract.first.number
	duplicate$ empty$
		'pop$
		{", " swap$ * * "." *}
	if$
}

%==============================================================================
% Estas funcoes formatam partes comuns a varios tipos de referencia.
%==============================================================================
FUNCTION {format.publication}
{
	""
	address empty$
		{
			"[S.l."
			format.publisher empty$
				{":~s.n.]" *}
				{"]: " format.publisher * *}
			if$ add.year add.to.item
		}
		{
			format.address
			format.publisher empty$
				{": [s.n.]" *}
				{": " format.publisher * *}
			if$ add.year add.to.item
		}
	if$
}

FUNCTION {format.proceedings.publication}
{
	publisher empty$
		{"[S.l.:~s.n.]"}
		{publisher comma.to.colon}
	if$ add.year
}

FUNCTION {format.misc.publication}
{
	publisher empty$ {
		format.address add.year
	}{
		format.publication
	} if$
}

FUNCTION {format.series.info}
{
	"(" format.series *
	add.volume ")" *
}

FUNCTION {format.complementary.data.with.totalpages}
{
	"" format.totalpages add.to.item
	""
	series empty$
		{add.volume add.number add.to.item}
		{add.number add.to.item format.series.info add.to.item}
	if$
}

FUNCTION {format.complementary.data.with.page.range}
{
	""
	series empty$
		{add.volume add.number add.pages}
		{"" add.number add.pages add.to.item format.series.info add.to.item}
	if$
}

%
% esta funcao recebe o titulo a ser formatado
%
FUNCTION {format.proceedings.booktitle}
{
	process.proceedings.booktitle "" swap$ add.address add.to.item
	swap$ "{\ldots}" * emphasize " " swap$ * *
}

%==============================================================================
% Formatacao das entradas
%==============================================================================
FUNCTION {article}
{
	""
	format.author add.to.item
	#0 title format.title add.to.item
	journal emphasize
		address empty$ {
			"[S.l.]" add.to.list
		}{
			add.address
		} if$
		add.volume add.number add.pages add.month.year add.to.item
	format.note add.to.item

	write.item
}

FUNCTION {book}
{
	""
	editor empty$
		{format.author}
		{format.editor}
	if$ add.to.item
	#1 title format.title add.to.item
	format.edition add.to.item
	format.publication add.to.item
	format.complementary.data.with.totalpages add.to.item
	format.note add.to.item

	write.item
}

FUNCTION {inbook}
{
	""
	editor empty$
		{format.author}
		{format.editor}
	if$ add.to.item
	#1 title format.title add.to.item
	format.edition add.to.item
	format.publication add.to.item
	format.complementary.data.with.page.range add.to.item
	format.note add.to.item

	write.item
}

FUNCTION {incollection}
{
	""
	format.author add.to.item
	#0 title format.title add.to.item
	"In:"
		editor empty$
			'skip$
			{format.editor add.to.item}
		if$ 
		#1 booktitle format.title add.to.item add.to.item
	format.edition add.to.item
	format.publication add.to.item
	format.complementary.data.with.page.range add.to.item
	format.note add.to.item

	write.item
}

FUNCTION {inproceedings}
{
	""
	format.author add.to.item
	#0 title format.title add.to.item
	" In: " booktitle format.proceedings.booktitle * *
	format.proceedings.publication add.to.item
	format.complementary.data.with.page.range add.to.item
	format.note add.to.item

	write.item
}

FUNCTION {manual}
{
	""
	author empty$
		{format.entrytitle add.to.item}
		{
			format.author add.to.item
			#1 title format.title add.to.item
		}
	if$

	format.edition add.to.item
	format.publication add.to.item
	format.complementary.data.with.totalpages add.to.item
	format.note add.to.item

	write.item
}

FUNCTION {mastersthesis}
{
	""
	format.author add.to.item
	#1 title format.title add.to.item
	format.year add.to.item
	format.totalpages add.to.item
	str:mastersthesis format.type " --- " * format.publisher *
		add.address add.to.item
	format.note add.to.item
	format.parenthised.number add.to.item

	write.item
}

FUNCTION {misc}
{
	""
	author empty$
		{
			title empty$
				'skip$
				{format.entrytitle add.to.item}
			if$
		}
		{
			format.author add.to.item
			title empty$
				'skip$
				{#1 title format.title add.to.item}
			if$
		}
	if$
	note empty$ {
		format.misc.publication add.to.item
		format.complementary.data.with.totalpages add.to.item
	}{
		format.note add.howpublished add.to.item
	} if$

	write.item
}

FUNCTION {phdthesis}
{
	""
	format.author add.to.item
	#1 title format.title add.to.item
	format.year add.to.item
	format.totalpages add.to.item
	str:phdthesis format.type " --- " * format.publisher *
		add.address add.to.item
	format.note add.to.item
	format.parenthised.number add.to.item

	write.item
}

FUNCTION {proceedings}
{
	""
	title format.proceedings.booktitle *
	format.proceedings.publication add.to.item
	format.complementary.data.with.page.range add.to.item
	format.note add.to.item

	write.item
}

FUNCTION {techreport}
{
	""
	format.author add.to.item
	#1 title format.title add.to.item
	format.publication add.to.item
	type empty$
		{""}
		{type}
	if$ add.note add.to.item
	format.parenthised.number add.to.item

	write.item
}

FUNCTION {booklet} {misc}
FUNCTION {unpublished} {misc}
FUNCTION {online} {misc}
FUNCTION {default.type} {misc}

%==============================================================================
% Inicializa algumas variaveis globais
%==============================================================================
FUNCTION {init}
{
	"" 'last.label :=
	"b" 'current.letter :=
}

%==============================================================================
% Retorna na pilha o string a ser usado para a ordenacao das entradas.
%==============================================================================
FUNCTION {get.sortstring}
{
	author empty$ not {format.author " AAA" *}{
	editor empty$ not {format.editor " AAA" *}{
	title empty$ not {title}{
	note empty$ not {note}{
	key empty$ not {key}{
	"???"
	} if$
	} if$
	} if$
	} if$
	} if$

	type$ "inbook" =
	booktitle empty$ not
	and
		{
			booktitle title = not
				{pop$ title}
				'skip$
			if$
		}
		'skip$
	if$

	type$ "proceedings" = {
		pop$
		title process.proceedings.booktitle
		swap$ pop$
	}
		'skip$
	if$
	purify$ "l" change.case$
}

%==============================================================================
% Define as ``keys'' para ordenacao
%==============================================================================
FUNCTION {set.sortkeys}
{
	get.sortstring
	format.year *
	#1 entry.max$ substring$
	#1 global.max$ substring$
	'sort.key$ :=
}

%==============================================================================
% Ajusta os labels, adicionando letras minusculas aos labels de mesmo autor e
% ano
%==============================================================================
FUNCTION {adjust.label}
{
        last.label
        label 'last.label :=
        label = {
                current.letter 'year.char :=
                current.letter chr.to.int$
                #1 + int.to.chr$
                'current.letter :=
        }{
		"" 'year.char :=
                "b" 'current.letter :=
	} if$
}
FUNCTION {reverse.adjust.label}
{
        last.year.char "b" = {
		"a" 'year.char :=
	}
		'skip$
	if$
        year.char 'last.year.char :=
}

%==============================================================================
% Retorna na pilha o string a ser usado para a construcao do label. Quase sempre
% sera' o sobrenome do primeiro autor, mas para alguns tipos de referencia pode
% ser o editor, a entidade ou o titulo
%==============================================================================
FUNCTION {get.labelstring}
{
	author empty$ not
		{author format.family.names}
		{
			editor empty$ not
				{editor format.family.names}
				{
					title empty$ not
						{title "u" change.case$}
						{
							key empty$ not
								{key}
								{"???"}
							if$
						}
					if$
				}
			if$
		}
	if$

	type$ "inbook" =
	booktitle empty$ not
	and
		{
			booktitle title = not
				{pop$ title "u" change.case$}
				'skip$
			if$
		}
		'skip$
	if$
}

%==============================================================================
% Retorna na pilha o string a ser usado para a construcao do label. Quase sempre
% sera' o sobrenome do primeiro autor, mas para alguns tipos de referencia pode
% ser o editor, a entidade ou o titulo
%
% esta versao retorna os nomes completos
%==============================================================================
FUNCTION {get.labelstring.all}
{
	author empty$ not
		{author format.family.names.all}
		{
			editor empty$ not
				{editor format.family.names.all}
				{
					title empty$ not
						{title "u" change.case$}
						{
							key empty$ not
								{key}
								{"???"}
							if$
						}
					if$
				}
			if$
		}
	if$

	type$ "inbook" =
	booktitle empty$ not
	and
		{
			booktitle title = not
				{pop$ title "u" change.case$}
				'skip$
			if$
		}
		'skip$
	if$
}

%==============================================================================
% Construção dos labels
%==============================================================================
FUNCTION {prepare.label.sorting}
{
	get.labelstring.all format.year *
	duplicate$ 'label := 'sort.key$ :=
}
FUNCTION {make.label}
{
	get.labelstring
	"(" *
	year empty$ {
		"????"
	}{
		year year.char *
	} if$ *
	")" *
	get.labelstring.all *
	#1 entry.max$ substring$
	#1 global.max$ substring$
	'label :=
}

%==============================================================================
% Inicia a definicao das referencias
%==============================================================================
FUNCTION {begin.bib}
{
	preamble$ empty$
		'skip$
		{preamble$ write$ newline$ newline$}
	if$
	"\begin{thebibliography}{\hspace{\parindent}}" write$ newline$
	newline$
}

%==============================================================================
% Termina a definicao das referencias
%==============================================================================
FUNCTION {end.bib}
{
	"\end{thebibliography}" write$ newline$
}

%==============================================================================
% main()
%==============================================================================
READ
EXECUTE {init}
ITERATE {prepare.label.sorting}
SORT
ITERATE {adjust.label}
REVERSE {reverse.adjust.label}
ITERATE {make.label}
ITERATE {set.sortkeys}
SORT
EXECUTE {begin.bib}
ITERATE {call.type$}
EXECUTE {end.bib}
mcode.sty · 12 KB
%%
%%   This is file `mcode.sty'
%%
%%   It is supposed to help you easily include MATLAB source code
%%   into LaTeX document,  but have it nicely highlighted, using
%%   the great listings package.
%%
%%   PLEASE NOTE that this package does nothing but save you from
%%   figuring out some configurations  in setting up the LISTINGS
%%   package. ALL the work is done by that package!  Thus, please
%%   refer your questions to the listings package documentation.
%%
%%   Usage: You have three ways of including your MATLAB code. As
%%   environment,  as inline object and directly from an external
%%   file.
%%
%%   1) Environment:
%%
%%          \begin{lstlisting}
%%             YOUR CODE HERE
%%          \end{lstlisting}
%%
%%
%%   2) Inline object*:
%%
%%          Bla bla \mcode{CODEFRAGMENT} bla bla.
%%
%%
%%   3) Include external file (in environment form)
%%
%%          \lstinputlisting{YOUR-FILE.m}
%%
%%
%%   For your convenience this package has the following options:
%%
%%   - bw  if you intend to print the document (highlighting done
%%         via text formatting (bold, italic) and shades of gray)
%%   
%%   - numbered  if you want line numbers
%%
%%   - autolinebreaks  if you want  the package to  automatically
%%          wrap your  code.  This is buggy as it  may well break
%%          break syntax and it  doesn't work well with comments.
%%          You REALLY should wrap your code manually.
%%
%%   - useliterate   if you want  some characters / relations  in
%%          your code to be replace with something more readable.
%%          Example: ~= becomes $\neq$, >= becomes $\geq$,  delta
%%          becomes $\delta$ and so on.
%%
%%   - framed  if you want a frame  around the source code blocks
%%
%%   - final  if you have  ``gloablly'' set the draft option, the
%%         listings package will  not output the code at all.  to
%%         force it to  do so anyway,  load this package with the
%%         final option (passes the ``final'' on to listings).
%%
%%   For example, you may use \usepackage[numbered,framed]{mcode}
%%   in your document preamble.
%%   
%%   * If you want to place  some inline code in a footnote,  use
%%   \mcodefn{} instead (this will reduce the font size a bit).
%%
%%   Note:  Inside code blocks you  can escape to LaTeX text mode
%%   using §...§.  For ex. §text and some math: $x^2$§,  which is
%%   especially  useful  in comments  for putting  nicely typeset
%%   equations etc.  To get the same  colour/style as in the rest
%%   of the comment use \mcommentfont, i.e. §\mcommentfont $x^2$§
%%
%%   To change the font used,  edit the first line in the "custo-
%%   mise below" section.  And feel free to  edit other things as
%%   well.  Refer to the documentation of the listings package to
%%   see what  else you could do.  If an extra small font  is re-
%%   quired,  use  {\fontfamily{pcr}\fontsize{3}{4.6}\selectfont}
%%   in the definition of \lstbasicfont.
%%
%%   Author:
%%      Florian Knorn | [email protected] | www.florian-knorn.com
%%
%%   Version history:
%%      2.6  --  Add support for µ, fix for math-minus problem
%%      2.5  --  Renamed internal variables (thx S. Kranenbarg!)
%%      2.4  --  Added \mcodefn{} command (thx Tony Almeida!)
%%      2.3  --  More keywords (thx Dominik Wild!)
%%      2.2  --  Bugfix (thx Willi Gerbig!)
%%      2.1  --  Finally automatic detection between end and end
%%      2.0  --  New options for line breaking and literate prog.
%%      1.8  --  Fixed typo in documentation regarding §...§
%%      1.7  --  Added MATLAB block comment syntax %{ ...... %}
%%      1.6  --  Added some infos, dealing with keyword ``end''
%%      1.5  --  Tweaked check to see wether textcomp is loaded
%%      1.4  --  Fixed misconfig (mathescape now set to false)
%%      1.3  --  Purely cosmetic (tabs replaced by spaces)
%%      1.2  --  Added \lstset{showstringspaces=false}
%%      1.1  --  Added \mcode command and [final] option
%%      1.0  --  Release


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%              D O N ' T    T O U C H    T H I S                %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def\fileversion{2.5}
\def\filedate{2014/03/06}

\typeout{-- Package: `mcode' \fileversion\space <\filedate> --}
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{mcode}[\filedate\space\fileversion]

% for bw-option
\newif\ifmcode@bw
\DeclareOption{bw}{\mcode@bwtrue}

% numbered option
\newif\ifmcode@numbered
\DeclareOption{numbered}{\mcode@numberedtrue}

% final option
\newif\ifmcode@final
\DeclareOption{final}{\mcode@finaltrue}

% autolinebreaks option
\newif\ifmcode@autolinebreaks
\DeclareOption{autolinebreaks}{\mcode@autolinebreakstrue}

% literate programming (replace certain characters/relations
\newif\ifmcode@useliterate
\DeclareOption{useliterate}{\mcode@useliteratetrue}

% framed option
\newif\ifmcode@framed
\DeclareOption{framed}{\mcode@framedtrue}

\DeclareOption*{% default
  \PackageWarning{mcode}{Unknown option `\CurrentOption' !}%
}
\ProcessOptions

\ifmcode@bw\typeout{ - settings optimized for printing (bw formating)}
\else\typeout{ - settings optimized for display (colour formating)}\fi
\ifmcode@numbered\typeout{ - line numbering enabled}\else\fi
\ifmcode@useliterate\typeout{ - literate programming (character replacements) enabled}\else\fi
\ifmcode@autolinebreaks\typeout{ - automatic line breaking enabled (careful, buggy!)}\else\fi
\ifmcode@framed\typeout{ - framed listings}\else\fi

% This command allows you to typeset syntax highlighted Matlab
% code ``inline''.  The font size \small seems to look best...
\newcommand{\mcode}[1]{\lstinline[basicstyle=\lstbasicfont\small]|#1|}

% Same, but for footnotes
\newcommand{\mcodefn}[1]{\lstinline[basicstyle=\lstbasicfont\footnotesize]|#1|}

% check if color command exists
\ifx\color\undefined%
  \RequirePackage{xcolor}%
\fi

% check if listings has been loaded
\ifx\lstset\undefined%
  \ifmcode@final
    \RequirePackage[final]{listings}
  \else
    \RequirePackage{listings}
  \fi
\fi

% Check if textcomp has been loaded (this package is needed for
% upright quotes '' (instead of typographic ones `´)...
\ifx\textquotesingle\undefined% 
  \RequirePackage{textcomp}%
\fi

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                C U S T O M I S E   B E L O W                  %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% ---------------------------------------------------------------------------------
% default font
\def\lstbasicfont{\fontfamily{pcr}\selectfont\footnotesize}

% ---------------------------------------------------------------------------------
% matlat languate definition
\lstdefinelanguage{matlabfloz}{%
  alsoletter={...},%
  morekeywords={%                             % keywords
  break,case,catch,continue,elseif,else,end,%
    for,function,global,if,otherwise,persistent,%
      return,switch,try,while,methods,properties,%
        events,classdef,...},%
  comment=[l]\%,                              % comments
  morecomment=[l]...,                         % comments
  morecomment=[s]{\%\{}{\%\}},                % block comments
  morestring=[m]'                             % strings 
}[keywords,comments,strings]%

% ---------------------------------------------------------------------------------
% general definitions
\lstset{%
  basicstyle={\lstbasicfont},                 % set font
  showstringspaces=false,                     % do not emphasize spaces in strings
  tabsize=4,                                  % number of spaces of a TAB
  mathescape=false,escapechar=§,              % escape to latex with §...§
  upquote=true,                               % upright quotes
  aboveskip={1.5\baselineskip},               % a bit of space above listings
  columns=fixed,                              % nice spacing
%%% *** Bloco adicionado em mcode.sty - FHZ
% Alfabeto alemão e português
% Alfabeth Deutsch und Portugiesisch
	extendedchars = true,
%	inputencoding = utf8/latin1,
	inputencoding = latin1, % funciona com latin1
%% usando latin1 => literate não foi necessário --- mas vamos deixar por copiado aqui
%	literate = %
%	{Ö}{{\"O}}1
%	{Ä}{{\"A}}1
%	{Ü}{{\"U}}1
%	{ß}{{\s{s}}}1
%	{ü}{{\"u}}1
%	{ä}{{\"a}}1
%	{ö}{{\"o}}1
%	{~}{{\textasciitilde}}1
%		{ã}{{\~a}}1
%		{á}{{\'a}}1
%		{à}{{\`a}}1
%		{â}{{\^a}}1
%		{é}{{\'e}}1
%		{ê}{{\^e}}1
%		{í}{{\'\i}}1
%		{õ}{{\~o}}1
%		{ó}{{\'o}}1
%		{ô}{{\^o}}1
%		{ú}{{\'u}}1
%		{ç}{{\c c}}1
%			{Ã}{{\~A}}1
%			{Á}{{\'A}}1
%			{À}{{\`A}}1
%			{Â}{{\^A}}1
%			{É}{{\'E}}1
%			{Ê}{{\^E}}1
%			{Í}{{\'{I}}}1
%			{Õ}{{\~O}}1
%			{Ó}{{\'O}}1
%			{Ô}{{\^O}}1
%			{Ú}{{\'U}}1
%			{Ç}{{\c {C}}}1
%%% *** 
}

% ---------------------------------------------------------------------------------
% define colours and styles
\ifmcode@bw % use font formating and gray 'colors'
	\def\mcommentfont{\color[gray]{.75}\itshape} %comments light gray and italic
  \lstset{language=matlabfloz,                % use our version of highlighting
    keywordstyle=\bfseries,                   % keywords in bold
    commentstyle=\mcommentfont,               % comments 
    stringstyle=\color[gray]{0.5}             % strings darker gray
  }
\else% notbw => use colors : )
	\def\mcommentfont{\color[rgb]{.133,.545,.133}} %comments in green
  \lstset{language=matlabfloz,                % use our version of highlighting
    keywordstyle=\color[rgb]{0,0,1},          % keywords in blue
    commentstyle=\mcommentfont,               % comments
    stringstyle=\color[rgb]{.627,.126,.941}   % strings in purple
  } 
\fi%bw

% ---------------------------------------------------------------------------------
% automatic line breaking --- warning, this is buggy and
% doesn't break comments correctly!
\ifmcode@autolinebreaks
	\newsavebox{\lbreakdots}\sbox{\lbreakdots}{\lstbasicfont\mcommentfont...}
	\lstset{breaklines=true,breakatwhitespace=true,prebreak=\usebox{\lbreakdots}}
\fi

% ---------------------------------------------------------------------------------
% literate replacements
% the following is for replacing some matlab relations like >= or ~=
% by the corresponding LaTeX symbols, which are much easier to read ...
\ifmcode@useliterate
	\lstset{%
		literate=%
			{~}{{$\neg$}}1 %               \neg, logical not
			{<=}{{\tiny$\leq$}}1 %         \leq
			{>=}{{\tiny$\geq$}}1 %         \geq
			{~=}{{\tiny$\neq$}}1 %         \neq, not equal
			{delta}{{\tiny$\Delta$}}1 %    \Delta
			{µ}{{$\mu$}}1 %                \mu
			{(end)}{\lstbasicfont (end)}{5} % black ``end'' when indexing last vector element
			{({ }end)}{\lstbasicfont ({ }end)}{6}
			{(end{ })}{\lstbasicfont (end{ })}{6}
			{({ }end{ })}{\lstbasicfont ({ }end{ })}{7}
			{:end}{\lstbasicfont :end}{4}
			{:{ }end}{\lstbasicfont :{ }end}{5}
			{end:}{\lstbasicfont end:}{4}
			{end{ }:}{\lstbasicfont end{ }:}{5}
			{,end}{\lstbasicfont ,end}{4}
			{,{ }end}{\lstbasicfont ,{ }end}{5}
	}
\else
	\lstset{%
		literate=%
			{(end)}{\lstbasicfont (end)}{5} % black ``end'' when indexing last vector element
			{({ }end)}{\lstbasicfont ({ }end)}{6}
			{(end{ })}{\lstbasicfont (end{ })}{6}
			{({ }end{ })}{\lstbasicfont ({ }end{ })}{7}
			{:end}{\lstbasicfont :end}{4}
			{:{ }end}{\lstbasicfont :{ }end}{5}
			{end:}{\lstbasicfont end:}{4}
			{end{ }:}{\lstbasicfont end{ }:}{5}
			{,end}{\lstbasicfont ,end}{4}
			{,{ }end}{\lstbasicfont ,{ }end}{5}
			{µ}{$\mu$}1
			{~}{{\fontfamily{ptm}\selectfont\texttildelow}}1 % get a nicer tilde character
	}
\fi%literates

% ---------------------------------------------------------------------------------
% line numbering
\ifmcode@numbered% numbered option
  \lstset{%
    numbersep=3mm, numbers=left, numberstyle=\tiny, % number style
  }
\fi

\ifmcode@framed%   framed option
  \lstset{%
    frame=single,                             % frame
  }
  \ifmcode@numbered%
    \lstset{%
      framexleftmargin=6mm, xleftmargin=6mm   % tweak margins
    }
  \fi
\fi

% fix for ``minus'' character issue, as suggested by Stefan Karlsson, thanks!
\makeatletter 
\lst@CCPutMacro\lst@ProcessOther {"2D}{\lst@ttfamily{-{}}{-{}}} 
\@empty\z@\@empty 
\makeatother

\endinput
%% End of file `mcode.sty'.
ufabcFHZh.cls · 52 KB

52 KB — too long to show here. It arrives with the project.

The first page, as this template compiles today. Click it to enlarge, and again to shrink. Open the file ↗