Graphics, Figures & TablesHelp a Brazilian create index of figures and tables.

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
thiagopc
Posts: 3
Joined: Sat Jan 14, 2017 8:42 pm

Help a Brazilian create index of figures and tables.

Post by thiagopc »

Good afternoon forum collaborators. I'm using google translate and may contain typos.

I develop a master's dissertation in sharelatex.com and I have already searched in several brazilian sites, youtube among others and I could not insert the index for figures and tables.
The \ tableofcontents command for summary works fine. I have already put the \ listoffigures and \ listoftables commands in all the places I imagined and when I update it does not show the pdf and informs time exceeded. I am a beginner in latex and I used the university template and it was ready the cover, cover sheet, reference between other parts, The chapters are individual files with extension TEX, as well as the summary, thanks ... I already put the command \ Listoffigures and \ listoftables and all the TEX files it has. I put some usepackage. The figures and tables are showing normally in the text.

Help me!!!

Below is the algorithm of my main TEX file. The other tex files are chapters, summary and other tabs. The problem is, where do I put the \ listoffigures and \ listoftables code to work?

THANK YOU

Code: Select all

%%%*******************************************************************************
%  Classe Latex SENAI CIMATEC, Version 0.0.0 16/04/2009
%  Define as normas e estilo das dissertações e teses do SENAI CIMATEC
%  Author : Hernane Pereira
%%%-------------------------------------------------------------------------------

%%%-------------------------------------------------------------------------------
% Changes log
%%%-------------------------------------------------------------------------------
% Version 1.1.1 - 08/03/2005
% - Added support for amsmath, amsthm, amsfonts and amssymb as default
%
% Version 1.1.0 - 22/07/2004
% - updated university front page format
%
% Version 1.1.0 - 20/06/2003
% - Initial version
%%%-------------------------------------------------------------------------------

%%%-------------------------------------------------------------------------------
%  DOCUMENTATION WITH EXAMPLE
%%%*******************************************************************************
%%%-------------------------------------------------------------------------------
%%% Thesis default options
%%%-------------------------------------------------------------------------------
%\documentclass[subook]{Others/PPGMCTI}
%\documentclass[sureport]{Others/PPGMCTI}

%%%-------------------------------------------------------------------------------
%%% Thesis custom options
%%%-------------------------------------------------------------------------------
%%% Fancy page headings
%\documentclass[fancyheadings, subook]{Others/PPGMCTI}
%\documentclass[fancyheadings, sureport]{Others/PPGMCTI}

%%% Fancy chapters and sections headings
%\documentclass[fancychapter, subook]{Others/PPGMCTI}
%\documentclass[fancychapter, sureport]{Others/PPGMCTI}

%%% Fancy page , chapters and sections headings
%\documentclass[fancyheadings, fancychapter, subook]{Others/PPGMCTI}
\documentclass[fancyheadings, fancychapter, sureport]{Others/PPGMCTI}

%%%-------------------------------------------------------------------------------
%%% Thesis Commands (ONLY with fancy page headings)
%%%-------------------------------------------------------------------------------
%\footlinewidth{value}		%%%Page header line width
%\headlinewidth{value}		%%%Page footer line width
%\headingslinewidth{value}	%%%Page header and footer line width
%\headingslinesonly			%%%Page header and footer lines without text

%%%The default line width is 0.3pt.
%%%Set the value to 0pt to remove the page header and/or footer line

