0

For some reason the code provided by Zarko(below) isn't working on my computer:

How to draw a vertical line in a table?

So temporarily I've decided to use his picture in his solution and included that as a png file:

\begin{figure}[!htb]
\centering
\includegraphics[width=0.8\textwidth]{U4OxK.png}
\caption{Table 1: Description of parameters}
\label{top}
\end{figure}  

This labels the figure as figure x: xxxxxxx. How do I remove it naming it figure x: bla bla bla to just table x: description of parameters, without changing my later figures order?

Edit: if someone knows the issue, I hope they can resolve it since it would be much better to use the actual code compared to the image..

Math
  • 765

1 Answers1

1

Make figure a table:

a

    \documentclass[12pt,a4paper]{article}
    \usepackage{graphicx}
    \begin{document}
    \begin{figure}[!htb]
        \centering
        \includegraphics[width=0.3\textwidth]{example-image-a}
        \caption{$p=0.9$, $q=0.8$, $r=0.7$, $\xi_1 =0.7$, $\xi_2 =0.8$  hence $\mathcal{R}_0 \approx 0.1599$.}
        \label{top}
    \end{figure} 

    \begin{table}[!htb]
        \centering
        \includegraphics[width=0.3\textwidth]{example-image-b}
        \caption{$p=0.9$, $q=0.8$, $r=0.7$, $\xi_1 =0.7$, $\xi_2 =0.8$  hence $\mathcal{R}_0 \approx 0.1599$.}
        \label{middle}
   \end{table} 


    \begin{figure}[!htb]
        \centering
        \includegraphics[width=0.3\textwidth]{example-image-c}
        \caption{$p=0.9$, $q=0.8$, $r=0.7$, $\xi_1 =0.7$, $\xi_2 =0.8$  hence $\mathcal{R}_0 \approx 0.1599$.}
        \label{bottom}
\end{figure} 

\large

Top is Figure \ref{top}

Middle it Table \ref{middle}

Bottom is Figure \ref{bottom}

Simon Dispa
  • 39,141