Search found 90 matches

by paulosousa
Tue Jan 16, 2018 7:54 pm
Forum: Graphics, Figures & Tables
Topic: How to put the caption for graphics?
Replies: 5
Views: 4826

How to put the caption for graphics?

Now it's perfect, thanks a lot Stefan.

Ah, I understand. Like this:

\usepackage{newfloat}
\DeclareFloatingEnvironment[fileext=grf,placement={!htbp},
name=Gráfico,listname={List of Gráficos},]{grafico}
...
\listofgraficos
...
\begin{grafico}[htbp!]
\centering
\includegraphics[scale=0.450 ...
by paulosousa
Tue Jan 16, 2018 7:11 pm
Forum: Graphics, Figures & Tables
Topic: How to put the caption for graphics?
Replies: 5
Views: 4826

How to put the caption for graphics?

Stefan,

thanks a lot for the suggestion concerning the use of \centering and tomove \caption before \includegraphics
Concerning the suggestion to use \addto\captionsportuguese{\renewcommand{\figurename}{Gráfico}} ...
this way I will rename all caption to 'Gráfico n' but in whole doc I need ...
by paulosousa
Mon Jan 15, 2018 4:27 pm
Forum: Graphics, Figures & Tables
Topic: How to put the caption for graphics?
Replies: 5
Views: 4826

How to put the caption for graphics?

Hello all
Need help!
I have no problem with caption (on top) of tables (have 'Tabela 1', ...) and with caption for the figures (have 'Figura 1', ...), but I need to insert some graphics in the document and I must put a caption on top of it with only 'Gráfico 1', 'Gráfico 2'...

\documentclass[12pt ...
by paulosousa
Sat Feb 11, 2017 4:01 pm
Forum: Graphics, Figures & Tables
Topic: Tikz picture
Replies: 2
Views: 1957

Tikz picture

Hello All,

I need help concerning my desire to draw, if possible, some kind of lotto numbered balls as in the picture.
How is this possible?
by paulosousa
Mon Dec 26, 2016 8:01 pm
Forum: Graphics, Figures & Tables
Topic: Problem with table reference
Replies: 6
Views: 8571

Problem with table reference

Well, it is almost perfect with ...

\begin{table}[h]
\caption{} \label{table:habitantes}
\centering
\vspace{-0.20cm}
\begin{tabular}{|c|c|c|c|c|c|c|c|}
\hline
\hspace{0.15cm} $t$ \hspace{0.15cm} & 0 & 1 & 3 & 5 & 6 & 8 & 9 \\
\hline
$H$ & 804 & 908 & 1028 & 1392 & 1598 & 1884 & 1998 ...
by paulosousa
Mon Dec 26, 2016 6:45 pm
Forum: Graphics, Figures & Tables
Topic: Problem with table reference
Replies: 6
Views: 8571

Problem with table reference

It must be empty since I need only Table 1 and not Table 1: this is the caption

You neither have a \caption nor a \label{table:name} command in your code.
Thanks a lot for the help...
Now the numbering is ok with
\begin{center}
\captionof{table}{} \label{table:habitantes}
\vspace{0.20cm ...
by paulosousa
Mon Dec 26, 2016 6:23 pm
Forum: Graphics, Figures & Tables
Topic: Problem with table reference
Replies: 6
Views: 8571

Problem with table reference

You neither have a \caption nor a \label{table:name} command in your code.
Thanks a lot for the help...
Now the numbering is ok with
\begin{center}
\captionof{table}{} \label{table:habitantes}
\vspace{0.20cm}
\begin{tabular}{|c|c|c|c|c|c|c|c|}
\hline
\hspace{0.15cm} $t$ \hspace{0.15cm} & 0 & 1 ...
by paulosousa
Mon Dec 26, 2016 5:41 pm
Forum: Graphics, Figures & Tables
Topic: Problem with table reference
Replies: 6
Views: 8571

Problem with table reference

Hi people, I have a problem when I call the table in the text using \ref{table:name}
Item 1 - have no table, only text
item 2 - when I call table 1, inside the text, the reference writes Table 2 and not Table 1... What am I doing wrong?

\documentclass[12pt, twoside, a4paper]{article}
\usepackage ...
by paulosousa
Sun May 01, 2016 6:55 pm
Forum: Page Layout
Topic: How to force line break in listings package?
Replies: 8
Views: 16174

Re: How to force line break in listings package?

I really don't know what I am doing wrong since the text still out of margins!
by paulosousa
Tue Apr 19, 2016 10:38 pm
Forum: Page Layout
Topic: How to force line break in listings package?
Replies: 8
Views: 16174

Re: How to force line break in listings package?

Does anyone have a suggestion?