0
\documentclass[5p]{elsarticle}

\begin{filecontents*}{mybibfile.bib}
@article{allik_hughes_1,
  title   = {Finite element method for piezoelectric vibration},
  journal = {Int J Numer Meth Engng},
  year={1970},
  volume={2},
  number={1--2},
  pages   = {151--157},
  doi     = {10.1002/nme.1620020202},
  url={http://dx.doi.org/10.1002/nme.1620020202},
  author  = "{Allik H and Hughes TJR}"
}

@article{allik_hughes_2,
  title   = {Vibrational response of sonar transducer using piezoelectric finite elements},
  journal = {Int J Numer Meth Engng},
  year={1970},
  volume={2},
  number={1--2},
  pages   = {151--157},
  doi     = {10.1002/nme.1620020202},
  author  = "{Allik H, Kenneth MW and John TH}"
}


@article{Fish,
  title   = "Modeling and simulation of piezocomposites",
  journal = "Comput Meth Appl Mech and Engng",
  journal = {Int J Numer Meth Engng},
  year={1970},
  volume={2},
  number={1--2},
  pages   = {151--157},
  doi     = {10.1002/nme.1620020202},
  author  = "{Fish J and Chen W }"
}
\end{filecontents*}

\usepackage{amsmath,amsfonts,amsthm,bm}

\usepackage{hyperref}
\hypersetup{colorlinks = true, allcolors = cyan}
\usepackage[nameinlink,noabbrev]{cleveref} 



\Crefformat{figure}{#2Fig.~#1#3}
\Crefmultiformat{figure}{Figs.~#2#1#3}{ and~#2#1#3}{, #2#1#3}{ and~#2#1#3}


\usepackage{lineno}
\modulolinenumbers[5]


\journal{Journal of \LaTeX\ Templates}



\usepackage{subfig}
\usepackage{float}
\usepackage{graphicx}
\usepackage{color}
\usepackage{pgf,tikz}
\usepackage{multirow}






\bibliographystyle{elsarticle-num}

\bibpunct{\color{cyan}[}{\color{cyan}]}{,}{n}{}{;}

\begin{document}
\hypersetup{allcolors = cyan}

\captionsetup[figure]{labelfont={bf},labelformat={default},labelsep=period,name={Fig.}}%used to ref Figure 1: to Fig.1.

\captionsetup[equation]{labelfont={bf},labelformat={default},labelsep=period,name={Eq.}}%used to ref Figure 1: to Fig.1.

\section{Introduction}


In  \Cref{figure}, in ref \cite{allik_hughes_1,allik_hughes_2,Fish}, in \Cref{table}  and in equation Eq. \Cref{equation}



\begin{align}
M=\frac{a{b}c}{2}. dE, \label{equation}
\end{align}


\begin{figure}[H]
\centering
  \includegraphics[height=1.0 in, width=2.0 in]{bimorph.png} 
\caption{Static deflection of the bimorph actuator: Accuracy analysis} \label{figure}.
\end{figure}

\begin{table}[H]
%\begin{table}[H]
\caption{Accuracy : Static } \label{table}
\centering
\begin{tabular}{c c c c c c}
\hline 
\multirow{3}{*}{none} &\multicolumn{2}{c}{none}\\ \cline{2-3}&a($\mu$m)&relative error[\%]\\ \cline{2-3} \cline{4-5}
&b&b\\
\hline
1000&1000&100& \\ 
\hline
\end{tabular}
%\end{table}
\end{table}

\section*{References}
\bibliography{mybibfile}

\end{document}

What is wrong with the code? Why I am not getting the bibliography like the attached screenshot. The complete URL of the doi does not appear with current code. Thank you in advance. enter image description here

  • 1
    Do you want to submit this to Elsevier or just need the layout? If you submit to one of their journals, they will take care of that for you. I submitted my most recent paper also without the complete URLs. No complaints during review process and the final paper has the full URLs. – engineer Jan 14 '18 at 19:57
  • Yeah, I am submitting to Elsevier. Thank you for sharing your experience. – Prakash Jan 15 '18 at 5:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.