Graphics, Figures & Tables\begin{table} error

Information and discussion about graphics, figures & tables in LaTeX documents.
eltonsoares
Posts: 10
Joined: Sun May 11, 2014 7:06 pm

\begin{table} error

Post by eltonsoares »

Hi,

I am trying to create a table, but it only works when I remove the \begin{table} and \end{table}.

Here is its code:

Code: Select all

% Table generated by Excel2LaTeX from sheet 'Plan2'
\begin{table}[htbp]
  \centering
  \caption{Add caption}
    \begin{tabular}{rrrr}
    \toprule
    \multicolumn{4}{c}{Potência outurgada e potência do consumo interno da usina} \\
    \midrule
     UTE  & Potência outurgada
(MW) & consumo interno
(MW) & consumo interno
(\%) \\
    One & 148,8 & 4,173305 &                                                                2,80  \\
    Two & 148,8 & 4,173305 &                                                                2,80  \\
    \bottomrule
    \end{tabular}%
  \label{tab:addlabel}%
\end{table}%
My document class is a customized one.

Any thoughts would be helpful.
Electrical Engineer
Master's Degree in Energy student

Recommended reading 2024:

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

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

eltonsoares
Posts: 10
Joined: Sun May 11, 2014 7:06 pm

Re: \begin{table} error

Post by eltonsoares »

After some reviews on my code, I noticed that the problem is actually in the command \caption{Add caption}.

When I comment on it with %, the table works normally with the begin{table} but I need a caption for it.

What can I do?
Electrical Engineer
Master's Degree in Energy student
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

\begin{table} error

Post by Stefan Kottwitz »

Welcome to the forum!
eltonsoares wrote:I noticed that the problem is actually in the command \caption{Add caption}.
This command is valid. Your code above is correct, it works without error.

I assume the actual caption in your document is not "Add caption". Perhaps you use special characters or a macro within the caption text. If yes, tell us that detail, so we can help to fix it.

Stefan
LaTeX.org admin
eltonsoares
Posts: 10
Joined: Sun May 11, 2014 7:06 pm

\begin{table} error

Post by eltonsoares »

I am using a normal text. I even tried \caption{test} and it do not work.

I get this message in log. Maybe you can understand better than I did.

Code: Select all

pdfTeX warning (ext4): destination with the same identifier (name{table.0.2}) h
as been already used, duplicate ignored

\AtBegShi@Output ...ipout \box \AtBeginShipoutBox 
                                                  \fi \fi 
l.125 \include{revbib}
                      ]
thanks
Electrical Engineer
Master's Degree in Energy student
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Re: \begin{table} error

Post by Stefan Kottwitz »

Since it works with standard LaTeX, as I tested, it problem must be caused by your customized class (or packages and settings not shows here).

Can you post it as attachment?

Stefan
LaTeX.org admin
eltonsoares
Posts: 10
Joined: Sun May 11, 2014 7:06 pm

\begin{table} error

Post by eltonsoares »

Sure.

I use a class, which is posted below:

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    = "xxx",
%%% address     = "xxx
%%%                xxx
%%%                xxx
%%%                xxx",
%%% telephone   = "xxx",
%%% email       = "xxx",
%%% codetable   = "ISO/ASCII",
%%% keywords    = "LaTeX, Programa de P\´os-gradua\c{c}\~ao, xxx, Disserta\c{c}\~ao, Tese",
%%% supported   = "Sei n\~ao...",
%%% copyright©  = "xxx
%%%                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]
 ----------------------------------------------------}

%------------------------------------------------------------------------
%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,
                 pagebackref,
                 backref=page,
                 colorlinks = true,
                 linkcolor = blue,
                 urlcolor  = blue,
                 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,
                 pagebackref,
                 backref=page,
                 backref,
                 colorlinks = true,
                 linkcolor = blue,
                 urlcolor  = blue,
                 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[english, brazil]{babel}   % acentos
\selectlanguage{brazil}   % Portugues

%Change bibliography name to references for Report document class
\renewcommand{\bibname}{Referências}

\usepackage{ragged2e}

%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*{35mm}
        \@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"\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}}
in my document I start as

Code: Select all

\documentclass[fancyheadings, fancychapter, sureport]{Classes/PPGMCTI}
edited:
my packages

Code: Select all

\usepackage[brazil]{babel}
\usepackage[latin1]{inputenc}
\usepackage{longtable}
\usepackage{lastpage}
\usepackage{relsize}
\usepackage{multirow}
\usepackage{lscape}
\usepackage{booktabs}
\usepackage{microtype} 			
\usepackage{graphicx}
\usepackage{float,subfigure}
\usepackage[left=3cm,top=3cm,right=2cm,bottom=2cm]{geometry}
%\usepackage[alf,abnt-etal-list=5]{abntcite}
\usepackage[alf]{abntex2cite}
\usepackage{lipsum}	
\usepackage{color}	
\usepackage{enumerate}
\usepackage{indentfirst}
%\usepackage[brazilian,hyperpageref]{backref}	
%\usepackage{algorithm}
%\usepackage{algorithmic}
\usepackage{scalefnt}
\usepackage{ifpdf}
%Tables and Figures Caption
\setlength{\LTcapwidth}{\textwidth}
Electrical Engineer
Master's Degree in Energy student
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

\begin{table} error

Post by Stefan Kottwitz »

There's just one problem: in the class file there's an incorrect line:

----------------------------------------------------}

It's line 32. Does the error go away if you remove it?

When I compile with the line removed, and your further code, all works fine.

Can you otherwise post the .log file as attachment?

Stefan
LaTeX.org admin
eltonsoares
Posts: 10
Joined: Sun May 11, 2014 7:06 pm

Re: \begin{table} error

Post by eltonsoares »

I have to leave for a while. I will try and let you know. Thanks!
Electrical Engineer
Master's Degree in Energy student
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Re: \begin{table} error

Post by Stefan Kottwitz »

No problem. Perhaps later combine your information above to an example which causes the error, so we would be testing the same code, looking at and compiling the same lines.

Stefan
LaTeX.org admin
eltonsoares
Posts: 10
Joined: Sun May 11, 2014 7:06 pm

