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'...
Code: Select all
\documentclass[12pt, twoside, a4paper]{article}
\usepackage[portuguese]{babel}
\usepackage[applemac]{inputenc}
\usepackage[left=2.0cm,top=1.5cm,right=2.0cm,bottom=1.75cm]{geometry}
\usepackage{amsmath,amssymb,amsfonts,textcomp,setspace,graphicx,color,environ,tabularx,enumitem}
\usepackage[font=small,labelfont=bf]{caption}
\begin{document}
\begin{table}[h]
\caption{} \label{table:t2}
\centering
\small
\vspace{-0.20cm}
\begin{tabular}{|c|c|c|c|c|c|}
\toprule
\textbf{Partido} & \hspace{0.35cm} A \hspace{0.35cm} & \hspace{0.25cm} B \hspace{0.25cm} & \hspace{0.25cm} C \hspace{0.25cm} & \hspace{0.25cm} D \hspace{0.25cm} & \hspace{0.25cm} E \hspace{0.25cm} \\
\midrule
\textbf{Número de votos} & 594 & 418 & 89 & 563 & 71 \\
\bottomrule
\end{tabular}
\end{table}
\begin{figure}[h]
\begin{center}
\includegraphics[scale=0.450]{figures/3/img1.png}
\captionof{figure}{}
\label{figure:usf}
\end{center}
\end{figure}
\end{document}
Code: Select all
\addto\captionsportuguese{
%\renewcommand{\graphicname}{Gráfico}
}