
1 行に 3 つの図を配置していますが、それらをはっきりと表示するには幅が足りません (十分な大きさ)。以前はhspace
手動で図を移動していましたが、今回はうまくいきません。 (最初の行にのみ影響します)。図全体を移動するにはどうすればよいでしょうか。このページでは、図全体を特定の距離だけ左にシフトする必要があると思います。
これは、問題を例示する MWE の 1 つです。
\documentclass{article}
\usepackage[demo]{graphicx}
\usepackage{subfig}
\begin{document}
\newcommand{\IDCTFigureHeight}{2.8}
\begin{figure}[p]
\vspace{-10pt}
\subfloat[v1 with buffer size 16]{\includegraphics[width=0.45\textwidth,height=\IDCTFigureHeight in]{images/local/v1_16.png}}
\subfloat[v1 with buffer size 100]{\includegraphics[width=0.45\textwidth,height=\IDCTFigureHeight in]{images/local/v1_100.png}}
\subfloat[v1 with buffer size 200]{\includegraphics[width=0.45\textwidth,height=\IDCTFigureHeight in]{images/local/v1_200.png}}
\vspace{-10pt}
\\
\subfloat[v2 with buffer size 16]{\includegraphics[width=0.45\textwidth,height=\IDCTFigureHeight in]{images/local/v2_16.png}}
\subfloat[v2 with buffer size 100]{\includegraphics[width=0.45\textwidth,height=\IDCTFigureHeight in]{images/local/v2_100.png}}
\subfloat[v2 with buffer size 200]{\includegraphics[width=0.45\textwidth,height=\IDCTFigureHeight in]{images/local/v2_200.png}}
\vspace{-10pt}
\\
\subfloat[v3 with buffer size 16]{\includegraphics[width=0.45\textwidth,height=\IDCTFigureHeight in]{images/local/v3_16.png}}
\subfloat[v3 with buffer size 100]{\includegraphics[width=0.45\textwidth,height=\IDCTFigureHeight in]{images/local/v3_100.png}}
\subfloat[v3 with buffer size 200]{\includegraphics[width=0.45\textwidth,height=\IDCTFigureHeight in]{images/local/v3_200.png}}
\caption{destination-fifo with different buffer size.}
\end{figure}
\end{document}
答え1
の代わりに\hspace
空白行またはを使用すると、2 行目と 3 行目にも追加できます。つまり、次のように変更します。 \par
\\
\vspace{-10pt}
\\
による
\vspace{-10pt}
\hspace{-2cm}
または
\vspace{-10pt}\par
\hspace{-2cm}