Springer 模板中的小页面

Springer 模板中的小页面

我正在使用Springer svjour3 模板并尝试将两个数字放在同一级别:

\begin{minipage}{\linewidth}    % outer minipage
\begin{figure}
\centering
\begin{minipage}{.45\linewidth}
\centering
\includegraphics[width=\linewidth,trim={3.5cm 7cm 3cm 6.6cm},clip]{histk1000.eps}
\caption{My caption}
\end{minipage}
\end{figure}

\begin{figure}
\centering
\begin{minipage}{.45\linewidth}
\centering
\includegraphics[width=\linewidth,trim={3.5cm 7cm 3cm 6.6cm},clip]{histk1000.eps}
\caption{My caption}
\end{minipage}
\end{figure}

\end{minipage}  % ending outer minipage

并且它不显示数字。如果我删除外部小页面,它们就会出现。有什么想法吗?

这是一个(最小)完整的脚本:

%
\RequirePackage{fix-cm}
%
%\documentclass{svjour3}                     % onecolumn (standard format)
%\documentclass[smallcondensed]{svjour3}     % onecolumn (ditto)
\documentclass[smallextended]{svjour3}       % onecolumn (second format)
%\documentclass[twocolumn]{svjour3}          % twocolumn
%
\smartqed  % flush right qed marks, e.g. at end of proof
%
\usepackage{graphicx}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\usepackage{pgf}
\usepackage{xxcolor}
\usepackage[colorlinks=true, linkcolor=blue, urlcolor=blue, citecolor   = green]{hyperref}%pdftex,
\usepackage{hyperref}
\usepackage{epstopdf}
%\usepackage{amsmath,amssymb,amsbsy, amsthm}
\usepackage{xcolor}
\usepackage{fancyhdr, blindtext}
\usepackage{tabularx, caption}
%\usepackage{geometry}
\usepackage{multirow}
\usepackage{t1enc}
\usepackage{multicol}
\usepackage[ msc-links]{amsrefs}
\usepackage[latin1]{inputenc}
\usepackage{tikz}
\usepackage{float}
\usepackage{amsrefs}
\usepackage{python}
\usetikzlibrary{shapes,arrows}
%
\begin{document}

\title{Efficient generator 
}

\author{Titus Caius
}


\date{Received: date / Accepted: date}
% The correct dates will be entered by the editor


\maketitle

\begin{abstract}
This work introduces ...
\end{abstract}

...


\begin{multicols}{2}

 \begin{minipage}{\linewidth}
\centering
  \includegraphics[width=.9\linewidth,trim={3.5cm 7cm 3cm 6.6cm},clip]{histk1000.eps}
\caption{My caption}
\end{minipage}

\begin{minipage}{\linewidth}
\centering
  \includegraphics[width=.9\linewidth,trim={3.5cm 7cm 3cm 6.6cm},clip]{histk1000.eps}
\caption{My caption}
\end{minipage}

\end{multicols}


\begin{minipage}{\linewidth}    % outer minipage

\begin{figure}
\centering
\begin{minipage}{\linewidth}
\centering
  \includegraphics[width=.9\linewidth,trim={3.5cm 7cm 3cm 6.6cm},clip]{histk1000.eps}
\caption{My caption}
\end{minipage}
\end{figure}

\begin{figure}
\centering
\begin{minipage}{\linewidth}
\centering
  \includegraphics[width=.9\linewidth,trim={3.5cm 7cm 3cm 6.6cm},clip]{histk1000.eps}
\caption{My caption}
\end{minipage}
\end{figure}

\end{minipage}  % ending outer minipage

  \begin{minipage}{\linewidth}
      \centering
      \begin{minipage}{0.45\linewidth}
    \begin{figure*}
              \includegraphics[width=\linewidth,trim={3.5cm 7cm 3cm 6.6cm},clip]{example.eps}
              \caption{Histogram of 1000000 numbers for $k=1000$; $n=100$}
                            \label{hist1}       % Give a unique label
\end{figure*}
      \end{minipage}
      \hspace{0.05\linewidth}
      \begin{minipage}{0.45\linewidth}
          \begin{figure*}[H]
              \includegraphics[width=\linewidth,trim={3.5cm 7cm 3cm 6.6cm},clip]{histk997.eps}
              \caption{Histogram of 1000000 numbers for $k=997$; $n=100$}
                            \label{hist2}
          \end{figure*}
      \end{minipage}
  \end{minipage}



      \begin{minipage}{\linewidth}
      \centering
      \begin{minipage}{0.45\linewidth}
          \begin{figure*}[H]
              \includegraphics[width=\linewidth,trim={3.5cm 7cm 3cm 6.6cm},clip]{plot100.pdf}
              \caption{Plot of pairs $(x_j,x_{j+1})$ for $k=100$; 1000 generated numbers}
                            \label{fig:1}
          \end{figure*}
      \end{minipage}
      \hspace{0.05\linewidth}
      \begin{minipage}{0.45\linewidth}
          \begin{figure*}[H]
              \includegraphics[width=\linewidth,trim={3.5cm 7cm 3cm 6.6cm},clip]{plot109.pdf}
              \caption{Plot of pairs $(x_j,x_{j+1})$ for $k=109$; 1000 generated numbers}
                            \label{fig:2}
          \end{figure*}
      \end{minipage}
  \end{minipage}


\end{document}

我只想让两个像在环境中一样并排显示multicols。它适用于multicols(无标题),但不适用于minipage

答案1

我是这样解决的:

\documentclass{article}

\usepackage{graphicx}
\usepackage{epstopdf}
\usepackage{xcolor}
\usepackage{tabularx, caption}
\usepackage{multirow}
\usepackage{t1enc}
\usepackage{multicol}
\usepackage[ msc-links]{amsrefs}
\usepackage[latin1]{inputenc}
\usepackage{tikz}
\usepackage{float}
\usepackage{amsrefs}
\usepackage{python}

\begin{document}

 \begin{minipage}{\linewidth}
  \centering
  \begin{minipage}{0.45\linewidth}
      \begin{figure}[H]
          \includegraphics[width=\linewidth]{example-image}
          \caption{This is the first figure}
      \end{figure}
  \end{minipage}
  \hspace{0.05\linewidth}
  \begin{minipage}{0.45\linewidth}
      \begin{figure}[H]
          \includegraphics[width=\linewidth]{example-image}
          \caption{This is the second figure}
      \end{figure}
  \end{minipage}
  \end{minipage}

\end{document}

相关内容