\begin{table} error

Post by eltonsoares »

Dear Stefan,

I think that the "----}" appeared due a misspasting of my own.
Resuming the problem in a single issue, when I remove \caption{caption} the file compiles, when \caption is there, it does not.

Here below I pasted the .log when I compile with the \caption

Code: Select all

This is pdfTeX, Version 3.1415926-1.40.11 (MiKTeX 2.9 64-bit) (preloaded format=pdflatex 2014.4.5)  20 MAY 2014 08:13
entering extended mode
**C:/Users/elton/Google*Drive/Mestrado/04.*Matérias/Dissertação/0.*Latex*(PUC)/
diss.tex

("C:/Users/elton/Google Drive/Mestrado/04. Matérias/Dissertação/0. Latex (PUC)/
diss.tex"
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, afrikaans, ancientgreek, ar
abic, armenian, assamese, basque, bengali, bokmal, bulgarian, catalan, coptic, 
croatian, czech, danish, dutch, esperanto, estonian, farsi, finnish, french, ga
lician, german, german-x-2009-06-19, greek, gujarati, hindi, hungarian, iceland
ic, indonesian, interlingua, irish, italian, kannada, kurmanji, lao, latin, lat
vian, lithuanian, malayalam, marathi, mongolian, mongolianlmc, monogreek, ngerm
an, ngerman-x-2009-06-19, nynorsk, oriya, panjabi, pinyin, polish, portuguese, 
romanian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish, swis
sgerman, tamil, telugu, turkish, turkmen, ukenglish, ukrainian, uppersorbian, u
senglishmax, welsh, loaded.

("C:\Users\elton\Google Drive\Mestrado\04. Matérias\Dissertação\0. Latex (PUC)\
Classes/PPGMCTI.cls"

LaTeX Warning: You have requested document class `Classes/PPGMCTI',
               but the document class provides `PPGMCTI'.

Document Class: PPGMCTI 2009/04/15 v0.0.0
---------------------------------------------------------
Esta classe LaTeX está de acordo com os requerimentos do 
programa de pós-graduação para a submissão de uma disser-
tação de mestrado ou tese de doutorado ao SENAI Cimatec 
implementada inicialmente por Israel Vieira para atender 
os requisitos da University of Southampton e, posterior- 
mente, modificada por Hernane Pereira. 
---------------------------------------------------------
("C:\Program Files\MiKTeX 2.9\tex\latex\base\ifthen.sty"
Package: ifthen 2001/05/26 v1.1c Standard LaTeX ifthen package (DPC)
)
("C:\Program Files\MiKTeX 2.9\tex\latex\setspace\setspace.sty"
Package: setspace 2011/12/19 v6.7a set line spacing
)
("C:\Program Files\MiKTeX 2.9\tex\latex\ams\math\amsmath.sty"
Package: amsmath 2000/07/18 v2.13 AMS math features
\@mathmargin=\skip41

For additional information on amsmath, use the `?' option.
("C:\Program Files\MiKTeX 2.9\tex\latex\ams\math\amstext.sty"
Package: amstext 2000/06/29 v2.01

("C:\Program Files\MiKTeX 2.9\tex\latex\ams\math\amsgen.sty"
File: amsgen.sty 1999/11/30 v2.0
\@emptytoks=\toks14
\ex@=\dimen102
))
("C:\Program Files\MiKTeX 2.9\tex\latex\ams\math\amsbsy.sty"
Package: amsbsy 1999/11/29 v1.2d
\pmbraise@=\dimen103
)
("C:\Program Files\MiKTeX 2.9\tex\latex\ams\math\amsopn.sty"
Package: amsopn 1999/12/14 v2.01 operator names
)
\inf@bad=\count79
LaTeX Info: Redefining \frac on input line 211.
\uproot@=\count80
\leftroot@=\count81
LaTeX Info: Redefining \overline on input line 307.
\classnum@=\count82
\DOTSCASE@=\count83
LaTeX Info: Redefining \ldots on input line 379.
LaTeX Info: Redefining \dots on input line 382.
LaTeX Info: Redefining \cdots on input line 467.
\Mathstrutbox@=\box26
\strutbox@=\box27
\big@size=\dimen104
LaTeX Font Info:    Redeclaring font encoding OML on input line 567.
LaTeX Font Info:    Redeclaring font encoding OMS on input line 568.
\macc@depth=\count84
\c@MaxMatrixCols=\count85
\dotsspace@=\muskip10
\c@parentequation=\count86
\dspbrk@lvl=\count87
\tag@help=\toks15
\row@=\count88
\column@=\count89
\maxfields@=\count90
\andhelp@=\toks16
\eqnshift@=\dimen105
\alignsep@=\dimen106
\tagshift@=\dimen107
\tagwidth@=\dimen108
\totwidth@=\dimen109
\lineht@=\dimen110
\@envbody=\toks17
\multlinegap=\skip42
\multlinetaggap=\skip43
\mathdisplay@stack=\toks18
LaTeX Info: Redefining \[ on input line 2666.
LaTeX Info: Redefining \] on input line 2667.
)
("C:\Program Files\MiKTeX 2.9\tex\latex\amsfonts\amsfonts.sty"
Package: amsfonts 2009/06/22 v3.00 Basic AMSFonts support
\symAMSa=\mathgroup4
\symAMSb=\mathgroup5
LaTeX Font Info:    Overwriting math alphabet `\mathfrak' in version `bold'
(Font)                  U/euf/m/n --> U/euf/b/n on input line 96.
)
("C:\Program Files\MiKTeX 2.9\tex\latex\amsfonts\amssymb.sty"
Package: amssymb 2009/06/22 v3.00
)
("C:\Program Files\MiKTeX 2.9\tex\latex\ams\classes\amsthm.sty"
Package: amsthm 2004/08/06 v2.20
\thm@style=\toks19
\thm@bodyfont=\toks20
\thm@headfont=\toks21
\thm@notefont=\toks22
\thm@headpunct=\toks23
\thm@preskip=\skip44
\thm@postskip=\skip45
\thm@headsep=\skip46
\dth@everypar=\toks24
)
("C:\Program Files\MiKTeX 2.9\tex\latex\amsfonts\eucal.sty"
Package: eucal 2009/06/22 v3.00 Euler Script fonts
LaTeX Font Info:    Overwriting math alphabet `\EuScript' in version `bold'
(Font)                  U/eus/m/n --> U/eus/b/n on input line 33.
)
("C:\Program Files\MiKTeX 2.9\tex\latex\graphics\graphics.sty"
Package: graphics 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)

("C:\Program Files\MiKTeX 2.9\tex\latex\graphics\trig.sty"
Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
)
("C:\Program Files\MiKTeX 2.9\tex\latex\00miktex\graphics.cfg"
File: graphics.cfg 2007/01/18 v1.5 graphics configuration of teTeX/TeXLive
)
Package graphics Info: Driver file: pdftex.def on input line 91.

("C:\Program Files\MiKTeX 2.9\tex\latex\pdftex-def\pdftex.def"
File: pdftex.def 2011/01/28 v0.05d Graphics/color for pdfTeX
\Gread@gobject=\count91
))
("C:\Program Files\MiKTeX 2.9\tex\latex\fancyhdr\fancyhdr.sty"
\fancy@headwidth=\skip47
\f@ncyO@elh=\skip48
\f@ncyO@erh=\skip49
\f@ncyO@olh=\skip50
\f@ncyO@orh=\skip51
\f@ncyO@elf=\skip52
\f@ncyO@erf=\skip53
\f@ncyO@olf=\skip54
\f@ncyO@orf=\skip55
)
("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\ifpdf.sty"
Package: ifpdf 2010/01/28 v2.1 Provides the ifpdf switch (HO)
Package ifpdf Info: pdfTeX in pdf mode detected.
)
---------------------------------------------------------
PPGMCTI usará a classe de documento -> report.
PPGMCTI gerará um arquivo PDF.
("C:\Program Files\MiKTeX 2.9\tex\latex\base\report.cls"
Document Class: report 2007/10/19 v1.4h Standard LaTeX document class
("C:\Program Files\MiKTeX 2.9\tex\latex\base\size11.clo"
File: size11.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
)
\c@part=\count92
\c@chapter=\count93
\c@section=\count94
\c@subsection=\count95
\c@subsubsection=\count96
\c@paragraph=\count97
\c@subparagraph=\count98
\c@figure=\count99
\c@table=\count100
\abovecaptionskip=\skip56
\belowcaptionskip=\skip57
\bibindent=\dimen111
)
---------------------------------------------------------
("C:\Program Files\MiKTeX 2.9\tex\latex\hyperref\hyperref.sty"
Package: hyperref 2011/03/09 v6.82d Hypertext links for LaTeX

("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\ltxcmds.sty"
Package: ltxcmds 2010/04/26 v1.7 LaTeX kernel commands for general use (HO)
)
("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\pdftexcmds.sty"
Package: pdftexcmds 2010/04/01 v0.9 Utility functions of pdfTeX for LuaTeX (HO)


("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\infwarerr.sty"
Package: infwarerr 2010/04/08 v1.3 Providing info/warning/message (HO)
)
("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\ifluatex.sty"
Package: ifluatex 2010/03/01 v1.3 Provides the ifluatex switch (HO)
Package ifluatex Info: LuaTeX not detected.
)
Package pdftexcmds Info: LuaTeX not detected.
Package pdftexcmds Info: \pdf@primitive is available.
Package pdftexcmds Info: \pdf@ifprimitive is available.
)
("C:\Program Files\MiKTeX 2.9\tex\latex\graphics\keyval.sty"
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\KV@toks@=\toks25
)
("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\kvsetkeys.sty"
Package: kvsetkeys 2010/03/01 v1.9 Key value parser (HO)

("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\etexcmds.sty"
Package: etexcmds 2010/01/28 v1.3 Prefix for e-TeX command names (HO)
Package etexcmds Info: Could not find \expanded.
(etexcmds)             That can mean that you are not using pdfTeX 1.50 or
(etexcmds)             that some package has redefined \expanded.
(etexcmds)             In the latter case, load this package earlier.
))
("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\pdfescape.sty"
Package: pdfescape 2010/03/01 v1.9 Provides hex, PDF name and string conversion
s (HO)
)
("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\ifvtex.sty"
Package: ifvtex 2010/03/01 v1.5 Switches for detecting VTeX and its modes (HO)
Package ifvtex Info: VTeX not detected.
)
("C:\Program Files\MiKTeX 2.9\tex\generic\ifxetex\ifxetex.sty"
Package: ifxetex 2010/09/12 v0.6 Provides ifxetex conditional
)
("C:\Program Files\MiKTeX 2.9\tex\latex\oberdiek\hycolor.sty"
Package: hycolor 2009/12/12 v1.6 Color options of hyperref/bookmark (HO)

("C:\Program Files\MiKTeX 2.9\tex\latex\oberdiek\xcolor-patch.sty"
Package: xcolor-patch 2009/12/12 xcolor patch
))
("C:\Program Files\MiKTeX 2.9\tex\latex\oberdiek\letltxmacro.sty"
Package: letltxmacro 2008/06/24 v1.3 Let assignment for LaTeX macros (HO)
)
("C:\Program Files\MiKTeX 2.9\tex\latex\oberdiek\kvoptions.sty"
Package: kvoptions 2010/02/22 v3.7 Keyval support for LaTeX options (HO)
)
\@linkdim=\dimen112
\Hy@linkcounter=\count101
\Hy@pagecounter=\count102

("C:\Program Files\MiKTeX 2.9\tex\latex\hyperref\pd1enc.def"
File: pd1enc.def 2011/03/09 v6.82d Hyperref: PDFDocEncoding definition (HO)
)
("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\intcalc.sty"
Package: intcalc 2007/09/27 v1.1 Expandable integer calculations (HO)
)
\Hy@SavedSpaceFactor=\count103

("C:\Program Files\MiKTeX 2.9\tex\latex\00miktex\hyperref.cfg"
File: hyperref.cfg 2002/06/06 v1.2 hyperref configuration of TeXLive
)

Package hyperref Warning: Values of option `pdfpagelayout':
(hyperref)                * `SinglePage'
(hyperref)                * `OneColumn'
(hyperref)                * `TwoColumnLeft'
(hyperref)                * `TwoColumnRight'
(hyperref)                * `TwoPageLeft' (PDF 1.5)
(hyperref)                * `TwoPageRight' (PDF 1.5)
(hyperref)                * An empty value disables the option.
(hyperref)                Unknown value `useoutlines' on input line 3921.

Package hyperref Info: Option `bookmarks' set `true' on input line 3921.
Package hyperref Info: Option `bookmarksopen' set `true' on input line 3921.
Package hyperref Info: Option `bookmarksnumbered' set `true' on input line 3921
.
Package hyperref Info: Option `breaklinks' set `true' on input line 3921.
Package hyperref Info: Option `linktocpage' set `true' on input line 3921.
Package hyperref Info: Option `colorlinks' set `true' on input line 3921.
Package hyperref Info: Option `hyperindex' set `true' on input line 3921.
Package hyperref Info: Hyper figures OFF on input line 4025.
Package hyperref Info: Link nesting OFF on input line 4030.
Package hyperref Info: Hyper index ON on input line 4033.
Package hyperref Info: Plain pages OFF on input line 4040.
Package hyperref Info: Backreferencing ON on input line 4043.
Package hyperref Info: Implicit mode ON; LaTeX internals redefined.
Package hyperref Info: Bookmarks ON on input line 4263.
("C:\Program Files\MiKTeX 2.9\tex\latex\hyperref\backref.sty"
Package: backref 2010/08/30 v1.36 Bibliographical back referencing

("C:\Program Files\MiKTeX 2.9\tex\latex\oberdiek\rerunfilecheck.sty"
Package: rerunfilecheck 2010/03/16 v1.6 Rerun checks for auxiliary files (HO)

("C:\Program Files\MiKTeX 2.9\tex\latex\oberdiek\atveryend.sty"
Package: atveryend 2010/03/24 v1.5 Hooks at very end of document (HO)
Package atveryend Info: \enddocument detected (standard).
)
("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\uniquecounter.sty"
Package: uniquecounter 2009/12/18 v1.1 Provides unlimited unique counter (HO)

("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\bigintcalc.sty"
Package: bigintcalc 2007/11/11 v1.1 Expandable big integer calculations (HO)
))
Package uniquecounter Info: New unique counter `rerunfilecheck' on input line 2
71.
))
\c@Hy@tempcnt=\count104

("C:\Program Files\MiKTeX 2.9\tex\latex\ltxmisc\url.sty"
\Urlmuskip=\muskip11
Package: url 2006/04/12  ver 3.3  Verb mode for urls, etc.
)
LaTeX Info: Redefining \url on input line 4616.

("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\bitset.sty"
Package: bitset 2007/09/28 v1.0 Data type bit set (HO)
)
\Fld@menulength=\count105
\Field@Width=\dimen113
\Fld@charsize=\dimen114
Package hyperref Info: Hyper figures OFF on input line 5700.
Package hyperref Info: Link nesting OFF on input line 5705.
Package hyperref Info: Hyper index ON on input line 5708.
Package hyperref Info: backreferencing ON on input line 5713.
Package hyperref Info: Link coloring ON on input line 5718.
Package hyperref Info: Link coloring with OCG OFF on input line 5725.
Package hyperref Info: PDF/A mode OFF on input line 5730.
LaTeX Info: Redefining \ref on input line 5770.
LaTeX Info: Redefining \pageref on input line 5774.

("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\atbegshi.sty"
Package: atbegshi 2010/03/25 v1.12 At begin shipout hook (HO)
)
\Hy@abspage=\count106
\c@Item=\count107
\c@Hfootnote=\count108
)

Package hyperref Message: Driver: hpdftex.

("C:\Program Files\MiKTeX 2.9\tex\latex\hyperref\hpdftex.def"
File: hpdftex.def 2011/03/09 v6.82d Hyperref driver for pdfTeX
\Fld@listcount=\count109
\c@bookmark@seq@number=\count110
\Hy@SectionHShift=\skip58
)
("C:\Program Files\MiKTeX 2.9\tex\latex\graphics\graphicx.sty"
Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
\Gin@req@height=\dimen115
\Gin@req@width=\dimen116
)
\rightmargin=\dimen117
\botmargin=\dimen118

("C:\Program Files\MiKTeX 2.9\tex\generic\babel\babel.sty"
Package: babel 2008/07/06 v3.8l The Babel package

*************************************
* Local config file bblopts.cfg used
*
("C:\Program Files\MiKTeX 2.9\tex\latex\00miktex\bblopts.cfg"
File: bblopts.cfg 2006/07/31 v1.0 MiKTeX 'babel' configuration
)
("C:\Program Files\MiKTeX 2.9\tex\generic\babel\english.ldf"
Language: english 2005/03/30 v3.3o English support from the babel system

("C:\Program Files\MiKTeX 2.9\tex\generic\babel\babel.def"
File: babel.def 2008/07/06 v3.8l Babel common definitions
\babel@savecnt=\count111
\U@D=\dimen119
)
\l@canadian = a dialect from \language\l@american 
\l@australian = a dialect from \language\l@british 
\l@newzealand = a dialect from \language\l@british 
)
("C:\Program Files\MiKTeX 2.9\tex\generic\babel\portuges.ldf"
Language: portuges 2008/03/18 v1.2q Portuguese support from the babel system
\l@brazil = a dialect from \language\l@portuges 
Package babel Info: Making " an active character on input line 145.
))
("C:\Program Files\MiKTeX 2.9\tex\latex\ms\ragged2e.sty"
Package: ragged2e 2009/05/21 v2.1 ragged2e Package (MS)

("C:\Program Files\MiKTeX 2.9\tex\latex\ms\everysel.sty"
Package: everysel 2011/10/28 v1.2 EverySelectfont Package (MS)
)
\CenteringLeftskip=\skip59
\RaggedLeftLeftskip=\skip60
\RaggedRightLeftskip=\skip61
\CenteringRightskip=\skip62
\RaggedLeftRightskip=\skip63
\RaggedRightRightskip=\skip64
\CenteringParfillskip=\skip65
\RaggedLeftParfillskip=\skip66
\RaggedRightParfillskip=\skip67
\JustifyingParfillskip=\skip68
\CenteringParindent=\skip69
\RaggedLeftParindent=\skip70
\RaggedRightParindent=\skip71
\JustifyingParindent=\skip72
))

Package hyperref Warning: Option `backref' has already been used,
(hyperref)                setting the option has no effect on input line 19.

Package hyperref Info: Option `colorlinks' set `true' on input line 19.
("C:\Program Files\MiKTeX 2.9\tex\latex\base\inputenc.sty"
Package: inputenc 2008/03/30 v1.1d Input encoding file
\inpenc@prehook=\toks26
\inpenc@posthook=\toks27

("C:\Program Files\MiKTeX 2.9\tex\latex\base\latin1.def"
File: latin1.def 2008/03/30 v1.1d Input encoding file
))
("C:\Program Files\MiKTeX 2.9\tex\latex\tools\longtable.sty"
Package: longtable 2004/02/01 v4.11 Multi-page Table package (DPC)
\LTleft=\skip73
\LTright=\skip74
\LTpre=\skip75
\LTpost=\skip76
\LTchunksize=\count112
\LTcapwidth=\dimen120
\LT@head=\box28
\LT@firsthead=\box29
\LT@foot=\box30
\LT@lastfoot=\box31
\LT@cols=\count113
\LT@rows=\count114
\c@LT@tables=\count115
\c@LT@chunks=\count116
\LT@p@ftn=\toks28
)
("C:\Program Files\MiKTeX 2.9\tex\latex\lastpage\lastpage.sty"

LaTeX Warning: You have requested release `2011/06/27' of LaTeX,
               but only release `2009/09/24' is available.

Package: lastpage 2013/01/28 v1.2l Refers to last page's name (HMM; JPG)
) ("C:\Program Files\MiKTeX 2.9\tex\latex\ltxmisc\relsize.sty"
Package: relsize 2003/07/04 ver 3.1
)
("C:\Program Files\MiKTeX 2.9\tex\latex\multirow\multirow.sty"
\bigstrutjot=\dimen121
)
("C:\Program Files\MiKTeX 2.9\tex\latex\graphics\lscape.sty"
Package: lscape 2000/10/22 v3.01 Landscape Pages (DPC)
)
("C:\Program Files\MiKTeX 2.9\tex\latex\booktabs\booktabs.sty"
Package: booktabs 2005/04/14 v1.61803 publication quality tables
\heavyrulewidth=\dimen122
\lightrulewidth=\dimen123
\cmidrulewidth=\dimen124
\belowrulesep=\dimen125
\belowbottomsep=\dimen126
\aboverulesep=\dimen127
\abovetopsep=\dimen128
\cmidrulesep=\dimen129
\cmidrulekern=\dimen130
\defaultaddspace=\dimen131
\@cmidla=\count117
\@cmidlb=\count118
\@aboverulesep=\dimen132
\@belowrulesep=\dimen133
\@thisruleclass=\count119
\@lastruleclass=\count120
\@thisrulewidth=\dimen134
)
("C:\Program Files\MiKTeX 2.9\tex\latex\microtype\microtype.sty"
Package: microtype 2013/05/23 v2.5a Micro-typographical refinements (RS)
\MT@toks=\toks29
\MT@count=\count121
LaTeX Info: Redefining \textls on input line 766.
\MT@outer@kern=\dimen135
LaTeX Info: Redefining \textmicrotypecontext on input line 1285.
\MT@listname@count=\count122

("C:\Program Files\MiKTeX 2.9\tex\latex\microtype\microtype-pdftex.def"
File: microtype-pdftex.def 2013/05/23 v2.5a Definitions specific to pdftex (RS)

LaTeX Info: Redefining \lsstyle on input line 915.
LaTeX Info: Redefining \lslig on input line 915.
\MT@outer@space=\skip77
)
Package microtype Info: Loading configuration file microtype.cfg.

("C:\Program Files\MiKTeX 2.9\tex\latex\microtype\microtype.cfg"
File: microtype.cfg 2013/05/23 v2.5a microtype main configuration file (RS)
))
("C:\Program Files\MiKTeX 2.9\tex\latex\float\float.sty"
Package: float 2001/11/08 v1.3d Float enhancements (AL)
\c@float@type=\count123
\float@exts=\toks30
\float@box=\box32
\@float@everytoks=\toks31
\@floatcapt=\box33
)
("C:\Program Files\MiKTeX 2.9\tex\latex\subfigure\subfigure.sty"
Package: subfigure 2002/07/30 v2.1.4 subfigure package
\subfigtopskip=\skip78
\subfigcapskip=\skip79
\subfigcaptopadj=\dimen136
\subfigbottomskip=\skip80
\subfigcapmargin=\dimen137
\subfiglabelskip=\skip81
\c@subfigure=\count124
\c@lofdepth=\count125
\c@subtable=\count126
\c@lotdepth=\count127

****************************************
* Local config file subfigure.cfg used *
****************************************
("C:\Program Files\MiKTeX 2.9\tex\latex\subfigure\subfigure.cfg")
\subfig@top=\skip82
\subfig@bottom=\skip83
)
("C:\Program Files\MiKTeX 2.9\tex\latex\geometry\geometry.sty"
Package: geometry 2010/09/12 v5.6 Page Geometry
\Gm@cnth=\count128
\Gm@cntv=\count129
\c@Gm@tempcnt=\count130
\Gm@bindingoffset=\dimen138
\Gm@wd@mp=\dimen139
\Gm@odd@mp=\dimen140
\Gm@even@mp=\dimen141
\Gm@layoutwidth=\dimen142
\Gm@layoutheight=\dimen143
\Gm@layouthoffset=\dimen144
\Gm@layoutvoffset=\dimen145
\Gm@dimlist=\toks32

("C:\Program Files\MiKTeX 2.9\tex\latex\geometry\geometry.cfg"))
("C:\Program Files\MiKTeX 2.9\tex\latex\abntex2\abntex2cite.sty"
Package: abntex2cite 2014/01/26 v1.9.2 abnTeX2

("C:\Program Files\MiKTeX 2.9\tex\latex\tools\calc.sty"
Package: calc 2007/08/22 v4.3 Infix arithmetic (KKT,FJ)
\calc@Acount=\count131
\calc@Bcount=\count132
\calc@Adimen=\dimen146
\calc@Bdimen=\dimen147
\calc@Askip=\skip84
\calc@Bskip=\skip85
LaTeX Info: Redefining \setlength on input line 76.
LaTeX Info: Redefining \addtolength on input line 77.
\calc@Ccount=\count133
\calc@Cskip=\skip86
)
("C:\Program Files\MiKTeX 2.9\tex\latex\abntex2\abntex2abrev.sty")
\minimumbiblabelwidth=\skip87
\ABCIauxlen=\skip88
\c@ABCIaux=\count134
\c@ABCImax=\count135
\biblabelsep=\skip89
LaTeX Info: Redefining \newblock on input line 675.
LaTeX Info: Redefining \cite on input line 702.
\ABCItoken=\toks33
)
("C:\Program Files\MiKTeX 2.9\tex\latex\lipsum\lipsum.sty"
Package: lipsum 2011/04/14 v1.2 150 paragraphs of Lorem Ipsum dummy text
\c@lips@count=\count136
)
("C:\Program Files\MiKTeX 2.9\tex\latex\graphics\color.sty"
Package: color 2005/11/14 v1.0j Standard LaTeX Color (DPC)

("C:\Program Files\MiKTeX 2.9\tex\latex\00miktex\color.cfg"
File: color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
)
Package color Info: Driver file: pdftex.def on input line 130.
)
("C:\Program Files\MiKTeX 2.9\tex\latex\tools\enumerate.sty"
Package: enumerate 1999/03/05 v3.00 enumerate extensions (DPC)
\@enLab=\toks34
)
("C:\Program Files\MiKTeX 2.9\tex\latex\tools\indentfirst.sty"
Package: indentfirst 1995/11/23 v1.03 Indent first paragraph (DPC)
)
("C:\Program Files\MiKTeX 2.9\tex\latex\carlisle\scalefnt.sty")
\@indexfile=\write3

Writing index file diss.idx

("C:\Users\elton\Google Drive\Mestrado\04. Matérias\Dissertação\0. Latex (PUC)\
diss.aux"
("C:\Users\elton\Google Drive\Mestrado\04. Matérias\Dissertação\0. Latex (PUC)\
capa.aux")
("C:\Users\elton\Google Drive\Mestrado\04. Matérias\Dissertação\0. Latex (PUC)\
resumo.aux")
("C:\Users\elton\Google Drive\Mestrado\04. Matérias\Dissertação\0. Latex (PUC)\
abstract.aux")
("C:\Users\elton\Google Drive\Mestrado\04. Matérias\Dissertação\0. Latex (PUC)\
siglas.aux")
("C:\Users\elton\Google Drive\Mestrado\04. Matérias\Dissertação\0. Latex (PUC)\
intro.aux")
("C:\Users\elton\Google Drive\Mestrado\04. Matérias\Dissertação\0. Latex (PUC)\
divisao.aux")
("C:\Users\elton\Google Drive\Mestrado\04. Matérias\Dissertação\0. Latex (PUC)\
revbib.aux")
("C:\Users\elton\Google Drive\Mestrado\04. Matérias\Dissertação\0. Latex (PUC)\
cap1.aux")
("C:\Users\elton\Google Drive\Mestrado\04. Matérias\Dissertação\0. Latex (PUC)\
cap2.aux")
("C:\Users\elton\Google Drive\Mestrado\04. Matérias\Dissertação\0. Latex (PUC)\
cap3.aux")
("C:\Users\elton\Google Drive\Mestrado\04. Matérias\Dissertação\0. Latex (PUC)\
cap4.aux")
("C:\Users\elton\Google Drive\Mestrado\04. Matérias\Dissertação\0. Latex (PUC)\
conclusao.aux")
("C:\Users\elton\Google Drive\Mestrado\04. Matérias\Dissertação\0. Latex (PUC)\
app1.aux"))
LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 82.
LaTeX Font Info:    ... okay on input line 82.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 82.
LaTeX Font Info:    ... okay on input line 82.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 82.
LaTeX Font Info:    ... okay on input line 82.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 82.
LaTeX Font Info:    ... okay on input line 82.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 82.
LaTeX Font Info:    ... okay on input line 82.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 82.
LaTeX Font Info:    ... okay on input line 82.
LaTeX Font Info:    Checking defaults for PD1/pdf/m/n on input line 82.
LaTeX Font Info:    ... okay on input line 82.
 ("C:\Program Files\MiKTeX 2.9\tex\context\base\supp-pdf.mkii"
[Loading MPS to PDF converter (version 2006.09.02).]
\scratchcounter=\count137
\scratchdimen=\dimen148
\scratchbox=\box34
\nofMPsegments=\count138
\nofMParguments=\count139
\everyMPshowfont=\toks35
\MPscratchCnt=\count140
\MPscratchDim=\dimen149
\MPnumerator=\count141
\makeMPintoPDFobject=\count142
\everyMPtoPDFconversion=\toks36
)
\AtBeginShipoutBox=\box35
Package hyperref Info: Link coloring ON on input line 82.
 ("C:\Program Files\MiKTeX 2.9\tex\latex\hyperref\nameref.sty"
Package: nameref 2010/04/30 v2.40 Cross-referencing by name of section

("C:\Program Files\MiKTeX 2.9\tex\latex\oberdiek\refcount.sty"
Package: refcount 2008/08/11 v3.1 Data extraction from references (HO)
)
("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\gettitlestring.sty"
Package: gettitlestring 2009/12/18 v1.3 Cleanup title references (HO)
)
\c@section@level=\count143
)
LaTeX Info: Redefining \ref on input line 82.
LaTeX Info: Redefining \pageref on input line 82.
LaTeX Info: Redefining \nameref on input line 82.

("C:\Users\elton\Google Drive\Mestrado\04. Matérias\Dissertação\0. Latex (PUC)\
diss.out")
("C:\Users\elton\Google Drive\Mestrado\04. Matérias\Dissertação\0. Latex (PUC)\
diss.out")
\@outlinefile=\write4
 ABD: EverySelectfont initializing macros
LaTeX Info: Redefining \selectfont on input line 82.
Package lastpage Info: Please have a look at the pageslts package at
(lastpage)             http://www.ctan.org/tex-archive/ 
(lastpage)             macros/latex/contrib/pageslts/ 
(lastpage)             or
(lastpage)             http://www.ctan.org/tex-archive/ 
(lastpage)             install/macros/latex/contrib/pageslts.tds.zip
(lastpage)             ! on input line 82.
LaTeX Info: Redefining \microtypecontext on input line 82.
Package microtype Info: Generating PDF output.
Package microtype Info: Character protrusion enabled (level 2).
Package microtype Info: Using default protrusion set `alltext'.
Package microtype Info: Automatic font expansion enabled (level 2),
(microtype)             stretch: 20, shrink: 20, step: 1, non-selected.
Package microtype Info: Using default expansion set `basictext'.
Package microtype Info: No adjustment of tracking.
Package microtype Info: No adjustment of interword spacing.
Package microtype Info: No adjustment of character kerning.

("C:\Program Files\MiKTeX 2.9\tex\latex\microtype\mt-cmr.cfg"
File: mt-cmr.cfg 2013/05/19 v2.2 microtype config. file: Computer Modern Roman 
(RS)
)
*geometry* driver: auto-detecting
*geometry* detected driver: pdftex
*geometry* verbose mode - [ preamble ] result:
* driver: pdftex
* paper: <default>
* layout: <same size as paper>
* layoutoffset:(h,v)=(0.0pt,0.0pt)
* modes: 
* h-part:(L,W,R)=(85.35826pt, 455.24411pt, 56.9055pt)
* v-part:(T,H,B)=(85.35826pt, 702.78308pt, 56.9055pt)
* \paperwidth=597.50787pt
* \paperheight=845.04684pt
* \textwidth=455.24411pt
* \textheight=702.78308pt
* \oddsidemargin=13.08827pt
* \evensidemargin=13.08827pt
* \topmargin=-18.91173pt
* \headheight=12.0pt
* \headsep=20.0pt
* \topskip=11.0pt
* \footskip=30.0pt
* \marginparwidth=0.0pt
* \marginparsep=0.0pt
* \columnsep=10.0pt
* \skip\footins=10.0pt plus 4.0pt minus 2.0pt
* \hoffset=0.0pt
* \voffset=0.0pt
* \mag=1000
* \@twocolumnfalse
* \@twosidefalse
* \@mparswitchfalse
* \@reversemarginfalse
* (1in=72.27pt=25.4mm, 1cm=28.453pt)


("C:\Users\elton\Google Drive\Mestrado\04. Matérias\Dissertação\0. Latex (PUC)\
capa.tex" <logo.pdf, id=135, 845.1575pt x 597.23125pt>
File: logo.pdf Graphic file (type pdf)
 <use logo.pdf> [1


{C:/Users/elton/AppData/Local/MiKTeX/2.9/pdftex/config/pdftex.map} <C:/Users/el
ton/Google Drive/Mestrado/04. Matérias/Dissertação/0. Latex (PUC)/logo.pdf, pag
e is rotated 90 degrees>]
LaTeX Font Info:    Try loading font information for U+msa on input line 26.
 ("C:\Program Files\MiKTeX 2.9\tex\latex\amsfonts\umsa.fd"
File: umsa.fd 2009/06/22 v3.00 AMS symbols A
)
("C:\Program Files\MiKTeX 2.9\tex\latex\microtype\mt-msa.cfg"
File: mt-msa.cfg 2006/02/04 v1.1 microtype config. file: AMS symbols (a) (RS)
)
LaTeX Font Info:    Try loading font information for U+msb on input line 26.

("C:\Program Files\MiKTeX 2.9\tex\latex\amsfonts\umsb.fd"
File: umsb.fd 2009/06/22 v3.00 AMS symbols B
)
("C:\Program Files\MiKTeX 2.9\tex\latex\microtype\mt-msb.cfg"
File: mt-msb.cfg 2005/06/01 v1.0 microtype config. file: AMS symbols (b) (RS)
) [2])
("C:\Users\elton\Google Drive\Mestrado\04. Matérias\Dissertação\0. Latex (PUC)\
resumo.tex") [1


]
("C:\Users\elton\Google Drive\Mestrado\04. Matérias\Dissertação\0. Latex (PUC)\
abstract.tex") [2


]
("C:\Users\elton\Google Drive\Mestrado\04. Matérias\Dissertação\0. Latex (PUC)\
diss.toc" [3


])
\tf@toc=\write5


Package Fancyhdr Warning: \headheight is too small (12.0pt): 
 Make it at least 13.07225pt.
 We now make it that large for the rest of the document.
 This may cause the page layout to be inconsistent, however.

[4]
("C:\Users\elton\Google Drive\Mestrado\04. Matérias\Dissertação\0. Latex (PUC)\
diss.lof")
\tf@lof=\write6
 [5


]
("C:\Users\elton\Google Drive\Mestrado\04. Matérias\Dissertação\0. Latex (PUC)\
diss.lot")
\tf@lot=\write7
 [6


]
("C:\Users\elton\Google Drive\Mestrado\04. Matérias\Dissertação\0. Latex (PUC)\
siglas.tex") [7


]
("C:\Users\elton\Google Drive\Mestrado\04. Matérias\Dissertação\0. Latex (PUC)\
intro.tex" [8



]) [9]
("C:\Users\elton\Google Drive\Mestrado\04. Matérias\Dissertação\0. Latex (PUC)\
divisao.tex") [10



]
("C:\Users\elton\Google Drive\Mestrado\04. Matérias\Dissertação\0. Latex (PUC)\
revbib.tex") [11



pdfTeX warning (ext4): destination with the same identifier (name{table.0.2}) h
as been already used, duplicate ignored

\AtBegShi@Output ...ipout \box \AtBeginShipoutBox 
                                                  \fi \fi 
l.125 \include{revbib}
                      ]
("C:\Users\elton\Google Drive\Mestrado\04. Matérias\Dissertação\0. Latex (PUC)\
cap1.tex"
Cap\'{\i }tulo 1.
)pdfTeX warning (ext4): destination with the same identifier (name{page.1}) has
 been already used, duplicate ignored
<to be read again> 
                   \relax 
l.129 \include{cap1}
                     [1



]
("C:\Users\elton\Google Drive\Mestrado\04. Matérias\Dissertação\0. Latex (PUC)\
cap2.tex"
Cap\'{\i }tulo 2.
)pdfTeX warning (ext4): destination with the same identifier (name{page.2}) has
 been already used, duplicate ignored
<to be read again> 
                   \relax 
l.130 \include{cap2}
                     [2



]
("C:\Users\elton\Google Drive\Mestrado\04. Matérias\Dissertação\0. Latex (PUC)\
cap3.tex"
Cap\'{\i }tulo 3.
) [3



]
("C:\Users\elton\Google Drive\Mestrado\04. Matérias\Dissertação\0. Latex (PUC)\
cap4.tex"
Cap\'{\i }tulo 4.
) [4



]
("C:\Users\elton\Google Drive\Mestrado\04. Matérias\Dissertação\0. Latex (PUC)\
conclusao.tex") [5



]
("C:\Users\elton\Google Drive\Mestrado\04. Matérias\Dissertação\0. Latex (PUC)\
diss.bbl"
("C:\Users\elton\Google Drive\Mestrado\04. Matérias\Dissertação\0. Latex (PUC)\
diss.brf")
\tf@brf=\write8
) [6


]
("C:\Users\elton\Google Drive\Mestrado\04. Matérias\Dissertação\0. Latex (PUC)\
app1.tex" [7


]) [8

] 
AED: lastpage setting LastPage
Package atveryend Info: Empty hook `BeforeClearDocument' on input line 154.
Package atveryend Info: Empty hook `AfterLastShipout' on input line 154.

("C:\Users\elton\Google Drive\Mestrado\04. Matérias\Dissertação\0. Latex (PUC)\
diss.aux"
("C:\Users\elton\Google Drive\Mestrado\04. Matérias\Dissertação\0. Latex (PUC)\
capa.aux")
("C:\Users\elton\Google Drive\Mestrado\04. Matérias\Dissertação\0. Latex (PUC)\
resumo.aux")
("C:\Users\elton\Google Drive\Mestrado\04. Matérias\Dissertação\0. Latex (PUC)\
abstract.aux")
("C:\Users\elton\Google Drive\Mestrado\04. Matérias\Dissertação\0. Latex (PUC)\
siglas.aux")
("C:\Users\elton\Google Drive\Mestrado\04. Matérias\Dissertação\0. Latex (PUC)\
intro.aux")
("C:\Users\elton\Google Drive\Mestrado\04. Matérias\Dissertação\0. Latex (PUC)\
divisao.aux")
("C:\Users\elton\Google Drive\Mestrado\04. Matérias\Dissertação\0. Latex (PUC)\
revbib.aux")
("C:\Users\elton\Google Drive\Mestrado\04. Matérias\Dissertação\0. Latex (PUC)\
cap1.aux")
("C:\Users\elton\Google Drive\Mestrado\04. Matérias\Dissertação\0. Latex (PUC)\
cap2.aux")
("C:\Users\elton\Google Drive\Mestrado\04. Matérias\Dissertação\0. Latex (PUC)\
cap3.aux")
("C:\Users\elton\Google Drive\Mestrado\04. Matérias\Dissertação\0. Latex (PUC)\
cap4.aux")
("C:\Users\elton\Google Drive\Mestrado\04. Matérias\Dissertação\0. Latex (PUC)\
conclusao.aux")
("C:\Users\elton\Google Drive\Mestrado\04. Matérias\Dissertação\0. Latex (PUC)\
app1.aux"))
Package atveryend Info: Executing hook `AtVeryEndDocument' on input line 154.
Package rerunfilecheck Info: File `diss.out' has not changed.
(rerunfilecheck)             Checksum: E2661DC1934DDBA493E4CFAC0CBC70F0;2147.
Package rerunfilecheck Info: File `diss.brf' has not changed.
(rerunfilecheck)             Checksum: C3DC8B7457592D45BC9AEBDAE140612F;99.


LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right.

 ) 
Here is how much of TeX's memory you used:
 9823 strings out of 494053
 151055 string characters out of 3148604
 369036 words of memory out of 3000000
 12622 multiletter control sequences out of 15000+200000
 14352 words of font info for 86 fonts, out of 3000000 for 9000
 715 hyphenation exceptions out of 8191
 49i,12n,45p,966b,478s stack positions out of 5000i,500n,10000p,200000b,50000s
<C:/Program Files/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmbx10.pfb><C:/Pr
ogram Files/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmbx12.pfb><C:/Program Fi
les/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmbxsl10.pfb><C:/Program Files/Mi
KTeX 2.9/fonts/type1/public/amsfonts/cm/cmr10.pfb><C:/Program Files/MiKTeX 2.9/
fonts/type1/public/amsfonts/cm/cmr12.pfb><C:/Program Files/MiKTeX 2.9/fonts/typ
e1/public/amsfonts/cm/cmr17.pfb><C:/Program Files/MiKTeX 2.9/fonts/type1/public
/amsfonts/cm/cmr9.pfb><C:/Program Files/MiKTeX 2.9/fonts/type1/public/amsfonts/
cm/cmsy10.pfb><C:/Program Files/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmti1
0.pfb><C:/Program Files/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmti12.pfb>
Output written on diss.pdf (21 pages, 230973 bytes).
PDF statistics:
 333 PDF objects out of 1000 (max. 8388607)
 65 named destinations out of 1000 (max. 500000)
 16142 words of extra memory for PDF output out of 17280 (max. 10000000)

Electrical Engineer
Master's Degree in Energy student
Post Reply