%%%-------------------------------------------------------------------------------
%%% SUThesis Supported Graphic Formats
%%%-------------------------------------------------------------------------------
% The figures formats supported depend upon the selected output file
% Include your figure without the extention, the SUThesis will automatically
% search the predefined `Figures' directory tree for the right file format.
%
% - The pdfLaTEX (PDF) supports graphics inclusions in PDF, JPG, PNG, and
%   MetaPost (with .mps extention) formats.
%
% - The Latex (DVI) supports graphics inclusions in EPS and PS formats.
%%%-------------------------------------------------------------------------------

%%%-------------------------------------------------------------------------------
%%% Optional packages
%%%-------------------------------------------------------------------------------



\usepackage[utf8]{inputenc}%latin1
\usepackage[T1]{fontenc}						
\usepackage{multicol, multirow, longtable, booktabs}		% para manipulação de tabela
%\usepackage{siunitx}							%alinhamento decimal na table
%\usepackage{dcolumn}
%\newcolumntype{d}{D{.}{.}{2.5}}
%\newcolumntype{s}{D{.}{.}{1.2}}
\usepackage{lscape}
\usepackage{graphicx, float, subfigure}			%wrapfig
%\usepackage{algorithm, algorithmic}
\usepackage[left = 3cm, top = 3cm, right = 2cm, bottom = 2cm]{geometry}
\usepackage{lastpage}							% usado pela ficha catalográfica
\usepackage{ifpdf}
\usepackage{minitoc}
\usepackage{makeidx}
\usepackage[nottoc]{tocbibind}   
\usepackage[breaklinks=true]{hyperref}
%\usepackage[alf,abnt-etal-list=5]{abntcite}
\usepackage[alf, abnt-and-type = &, abnt-etal-text = emph, abnt-full-initials = yes, abnt-repeated-author-omit = yes, abnt-repeated-title-omit = yes]{abntex2cite}% citações padrão ABNT abnt-url-package=url
\setlength{\LTcapwidth}{\textwidth}		%Tables and Figures Caption

\usepackage{tikz}
\usetikzlibrary{mindmap, trees, backgrounds, positioning, arrows, arrows.meta, shapes, shadows}
\tikzset{level 1 concept/.append style = {level distance = 32mm}}%sibling angle = 90,
\tikzset{level 2 concept/.append style = {level distance = 20mm}}%sibling angle = 45,
\tikzset{level 3 concept/.append style = {level distance = 20mm}}%sibling angle = 45,
\tikzset{every node/.append style = {font = \sf, scale = 0.7}}

%%%-------------------------------------------------------------------------------
%%% PDF File Summary
%%%-------------------------------------------------------------------------------
\ifpdf
	\hypersetup{backref,
	colorlinks  = true,
	pdftitle    = Titulo da dissertacao ou tese,
	pdfauthor   = {Thiago Caldas, thiagocaldas10@gmail.com},
	pdfsubject  = Mestrando em MCTI,
	pdfcreator  = Subtitulo,
	pdfproducer = PDFLatex,
	pdfkeywords = {Palavra-chave1, Palavra-chave2, Palavra-chave3}
}
\fi

\renewcommand*{\backrefalt}[4]{								% Define os textos da citação
	\ifcase #1 % 
	%Nenhuma citação no texto.%
	\or%
	%Citado na página #2.%
	\else%
	%Citado #1 vezes nas páginas #2.%
	\fi%
}%

\newcommand{\CE}{\textit{C. elegans}}
\newcommand{\fepa}{\legend{Fonte: elaborado pelo autor}}
\newcommand{\Fepa}{Fonte: elaborado pelo autor}
\newcommand{\fddp}{\legend{Fonte: dados da pesquisa}} 
\newcommand{\Fddp}{Fonte: dados da pesquisa} 

\providecommand{\imprimirCidade}{}
\newcommand{\cidade}[1]{\renewcommand{\imprimirCidade}{#1}}
\providecommand{\imprimirDia}{}
\newcommand{\dia}[1]{\renewcommand{\imprimirDia}{#1}}
\providecommand{\imprimirMes}{}
\newcommand{\mes}[1]{\renewcommand{\imprimirMes}{#1}}
\providecommand{\imprimirAno}{}
\newcommand{\ano}[1]{\renewcommand{\imprimirAno}{#1}}
\providecommand{\imprimirSubTitulo}{}
\newcommand{\subTitulo}[1]{\renewcommand{\imprimirSubTitulo}{#1}}
\providecommand{\imprimirBancaUm}{}
\newcommand{\bancaUm}[1]{\renewcommand{\imprimirBancaUm}{#1}}
\providecommand{\imprimirBancaDois}{}
\newcommand{\bancaDois}[1]{\renewcommand{\imprimirBancaDois}{#1}}
\providecommand{\imprimirBancaTres}{}
\newcommand{\bancaTres}[1]{\renewcommand{\imprimirBancaTres}{#1}}
\providecommand{\imprimirIesCO}{}
\newcommand{\iesCO}[1]{\renewcommand{\imprimirIesCO}{#1}}



\begin{document}

 \university{SENAI CIMATEC}
 \faculty{Pro\-gra\-ma de Pós-gra\-dua\-ção em Mo\-de\-la\-gem Com\-pu\-ta\-cio\-nal e Tec\-no\-lo\-gia In\-dus\-trial}
 \typework{Disserta\c{c}\~ao de Mestrado}
 \course{Mestrado em Modelagem Computacional e Tecnologia Industrial} %Mestrado
 \thesistitle{MODELO DE SIMULAÇÃO E ANÁLISE DE IMPLANTAÇÃO DE SISTEMAS FOTOVOLTAICOS NAS INSTALAÇÕES DE UM CENTRO DE PESQUISA}
 \subTitulo{}
 \hidevolume
 \thesisvolume{Volume 1 of 1}
 \thesisauthor{Thiago da Paz Caldas}
 \thesisadvisor{Alex Àlisson Bandeira Santos}
 %\hidecoadvisor 
 %\showcoadvisor
 %\thesiscoadvisor{Dr. }
 % \iesCO{Universidade }
 \bancaUm{Prof$\,^{\circ}$. Dr. } %Dr. Física, UFF/Brasil
 \bancaDois{Prof$\,^{\circ}$. Dr. } %$\,^{a}$,
 \bancaTres{Prof$\,^{a}$. Ph.D } %Ph.D Fibras Óticas, Bell Communications Research/EUA.
 \thesisdegreetitle{Mestre em Modelagem Computacional e Tecnologia Industrial} %Mestre
 \thesismonthyear{Julho de 2016}
 \cidade{Salvador}
 \dia{Dia}
 \mes{Julho}
 \ano{2017} 


 \maketitlepage  %automatico
 \include{Others/capa2}
 \include{Others/FolhaRosto2}
 \include{Others/catalografica}
 \include{Others/NotaEstilo}
 \include{Others/FolhaAssinaturas}
 \include{Others/dedicatoria}
 \include{Others/agradecimentos}
 \begin{romanpagenumbers}
  \include{Others/resumo}
  \include{Others/abstract}
  \include{Others/abbreviation}	%Include other required section
  %\include{Others/Listafiguras}
 \tableofcontents %Índice de conteúdos

    
  %\thesiscontents 					%\Make list of contents, tables and figures
 
 \end{romanpagenumbers} 			%Switch the page numbering back to the default format
 \parskip=\baselineskip
 \include{Chapters/ChapterOne}
 \include{Chapters/ChapterTwo}
 \include{Chapters/ChapterThree}
 \include{Chapters/ChapterFour}
 \include{Chapters/ChapterFive}
 \include{Chapters/ChapterSix}
 \include{Chapters/ChapterSeven}
 \include{Chapters/ChapterEight}
 \include{Chapters/ChapterConsideracoesfinais}
 \begin{thesisappendices}
  %\include{Appendices/History}
  %\include{Appendices/Fitting}
  %\include{Appendices/Design}
 \end{thesisappendices}
 \addcontentsline{toc}{chapter}{Referências}
 \bibliography{Others/referencias}
 \include{Others/ultimafolha}

\end{document}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Help a Brazilian create index of figures and tables.

Post by Johannes_B »

Welcome,

where can we get PPGMCTI.cls? The author of the class may have decided to rename the command.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
thiagopc
Posts: 3
Joined: Sat Jan 14, 2017 8:42 pm

Help a Brazilian create index of figures and tables.

Post by thiagopc »

Thanks for the answer, here is the ppgmcti.cls

Code: Select all

% Modified from suthesis document class for LaTeX version 2e - 20/06/2003
%%% ====================================================================
%%% @LaTeX-class-file{
%%% filename    = "PPGMCTI.cls",
%%% version     = "0.0.0",
%%% date        = "15 Abril 2009",
%%% portedby    = "Hernane Pereira",
%%% address     = "Programa de Modelagem Computacional
%%%                SENAI Cimatec
%%%                Av. Orlando Gomes, 1845
%%%                Salvador, Bahia - Brasil",
%%% telephone   = "+55 71 3462-9522",
%%% email       = "hernanebbpereira@gmail.com",
%%% codetable   = "ISO/ASCII",
%%% keywords    = "LaTeX, Programa de P\�os-gradua\c{c}\~ao, SENAI Cimatec, Disserta\c{c}\~ao, Tese",
%%% supported   = "Sei n\~ao...",
%%% copyright�  = "Israel Vieira, All Rights Unreserved
%%%                Premission is granted to use, modify and distribute
%%%                this package under the terms and conditions of
%%%                the GNU software licence",
%%%
%%% docstring   = "This file is the main file for the ustheseis document
%%%                class, which defines the guidelines for a PhD thesis
%%%                at the University of Southampton as by 20/06/2003.
%%%
%%%                WARNING: There is not warranty for the program, either
%%%                expressed or implied, including, but not limited to,
%%%                the implied warranties of merchantability and fitness
%%%                for a particular purpose and noninfrigement of third
%%%                party rights. The entire risk as to the quality and
%%%                performance of the program is with you. Should the
%%%                program prove defective, you assume the cost of all
%%%                necessary servicing, repair or correction".
%%%  }
%======================== initial code ==================================
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{PPGMCTI}[2009/04/15 v0.0.0]
\typeout{---------------------------------------------------------}
\typeout{Esta classe LaTeX est� de acordo com os requerimentos do }
\typeout{programa de p�s-gradua��o para a submiss�o de uma disser-}
\typeout{ta��o de mestrado ou tese de doutorado ao SENAI Cimatec  }
\typeout{implementada inicialmente por Israel Vieira para atender }
\typeout{os requisitos da University of Southampton e, posterior- }
\typeout{mente, modificada por Hernane Pereira.                   }
\typeout{---------------------------------------------------------}

%------------------------------------------------------------------------
%Define extra packages required by PPGMCTI class
%------------------------------------------------------------------------
\RequirePackage{ifthen}
\RequirePackage{setspace}
\RequirePackage{amsmath}
\RequirePackage{amsfonts}
\RequirePackage{amssymb}
\RequirePackage{amsthm}
\RequirePackage{eucal}
\RequirePackage{graphics}
\RequirePackage{fancyhdr}
\RequirePackage{ifpdf}

%------------------------------------------------------------------------
%Define the document output format
%------------------------------------------------------------------------
\newif \ifpdf
\ifx \pdfoutput \undefined
\pdffalse   % for running latex
\else
% for running pdflatex
\pdfoutput = 1 % positive value for a PDF output, otherwise a DVI
\pdftrue
\fi

%==============================================================================
%%% ABNTeX ...
%\usepackage{abnt-alf}
%\usepackage[alf,abnt-repeated-title-omit=yes,abnt-show-options=warn,abnt-verbatim-entry=yes]{abntcite}
%\RequirePackage[alf,abnt-emphasize=bf,abnt-etal-list=0,abnt-etal-text=it]{abntcite}
% http://abntex.codigolivre.org.br/node7.html#instalacao
%==============================================================================

%------------------------------------------------------------------------
%Define the thesis style: report or book
%Usage:
%           1 - default (report) =  \documentclass{PPGMCTI}
%           2 - book             =  \documentclass[usbook]{PPGMCTI}
%           3 - report           =  \documentclass[usreport]{PPGMCTI}
%
%Options:
%
%
%------------------------------------------------------------------------

%------------------------------------------------------------------------
% PPGMCTI class options definitions
%------------------------------------------------------------------------
%Variable to hold the selected document class
\newboolean{su@sureport} \setboolean{su@sureport}{true}
\newboolean{su@subook} \setboolean{su@subook}{false}

%Variable to hold the selected page and chapter heardings
\newboolean{su@fancyhead} \setboolean{su@fancyhead}{false}
\newboolean{su@fancychap} \setboolean{su@fancychap}{false}

%document class style
\DeclareOption{sureport}{
	\setboolean{su@sureport}{true}
	\setboolean{su@subook}{false}
}

\DeclareOption{subook}{
	\setboolean{su@sureport}{false}
	\setboolean{su@subook}{true}
}

%Page headings style
\DeclareOption{fancyheadings}{\setboolean{su@fancyhead}{true}}

%The chapter headings style
\DeclareOption{fancychapter}{\setboolean{su@fancychap}{true}}

% Fix for AMSBook
\@ifundefined{@chapapp}{\let\@chapapp\chaptername}{}

\ProcessOptions\relax

%------------------------------------------------------------------------
% DOCUMENT CLASS
%------------------------------------------------------------------------
\typeout{---------------------------------------------------------}
\ifsu@sureport
\typeout{PPGMCTI usar� a classe de documento -> report.}
\ifx\pdfoutput\undefined
\typeout{PPGMCTI gerar� um arquivo DVI.}
\LoadClass[11pt, a4paper, oneside]{report}
\else
\typeout{PPGMCTI gerar� um arquivo PDF.}
\LoadClass[pdftex, 11pt, a4paper, oneside]{report}
\fi
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{report}}
\else
\typeout{PPGMCTI usar� a classe de documento -> book.}
\ifx\pdfoutput\undefined
\typeout{PPGMCTI gerar� um arquivo DVI.}
\LoadClass[11pt, a4paper, oneside]{book}
\else
% ALTEREI O TAMANHO PARA 12PT
\typeout{PPGMCTI gerar� um arquivo PDF.}
\LoadClass[pdftex, 12pt, a4paper, oneside]{book}
\fi
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{book}}
\fi
\typeout{---------------------------------------------------------}%

\ProcessOptions\relax

%------------------------------------------------------------------------
% DOCUMENT OPTIONS
%------------------------------------------------------------------------
% Define the figures type, location, packages and hyperref options
\ifpdf
	% Define PDF options
	\usepackage[pdftex,
		pdfstartview = FitH,
		pdfpagelayout = useoutlines,
		bookmarks,
		bookmarksopen = true,
		bookmarksnumbered = true,
		breaklinks = true,
		linktocpage,
		backref,
		colorlinks = false,
		linkcolor = blue,
		urlcolor  = red,
		citecolor = blue,
		anchorcolor = green,
		hyperindex = true]{hyperref}
	\DeclareGraphicsExtensions{.png, .jpg, .mps, .pdf}
	\usepackage[pdftex]{graphicx}
	\pdfcompresslevel = 9
	\graphicspath{{Figures/PNG/}{Figures/JPG/}{Figures/MPS/}{Figures/PDF/}{Figures/}{Tables/}}
\else
	%Define DVI options
	\usepackage[bookmarks,
		bookmarksopen = true,
		bookmarksnumbered = true,
		breaklinks = true,
		linktocpage,
		backref,
		colorlinks = false,
		linkcolor = blue,
		urlcolor  = red,
		citecolor = blue,
		anchorcolor = green,
		hyperindex = true]{hyperref}
	\DeclareGraphicsExtensions{.eps, .ps}
	\usepackage{graphicx}
	\graphicspath{{Figures/EPS/}{Figures/PS/}{Figures/}}
\fi

%------------------------------------------------------------------------
% PAPER SIZE AND MARGINS
%------------------------------------------------------------------------
% Define the paper margins for A4 paper 210x297mm
% Margins are 15mm (44pt) all around, except 40mm (114pt) at the binding

% New margins definition
\newdimen\rightmargin
\newdimen\botmargin

% undo primitive default margins
%\voffset -1in
%\hoffset -1in
%\topskip 0in

% Top margin and headings
\topmargin = 15mm
\headheight = 12pt
\headsep = 20pt

% Bottom margin and headings
\footnotesep = 3pt
\footskip = 30pt
\botmargin = 15mm

%\textheight = \paperheight
%    \advance\textheight by-\topmargin
%    \advance\textheight by-\headheight
%    \advance\textheight by-\headsep
%    \advance\textheight by-\footnotesep
%    \advance\textheight by-\footskip
%    \advance\textheight by-\botmargin

% left margins for odd and even pages (binding margin
\oddsidemargin = 40mm
\evensidemargin = 40mm

% Right margins and margin notes
\rightmargin = 10mm
\marginparwidth=0pt
\marginparsep = 0pt

\textwidth = \paperwidth
\advance\textwidth by-\oddsidemargin
\advance\textwidth by-\marginparwidth
\advance\textwidth by-\marginparsep
\advance\textwidth by-\rightmargin

%------------------------------------------------------------------------
% CONFIGURATIONS
%------------------------------------------------------------------------
%Define the document default font family
\fontfamily{cmr}

\usepackage{ragged2e}
\usepackage[english, brazil]{babel}   % acentos
\selectlanguage{brazil}   % Portugues
\renewcommand{\bibname}{Refer�ncias} %Change bibliography name to references for Report document class

%Define the default paragraph format
\onehalfspacing
\parindent 0.0\p@
%\raggedright
\mdseries

%Define the default page number format
\pagenumbering{arabic}

%------------------------------------------------------------------------
% PAGE STYLE AND HEADINGS
%------------------------------------------------------------------------
\ifsu@fancyhead
	\pagestyle{fancy}
	\rhead{\small\mdseries\rightmark}
	\lhead{\small\mdseries\leftmark}
	\renewcommand{\headrulewidth}{0.3pt}
	\renewcommand{\footrulewidth}{0.3pt}
	\renewcommand{\chaptermark}[1]{\markboth{\chaptername \thechapterwords\ }{}}
	\renewcommand{\sectionmark}[1]{\markright{\thesection.\ #1}}
\else
	\pagestyle{plain}
	\rhead{}
	\lhead{}
\fi

%Add/remove lines in page headings.
%Enter a vluae of {0pt} to remove lines
\newcommand{\footlinewidth}[1]{\renewcommand{\footrulewidth}{#1}}
\newcommand{\headlinewidth}[1]{\renewcommand{\headrulewidth}{#1}}
\newcommand{\headingslinewidth}[1]{
	\renewcommand{\headrulewidth}{#1}
	\renewcommand{\footrulewidth}{#1}
}
%Head and foot lines without text
\newcommand{\headingslinesonly}{
	\rhead{}
	\lhead{}
}

%------------------------------------------------------------------------
% CHAPTERS HEADINGS
%------------------------------------------------------------------------
\newcommand{\thechapterwords}{
	\ifsu@appending
		\thechapter
	\else
	\ifcase\thechapter\or Um\or Dois\or Tr\^es\or Quatro\or Cinco\or Seis\or
	Sete\or Oito\or Nove\or Dez\or Onze\or
	Doze\or Treze\or Quatorze\or Quinze\or
	Dezesseis\or Dezessete\or Dezoito\or Dezenove\or
	Vinte\or Vinte e um\or Vinte e dois\or Vinte e tr\^es\or
	Vinte e quatro\or Vinte e cinco\or Vinte e seis\or
	Vinte e sete\or Vinte e oito\or Vinte e nove\or
	Trinta\fi
	\fi
}

\ifsu@fancychap
	\def\thickhrulefill{\leavevmode \leaders \hrule height 1ex \hfill \kern \z@}

\def\@makechapterhead#1{%
	{\parindent \z@ \centering \reset@font
		\thickhrulefill\quad
		\large \@chapapp{} \thechapterwords
		\quad \thickhrulefill
		\vspace*{5\p@}
		\interlinepenalty\@M
		\hrule
		\parskip=0ex
		\vspace*{5\p@}%
		\LARGE \bfseries #1\par\nobreak
		\par
		\vspace*{5\p@}%
		\hrule
		\vspace*{30\p@}
	}
}

\def\@makeschapterhead#1{%
	{\parindent \z@ \centering \reset@font
		\interlinepenalty\@M
		\hrule
		\parskip=0ex
		\vspace*{5\p@}
		\LARGE \bfseries #1\par\nobreak
		\vspace*{5\p@}
		\hrule
		\vspace*{30\p@}%
	}
}
\fi

%------------------------------------------------------------------------
%  SECTION HEADINGS
%------------------------------------------------------------------------
\ifsu@fancychap
\renewcommand\section{%
	\@startsection {section}{1}{\z@}%
	{-3.5ex \@plus -1ex \@minus -.2ex}% before
	{1ex \@plus.2ex}% after
	{\reset@font\Large\bfseries\slshape}}

\renewcommand\subsection{%
	\@startsection{subsection}{2}{\z@}%
	{-3.25ex\@plus -1ex \@minus -.2ex}% before
	{1ex \@plus .2ex}% after
	{\reset@font\Large\mdseries\slshape}}

\renewcommand\subsubsection{%
	\@startsection{subsubsection}{3}{\z@}%
	{-3.25ex\@plus -1ex \@minus -.2ex}% before
	{1ex \@plus .2ex}% after
	{\reset@font\Large\mdseries\itshape}}
\fi

%------------------------------------------------------------------------
% IDENTIFICATION (FIRST PAGE) COMMANDS
%------------------------------------------------------------------------
% O nome da institui��o que oferece o programa de p�s-gradua��o
\newcommand{\@university}{}
\newcommand{\university}[1]{\renewcommand{\@university}{#1}}

% O nome da Faculdade (quando for o caso)
\newcommand{\@faculty}{}
\newcommand{\faculty}[1]{\renewcommand{\@faculty}{#1}}

% O nome do Departamento (quando for o caso)
\newcommand{\@school}{}
\newcommand{\school}[1]{\renewcommand{\@school}{#1}}

% O nome do curso (quando for o caso)
\newcommand{\@course}{}
\newcommand{\course}[1]{\renewcommand{\@course}{#1}}

% O tipo do trabalho (quando for o caso)
\newcommand{\@typework}{}
\newcommand{\typework}[1]{\renewcommand{\@typework}{#1}}

% T�tulo completo da disserta��o ou tese
\newcommand{\@thesistitle}{}
\newcommand{\thesistitle}[1]{\renewcommand{\@thesistitle}{#1}}

% Subt�tulo da disserta��o ou tese (quando for o caso)
\newcommand{\@thesissubtitle}{}
\newcommand{\thesissubtitle}[1]{\renewcommand{\@thesissubtitle}{#1}}

% O n�mero deste volume e o total de n�meros de volumes (e.g. 1 of 3)
\newboolean{@usvolume} \setboolean{@usvolume}{true}
\newcommand{\showvolume}{\setboolean{@usvolume}{true}}
\newcommand{\hidevolume}{\setboolean{@usvolume}{false}}
\newcommand{\@thesisvolume}{}
\newcommand{\thesisvolume}[1]{\renewcommand{\@thesisvolume}{#1}}

% O nome completo do autor da disserta��o ou tese
\newcommand{\@thesisauthor}{}
\newcommand{\thesisauthor}[1]{\renewcommand{\@thesisauthor}{#1}}

% O nome completo do orientador da disserta��o ou tese
\newcommand{\@thesisadvisor}{}
\newcommand{\thesisadvisor}[1]{\renewcommand{\@thesisadvisor}{#1}}

% O nome completo do co-orientador da disserta��o ou tese
\newboolean{@coadvisor} \setboolean{@coadvisor}{true}
\newcommand{\showcoadvisor}{\setboolean{@coadvisor}{true}}
\newcommand{\hidecoadvisor}{\setboolean{@coadvisor}{false}}
\newcommand{\@thesiscoadvisor}{}
\newcommand{\thesiscoadvisor}[1]{\renewcommand{\@thesiscoadvisor}{#1}}

% O grau ou qualifica��o para o qual a disserta��o ou tese � submetida
\newcommand{\@thesisdegree}{}
\newcommand{\thesisdegree}[1]{\renewcommand{\@thesisdegree}{#1}}

% O t�tulo acad�mico para o qual a disserta��o ou tese � submetida
\newcommand{\@thesisdegreetitle}{}
\newcommand{\thesisdegreetitle}[1]{\renewcommand{\@thesisdegreetitle}{#1}}

% M�s e ano da defesa
\newcommand{\@thesismonthyear}{}
\newcommand{\thesismonthyear}[1]{\renewcommand{\@thesismonthyear}{#1}}

%------------------------------------------------------------------------
% MAKE TITLE PAGE COMMAND
%------------------------------------------------------------------------
\newcommand{\maketitlepage}{
	\thispagestyle{empty}
	\singlespacing
	\large
	\ifpdf
	\pdfbookmark{Title Page}{Title}
	\fi
	\vspace*{10mm}
	
	\begin{center}
		\includegraphics[scale=.50]{LogoFIEBSENAI} \par
		\large\bfseries{\MakeUppercase{\@university}}\par
		\doublespacing
		\vspace*{3mm}
		\large\MakeUppercase{\@faculty} \par
		%        \Large\@school \par
		%        \vspace*{50mm}
		\large\@course \par
		\vspace*{20mm}
		\Large\@typework \par
		\vspace*{10mm}
		\singlespacing
		\LARGE\bfseries{\@thesistitle} \Large \par
		\vspace*{5mm}
		\@thesissubtitle \par
		\vspace*{25mm}
		\mdseries
		\if@usvolume
		\@thesisvolume \par
		\vspace*{10mm}
		\fi
		Apresentada por: \@thesisauthor \par
		Orientador: \@thesisadvisor \par
		\if@coadvisor
		Co-orientador: \@thesiscoadvisor \par
		\vspace*{10mm}
		\fi
		\vspace*{45mm}%35
		\@thesismonthyear \par
	\end{center}
	\null\vfill
	\onehalfspacing
}

%------------------------------------------------------------------------
% FOLHA DE ROSTO
%------------------------------------------------------------------------
\newenvironment{folharosto}{
	\thispagestyle{empty}
}

\newenvironment{theauthor}{%
	\@thesisauthor
}

\newenvironment{thetitle}{%
	\@thesistitle
}

\newenvironment{thetypework}{%
	\@typework \space
}

\newenvironment{thefaculty}{%
	\@faculty
}

\newenvironment{thecourse}{%
	\@course \space
}

\newenvironment{theuniversity}{%
	\@university
}

\newenvironment{thedegreetitle}{%
	\@thesisdegreetitle
}

\newenvironment{theadvisor}{%
	\@thesisadvisor \space
}

\newenvironment{thecoadvisor}{%
	\@thesiscoadvisor \space
}


%------------------------------------------------------------------------
% FOLHA DE ASSINATURAS
%------------------------------------------------------------------------
\newenvironment{folhaassinaturas}{
	\thispagestyle{empty}
}

\newenvironment{thetypeworktwo}{%
	\@typework
}

%------------------------------------------------------------------------
% DEDICATORIA
%------------------------------------------------------------------------
\newenvironment{dedicatoria}{
	\thispagestyle{empty}
}

%------------------------------------------------------------------------
% AGRADECIMENTOS
%------------------------------------------------------------------------
\newenvironment{agradecimentos}{
	\writesectiontitle{Agradecimentos}
	\thispagestyle{empty}
}

%------------------------------------------------------------------------
% WRITE NEW ENVIRONMENT SECTION TITLE
%------------------------------------------------------------------------
\newcommand{\writesectiontitle}[1]{
	\newpage
	\large
	\ifpdf
	\pdfbookmark[1]{#1}{#1}
	\fi
	\onehalfspacing
	\parindent \z@ \reset@font
	\interlinepenalty\@M
	\ifsu@fancychap
	\centering
	\hrule
	\vspace*{5\p@}%
	\LARGE \bfseries #1 \par\nobreak
	\vspace*{5\p@}%
	\hrule
	\else
	\raggedright
	\vspace*{5\p@}%
	\Huge \bfseries #1 \par\nobreak
	\fi
	\vspace*{40pt}
	\justifying \mdseries \large
}

%------------------------------------------------------------------------
% NOTA SOBRE O ESTILO
%------------------------------------------------------------------------
\newenvironment{notaestilo}{
	\writesectiontitle{Nota sobre o estilo do PPGMCTI}
	\thispagestyle{empty}
	\parindent 0.0\p@
}

\newenvironment{thetypeworkthree}{%
	\MakeLowercase\@typework  \space
}

\newenvironment{thefacultytwo}{%
	\@faculty \space
}

%------------------------------------------------------------------------
% ABSTRACT
%------------------------------------------------------------------------
\newboolean{su@abstractsingle} \setboolean{su@abstractsingle}{false}
\newcommand{\abastractsingle}{\setboolean{su@abstractsingle}{true}}
\newcommand{\abastractonehalf}{\setboolean{su@abstractsingle}{false}}

\newenvironment{thesisabastract}{
	\writesectiontitle{Abstract}
	\thispagestyle{plain}
	
	\parindent 0.0\p@
	%    \justifying \mdseries \large
}

%------------------------------------------------------------------------
% RESUMO
%------------------------------------------------------------------------
\newenvironment{thesisresumo}{
	\writesectiontitle{Resumo}
	\thispagestyle{plain}
	
	\setlength{\parindent}{0.0mm}
	%    \justifying \mdseries \large
}

%------------------------------------------------------------------------
% LIST OF CONTENTS
%------------------------------------------------------------------------
\newenvironment{thesiscontents}{
	\singlespacing
	\large
	\setcounter{secnumdepth}{3}
	\setcounter{tocdepth}{3}
	\ifpdf
	 \pdfbookmark[1]{Sum�rio}{toc} \tableofcontents
	 \newpage
	 \pdfbookmark[1]{Lista de Tabelas}{lot}\listoftables
	 \newpage
	 \pdfbookmark[1]{Lista de Figuras}{lof} \listoffigures
	 \newpage
	 %\pdfbookmark[1]{Lista de Algoritmos}{loa} \listofalgorithms
	 %\newpage
	\else
	 \tableofcontents
	 \listoftables
	 \listoffigures
	 \listofalgorithms
	\fi
}

%------------------------------------------------------------------------
% PREFACE
%------------------------------------------------------------------------
\newenvironment{thesispreface}{
	\writesectiontitle{Pref\'acio}
	\thispagestyle{plain}
}

%------------------------------------------------------------------------
% DEFINITIONS AND ABBREVIATIONS
%------------------------------------------------------------------------
\newenvironment{thesisabbreviations}{
	\writesectiontitle{Lista de Siglas}
	\thispagestyle{plain}
}

%------------------------------------------------------------------------
% THESIS APPENDICES
%------------------------------------------------------------------------
\newboolean{su@appending} \setboolean{su@appending}{false}
\newenvironment{thesisappendices}{
	\setboolean{su@appending}{true}
	\appendix
	\renewcommand{\chaptermark}[1]{\markboth{\appendixname \thechapterwords\ }{}}
}

%------------------------------------------------------------------------
% ULTIMA FOLHA
%------------------------------------------------------------------------
\newenvironment{ultimafolha}{
	\thispagestyle{empty}
}

\newenvironment{mesdeano}{%
	\@thesismonthyear
}

%------------------------------------------------------------------------
% Cita��o Literal
%------------------------------------------------------------------------
\newenvironment{CitacaoLiteral}{ 
	\begin{list}{}
		{
			\setlength{\rightmargin}{0cm}
			\setlength{\leftmargin}{3cm}
			\singlespacing
			\footnotesize
		}
		\item[] \ignorespaces
	}
	{
	%\unskip"
	\unskip
	\end{list}
	\normalsize
	%   \doublespacing
}

%------------------------------------------------------------------------
% As duas linhas de comando que seguem servem para incluir a subsubsection
% na tabela de conteudo e inserir seu respectivo numero ao lado do subsubitem
%------------------------------------------------------------------------
\addtocounter{secnumdepth}{3} \setcounter{tocdepth}{3}

%------------------------------------------------------------------------
% SET ROMAN PAGE NUMBERS
%------------------------------------------------------------------------
% The romanpages environment set the page numbering to lowercase roman one
% for the contents and figures lists. It also resetspage-numbering for the
% remainder of the dissertation (arabic, starting at 1).
\newenvironment{romanpagenumbers}{
	\newpage
	\setcounter{page}{1}
	\renewcommand{\thepage}{\roman{page}}}
{\newpage\renewcommand{\thepage}{\arabic{page}}\setcounter{page}{1}}
Last edited by Stefan Kottwitz on Sat Jan 14, 2017 10:04 pm, edited 1 time in total.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10348
Joined: Mon Mar 10, 2008 9:44 pm

Help a Brazilian create index of figures and tables.

Post by Stefan Kottwitz »

That class is from 2003, that's about sweet 14 years of age!
Do you have to use that?

Stefan
LaTeX.org admin
thiagopc
Posts: 3
Joined: Sat Jan 14, 2017 8:42 pm

Help a Brazilian create index of figures and tables.

Post by thiagopc »

This is the template that the university used. I have already done my dissertation of 90 pages. It is necessary to insert the index of figures and tables. As for being from 2003, I do not know about that. But I use that one.
Post Reply