此乳胶代码:
\begin{figure}[H]
\setlength{\figW}{5cm} % determines the width of the images
\begin{subfigure}[b]{0.5\textwidth}
\input{images/eigw_kegel_0.5.tex}
\caption{}
\end{subfigure}
\begin{subfigure}[b]{0.5\textwidth}
\input{images/eigw_kegel_0.05.tex}
\caption{}
\end{subfigure} \\
\begin{subfigure}[b]{0.5\textwidth}
\input{images/eigv_norm_kegel_0.5.tex}
\caption{}
\end{subfigure}
\begin{subfigure}[b]{0.5\textwidth}
\input{images/eigv_norm_kegel_0.05.tex}
\caption{}
\end{subfigure}
\caption{(a) and (b): $\lambda_1(\VM{\omega})$ and
$\lambda_2(\VM{\omega})$ with $\omega_1 = 0.5$ (left) and $\omega_1 =
0.05$ (right), (c) and (d): norm of $\pderiv{\VM{x}_1(\VM{\omega})}
{\omega_2}$ with $\omega_1= 0.5$ (left) and $\omega_1= 0.05$ (right)}
\end{figure}
我希望获得以下输出(使用油漆制作)。如何修改乳胶代码,以便获得此结果?
答案 0 :(得分:0)
我自己解决了此问题。您只需要添加
\hspace{0.8cm}
将数字向右移动。
\begin{figure}[H]
\setlength{\figW}{5cm} % determines the width of the images
\begin{subfigure}[b]{0.5\textwidth}
\hspace{0.8cm}
\input{images/eigw_kegel_0.5.tex}
\caption{}
\end{subfigure}
\begin{subfigure}[b]{0.5\textwidth}
\hspace{0.7cm}
\input{images/eigw_kegel_0.05.tex}
\caption{}
\end{subfigure} \\
\begin{subfigure}[b]{0.5\textwidth}
\input{images/eigv_norm_kegel_0.5.tex}
\caption{}
\end{subfigure}
\begin{subfigure}[b]{0.5\textwidth}
\input{images/eigv_norm_kegel_0.05.tex}
\caption{}
\end{subfigure}
\caption{(a) and (b): $\lambda_1(\VM{\omega})$ and
$\lambda_2(\VM{\omega})$ with $\omega_1 = 0.5$ (left) and $\omega_1 =
0.05$ (right), (c) and (d): norm of $\pderiv{\VM{x}_1(\VM{\omega})}
{\omega_2}$ with $\omega_1= 0.5$ (left) and $\omega_1= 0.05$ (right)}
\end{figure}