2

这个乳胶代码:

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

给我以下输出:

我想要以下输出(使用油漆制作)。如何调整乳胶代码以便我得到这个结果?

在此处输入图像描述

4

1 回答 1

2

我自己解决了这个问题。您只需要添加 \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}
于 2018-09-12T07:17:47.100 回答