Numeração de Quadro

497 views
Skip to first unread message

Pablo Ferreira

unread,
Mar 31, 2017, 4:10:10 PM3/31/17
to Latex-br
Boa Tarde, 
Tenho dúvidas na questão de numeração de quadros, ao invés de começar pelo 1, ele inicia como o número do capítulo, por exemplo, meu primeiro quadro está no capítulo 4 do meu trabalho, no caso a legenda fica Quadro 4.1, como deixar apenas Quadro 1?

isto está no preâmbulo para criar os quadros.

\usepackage{trivfloat}
% Quadro
\trivfloat{quadro}
\floatstyle{plaintop} % Forçar posição da legenda para o topo
\restylefloat{quadro} % Forçar posição da legenda para o topo

se puderem me dar um dica de como arrumar ou onde procurar, já dei uma olhada pelo google a fora e nada me ajudou


Youssef Cherem

unread,
Apr 3, 2017, 4:32:36 PM4/3/17
to Latex-br
\usepackage{chngcntr}
 
\counterwithout{quadro}{chapter}

Pablo Ferreira

unread,
Apr 3, 2017, 6:57:21 PM4/3/17
to Latex-br
Muito obrigado mesmo, salvou minha lista de Quadros!  


Abraços.

fonseca...@gmail.com

unread,
Apr 18, 2017, 1:19:56 PM4/18/17
to Latex-br
Ola

o meu problema é identico ao seu, porem, ñ consegui mudança alguma

Tem algum outro geito?

fonseca...@gmail.com

unread,
Apr 18, 2017, 1:23:44 PM4/18/17
to Latex-br
Ola

o meu problema é identico,com exceto a resolução poois, ñ consegui mudança alguma

Tem algum outro geito se ñ \usepackage{chngcntr}\counterwithout{quadro}{chapter}?

Em segunda-feira, 3 de abril de 2017 19:57:21 UTC-3, Pablo Ferreira escreveu:

Youssef Cherem

unread,
Apr 18, 2017, 1:31:54 PM4/18/17
to late...@googlegroups.com
envie um exemplo mínimo compilável que reproduza sua situação, para podermos ajudá-lo.

Youssef Cherem



--
You received this message because you are subscribed to the Google Groups "Latex-br" group.
To unsubscribe from this group and stop receiving emails from it, send an email to latex-br+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/latex-br/9c378680-8c32-4aaa-82cd-d6297713fe96%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

fonseca...@gmail.com

unread,
Apr 24, 2017, 8:53:11 AM4/24/17
to Latex-br
Desculpe minha demora no fid bek, mas, eis ai meu preambulo e o demais (obrigado pela atenção Youssef):

\documentclass[sumario=tradiciona,oneside,12pt,
chapter=TITLE, % títulos de capítulos convertidos em letras maiúsculas
section=TITLE, % títulos de seções convertidos em letras maiúsculas
subsection=TITLE, % títulos de subseções convertidos em letras maiúsculas
subsubsection=TITLE, % títulos de subsubseções em letras maiúsculas
subsubsubsection=TITLE, % títulos de subsubsubseções em letras maiúsculas
a4paper,brazil]{abntex2}
\setlength{\parskip}{0.2cm}
\usepackage[utf8]{inputenc}
\usepackage[brazil]{babel}
\usepackage{graphicx}
\usepackage{subfigure}
\usepackage{graphics}
\usepackage[dvips,pdftex]{graphicx}
\usepackage{float}
\usepackage{amsmath,amsfonts,amssymb}
\usepackage{lastpage}
\usepackage{indentfirst}
\usepackage[normalem]{ulem}

\setlength{\cftbeforeparagraphskip}{0pt}
\setlength{\cftbeforesubsectionskip}{0pt}
\setlength{\cftbeforesectionskip}{0pt}
\setlength{\cftbeforesubsubsectionskip}{0pt}
\setlength{\cftbeforechapterskip}{\onelineskip}

\renewcommand*{\cftsubsectionfont}{\itshape}

