[Tex/LaTex] How to add horizontal lines between (single or multiple) figures

pdftexscientific-workplacewinedt

I don't understand how to insert these lines above and below the figure, also how to adjust the size of the figures?

The Page

Best Answer

Assuming your image is available in a graphic, the image size is adjustable using the width= option of \includegraphics...

Or if you have to add the table to the left, you can use \scalerel* to force the image height to match the size of the table:

\documentclass{article}
\usepackage{graphicx,caption,scalerel}
\begin{document}
\begin{figure}[p]
\hrulefill\vspace{15pt}\par
\setbox0=\hbox{%
\begin{tabular}{|l|}
\hline
Go\\\hline
Clear\\\hline
3dProject\\\hline
X-Rotate\\\hline
Y-Rotate\\\hline
Z-Rotate\\\hline
EraseRota\\\hline
Body-Tog\\\hline
RotAx-Tog\\\hline
Flash-Tog\\\hline
Persp-Tog\\\hline
NUMERICS\\\hline
UTILITIES\\\hline
Quit\\\hline
\end{tabular}}
\centerline{\copy0\scalerel*{\includegraphics{example-image-a}}{\copy0}}
\captionof{figure}{Here is my caption}
\medskip
\hrulefill\par
\vspace{15pt}
\centerline{\includegraphics[width=.7\textwidth]{example-image-b}}
\captionof{figure}{Here is my other caption}
\medskip
\hrulefill
\end{figure}
\end{document}

enter image description here