「BioMed Central の TeX テンプレート」にグラフィックスを含める

「BioMed Central の TeX テンプレート」にグラフィックスを含める

私は「BioMed CentralのTeXテンプレート」(「BioMedCentral_article(ZIP形式) - 推奨テンプレート」)のNew+Content+Item.zipを使用しています。これはWWW検索で見つけることができます。空行56に以下を追加します。

\usepackage{graphics}

376行目と377行目の間に(環境内table)次の行を追加します。

\includegraphics{Table.pdf}

PDF 図が埋め込まれることを期待していましたが、代わりに「Table.pdf」というテキストが追加されました。PDF を含めるにはどうすればよいですか?

答え1

ああ、テンプレート ファイル自体 (bmc_article.tex) にヒントが見つかりました。

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%                                             %%
%%  If you wish to display your graphics for   %%
%%  your own use using includegraphic or       %%
%%  includegraphics, then comment out the      %%
%%  following two lines of code.               %%
%%  NB: These line *must* be included when     %%
%%  submitting to BMC.                         %%
%%  All figure files must be submitted as      %%
%%  separate graphics through the BMC          %%
%%  submission process, not included in the    %%
%%  submitted article.                         %%
%%                                             %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def\includegraphic{}
\def\includegraphics{}

72 行目と 73 行目をコメントアウトすると、図が含まれるようになりました。

関連情報