% Modifica a formatacao dos textos

\renewcommand{\chaptitlefont}{\normalfont\bfseries}
\setsecheadstyle{\normalfont\series}
\setsubsecheadstyle{\normalfont\bfseries}
\setsubsubsecheadstyle{\normalfont\bfseries}


%seção secundária caixa alta
\makeatletter
\let\oldcontentsline\contentsline
\def\contentsline#1#2{%
\expandafter\ifx\csname l@#1\endcsname\l@section
\expandafter\@firstoftwo
\else
\expandafter\@secondoftwo
\fi
{%
\oldcontentsline{#1}{\MakeTextUppercase{#2}}%
}{%
\oldcontentsline{#1}{#2}%
}%
}
\makeatother

%seção secundária sem negrito
\renewcommand{\cftsectionfont}{\series}

% Secao terciaria (Subsection) Caixa baixa, italico, tamanho 12
\renewcommand{\cftsubsectionfont}{\bfseries}

% Secao quaternaria (Subsubsection) Caixa baixa, Negrito, sublinhado, tamanho 12
\renewcommand{\cftsubsubsectionfont}{\itshape\bfseries}

% Seção quinaria (subsubsubsection) Caixa baixa, sem negrito, tamanho 12
\renewcommand{\cftparagraphfont}{\normalfont}

%retirar hiperlinks
\newcommand{\removerbordasdohyperlink}[1]{%}
\ifthenelse{\equal{#1}{sim}}{%
\hypersetup{%
pdfborder = {0 0 0}
}
}
}

\makeatletter
\hypersetup{
pdftitle={Teste},
pdfauthor={Teste},
pdfsubject={Teste},
pdfkeywords={Teste},
pdfcreator={LaTeX with abnTeX2},
colorlinks=true,
linkcolor=black,  % No sumário
citecolor=black,
urlcolor=black,
bookmarksnumbered=true
}%
\makeatother%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%deixar tudo com a mesma fonte tamanho 12
\renewcommand{\ABNTEXchapterfont}{\normalfont}
\renewcommand{\ABNTEXchapterfontsize}{\normalfont}

\renewcommand{\ABNTEXsectionfont}{\normalfont}
\renewcommand{\ABNTEXsectionfontsize}{\normalfont}

\renewcommand{\ABNTEXsubsectionfont}{\normalfont}
\renewcommand{\ABNTEXsubsectionfontbold}{\normalfont}

\renewcommand{\ABNTEXsubsubsectionfont}{\normalfont}
\renewcommand{\ABNTEXsubsubsectionfontsize}{\normalfont}

\renewcommand{\ABNTEXsubsubsubsectionfont}{\normalfont}

\renewcommand\cftchapterpagefont{\normalfont}
\renewcommand\cftsectionpagefont{\normalfont}
\renewcommand\cftsubsectionpagefont{\normalfont}

%recursos matemáticos
\newcommand{\R}{\mathbb{R}}
\newcommand{\N}{\mathbb{N}}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%RETIRANDO HIFENIZAÇÃO
\hyphenpenalty=5000
\tolerance=1000
\sloppy
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\renewcommand\captionnamefont{\normalfont}
\captionnamefont{\ABNTEXcfontereduzida}    %capitulações de figuras 
\captiontitlefont{\ABNTEXfontereduzida}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setlength{\belowcaptionskip}{1pt} % espaçamento depois do título das tabelas/figuras
\setlength{\abovecaptionskip}{1pt} % espaçamento antes da legenda de tabelas/figuras
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\makepagestyle{estilo_pretextual} %%% escolha um nome
\makeevenhead{estilo_pretextual}{}{}{\ABNTEXfontereduzida \textbf \thepage}
\makeoddhead{estilo_pretextual}{}{}{\ABNTEXfontereduzida \textbf \thepage}
%%%%%%%%%%%%%%%%%%%%%%
\renewcommand{\pretextual}{
\pagenumbering{roman} %%% ou \pagenumbering{Roman}
\aliaspagestyle{chapter}{estilo_pretextual}% customizing chapter pagestyle
\pagestyle{estilo_pretextual}
\aliaspagestyle{cleared}{empty}
\aliaspagestyle{part}{estilo_pretextual}
}
%%%%%%%%%%%%%%%%%%%%%%
\usepackage{trivfloat}
\trivfloat{quadro}

\floatstyle{plaintop} % Forçar posição da legenda para o topo
\restylefloat{quadro}

%%%%%%%%%%%%%%%%%%%%%%
\setlength{\parindent}{1.3cm}
\author{XXXX}
\orientador{XXX}
\titulo{XXXXX}
\data{2017}
\local{Macapá, Amapá}

\begin{document}
\begin{capa}
\frontmatter \vspace*{-1,5cm}
\centering
UNIVERSIDADE FEDERAL DO AMAPÁ {-} UNIFAP\\
PRÓ REITORIA DE PÓS GRADUAÇÃO
\vskip0,5in {XXX}
\begin{center}
\vspace{7,0cm}\noindent
\begin{center}
\begin{espacosimples}
\textbf{XXX \\
XXX}
\end{espacosimples}
\end{center} \vfill
\normalsize
\begin{espacosimples}
{XXX-XX\\
2017}
\end{espacosimples}
\end{center}
\vspace{-0,5cm}
\end{capa}

\newpage
\renewcommand{\listquadroname}{Lista de Quadros}
\listofquadros
\addcontentsline{toc}{chapter}{\listquadroname}

\chapter{APRESENTAÇÃO E ANÁLISE DOS RESULTADOS}

\begin{quadro}[H]
\centering
\caption{\label{quadro_modelo}Teste Inicial 1}
\begin{tabular}{|c|}
\hline
\textbf{O que você entende por proporcionalidade?} \\
\rule{14cm}{0,5pt} \\
\rule{14cm}{0,5pt} \\
\hline
\end{tabular}
\legend{Fonte: O autor}
\end{quadro}


\begin{quadro}[H]
\centering
\caption{Quadro 3}
\begin{tabular}{|c|}
\hline
\textbf{XXX}\\ \textbf{XXX} \\
\rule{14cm}{0,5pt} \\
\rule{14cm}{0,5pt} \\
\hline
\end{tabular}
\legend{Fonte: O autor (2017)}
\end{quadro}


\begin{quadro}[H]
\centering
\caption{Teste Inicial 4}
\begin{tabular}{|l|}
\hline
XXX
\\
XXX?\\
(   ) XXX;  (   ) XXX;  (   )XXX \\
Justifique sua resposta.\\
\hline
\end{tabular}
\legend{Fonte: O autor (2017)}
\end{quadro}

\end{document}

Youssef Cherem



To unsubscribe from this group and stop receiving emails from it, send an email to latex-br+u...@googlegroups.com.
list de quadro.png
ex de quadros.png

Youssef Cherem

unread,
Apr 24, 2017, 9:41:57 AM4/24/17
to late...@googlegroups.com
O seu problema não era idêntico, pois a classe que você utiliza é abntex2. A solução aqui: https://github.com/abntex/abntex2/wiki/HowToCriarNovoAmbienteListing resolve seu problema, mas seu código está tão cheio de erros e coisas estranhas que era melhor usar outra classe e adicionar poucas coisas, ao invés de usar abntex2 e ficar mudando tudo. Se não precisar usar as regras da ABNT, não use abntex2. E se for para ficar igual ao Word, mas com uma fonte diferente, é só usar o Word fazer o download da fonte Computer Modern: http://cm-unicode.sourceforge.net/download.html



To unsubscribe from this group and stop receiving emails from it, send an email to latex-br+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/latex-br/42bb226a-02ba-4bc4-a240-a24ec9a61239%40googlegroups.com.

fonseca...@gmail.com

unread,
Apr 24, 2017, 4:49:14 PM4/24/17
to Latex-br
ok, muito obrigado, me empenharei mais
Reply all
Reply to author
Forward
0 new messages