Journal of Computational Physics, latex模板

本文分享了Journal of Computational Physics的LaTeX模板下载链接,并介绍如何通过添加额外包来增强其功能。重点讨论了使用深度学习的物理信息DNN算法在求解偏微分方程的应用实例,包括了关键步骤和代码示例。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

想必很多人会用到Journal of Computational Physics的latex模板,但是这个模板在官网不容易找。本人也是在网上找了很久才找到它。下载地址为: template for Journal of Computational Physics

或者访问网址: https://www.elsevier.com/wps/find/journaldescription.cws_home/622866?generatepdf=true

点击template即可下载模板。这个模板只提供了几个简单的package,本人加了一些包,可以完成大部分的工作。如下:

%% This is file `jcomp-template.tex',
%% 
%% Copyright 2017 Elsevier Ltd
%% 
%% This file is part of the 'Elsarticle Bundle'.
%% ---------------------------------------------
%% 
%% It may be distributed under the conditions of the LaTeX Project Public
%% License, either version 1.2 of this license or (at your option) any
%% later version.  The latest version of this license is in
%%    http://www.latex-project.org/lppl.txt
%% and version 1.2 or later is part of all distributions of LaTeX
%% version 1999/12/01 or later.
%% 
%% The list of all files belonging to the 'Elsarticle Bundle' is
%% given in the file `manifest.txt'.
%% 
%% Template article for Elsevier's document class `elsarticle'
%% with harvard style bibliographic references
%%
%% $Id: jcomp-template.tex 100 2017-07-14 13:15:12Z rishi $
%%
%% Use the option review to obtain double line spacing
%\documentclass[times,review,preprint,authoryear]{elsarticle}

%% Use the options `twocolumn,final' to obtain the final layout
%% Use longtitle option to break abstract to multiple pages if overfull.
%% For Review pdf (With double line spacing)
%\documentclass[times,twocolumn,review]{elsarticle}
%% For abstracts longer than one page.
%\documentclass[times,twocolumn,review,longtitle]{elsarticle}
%% For Review pdf without preprint line
%\documentclass[times,twocolumn,review,nopreprintline]{elsarticle}
%% Final pdf

\documentclass[sort & compress,times,final]{elsarticle}
%%
%\documentclass[times,twocolumn,final,longtitle]{elsarticle}
%%

%% Stylefile to load JCOMP template
\usepackage{jcomp}
\usepackage{framed}
\usepackage{amssymb}
\usepackage{latexsym}
\usepackage{amsfonts}
\usepackage{amsthm}
\usepackage{amsbsy}
\usepackage{amsmath}
\usepackage{graphics,graphicx}
\usepackage{subfigure}
\usepackage{multirow,multicol}
\usepackage{bm}
\usepackage{bbm}
\usepackage{color}
\usepackage{float}
\usepackage{tikz}
\usepackage{mathrsfs}
\usepackage{epstopdf}
\usepackage{epsfig}
\usepackage{algorithm}
\usepackage{algorithmic}
\usepackage{natbib}
\usepackage{listings} %插入代码
\lstset{frame=tb,
	language=Python,
	aboveskip=3mm,
	belowskip=3mm,
	showstringspaces=false,
	columns=flexible,
	basicstyle={\small\ttfamily},
	numbers=none,
	numberstyle=\tiny\color{gray},
	keywordstyle=\color{orange},
	commentstyle=\color{green},
	stringstyle=\color{mauve},
	breaklines=true,
	breakatwhitespace=true,
	tabsize=3
}
% Following three lines are needed for this document.
% If you are not loading colors or url, then these are
% not required.
\usepackage{url}
\usepackage{xcolor}
\usepackage[colorlinks,linkcolor=blue,citecolor=blue]{hyperref}
\definecolor{newcolor}{rgb}{.8,.349,.1}

\newtheorem{theorem}{Theorem}
\newtheorem{lemma}[theorem]{Lemma}
\newdefinition{remark}{Remark}
\newtheorem{corollary}[theorem]{Corollary}
\newdefinition{method}{Method}
\newdefinition{example}[theorem]{Example}
\def
\theequation{\arabic{section}.\arabic{equation}}
\numberwithin{equation}{section}
\def
\thetheorem{\arabic{section}.\arabic{theorem}}
\numberwithin{theorem}{section}

\journal{Journal of Computational Physics}

\begin{document}

\verso{Given-name1 Family-name1 \textit{etal}}

\begin{frontmatter}

\title{Physical information DNN algorithm for solving PDEs \tnoteref{tnote1}}%
%\tnotetext[tnote1]{This is an example for title footnote coding.}

\author[address1]{Given-name1 \snm{Family-name1}} \ead{xxxxxx@qq.com}
\author[address1,address2,address3]{Family-name2\snm{First-name2}}\ead{xxxxxx@163.com} 
\author[address1,address2,address3]{Family-name3 \snm{First-name3}\corref{corres}} \ead{xxxxxx@163.com}
\cortext[corres]{Corresponding author.}

\address[address1]{xxxxxxxx,xxxxxxxxxx}
\address[address2]{xxxxxxxx,xxxxxxxxxx}
\address[address3]{xxxxxxxx,xxxxxxxxxx}

\received{xx-xx-xxxx}
\finalform{xx-xx-xxxx}
\accepted{xx-xx-xxxx}
\availableonline{xx-xx-xxxx}
\communicated{xx}

\begin{abstract}
A concise and factual abstract is required. The abstract should state briefly the purpose of the research, the principal results and major conclusions. 
An abstract is often presented separately from the article, so it must be able to stand alone. 
For this reason, References should be avoided, but if essential, then cite the author(s) and year(s). 
Also, non-standard or uncommon abbreviations should be avoided, but if essential they must be defined at their first mention in the abstract itself. 
\end{abstract}

\begin{keyword}
	\MSC[2020] 52B10\sep 65D18\sep 68U05\sep 68U07
	\KWD Physical phenomenon; PIDNN; Activation function 
\end{keyword}
\end{frontmatter}

%% main text
\section{Introduction}\label{sec:01}
  \subsection{DNN}

\documentclass[sort & compress,times,final]{elsarticle} 中添加了 sort & compress,作用是使得参考文献不再显示为[1,2,3,4,5,6,7,8,9],而是显示为[1-9]

评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值