如何在 Springer latex 模板中放置图表?

如何在 Springer latex 模板中放置图表?

我正在为 Springer 期刊准备稿件。我想按以下方式放置我的图表: 在此处输入图片描述

我的代码:

%%%%%%%%%%%%%%%%%%%%%%% file template.tex %%%%%%%%%%%%%%%%%%%%%%%%%
%
% This is a general template file for the LaTeX package SVJour3
% for Springer journals.          Springer Heidelberg 2010/09/16
%
% Copy it to a new file with a new name and use it as the basis
% for your article. Delete % signs as needed.
%
% This template includes a few options for different layouts and
% content for various journals. Please consult a previous issue of
% your journal as needed.
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% First comes an example EPS file -- just ignore it and
% proceed on the \documentclass line
% your LaTeX will extract the file if required
\begin{filecontents*}{example.eps}
%!PS-Adobe-3.0 EPSF-3.0
%%BoundingBox: 19 19 221 221
%%CreationDate: Mon Sep 29 1997
%%Creator: programmed by hand (JK)
%%EndComments
gsave
newpath
  20 20 moveto
  20 220 lineto
  220 220 lineto
  220 20 lineto
closepath
2 setlinewidth
gsave
  .4 setgray fill
grestore
stroke
grestore
\end{filecontents*}
%
\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}

\begin{document}
%
% For two-column wide figures use
\begin{figure*}
% Use the relevant command to insert your figure file.
% For example, with the graphicx package use
  \includegraphics[width=0.4\textwidth]{example.eps}
  \includegraphics[width=0.4\textwidth]{example.eps}
% figure caption is below the figure
\caption{Please write your figure caption here}
\label{fig:2}       % Give a unique label
\end{figure*}

\end{document}
% end of file template.tex

在此处输入图片描述

有人能帮帮我吗?谢谢!

答案1

我同意@Johannes_B 的观点,即期刊工作人员将会/应该最终确定布局。

但是,如果你想要接近最终的布局(例如检查空间限制),你可以使用表格环境来排列图形。以下是相关代码:

\begin{figure*}\sidecaption
% Use the relevant command to insert your figure file.
% For example, with the graphicx package use
\begin{tabular}{c c}
  \includegraphics[width=0.3\textwidth]{example.eps} &
  \includegraphics[width=0.3\textwidth]{example.eps}
\end{tabular}
% figure caption is below the figure
\caption{Please write your figure caption here}
\label{fig:2}       % Give a unique label
\end{figure*}

我必须将图形宽度减小到 0.3 才能使侧标题正常工作。不过我没有调整参数,所以我不知道实际阈值在哪里。

相关内容