Applied Physics Express LaTex 文件中没有图表和参考文献?

Applied Physics Express LaTex 文件中没有图表和参考文献?

我正在为《Applied Physics Express》杂志撰写 LaTeX 稿件,课程jjap3.cls。但我无法在手稿中找到任何参考文献和图表。这是我下载该杂志 LaTeX 文件的网站https://journals.jsap.jp/apex/authors/downloads

.tex文件是:

\documentclass{jjap3}
%%% Either of the following options can provide the similar output with the version of record.
%\usepackage{newtxtext,newtxmath}
%\usepackage{txfonts}
%%%
%%% If you use BibTeX for references, the following lines should be live.
%\usepackage[sort&compress,numbers]{natbib}
%\usepackage{doi}
%\usepackage{hyperref}
%\bibliographystyle{apsrev4-1}
%%% or %%%
%\bibliographystyle{aipnum4-1}



\title{This is an example}


\author{xxx$^{1,2}$ \thanks{E-mail: [email protected]}, xxx$^{1}$, and xxx$^{1,2}$}


\inst{$^{1}$xxxx University, USA \\ 
$^{2}$xxxxx University, USA}



\abst{This Letter theoretically demonstrates that xxxxxxx.}



\begin{document}
\maketitle

\section{Introduction}
Tilted fiber Bragg grating (TFBG) presents many unique spectral characteristics \cite{Albert2013}.



\begin{figure}[htbp]
    \centering
    \includegraphics[width=3in]{fig_sensor}
    \caption{Diagram structure of TFBG.}
    \label{fig-sensor}
\end{figure}



\bibliography{reference}


\end{document}

此外,该.bib文件是:

@article{Albert2013,
  title={Tilted fiber Bragg grating sensors},
  author={Albert, Jacques and Shao, Li-Yang and Caucheteur, Christophe},
  journal={Laser Photonics Rev.},
  volume={7},
  number={1},
  pages={83-108},
  year={2013},
  month={Feb},
  doi={10.1002/lpor.201100039 },
}

编译后,手稿中没有参考文献和图表。

有谁能帮助我吗?

答案1

xelatex好吧,将图像的扩展名更改为.eps并取消注释后,我可以使用以下 MWE 进行编译\bibliographystyle{apsrev4-1}

\documentclass{jjap3}
%%% Either of the following options can provide the similar output with the version of record.
%\usepackage{newtxtext,newtxmath}
%\usepackage{txfonts}
%%%
%%% If you use BibTeX for references, the following lines should be live.
%\usepackage[sort&compress,numbers]{natbib}
%\usepackage{doi}
%\usepackage{hyperref}
\bibliographystyle{apsrev4-1} % <=======================================
%%% or %%%
%\bibliographystyle{aipnum4-1}

\title{This is an example}

\author{xxx$^{1,2}$ \thanks{E-mail: [email protected]}, xxx$^{1}$, and xxx$^{1,2}$}

\inst{$^{1}$xxxx University, USA \\ 
$^{2}$xxxxx University, USA

\abst{This Letter theoretically demonstrates that xxxxxxx.}


\begin{document}
\maketitle

\section{Introduction}
Tilted fiber Bragg grating (TFBG) presents many unique spectral characteristics \cite{Albert2013}.
Link to figure~\ref{fig-sensor}.

\begin{figure}[htbp]
    \centering
    \includegraphics[width=3in]{example-image.eps} % fig_sensor <=========
    \caption{Diagram structure of TFBG.}
    \label{fig-sensor}
\end{figure}

\bibliography{reference}

\end{document}

其结果为以下 MWE:

在此处输入图片描述

dvipdfmx图中的问题是由于在类中使用选项jjap3.cls调用包而产生的graphicx

\RequirePackage[dvipdfmx]{graphicx}

相关内容