(単一または複数の)数字の間に水平線を追加するにはどうすればよいでしょうか?

(単一または複数の)数字の間に水平線を追加するにはどうすればよいでしょうか?

図の上下にこれらの線を挿入する方法、また図のサイズを調整する方法がわかりません。

ページ

答え1

画像がグラフィックで利用できる場合、画像のサイズは...width=のオプションを使用して調整できます。\includegraphics

または、テーブルを左側に追加する必要がある場合は、\scalerel*画像の高さをテーブルのサイズに強制的に一致させるために次のように使用できます。

\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}

ここに画像の説明を入力してください

関連情報