← All templates

Romanian Journal of Physics (rjparticle)

The Romanian Journal of Physics class (2022) with its font and layout files and the math-macro file; the sample paper doubles as the class manual, covering authors and affiliations, figures, subfigures, tables and the reference list.

Create an account to use this
Category
Journal
Document class
rjparticle (rjparticle.cls) — ships with TeX Live
Workflow
Journal manuscript — submissions and revision rounds
Author
Romanian Journal of Physics (Romanian Academy / IFIN-HH)
Source
Romanian Journal of Physics (Romanian Academy / IFIN-HH)
Licence
No licence is stated in the files. Romanian Journal of Physics (Romanian Academy / IFIN-HH) distributes them for authors preparing a submission.

These are the publisher’s own files. This project starts from Romanian Journal of Physics (Romanian Academy / IFIN-HH)’s package for this publication — their manuscript, their rjparticle.cls, their bibliography style — so what compiles here is what they would have given you.

Romanian Journal of Physics (Romanian Academy / IFIN-HH) serves this exact file to Romanian Journal of Physics. Check Romanian Journal of Physics (Romanian Academy / IFIN-HH)’s author pages for the current instructions.

What you get

  • figs/xNLS_DAMI.png · 272 KB
  • rjp_fonts.def · 7 KB
  • rjp_mathdefs.tex · 4 KB
  • rjp_sample_paper.tex — the file that is compiled · 37 KB
  • rjp_size11.clo · 8 KB
  • rjparticle.cls · 29 KB

These become your files. Editing them afterwards changes your project and nothing else — a project owns its files from the moment it is made.

Journals using this template

Source

figs/xNLS_DAMI.png — binary, 272 KB

rjp_fonts.def · 7 KB
\ProvidesFile{rjp_fonts.def}[2010/08/20 v1.1a font configurations for RJP]
\DeclareTextSymbolDefault{\textsterling}{T1}
\expandafter\let\csname OT1\string\textsterling\endcsname\@undefined
\renewcommand{\sfdefault}{phv}%Helvetica used for slanted
\renewcommand{\rmdefault}{ptm}%Times used for roman 
\renewcommand{\ttdefault}{pcr}%Courier used for typewriter
\thinmuskip=2mu
\medmuskip=2.5mu plus 1mu minus 1mu
\thickmuskip=4mu plus 1.5mu minus 1mu
\def\@eqnnum{{\normalfont\small \normalcolor (\theequation)}}
\DeclareMathSizes{5}{5}{5}{5}
\DeclareMathSizes{6}{6}{5}{5}
\DeclareMathSizes{7}{7}{5}{5}
\DeclareMathSizes{8}{8}{6}{5}
\DeclareMathSizes{9}{9}{7}{5}
\DeclareMathSizes{10}{10}{7.4}{6}
\DeclareMathSizes{\@xipt}{\@xipt}{8}{6}%default font size for math mode Computer Modern fonts
\DeclareMathSizes{\@xiipt}{\@xiipt}{8}{6}
\DeclareMathSizes{\@xivpt}{\@xivpt}{\@xpt}{7}
\DeclareMathSizes{\@xviipt}{\@xviipt}{\@xiipt}{\@xpt}
\DeclareMathSizes{\@xxpt}{\@xxpt}{\@xivpt}{\@xiipt}
\DeclareMathSizes{\@xxvpt}{\@xxvpt}{\@xxpt}{\@xviipt}
\DeclareMathSymbol{\Alpha}{\mathalpha}{letters}{`A}
\DeclareMathSymbol{\Beta}{\mathalpha}{letters}{`B}
\DeclareMathSymbol{\Epsilon}{\mathalpha}{letters}{`E}
\DeclareMathSymbol{\Eta}{\mathalpha}{letters}{`H}
\DeclareMathSymbol{\Iota}{\mathalpha}{letters}{`I}
\DeclareMathSymbol{\Kappa}{\mathalpha}{letters}{`K}
\DeclareMathSymbol{\Mu}{\mathalpha}{letters}{`M}
\DeclareMathSymbol{\Nu}{\mathalpha}{letters}{`N}
\DeclareMathSymbol{\Omicron}{\mathalpha}{letters}{`O}
\DeclareMathSymbol{\Rho}{\mathalpha}{letters}{`P}
\DeclareMathSymbol{\Tau}{\mathalpha}{letters}{`T}
\DeclareMathSymbol{\Chi}{\mathalpha}{letters}{`X}
\DeclareMathSymbol{\Zeta}{\mathalpha}{letters}{`Z}
\DeclareMathSymbol{\omicron}{0}{operators}{`\o}
\begingroup
\nfss@catcodes

\DeclareFontFamily{OT1}{pcr}{\hyphenchar \font =-1}%OT1/Courier
\DeclareFontShape{OT1}{pcr}{b}{n}{<-> s pcrb7t}{}%
\DeclareFontShape{OT1}{pcr}{b}{sc}{<-> s pcrbc7t}{}%
\DeclareFontShape{OT1}{pcr}{b}{sl}{<-> s pcrbo7t}{}%
\DeclareFontShape{OT1}{pcr}{m}{n}{<-> pcrr7tn}{}%
\DeclareFontShape{OT1}{pcr}{m}{sc}{<-> pcrrc7t}{}%
\DeclareFontShape{OT1}{pcr}{m}{sl}{<-> pcrro7t}{}%
\DeclareFontShape{OT1}{pcr}{bx}{n}{<->ssub * pcr/b/n}{}%
\DeclareFontShape{OT1}{pcr}{bx}{sc}{<->ssub * pcr/b/sc}{}%
\DeclareFontShape{OT1}{pcr}{bx}{sl}{<->ssub * pcr/b/sl}{}%
\DeclareFontShape{OT1}{pcr}{b}{it}{<->ssub * pcr/b/sl}{}%
\DeclareFontShape{OT1}{pcr}{bx}{it}{<->ssub * pcr/b/it}{}%
\DeclareFontShape{OT1}{pcr}{m}{it}{<->ssub * pcr/m/sl}{}%
\DeclareFontFamily{OT1}{phv}{}%OT1/Helvetica .9 scaling (changed to 0.85)
\DeclareFontShape{OT1}{phv}{b}{n}{<-> s * [.85] phvb7t}{}
\DeclareFontShape{OT1}{phv}{b}{sc}{<-> s * [.85] phvbc7t}{}
\DeclareFontShape{OT1}{phv}{b}{sl}{<-> s * [.85] phvbo7t}{}
\DeclareFontShape{OT1}{phv}{bc}{n}{<-> s * [.85] phvbrn7t}{}
\DeclareFontShape{OT1}{phv}{bc}{sc}{<-> s * [.85] phvbcn7t}{}
\DeclareFontShape{OT1}{phv}{bc}{sl}{<-> s * [.85] phvbon7t}{}
\DeclareFontShape{OT1}{phv}{m}{n}{<-> s * [.85] phvr7t}{}
\DeclareFontShape{OT1}{phv}{m}{sc}{<-> s * [.85] phvrc7t}{}
\DeclareFontShape{OT1}{phv}{m}{sl}{<-> s * [.85] phvro7t}{}
\DeclareFontShape{OT1}{phv}{mc}{n}{<-> s * [.85] phvrrn7t}{}
\DeclareFontShape{OT1}{phv}{mc}{sc}{<-> s * [.85] phvrcn7t}{}
\DeclareFontShape{OT1}{phv}{mc}{sl}{<-> s * [.85] phvron7t}{}
\DeclareFontShape{OT1}{phv}{bx}{n}{<->ssub * phv/b/n}{}
\DeclareFontShape{OT1}{phv}{bx}{sc}{<->ssub * phv/b/sc}{}
\DeclareFontShape{OT1}{phv}{bx}{sl}{<->ssub * phv/b/sl}{}
\DeclareFontShape{OT1}{phv}{b}{it}{<->ssub * phv/b/sl}{}
\DeclareFontShape{OT1}{phv}{bx}{it}{<->ssub * phv/b/it}{}
\DeclareFontShape{OT1}{phv}{bc}{it}{<->ssub * phv/bc/sl}{}
\DeclareFontShape{OT1}{phv}{m}{it}{<->ssub * phv/m/sl}{}
\DeclareFontShape{OT1}{phv}{mc}{it}{<->ssub * phv/mc/sl}{}
\DeclareFontFamily{OT1}{ptm}{}%OT1/Times
\DeclareFontShape{OT1}{ptm}{b}{n}{<-> ptmb7t}{}
\DeclareFontShape{OT1}{ptm}{b}{sc}{<-> ptmbc7t}{}
\DeclareFontShape{OT1}{ptm}{b}{it}{<-> ptmbi7t}{}
\DeclareFontShape{OT1}{ptm}{b}{sl}{<-> ptmbo7t}{}
\DeclareFontShape{OT1}{ptm}{m}{n}{<-> ptmr7t}{}
\DeclareFontShape{OT1}{ptm}{m}{sc}{<-> ptmrc7t}{}
\DeclareFontShape{OT1}{ptm}{m}{it}{<-> ptmri7t}{}
\DeclareFontShape{OT1}{ptm}{m}{sl}{<-> ptmro7t}{}
\DeclareFontShape{OT1}{ptm}{bx}{n}{<->ssub * ptm/b/n}{}
\DeclareFontShape{OT1}{ptm}{bx}{sc}{<->ssub * ptm/b/sc}{}
\DeclareFontShape{OT1}{ptm}{bx}{it}{<->ssub * ptm/b/it}{}
\DeclareFontShape{OT1}{ptm}{bx}{sl}{<->ssub * ptm/b/sl}{}
\DeclareFontFamily{T1}{pcr}{\hyphenchar \font =-1}%T1/Courier
\DeclareFontShape{T1}{pcr}{b}{n}{<-> pcrb8t}{}%
\DeclareFontShape{T1}{pcr}{b}{sc}{<-> pcrbc8t}{}%
\DeclareFontShape{T1}{pcr}{b}{sl}{<-> pcrbo8t}{}
\DeclareFontShape{T1}{pcr}{m}{n}{<-> pcrr8tn}{}%
\DeclareFontShape{T1}{pcr}{m}{sc}{<-> pcrrc8t}{}%
\DeclareFontShape{T1}{pcr}{m}{sl}{<-> pcrro8t}{}%
\DeclareFontShape{T1}{pcr}{bx}{n}{<->ssub * pcr/b/n}{}%
\DeclareFontShape{T1}{pcr}{bx}{sc}{<->ssub * pcr/b/sc}{}%
\DeclareFontShape{T1}{pcr}{bx}{sl}{<->ssub * pcr/b/sl}{}%
\DeclareFontShape{T1}{pcr}{b}{it}{<->ssub * pcr/b/sl}{}%
\DeclareFontShape{T1}{pcr}{bx}{it}{<->ssub * pcr/b/it}{}%
\DeclareFontShape{T1}{pcr}{m}{it}{<->ssub * pcr/m/sl}{}%
\DeclareFontFamily{T1}{phv}{}%T1/Helvetica .9 scaling
\DeclareFontShape{T1}{phv}{b}{n}{<-> s * [.85] phvb8t}{}
\DeclareFontShape{T1}{phv}{b}{sc}{<-> s * [.85] phvbc8t}{}
\DeclareFontShape{T1}{phv}{b}{sl}{<-> s * [.85] phvbo8t}{}
\DeclareFontShape{T1}{phv}{bc}{n}{<-> s * [.85] phvbrn8t}{}
\DeclareFontShape{T1}{phv}{bc}{sc}{<-> s * [.85] phvbcn8t}{}
\DeclareFontShape{T1}{phv}{bc}{sl}{<-> s * [.85] phvbon8t}{}
\DeclareFontShape{T1}{phv}{m}{n}{<-> s * [.85] phvr8t}{}
\DeclareFontShape{T1}{phv}{m}{sc}{<-> s * [.85] phvrc8t}{}
\DeclareFontShape{T1}{phv}{m}{sl}{<-> s * [.85] phvro8t}{}
\DeclareFontShape{T1}{phv}{mc}{n}{<-> s * [.85] phvrrn8t}{}
\DeclareFontShape{T1}{phv}{mc}{sc}{<-> s * [.85] phvrcn8t}{}
\DeclareFontShape{T1}{phv}{mc}{sl}{<-> s * [.85] phvron8t}{}
\DeclareFontShape{T1}{phv}{bx}{n}{<->ssub * phv/b/n}{}
\DeclareFontShape{T1}{phv}{bx}{sc}{<->ssub * phv/b/sc}{}
\DeclareFontShape{T1}{phv}{bx}{sl}{<->ssub * phv/b/sl}{}
\DeclareFontShape{T1}{phv}{b}{it}{<->ssub * phv/b/sl}{}
\DeclareFontShape{T1}{phv}{bx}{it}{<->ssub * phv/b/it}{}
\DeclareFontShape{T1}{phv}{bc}{it}{<->ssub * phv/bc/sl}{}
\DeclareFontShape{T1}{phv}{m}{it}{<->ssub * phv/m/sl}{}
\DeclareFontShape{T1}{phv}{mc}{it}{<->ssub * phv/mc/sl}{}
\DeclareFontFamily{T1}{ptm}{}%T1/Times
\DeclareFontShape{T1}{ptm}{b}{n}{<-> ptmb8t}{}
\DeclareFontShape{T1}{ptm}{b}{sc}{<-> ptmbc8t}{}
\DeclareFontShape{T1}{ptm}{b}{it}{<-> ptmbi8t}{}
\DeclareFontShape{T1}{ptm}{b}{sl}{<-> ptmbo8t}{}
\DeclareFontShape{T1}{ptm}{m}{n}{<-> ptmr8t}{}
\DeclareFontShape{T1}{ptm}{m}{sc}{<-> ptmrc8t}{}
\DeclareFontShape{T1}{ptm}{m}{it}{<-> ptmri8t}{}
\DeclareFontShape{T1}{ptm}{m}{sl}{<-> ptmro8t}{}
\DeclareFontShape{T1}{ptm}{bx}{n}{<->ssub * ptm/b/n}{}
\DeclareFontShape{T1}{ptm}{bx}{sc}{<->ssub * ptm/b/sc}{}
\DeclareFontShape{T1}{ptm}{bx}{it}{<->ssub * ptm/b/it}{}
\DeclareFontShape{T1}{ptm}{bx}{sl}{<->ssub * ptm/b/sl}{}
\endgroup
\normalfont
\endinput
rjp_mathdefs.tex · 4 KB
%This file contains a hopefully ever growing collection of command shortcuts and even new LaTeX commands (especially for math mode),
%that are currently in use and accepted by Romanian Journal of Physics.
% Last modified: 16/09/2016 (dd/mm/yyyy)
%
% Commands specifically designed for class documentation
\ifrjpcl@ssdoc
\newcommand{\miktex}{\hbox{Mik\kern-.15em\TeX}}
\newcommand{\earXiv}{\texttt{ar\raisebox{-.25ex}{X}iv}}
\newcommand{\texlive}{\hbox{\TeX Live}}
\newcommand{\texcom}[1]{\texttt{\small\textbackslash #1}}
%\newcommand{\rjpurl}[1]{\href{#1}{\texttt{\small #1}}}
\fi
% Environment and general command shortcuts
\providecommand{\beq}[1][\@empty]{\def\@ttoken{#1}\begin{equation}\dbg@ut{\@ttoken}\ifx\@empty#1 \else\label{#1}\fi}
\newcommand{\eeq}{\end{equation}}
\newcommand{\beqn}{\begin{equation*}}
\newcommand{\eeqn}{\end{equation*}}
%
% Various other operators
\DeclareMathOperator{\Tr}{Tr}
\DeclareMathOperator{\Img}{Im}
\DeclareMathOperator{\Rel}{Re}
\DeclareMathOperator{\ee}{e}
%
% Elliptic Jacobi functions - obsolete, do not use! (see below)
\DeclareMathOperator{\sn}{sn}
\DeclareMathOperator{\cn}{cn}
\DeclareMathOperator{\dn}{dn}
%
% Mathematical operators and various symbols
\DeclareMathOperator{\ddiv}{div}
\DeclareMathOperator{\grad}{grad}
% Replaceable by \tanh^{-1}
% Hyperbolic functions
\DeclareMathOperator{\artanh}{artanh}
\DeclareMathOperator{\sech}{sech}
\DeclareMathOperator{\cosech}{csch}
\DeclareMathOperator{\sgn}{sgn}
\DeclareMathOperator{\cosec}{cosec}
\newcommand{\eps}{\ensuremath{\varepsilon}}
\newcommand{\cc}{\ifmmode\mathrm{cc.\;}\else\textrm{cc.~}\fi}
\newcommand{\ict}{\ifmmode\mathcal{C}\else\texttt{C}\fi}
% Partial derivative
\providecommand{\pd}{\ensuremath{\partial}}
% To be eliminated in future versions!
\providecommand{\dd}{\ensuremath{\mathrm{d}}}
\providecommand{\id}{\ensuremath{\;\mathrm{d}}}
% Full derivative
\providecommand{\fd}{\ensuremath{\mathrm{d}}}
% Bras and Kets
\providecommand{\bra}[1]{\ensuremath{\left<#1\right|}}
\providecommand{\ket}[1]{\ensuremath{\left|#1\right>}}
% the \braket command is thought to be the matrix element of operator #1 for state #2 (left) and state #3 (right)
\providecommand{\braket}[3]{\ensuremath{\left<#2|#1|#3\right>}}
%
% Commands for multiple indexes around a central token #1
% The names derive from "front up-down, back up-down" of #1 (it better be read as "left up-down, right up-down") indicating 
% the order in which indexes are passed starting with #2 (left-up or front-up). The only cool stuff about these commands is 
% that it reduces the space between up-down left indexes and the following token.
\newcommand{\fudbud}[5]{{\!\;}^{#2}_{#3}\!\!#1^{#4}_{#5}}
\newcommand{\fubu}[3]{{\!\;}^{#2}\!\!#1^{#3}}
\newcommand{\fdbd}[3]{{\!\;}_{#2}\!\!#1_{#3}}
\newcommand{\fdbu}[3]{{\!\;}_{#2}\!#1^{#3}}
\newcommand{\fubd}[3]{{\!\;}^{#2}\!#1_{#3}}
%
% put a small hat on operators!
\providecommand{\hatop}[1]{\ensuremath{\hat{\mathop{\operator@font #1}\nolimits}}}
%
% A small macro for generating uppercased letters of specific math font (mathfrak).
\let\op@format\mathfrak
% \let\op@format\mathcal
\def\op#1{%
 \ifnum`#1=\lccode`#1
  \expandafter\ensuremath\op@format{\uppercase{#1}}
 \else%
  \expandafter\ensuremath\op@format{#1}
 \fi%
}%
% Jacobi elliptic functions as operators
\DeclareMathOperator{\jsn}{sn} % to replace duplicates above!
\DeclareMathOperator{\jcn}{cn}
\DeclareMathOperator{\jdn}{dn}
\DeclareMathOperator{\jns}{ns} % 1/sn(u)
\DeclareMathOperator{\jnc}{nc} % 1/cn(u)
\DeclareMathOperator{\jnd}{nd} % 1/dn(u)
\DeclareMathOperator{\jsc}{sc} % sn(u)/cn(u)
\DeclareMathOperator{\jsd}{sd} % sn(u)/dn(u)
\DeclareMathOperator{\jdc}{dc} % dn(u)/cn(u)
\DeclareMathOperator{\jds}{ds} % dn(u)/sn(u)
\DeclareMathOperator{\jcs}{cs} % cn(u)/sn(u) 
\DeclareMathOperator{\jcd}{cd} % cn(u)/dn(u)

% Pre-formatted special text chunks
\providecommand{\ie}{\textit{i.e.}}
\providecommand{\eg}{\textit{e.g.}}
\providecommand{\etal}{\textit{et al.}}


rjp_sample_paper.tex — the file that is compiled · 37 KB
\documentclass[myclassdoc,rjpdebug]{rjparticle}
%use the following command when typesetting your paper:
%\documentclass{rjparticle}
\usepackage{graphicx}

\title{Your paper} 

\author[1,$a$]{A. T. Grecu}

\author[2,$b$]{John Doe}

\author[2\authnote{On leave from Institute of Typesetting Wizards}]{Jane Doe}

\affil[1]{``Horia Hulubei'' National R\&D Institute for Physics and Nuclear Engineering,\\
Reactorului 30, RO-077125, P.O.B. MG-6, M\u{a}gurele-Bucharest, Romania, EU\\
\emailca{a}{[email protected]}}

\affil[2]{Department of Diligent Testing, University for Beautiful Typesetting,\\Minerva 123, UK-CK734PR, Mallaig, Scotland, UK\\
\email[b]{[email protected]}}

\keywords{Physics literature and publications, editorials, publications in electronic media, journal paper}

%Please provide an abridged title to appear at the top of pages in the journal volume!
%\columntitle{Put your short paper title here}

\hyphenation{rjp-ar-ti-cle}


\begin{document}
\maketitle
\begin{abstract}
This paper is supposed to act as a helpful example of how to correctly typeset your contributions before submitting them to the Romanian Journal of Physics. Please, beware that failing to provide your contribution using this \LaTeX\ style may result in indefinite delays in publishing your paper even after receiving the reviewers' recommendations for publication.
\end{abstract}

\section{\NoCaseChange{\LaTeX} compatibility}
The Romanian Journal of Physics (RJP) style was designed to allow authors, who use mainly \LaTeX ~for typesetting their papers, to  submit contributions to this journal of the Romanian Academy Publishing House. At the same time, by using this style, the authors will have much better control over the final layout of their paper and they will know the number of pages their contribution will occupy when bound in the printed volume (of course only if their contribution will first be accepted and recommended by RJP's referees for publication).

The first version of this custom made class appeared in December 2010. Given the time of release the developer made the choice as to support only \LaTeX ~versions newer than \LaTeXe. The style was developed for \miktex ~2.7 updated to the latest versions of its packages that were available in September 2010 when the work began. Though \miktex ~is a distribution which is mostly centered on providing \LaTeX~ support for MS Windows OS, the class was also successfully tested on a major Linux distribution that uses \texlive (2010). As of 2012 the development continues on major Linux distributions. Nevertheless, the developer encourages the contributing authors to test the present class on as many distributions and configurations as possible and announce whenever they find incompatibilities or errors (please, use the following e-mail address for reporting bugs and issues to the present developer Mr. A.T. Grecu: [email protected]). For this purpose, we'll mention below the list of incompatible packages as well 
as the list of used packages.

Due to the fact that the RJP style is a fresh document class (which tries to comply as much as possible to an existing MS Word template) and the technical support will be provided at least for some years to come, the style isn't yet included in any major \LaTeXe~ distribution and it is also \textit{modular}, meaning that its code resides in more than one file. Therefore we recommend authors to keep all the files (better the compressed archive available online) and copy them in a new directory when starting to typeset a new contribution for RJP. Of course, every now and then (in average every 6 months), you are advised to visit the RJP web site and look for newer versions of this style. In the following, we give the list of files in which the \LaTeX~code is contained, in order of their importance:
\begin{enumerate}
\item \textbf{rjparticle.cls} -- here, the main code of the class resides;
\item \textbf{rjp\_fonts.cfg} -- this file defines some font related parameters;
\item \textbf{rjp\_size11.clo} -- here is the \LaTeX ~code for page layout;
%\item \textit{rjpstyle.bst} -- this file defines the bibliography style when you use a (bibtex) bibliography database (.bib);
\item \textit{rjp\_README.txt} -- this file contains a very short version of the essential documentation for using the class and a (not very up-to-date) reference of the new and changed \LaTeX ~commands.
\end{enumerate}

\subsection{Incompatible Packages}

The RJP style was designed to refuse loading specific packages either because parts of them are already incorporated into the code, because they are (too) obsolete or their usage leads to unwanted issues affecting the resuting PDF files. Although the list of incompatible packages is expected to change quite often in time, we give here the minimal list: \textbf{authblk}, \textbf{truncate}, \textbf{mathptmx}, \textbf{caption, subfigure}, \textbf{cite}, \textbf{pictexwd}. The package \textbf{subfig} is however loaded but only in a special combination with the package \textbf{caption} and using specific options, \ie
\begin{lstlisting}
\usepackage[labelseparator=none,font=footnotesize,justification=centerlast]{caption,subfig}
\end{lstlisting}
It is recommended that this particular suite of options should not to be changed by the user.


\subsection{Automatically loaded packages}

The packages which are loaded automatically by the RJP style are:  \textbf{textcase}, \textbf{truncate}, \textbf{xcolor} which are used internally, \textbf{amsfonts}, \textbf{amsmath}, \textbf{amssymb} to allow authors to use the mathematical environments provided therein rather than the normal and limited \LaTeXe ~environments (especially \textit{eqnarray} is advised to be replaced by environments from the AMS style - \textit{i.e.} \textit{split}, \textit{align}), \textbf{cite} to force compression of the citation lists and \textbf{upgreek} to allow authors to specify Greek characters in text mode according to the international publishing rules (straight symbols rather than slanted as in \LaTeX math mode especially when using units \textit{e.g.} $\upmu$m). A further set of packages is explicitly loaded for use in the internals of the class: \textbf{textcase}, \textbf{truncate}, \textbf{ifpdf}, \textbf{placeins}, \textbf{randtext}, \textbf{natbib}, \textbf{hyperref}.

As the packages mentioned above are already loaded please do not use \linebreak \texcom{usepackage} command to load them again. If you need special options to be passed to them use the following command:
\begin{lstlisting}
\PassOptionsToPackage{<list_of_options>}{<package_name>},
\end{lstlisting}
for each package, before the {\small \texcom{documentclass\{rjparticle\}}} declaration. Of course, passing or changing the tested package options may have unwanted effects and you should be aware you're doing this at your own risk, the RJP redaction assuming no liability for delays in processing your paper for publication.

In order to further ease the processing of their contributions, authors are recommended {\bf not} to define special commands in the header of their \LaTeXe~ document without consulting the already defined commands in the file \textbf{rjp\_mathdefs.tex}. Definition of short commands with the whole purpose of seemingly reducing the number of typed characters is strongly discouraged. Please, be aware that some of these commands may come in conflict with the macros used internally by the RJP redactional team which in turn would result in further delays in processing and publishing your accepted manuscript. A similar warning concerns the clogging of the document header with many unused commands which have to be tested individually before being removed from the processed document source.


\subsection{RJP style options}

The RJP article document class implements a small but growing number of options. Some of the options have the same names and mostly
the same effect as the options of the standard \LaTeX~ \textit{article} class while some of them are particular to the present class. Here is a list of the currently implemented options:
\begin{enumerate}
\item[-] \textit{oneside} -- option (common to article class) influences slightly the page layout and headers;
\item[-] \textit{twoside} -- option (common to article class) is the default option used by the \textit{rjparticle} class and has the same effect as it counter part in \textit{article} class;
\item[-] \textit{draft} -- has the same effect as the option with the same name on packages like \textbf{graphicx}; besides it loads the package \textbf{showkeys} when used;
\item[-] \textit{final} -- it is active by default, having the same effect as the option with the same name on the common \textit{article} class;
\item[-] \textit{noadjustcites} -- this option sends the \textit{noadjust} option to the \textbf{cite} package; its purpose is to disable some issues with reference formatting when the style used in the \texttt{\small \textbackslash cite} command doesn't comply to the specifications of \textbf{cite} package. Specifically if one uses \texttt{\small \textbackslash cite\{ref1\}-\textbackslash cite\{ref3\}} instead of \texttt{\small \textbackslash cite\{ref1, ref2, ref3\}} some spaces would appear around the em-dash ''--`` which are not aesthetic and the usage of this option removes them;  
\item[-] \textit{rjpdebug} -- this option activates the debugging output specific to the insides of the class; it should \textbf{not} be used by authors unless specifically instructed by the class developer.
\end{enumerate}

\section{Specific Commands}

The present style modifies a couple of common \LaTeX ~commands and implements a few new ones. The modified commands are related mostly to the layout on the first page of the document (title, authors, affiliations and abstract).

The {\small \texcom{title}} command accepts the new line character ''\textbackslash\textbackslash`` in its argument but, when inserted into the document, the title is written uppercase. The same transformation is forced upon first and second level section titles ({\small \texcom{section}} and {\small \texcom{subsection}} commands). There is however a special command to be used whenever acronyms or words with special lower case letters must appear in the text, namely  {\small \texcom{NoCaseChange}} (defined in the \textbf{textcase} package). Its effect is that the argument appears in the text unmodified by letter casing commands (also implemented by \textbf{textcase} package). For instance
\begin{lstlisting}
\title{Lagrangean \NoCaseChange{sp(3)} BRST Formalism \\ for Massive Vectorial Bosonic Fields}
\end{lstlisting}
will appear on the first page as
\begin{center}
LAGRANGEAN sp(3) BRST FORMALISM \\
FOR MASSIVE VECTORIAL BOSONIC FIELDS
\end{center}

The {\small \texcom{author}} command is slightly different than the one implemented by the standard \textit{article} class. Its new syntax is
\begin{lstlisting}
\author[<affiliation_sign(s)>]{<author_name>}
\end{lstlisting}
and must be issued for each of the authors. It adds the \textit{author\_name} at the end of the list of authors for your paper (beware that the order of the authors in the list is therefore given by the order of their corresponding {\small \texcom{author}} commands!). It also assigns the affiliation key (or list of comma separated keys) \textit{affiliation\_sign(s)} to the current author. The keys are recommended to be either number or lower case letters and they should be set incrementally starting with '1', respectively '\$a\$'. In the case that all the authors have the same affiliation this key may be absent. As one may notice analyzing the source of this document, we prefer the contact information such as emails to appear in the affiliation block corresponding to the author, alphabetically indexed (whenever the affiliation is shared with other author(s)) and in italics. \textbf{Beware} that the responsibility of using the appropriate keys for author(s) and affiliation(s) belongs to the authors of the 
scientific material! 
Obvious inconsistencies will be scrutinized by the editorial personnel when encountered but the RJP editorial office will not check the validity of the provided data nor it can be held responsible if invalid affiliations are published! As one may also notice the first argument of the \textbackslash author command can contain links to various notes regarding the status of a specific author and this information is introduced using the command 
\begin{lstlisting}
\authnote{<note_text>}
\end{lstlisting}
(see the \LaTeX ~source of this document for an example -- Jane Doe). No comma must appear after the last \textit{affiliation\_sign(s)} key and a following \texcom{authnote} command.


In close relation to the author list, one must introduce the affiliation list using the command
\begin{lstlisting}
\affil[<affiliation_sign(s)>]{<affiliation_text>}
\end{lstlisting}
where \textit{affiliation\_sign(s)} is the specific symbol key used for (and only for) the currently entered affiliation and which must also appear next to at least one of the authors in the author list. As for the author list the affiliation list must be defined in the exact order they need to appear in the text (keeping in mind that the keys must be in low-to-high order). The affiliation key may again be missing if and only if all the authors are affiliated to the same department, institute/company and so on. The \textit{affiliation\_text} may contain the end-of-line command that should be used at specific points in the text where a new line is required for aesthetic reasons(symmetry of centred lines) or clarity. We recommend however that one should not abuse of this feature in order to minimize the vertical space occupied by such informations on the first page.

In version 1.1 from 2015 a new command (\texcom{rjpNoMark}) was introduced for exclusive use in optional affiliation sign argument of \texcom{author} and \texcom{affil} commands to suppress the output of arabic 1 symbol when only one affiliation is defined for all(multiple) authors.

Among the new commands defined by the RJP style there are 
\begin{lstlisting}
\keywords{<comma_separated_list_of_key_words>}
\end{lstlisting}
which \textbf{must} appear in the header of the document (before \texcom{begin\{document\}}) or at most before \textbackslash begin\{abstract\} is issued to have any effect at all. Moreover the list of key words should not end with a period '.' as it is automatically added by the class code.
\begin{lstlisting}
\pacs{<list_of_PACS_numbers>}
\end{lstlisting}
allows one to specify PACS identifiers as a comma separated list.

There is a special environment for specifying the acknowledgements
\begin{lstlisting}
\begin{acknowledgement}...\end{acknowledgement}
\end{lstlisting}
The acknowledgements are usually typeset in a font face of size 9pt so please do not use font size changing commands (they will be removed in editorial processing). Special formatting such as bold, italic or slanted are accepted and recommended as the way to emphasize any fragments of the text that you consider necessary.

\section{Examples for various Environments}

This section includes examples of different environments containing media and data material (the copyright of which is already owned by RJP) much needed in any good scientific publication. For instance below (in figure \ref{pic1}) we present a \textit{figure} environment as it must appear in every contribution submitted to our journal (this picture is in PNG format so compiling must be done using \textit{pdflatex} command rather than the usual \textit{latex} command or one should specify the \textbf{pdftex} driver when loading the \textbf{graphicx} package).
\begin{figure}[h!tb]
\centering
\includegraphics[width=0.8\textwidth]{xNLS_DAMI}
\caption{This is a sample picture taken from RJP volume \textbf{50}(1-2) from page 129 (2005).It illustrates (hashed areas) the instability domains for a series of nonlinear Schr\"odinger equations determined using the deterministic approach to modulational instability.}
\label{pic1}
\end{figure}

Another environment with special formatting in our style is the \textit{table} environment, a sample of which is table \ref{table1}. Please, do notice that the caption of tables is usually placed before the main body and therefore, you are required to write the \texcom{caption\{...\}} command immediately after \texcom{begin\{table\}...} !
\begin{table}[h!t]%
\caption{This table is taken from RJP volume \textbf{50}(1-2) from page 43 (2005). It gives the ``
\textit{number of bound states dependence on the radius of space curvature for $\alpha = 0.005$, $U_0 = 1$}''.}
\centering
\begin{tabular}{|c|c|}
\hline
Value $\rho$ & Value $\varepsilon$ \cr
\hline
$\rho = 50$ & -- \cr
$\rho = 100$ & -- \cr
$\rho = 250$ & $\varepsilon_1 = 0.0289$ \cr
$\rho = 400$ & $\varepsilon_1 = 0.3772$ \cr
$\rho = 1000$ & $\varepsilon_1 = 0.4142$, $\varepsilon_2 = 0.8495$ \cr
\hline
\end{tabular}
\label{table1}
\end{table}

As RJP is a physics journal, an important part of the scientific language used in the publication is constituted by equations. One of the main reason for which the developer decided to include the AMS style within the RJP style is the appropriate formatting of the mathematical environments. For instance the \textit{split} or \textit {align} environment is recommended as a very good replacement of the \textit{eqnarray} environment. You can see the difference between \textit{split} and \textit{eqnarray} in equation \eqref{eq1} and \eqref{eq2}, respectively. An even better layout may be obtained if one uses the 
\textit{aligned} environment inside the \textit{equation} or the \textit{multline} environment as in \eqref{eq2b}, respectively \eqref{eq2c}.
\begin{equation}\label{eq1}\begin{split}
S_{0}&[A^{\mu },\dot{A}^\mu,\phi ]=\int d^{4}x\mathcal{L}=\int
d^{4}x\ (-\frac{1}{4}F_{\mu \nu }F^{\mu \nu }- \\
&-k~\partial _{\lambda }F^{\alpha \lambda }\partial _{\rho }F_{\alpha }^{\rho
}+\frac{1}{2}(\partial _{\mu }\phi -mA_{\mu })(\partial ^{\mu }\phi -mA^{\mu
}))
\end{split}\end{equation}
\begin{eqnarray}
& &S_{0}[A^{\mu },\dot{A}^\mu,\phi ]=\int d^{4}x\mathcal{L}=\int
d^{4}x\ (-\frac{1}{4}F_{\mu \nu }F^{\mu \nu }- \label{eq2} \\
& &-k~\partial _{\lambda }F^{\alpha \lambda }\partial _{\rho }F_{\alpha }^{\rho
}+\frac{1}{2}(\partial _{\mu }\phi -mA_{\mu })(\partial ^{\mu }\phi -mA^{\mu
})) \nonumber
\end{eqnarray}
\begin{equation}\label{eq2b}\begin{aligned}
S_{0}&[A^{\mu },\dot{A}^\mu,\phi ]=\int d^{4}x\mathcal{L}=\int
d^{4}x\ (-\frac{1}{4}F_{\mu \nu }F^{\mu \nu }- \\
&-k~\partial _{\lambda }F^{\alpha \lambda }\partial _{\rho }F_{\alpha }^{\rho
}+\frac{1}{2}(\partial _{\mu }\phi -mA_{\mu })(\partial ^{\mu }\phi -mA^{\mu
}))
\end{aligned}\end{equation}
\begin{multline}\label{eq2c}
S_{0}[A^{\mu },\dot{A}^\mu,\phi ]=\int d^{4}x\mathcal{L}=\int
d^{4}x\ (-\frac{1}{4}F_{\mu \nu }F^{\mu \nu }- \\
-k \partial _{\lambda }F^{\alpha \lambda }\partial _{\rho }F_{\alpha }^{\rho
}+\frac{1}{2}(\partial _{\mu }\phi -mA_{\mu })(\partial ^{\mu }\phi -mA^{\mu
}))
\end{multline}
Please, be advised that since 2012 the RJP document class issues errors whenever more than 3 \textit{eqnarray} environments are encountered in one section of an article! This measure was required due to abusive use of this environment which hinders the processing of documents before publishing.

The AMS style also allows one to easily make use of subequations
\begin{subequations}
\label{ein}
\begin{align}
\frac{\ddot a_2}{a_2} +\frac{\ddot a_3}{a_3} +\frac{\dot
a_2}{a_2}\frac{\dot
a_3}{a_3} - \frac{n^2}{a_3^2} &= \kappa T_{1}^{1}\,, \label{11}\\
\frac{\ddot a_3}{a_3} +\frac{\ddot a_1}{a_1} +\frac{\dot
a_3}{a_3}\frac{\dot
a_1}{a_1} - \frac{m^2}{a_3^2} &= \kappa T_{2}^{2}\,, \label{22} \\
\frac{\ddot a_1}{a_1} +\frac{\ddot a_2}{a_2} +\frac{\dot
a_1}{a_1}\frac{\dot
a_2}{a_2} + \frac{m n}{a_3^2} &= \kappa T_{3}^{3}\,, \label{33} \\
\frac{\dot a_1}{a_1}\frac{\dot a_2}{a_2} +\frac{\dot a_2}{a_2}
\frac{\dot a_3}{a_3} + \frac{\dot a_3}{a_3}\frac{\dot a_1}{a_1} -
\frac{m^2 - m n + n^2}{a_3^2} &=
\kappa T_{0}^{0}\,, \label{00}\\
m \frac{\dot a_1}{a_1} - n \frac{\dot a_2}{a_2} - (m - n) \frac{\dot
a_3}{a_3} &= \kappa T_{3}^{0}\,. \label{03}
\end{align}
\end{subequations}
though one should consult the AMS user guide \cite{amsug} when special features like splitting subequations between subsequent pages are needed (see \cite{amsug} ver. 2.0, revised 2002, p. 9-10). Please notice that the \textit{subequations} environment presents the advantage of referencing both the whole group of equations \eqref{ein} or each of the sub-equations individually, \textit{e.g.} \eqref{33}. Of course, there are other mathematical AMS environments that the author may use in their papers and to learn about them one should consult the afore-mentioned user guide.

\section{Instead of Conclusions}

The current style provides a few elements of both authenticity for us (the headers and footers) as well as a way for you, the author, to certify (to third parties) the submission of a manuscript to our journal. Most of the formatting is done automatically in the background so you \textbf{must not} interfere with elements such as page layout parameters, spacing parameters used in various environments or font sizes. In 2012 a minimal mechanism was implemented to detect page layout modification. Upon detection the document output is stopped until the author removes the preamble commands or the packages causing the page geometry modification. We admit however that in certain conditions (especially when lots of floating environments (figures and tables) are used) the author may need to issue special commands to force the output of floats on specific pages (such commands are \textbackslash clearpage, \textbackslash newpage, etc.). Of course these commands are allowed in your \LaTeX ~code. However, please do not 
drastically modify font sizes used in various environments nor force vertical or horizontal space in your article! Such actions will be considered an abuse and will hinder our efforts to publish your accepted paper as soon as possible, most likely leading to indefinite delays in publication. We also recommend that you do a spelling before submitting your article and use the \textbackslash hyphenation command (or hyphenation marks) whenever necessary.

These recommendations should be taken into account together with the instructions for authors available for consulting on the Romanian Journal of Physics web site when submitting articles written in \LaTeX ~to our journal. Please, be advised that failure to comply may lead to indefinite delays in the publication of your submitted article even if the referees gave you a positive recommendation!

The current style (Dec. 2013) is being constantly improved and patched, therefore comments and contributions to the development of the code as well as help in debugging specific issues is and will always be highly regarded by our editorial team!

Last but not least, we give some \textbf{real} references to works by scientists who became very well-known (publicly) during the year 2010 in physics \cite{nobelphys1, nobelphys2, nobelphys3} and mathematics \cite{fields1,fields2,fields3}.

\section{Log of changes}

\subsection{\NoCaseChange{\texttt{version 2.0 r2022a}}}
\begin{itemize}
	\item[-] Updated commands \texcom{arxiv}, \texcom{arxivold}, \texcom{doi} to match definitions in the editorial style. These commands allow the inclusion of hyperlinks mainly in the bibliography. The two versions of the \texcom{arxiv} command produce the hyperlinks to the abstract of the corresponding arXiv entry. The \texttt{...old} command requires two arguments to be able to construct the correct URL of the arXiv entry and it is to be used for references to entries before the major change in indexing in arXiv repository (when domain prefix was included in the URL). The newer \texcom{arxiv} command treats the domain as an optional argument which (if present) will be typeset and not included in the linked URL. The \texcom{doi[...text...]\{...doi\_code...\}} command needs two arguments, of which the first (if provided) is typeset as it is otherwise it is replaced by the URL to the \texttt{doi.org} record, \textit{e.g.} \\
	\centerline{\footnotesize \texcom{doi}\{10.1111/210192810\} $\longrightarrow$ \doi{10.1111/210192810}} 
	\centerline{\footnotesize \texcom{doi}[J. Beaut. Typeset. {\bf 38}, 1-12 (2022)]\{10.2212/i222-ab123\} $\longrightarrow$ \doi[J. Beaut. Typeset. {\bf 38}, 1-12 (2022)]{10.2212/i222-ab123}}
	
	\item[-] Imported commands \texcom{emailca} and \texcom{emails} from the editorial style. These commands are to be used in the affiliation field(s) -- the \texcom{afill} command -- to indicate the ``corresponding author'' of a submitted paper or a list of emails for a given author, respectively. \texcom{emailca} requires two arguments, where the first must match the symbol in the upper indexes following the author name (\texcom{author} command). \texcom{emails} has only one argument which is the list of emails (preferably separated by commas and a space so that hyphenation is done correctly by the \LaTeX engine).
	
	\item[-] \texcom{pacs} command to be marked as obsolete since the journal seems to not using this information any longer. Please, rather provide at least 3 key words for your contribution!
\end{itemize}


\subsection{\NoCaseChange{\texttt{version 2.0 r2018a}}}
\begin{itemize}
\item[-] disable use of bibliographic data bases in \texttt{.bib} format according to EB decision
\end{itemize}

\subsection{\NoCaseChange{\texttt{version 2.0 r2017b}}}
\begin{itemize}
\item[-] changed bibliography code to avoid breaking bibliographic entries between pages
\end{itemize}

\subsection{\NoCaseChange{\texttt{version 1.1 r2016a}}}
\begin{itemize}
  \item[-] added \texttt{mathlines} option to \texttt{lineno} package in order to count also lines with mathematical formula
  \item[-] bilbliography style \texttt{rjpstyle(.bst)} was customized to improve parsing of bibtex bibliography data bases. It is recommended that empty fields in records from such data bases should be written as \texttt{$<$field name$>$ = \{\},}
\end{itemize}

\subsection{\NoCaseChange{\texttt{version 1.1 r2015a}}}
\begin{itemize}
  \item[-] added \texcom{rjpNoMark} command (see text above for details)
  \item[-] change citation management package from \texttt{cite} to \texttt{natbib}
  \item[-] included \texttt{hyperref} package to enable internal and external links in produced PDF files
  \item[-] two new commands \texcom{arxiv} and \texcom{doi} are introduced in order to facilitate linking the references to external resources.\\
  \texcom{arxiv} has two arguments, one of which is mandatory and must be the article number in the \earXiv~ system. The optional argument is the 
  domain abbreviation. \\
  \texcom{doi} takes also two arguments, the mandatory one being the Digital Object Identifier (DOI) of the referenced external resource while the optional argument can be whatever text the user wants to be displayed for the link in the PDF document. When not provided a default text is inserted of the form \texttt{DOI:$<$doi-number$>$}.
\end{itemize}

\subsection{\NoCaseChange{\texttt{version 1.0 r2013b}, class date: November, 2013}}
\begin{itemize}
 \item[-] adjusted alignment of subsequent lines in a bibliography entry
 \item[-] adjourned this document and clean-up of \textit{rjp\_mathdefs.tex} auxiliary macro file.
\end{itemize}

\subsection{\NoCaseChange{\texttt{version 1.0 r2013a}, class date: February 9, 2013}}
\begin{itemize}
 \item[-] command \texttt{\textbackslash email} is available in \texttt{\textbackslash affil} command
\end{itemize}

\subsection{Release \NoCaseChange{2012c}}
\begin{itemize}
\item[-] replaced \textbf{color} package by the modern, improved \textbf{xcolor} package
\item[-] the class now uses by default the \textbf{lineno} package in order to facilitate the reviewing process by marking the lines in the manuscripts
\item[-] the \textbf{graphicx} package is now instructed to search for figures in \textit{figs} directory under the current path, \textit{i.e.} \texttt{\small ./figs/}
\end{itemize}

\section{Macros available in \NoCaseChange{\textit{rjp\_mathdefs.tex}}}

The list below contains the \LaTeX\ macros available through the \textit{rjp\_mathdefs.tex} file. Please, do consider these macros and try to avoid redefining or clashing with their names in your own contribution. Contrarily to limitations on the definition and use of user macros which other journals enforce, most of the macros described below are introduced using the \texcom{providecommand} command which gives you the liberty to overwrite them at will. However, we would very much appreciate and acknowledge if you minimize in your contribution the use of packages or user macros the functionality of which is not needed to generate the final PDF document (\ie\ before sending your contribution please, take a few extra minutes to remove un-used \texcom{usepackage\{...\}} and macros from your \LaTeX\ file).

\noindent\texttt{\textbackslash beq ... \textbackslash eeq} -- these shortcut command replace the start and end commands for the \texttt{equation} environment; \texttt{beq} has an optional argument which is used as the label of the equation, therefore avoid starting your equation with the '[' character place right after \texcom{beq}. \\
\noindent\texttt{\textbackslash beqn ... \textbackslash eeqn} -- shortcut command for the star version of the equation environment  \\
\noindent\texcom{jsn},...\texcom{jds},...\texcom{jcd} -- the complete list of Jacobi elliptic functions defined by pre-pending \texttt{j} to their names as consecrated in literature \\
\noindent\texcom{ddiv} and \texcom{grad} -- if you prefer to avoid denoting the operators using $\nabla$.  \\
\noindent\texcom{ee} -- the transitional number $\mathrm{e} = 2.7178...$ as a mathematical operator (straight font) \\
\noindent\texcom{Tr} -- the matrix trace operator in straight font \\
\noindent\texcom{Img}/\texcom{Rel} -- to specify the imaginary part coefficient/real part for a complex quantity $z$ so that  $z = \mathrm{Re} z + i\; \mathrm{Im} z$ \\
\noindent\texcom{sgn} -- the sign function in straight font \\
\noindent\texcom{cosec} -- the co-secant trigonometric function ($1/\cos$) \\
\noindent\texcom{artanh} -- the inverse of the $\tanh$ hyperbolic function ($\tanh^{-1}$) \\
\noindent\texcom{sech} and \texcom{cosech} -- hyperbolic functions $1/\cosh$ and $1/\sinh = \mathrm{csch}$, respectively. \\
\noindent\texcom{eps} -- for $\varepsilon$ \\
\noindent\texcom{cc} -- to input complex conjugate abbreviation in math and text mode followed by a small (non-breakable) blank \\
\noindent\texcom{ict} -- to input $\mathcal{C}$ in math mode and \texttt{C} in text mode as a symbol for an arbitrary integration constant \\
\noindent\texcom{pd} -- shortcut for $\partial$, partial derivative in math mode \\
\noindent\texcom{fd} -- output the full derivative symbol (d) in straight font in math mode (very useful for writing nice derivatives and integrals) \\
\noindent\texcom{bra}, \texcom{ket} and \texcom{braket} -- to print out bra and ket wave-vectors with correct scaling of the surrounding symbols (1 argument) or the quantum matrix element of an operator given as first argument between two states given as argument 2 and 3 for bra and ket states respectively \\
\noindent\texcom{fudbud[5]}, \texcom{fubu[3]}, \texcom{fdbu[3]},
\texcom{fdbd[3]}, \texcom{fubd[3]} -- series of commands to arrange more conveniently upper and lower indexes in front and after a central symbol/token given first argument of the commands; the names are derived from ``front up-down, back up-down'' and the corresponding letter combination dictates also the order of the remaining arguments, \textit{e.g.} \texcom{fubu\{A\}\{i\}\{j\}} will produce ${\!\;}^{i}\!\!A^{j}$.\\
\textit{Set of commands for abbreviation formatting}:\\
\texcom{eg} $\to$ \textit{e.g.}; \texcom{ie} $\to$ \textit{i.e.}; \texcom{etal} $\to$ \textit{et al.}

This list of macros is meant to grow and evolve with the requirements of the Romanian Journal of Physics publishing authors so please, do not hesitate to contact the developer of this style for bugs or special commands that you want us to consider for inclusion. Also, please, take into account that the list published here may not always be up to date.

%\subsection{Release \NoCaseChange{}}

%\begin{itemize}
%\item[-]
%\end{itemize}

\begin{acknowledgement}
The author(s) would like to dedicate this class to the memory of \linebreak
\framebox{Acad. Dr. Horia Scutaru} a great scientist and supporter of innovation at RJP. A.T.G. would like to acknowledge the help received from Mrs. Margareta Oancea and the members of the technical department at the Romanian Academy Publishing House, in principal, in specifying a \LaTeX\ format that matches as close as possible the MS Word template that RJP uses officially, but also for carefully and patiently correcting the various versions produced during development. Last but not least, the authors owe gratitude to those who made possible that Donald Knuth's \cite{dknuthhp} complex but rigorous \TeX \cite{knuth,teximpacient} evolve into the friendlier \LaTeXe (of course names like Leslie Lamport \cite{leslie} or the people in the \LaTeX3 project led by Frank Mittelbach \cite{mittelbach,ltexclass,ltexshort,ltexclass2} come to mind). A big ``Thanks!'' goes to all the web sites, forums and message lists maintainers out there on the internet for the 
documentation and examples they shared with the world in the obvious effort of teaching people about the ways and wonders of beautiful typesetting (a small part of these resources are in Refs. \cite{texrefex,eijkhout,texcookbook,pagelayout,tug,stacko,web1,web2,web3,web4,web5,web6,web7,web8}).
\end{acknowledgement}

\begin{thebibliography}{99}
\bibitem{knuth}D. E. Knuth, D. R. Bibby, ``\textit{The \TeX book}'', 20th edn. (AMS \& Addison-Wesley Publ. Co., 1991).

\bibitem{dknuthhp} D. E. Knuth homepage: \href{http://www-cs-faculty.stanford.edu/~knuth/}{\small\ttfamily www-cs-faculty.stanford.edu/\~{}knuth}.

\bibitem{eijkhout} V. Eijkhout, ``\textit{\TeX~ by Topic, A \TeX nician's Reference}'' (electronic ver. 1.0, 2001).

\bibitem{texcookbook} ``\textit{\TeX Cookbook}'' (MathPro Press, 1989; \href{http://www.mathpro.com/math/MathPro.html}{\small\ttfamily www.mathpro.com/math/MathPro.html}).

\bibitem{texrefex} D. Bausum, ``\textit{\TeX: Reference and Examples}'' 
(\href{http://www.tug.org/utilities/plain/cseq.html}{\small\ttfamily www.tug.org/utilities/plain/cseq.html}).

\bibitem{teximpacient} P. W. Abrahams, K. A. Hargreaves, K. Berry, ``\textit{\TeX~ for the Impatient}'' (Addison-Wesley Publ. Co., 2003).

\bibitem{tug}\TeX  \textit{Users Group}: \href{http://www.tug.org/tutorials/}{\small\ttfamily www.tug.org/tutorials/}.

\bibitem{leslie} L. Lamport, ``\textit{\LaTeX. A Document Preparation System}'', 2nd edn. (Addison-Wesley Publ. Co., 1994).

\bibitem{mittelbach} F. Mittelbach, M. Goossens (J. Braams, D. Carlisle, C. Rowley), ``\textit{The \LaTeX~ Companion}'', 2nd edn. (Addison-Wesley, Boston, 2004).

\bibitem{ltexclass} The \LaTeX3 Project, ``\textit{\LaTeXe~ for Class and Package Writers}'' (1999).

\bibitem{ltexshort} T. Oetiker, H. Partl, I. Hyna, E. Schlegl, ``\textit{The Not So Short Introduction to \LaTeXe}'' (ver. 4.31, June 24, 2010).

\bibitem{ltexclass2} The \LaTeX3 Project, ``\textit{\LaTeXe~ for Authors}'' (2001).

\bibitem{pagelayout} P. van Oostrum, ``\textit{Page Layout in \LaTeX}'' (\href{http://www.cs.ruu.nl/people/piet}{\small\ttfamily www.cs.ruu.nl/people/piet}).

\bibitem{web1}A. J. Hildebrand, \href{http://www.math.uiuc.edu/~hildebr/tex/}{\small\ttfamily www.math.uiuc.edu/\~{}hildebr/tex}.

\bibitem{web2} \href{http://zoonek.free.fr/LaTeX/}{\small\ttfamily zoonek.free.fr/LaTeX}.

\bibitem{web3} \href{http://amath.colorado.edu/documentation/LaTeX}{\small\ttfamily amath.colorado.edu/documentation/LaTeX}.

\bibitem{web4} \href{http://www-h.eng.cam.ac.uk/help/tpl/textprocessing/}{\small\ttfamily www-h.eng.cam.ac.uk/help/tpl/textprocessing}.

\bibitem{web5} \href{http://latex.computersci.org/}{\small\ttfamily latex.computersci.org}.

\bibitem{web6} S. Kottwitz, \href{http://texblog.net/}{\small\ttfamily texblog.net}.

\bibitem{web7} \href{http://www.personal.ceu.hu/tex/}{\small\ttfamily www.personal.ceu.hu/tex/}.

\bibitem{web8} The UK \TeX~ Archive: \href{http://www.tex.ac.uk/}{\small\ttfamily www.tex.ac.uk}.

\bibitem{stacko} Stack Overflow: \href{http://stackoverflow.com/tags}{\small\ttfamily stackoverflow.com/tags}.

\bibitem{amsug} User's Guide for the \textit{amsmath} Package: \href{ftp://ftp.ams.org/pub/tex/doc/amsmath/amsldoc.pdf}{\small\ttfamily ftp.ams.org/pub/tex/doc/amsmath/amsldoc.pdf}.

\bibitem{nobelphys1}F. Guinea, M. I. Katsnelson, A. K. Geim, Nature Physics \textbf{6}, 30--33 (2010).

\bibitem{nobelphys2}A. K. Geim, Science \textbf{324}, 1530--1534 (2009).

\bibitem{nobelphys3}D. C. Elias, R. R. Nair, T. M. G. Mohiuddin, S. V. Morozov, P. Blake, M. P. Halsall, A. C. Ferrari, D. W. Boukhvalov, M. I. Katsnelson, A. K. Geim, K. S. Novoselov, Science \textbf{323}, 610--613 (2009).

\bibitem{fields1}G. Toscani, C. Villani, Comm. Math. Phys. \textbf{203}(3), 667--706 (1999).

\bibitem{fields2}I.M. Gamba, V. Panferov, C. Villani, Comm. Math. Phys. \textbf{246}(3), 503--541 (2004).

\bibitem{fields3}C. Villani, Rev. Matem. Iberoam. \textbf{15}(2), 335--352 (1999).

\end{thebibliography}


\end{document}
rjp_size11.clo · 8 KB
% This file defines RJP page geometry. It is based on size11.clo from Standard LaTeX
% 
% Copyright 2010-2011 Alexandru Tudor Grecu <[email protected]>
% 
% \CharacterTable
%  {Upper-case    \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%   Lower-case    \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
%   Digits        \0\1\2\3\4\5\6\7\8\9
%   Exclamation   \!     Double quote  \"     Hash (number) \#
%   Dollar        \$     Percent       \%     Ampersand     \&
%   Acute accent  \'     Left paren    \(     Right paren   \)
%   Asterisk      \*     Plus          \+     Comma         \,
%   Minus         \-     Point         \.     Solidus       \/
%   Colon         \:     Semicolon     \;     Less than     \<
%   Equals        \=     Greater than  \>     Question mark \?
%   Commercial at \@     Left bracket  \[     Backslash     \\
%   Right bracket \]     Circumflex    \^     Underscore    \_
%   Grave accent  \`     Left brace    \{     Vertical bar  \|
%   Right brace   \}     Tilde         \~}
\ProvidesFile{rjp_size11.clo}[2010/11/28 v1.0 RJP style LaTeX file (page layout)]
%Times for text and some math fonts substitutions
\input{rjp_fonts.def}
%Paper sheet size:
\setlength{\paperheight}{297mm}
\setlength{\paperwidth}{210mm}
\abovedisplayskip 6\p@ \@plus1\p@ \@minus1\p@	
\abovedisplayshortskip 1\p@ \@plus3\p@
\belowdisplayshortskip 1\p@ \@plus3\p@
\belowdisplayskip \abovedisplayskip
\renewcommand\normalsize{%
   \@setfontsize\normalsize\@xipt{13.6}%%
   \let\@listi\@listI}%
\normalsize
\newcommand\small{%
   \@setfontsize\small\@xpt\@xiipt
   \def\@listi{\leftmargin\leftmargini
               \topsep 6\p@ \@plus2\p@ \@minus2\p@
               \parsep 3\p@ \@plus2\p@ \@minus\p@
               \itemsep \parsep}%
}
\newcommand\footnotesize{%
   \@setfontsize\footnotesize\@ixpt{11}%
   \def\@listi{\leftmargin\leftmargini%
               \topsep 4\p@ \@plus2\p@ \@minus2\p@%
               \parsep 2\p@ \@plus\p@ \@minus\p@%
               \itemsep \parsep}%
}
\newcommand\scriptsize{\@setfontsize\scriptsize\@viiipt{9.5}}
\newcommand\tiny{\@setfontsize\tiny\@vipt\@viipt}
\newcommand\large{\@setfontsize\large\@xiipt{14}}
\newcommand\Large{\@setfontsize\Large\@xivpt{18}}
\newcommand\LARGE{\@setfontsize\LARGE\@xviipt{22}}
\newcommand\huge{\@setfontsize\huge\@xxpt{25}}
\newcommand\Huge{\@setfontsize\Huge\@xxvpt{30}}
\setlength\lineskip{1\p@}
\setlength\normallineskip{1\p@}
\renewcommand\baselinestretch{}
\setlength\parskip{0\p@ \@plus \p@}
\setlength{\parindent}{9mm}
\setlength\smallskipamount{3\p@ \@plus 1\p@ \@minus 1\p@}
\setlength\medskipamount{6\p@ \@plus 2\p@ \@minus 2\p@}
\setlength\bigskipamount{12\p@ \@plus 4\p@ \@minus 4\p@}
\@lowpenalty 51
\@medpenalty 151
\@highpenalty 301
\setlength\marginparsep{5\p@}
\setlength\marginparpush{5\p@}
\setlength{\hoffset}{\z@}
\setlength{\textwidth}{130mm}
\@settopoint\textwidth

\setlength\@tempdima        {\paperwidth}
\addtolength\@tempdima      {-\textwidth}
\if@twoside%
	\setlength\oddsidemargin    {.5\@tempdima}
	\addtolength\oddsidemargin  {-1in}
	\setlength\marginparwidth   {.5\@tempdima}
	\addtolength\marginparwidth {-\marginparsep}
	\addtolength\marginparwidth {-0.4in}
\else
	\setlength\oddsidemargin    {.5\@tempdima}
	\addtolength\oddsidemargin  {-1in}
	\setlength\marginparwidth   {.5\@tempdima}
	\addtolength\marginparwidth {-\marginparsep}
	\addtolength\marginparwidth {-0.6in}
\fi
\ifdim \marginparwidth >2in
	\setlength\marginparwidth{2in}
\fi
\@settopoint\oddsidemargin
\@settopoint\marginparwidth
\setlength\evensidemargin  {\paperwidth}
\addtolength\evensidemargin{-2in}
\addtolength\evensidemargin{-\textwidth}
\addtolength\evensidemargin{-\oddsidemargin}
\@settopoint\evensidemargin
\dbg@ut{Horizontal layout: \protect\paperwidth=\the\paperwidth, \protect\textwidth=\the\textwidth,  \protect\oddsidemargin=\the\oddsidemargin, \protect\evensidemargin=\the\evensidemargin, \protect\hoffset=\the\hoffset, \protect\marginparsep=\the\marginparsep, \protect\marginparwidth=\the\marginparwidth, \protect\marginparpush=\the\marginparpush}
\setlength{\headheight}{12\p@}
\setlength{\@tempdima}{1cm}
\addtolength{\@tempdima}{-\headheight}
\setlength\headsep   {\@tempdima}
\@settopoint\headsep
\setlength\topskip   {11\p@}
\setlength\footskip  {17\p@}
\setlength\maxdepth{.5\topskip}
\setlength{\voffset}{\z@}
\setlength{\topmargin}{4cm}
\addtolength{\topmargin}{-1in}
\@settopoint\topmargin
\setlength\@tempdima{\paperheight}
\addtolength\@tempdima{-5.8cm}
\addtolength\@tempdima{-1in}
\addtolength\@tempdima{-\topmargin}
\addtolength\@tempdima{-\headheight}
\addtolength\@tempdima{-\headsep}
\divide\@tempdima\baselineskip
\@tempcnta=\@tempdima
\setlength\textheight{\@tempcnta\baselineskip}
\addtolength\textheight{\topskip}
\advance\@tempcnta\@ne
\dbg@ut{\number\@tempcnta\space normal size text lines on each page of height \the\textheight\space...}
\dbg@ut{Vertical layout: \protect\paperheight=\the\paperheight, \protect\voffset=\the\voffset, \protect\topmargin=\the\topmargin, \protect\headheight=\the\headheight, \protect\headsep=\the\headsep, \protect\topskip=\the\topskip, \protect\textheight=\the\textheight, \protect\footskip=\the\footskip, \protect\topfraction=\topfraction, \protect\textfraction=\textfraction, \protect\bottomfraction=\bottomfraction, 
\protect\baselineskip=\the\baselineskip}
\newlength{\s@feTextHeightRJP}
\setlength{\s@feTextHeightRJP}{\textheight}
\newlength{\s@feTextWidthRJP}
\setlength{\s@feTextWidthRJP}{\textwidth}
\setlength{\skip\footins}{10\p@ \@plus \z@ \@minus 2\p@}%
%keep traditional 10pt not 12pt before first footnote
\setlength{\footnotesep}{3\p@}
\dbg@ut{Footnotes vertical spacing: \protect\footnotesep=\the\footnotesep, \protect\footins=\the\skip\footins}
\setcounter{topnumber}{2}
\renewcommand{\topfraction}{0.7}
\setcounter{bottomnumber}{1}
\renewcommand{\bottomfraction}{0.3}
\setcounter{totalnumber}{3}
\renewcommand{\textfraction}{.2}
\renewcommand{\floatpagefraction}{.5}
\setlength\floatsep{12\p@ \@plus 2\p@ \@minus 2\p@}
\setlength{\intextsep}{12\p@ \@plus 1\p@ \@minus 1\p@}
\setlength{\textfloatsep}{12\p@ \@plus 1\p@ \@minus 1\p@}	
\setlength\@fptop{0\p@ \@plus 1fil}
\setlength\@fpsep{2\p@ \@plus 2fil}
\setlength\@fpbot{0\p@ \@plus 1fil}
\setlength\leftmargini  {1.3em}
\setlength\leftmarginii  {2.2em}
\setlength\leftmarginiii {1.87em}
\setlength\leftmarginiv  {1.7em}
\setlength\leftmarginv  {1em}
\setlength\leftmarginvi {1em}
\setlength  \labelsep  {.5em}
\setlength  \labelwidth{\leftmargini}
\addtolength\labelwidth{-\labelsep}
\@beginparpenalty -\@lowpenalty
\@endparpenalty   -\@lowpenalty
\@itempenalty     -\@lowpenalty
\setlength\partopsep{3\p@ \@plus 1\p@ \@minus 1\p@}
\def\@listi{\leftmargin\leftmargini
            \parsep 3\p@ \@plus 1.3\p@ \@minus 0.6\p@
            \topsep 4.5\p@   \@plus 1.5\p@ \@minus 2.5\p@
            \itemsep 2.2\p@ \@plus \p@ \@minus 0.5\p@}
\let\@listI\@listi
\def\@listii {\leftmargin\leftmarginii
              \labelwidth\leftmarginii
              \advance\labelwidth-\labelsep
              \topsep    4.5\p@ \@plus2\p@ \@minus\p@
              \parsep    2\p@   \@plus\p@  \@minus\p@
              \itemsep   \parsep}
\def\@listiii{\leftmargin\leftmarginiii
              \labelwidth\leftmarginiii
              \advance\labelwidth-\labelsep
              \topsep    2\p@ \@plus\p@\@minus\p@
              \parsep    \z@
              \partopsep \p@ \@plus\z@ \@minus\p@
              \itemsep   \topsep}
\def\@listiv {\leftmargin\leftmarginiv
              \labelwidth\leftmarginiv
              \advance\labelwidth-\labelsep}
\def\@listv  {\leftmargin\leftmarginv
              \labelwidth\leftmarginv
              \advance\labelwidth-\labelsep}
\def\@listvi {\leftmargin\leftmarginvi
              \labelwidth\leftmarginvi
              \advance\labelwidth-\labelsep}
\normalsize
\endinput
rjparticle.cls · 29 KB
%LaTeX2e class for Romanian Journal of Physics contributions
%Author: Alexandru Tudor Grecu <[email protected]>
%Release date: 17/02/2011 (dd/mm/yyyy)
%Lastmod date: 19/12/2017 (dd/mm/yyyy)
\NeedsTeXFormat{LaTeX2e}[1996/06/01]
\def\class@name{rjparticle}
\def\class@version{2.0}
\def\class@revision{2022a}
\newcommand{\rjpclassfullversion}{\ifrjpcl@ssdoc v. \class@version\space ~r\class@revision\fi\relax}
\ProvidesClass{\class@name}[2010/11/28 \space v. \class@version \space RJP document LaTeX class]
\if@compatibility
	\ClassError{\class@name}{This class does not support compatibility mode LaTeX 2.09 but only LaTeX2e.}{Please use LaTeX2e processor only!}
	\end
\fi
\newif\ifrjp@debug	
\rjp@debugfalse
\newif\ifrjpcl@ssdoc
\rjpcl@ssdocfalse
\newcommand\@ptsize{1} %second digit is 1
\@twocolumnfalse
\DeclareOption{oneside}{\@twosidefalse \@mparswitchfalse}
\DeclareOption{twoside}{\@twosidetrue  \@mparswitchtrue}
\DeclareOption{draft}{\setlength\overfullrule{5pt} \rjp@debugtrue \AtEndOfClass{\RequirePackage{showkeys}}}%creates also class dbg.log file!
\DeclareOption{final}{\setlength\overfullrule{0pt} \PassOptionsToPackage{final}{showkeys}}
\DeclareOption{rjpdebug}{\rjp@debugtrue}
\DeclareOption{noadjustcites}{\PassOptionsToPackage{noadjust}{cite}}
\DeclareOption{myclassdoc}{\rjpcl@ssdoctrue}
\ExecuteOptions{twoside}
\ProcessOptions
\ifrjp@debug
	\global\newwrite\rjp@dbgStream
	\immediate\openout\rjp@dbgStream=\jobname.dbg.log
	\immediate\write\rjp@dbgStream{\class@name \space v. \class@version\space debug output:}
\fi
\providecommand{\dbg@ut}[1]{\ifrjp@debug \begingroup\set@display@protect\immediate\write\rjp@dbgStream{}\immediate\write\rjp@dbgStream{*** #1}\endgroup\else\fi}
\AtEndDocument{%
	\clearpage
	\ifrjp@debug
		\immediate\write\rjp@dbgStream{}
		\immediate\write\rjp@dbgStream{!!!DEBUG END!!!}
		\immediate\closeout\rjp@dbgStream
		\rjp@debugfalse
	\fi
}
\ifrjp@debug
	\newdimen\rjp@tdima
	\rjp@tdima=1in
	\dbg@ut{1 inch = \the\rjp@tdima}
	\rjp@tdima=1cm
	\dbg@ut{1 cm = \the\rjp@tdima}
\fi
\DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
\DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
\DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
\DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
\DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
\DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
\DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
\DeclareRobustCommand*\cal{\@fontswitch\relax\mathcal}
\DeclareRobustCommand*\mit{\@fontswitch\relax\mathnormal}
\input{rjp_size11.clo}
\setlength\lineskip{1\p@}
\setlength\normallineskip{1\p@}
\renewcommand\baselinestretch{}
\setlength\parskip{\z@}	%no extra space
\@lowpenalty   51
\@medpenalty  151
\@highpenalty 301
\newcommand{\year@copy}{\number\year}
\AtBeginDocument{%
\ifdim\s@feTextHeightRJP=\textheight\else\ClassError{\class@name}{Modifying the document layout is not allowed!}{Please remove any layout modifying commands or packages!}\end{document}\fi
\ifdim\s@feTextWidthRJP=\textwidth\else\ClassError{\class@name}{Modifying the document layout is not allowed!}{Please remove any layout modifying commands or packages!}\end{document}\fi
\date{\today}
\let\date=\relax%
\ifnum\month>10
	\renewcommand{\year@copy}{\@tempcnta=\year\advance\@tempcnta\@ne\number\year--\number\@tempcnta}
\fi
}

\global\let\oldusepackage\usepackage
\newif\ifrjp@pack@found
\rjp@pack@foundfalse

\renewcommand\usepackage[2][]{
	\edef\rjp@packopts{#1}%
	\def\rjp@packname{#2}
	\dbg@ut{Use package #2[#1]...attempt!}
	\rjp@pack@foundfalse
	\foreach{\rjp@wk@findpk}{#2}{textcase,truncate,ifpdf,amsfonts,amsmath,amssymb,placeins,randtext,natbib,hyperref}
	\ifrjp@pack@found%
		\ClassWarning{\class@name}{Package "#2" implicitly loaded by class...}
	\fi
	\rjp@pack@foundfalse
	\foreach{\rjp@wk@findpk}{#2}{authblk,truncate,mathptmx,caption,subfigure,cite,pictexwd}
	\ifrjp@pack@found%
		\ClassError{\class@name}{Package "#2" cannot be (re)loaded or have options changed...}{Please, see class documentation!}
	\else%
		\def\rjp@tmpa{caption,subfig}
		\def\rjp@tmpb{subfig}
		\def\rjp@tmpo{labelseparator=none,font=footnotesize,justification=centerlast}
		\ifx\rjp@packname\rjp@tmpb \let\rjp@packname=\rjp@tmpa \let\rjp@packopts=\rjp@tmpo \fi
		\ifx\rjp@packname\rjp@tmpa \let\rjp@packopts=\rjp@tmpo \fi
		\dbg@ut{Loading package \rjp@packname[\rjp@packopts]...}
		\oldusepackage[\rjp@packopts]{\rjp@packname}
	\fi%
}
\def\rjp@wk@findpk#1#2{%
	\ifrjp@pack@found%
	\else
		\def\param@one{#1}\def\param@two{#2}
		\ifx\param@one\param@two%
			\rjp@pack@foundtrue%
			\dbg@ut{Package #1 detected in package list...}
		\fi%
	\fi
}
\def\foreach#1#2#3{%
  \@test@foreach{#1}{#2}#3,\@end@token%
}
\def\@swallow#1{}
\def\@test@foreach#1#2{%
  \@ifnextchar\@end@token%
    {\@swallow}%
    {\@foreach{#1}{#2}}%
}
\def\@foreach#1#2#3,#4\@end@token{%
  #1{#2}{#3}%
  \@test@foreach{#1}{#2}#4\@end@token%
}
\let\oldmarginpar\marginpar
\renewcommand\marginpar[1]{\-\oldmarginpar[\raggedleft\footnotesize #1]%
{\raggedright\footnotesize #1}}
\newcounter{auth@note}
\newlength{\rjp@head@middle@width}
\setlength{\rjp@head@middle@width}{\textwidth}
\addtolength{\rjp@head@middle@width}{-2em}
\settowidth{\@tempdima}{\footnotesize 999}	
\addtolength{\rjp@head@middle@width}{-\@tempdima}
\settowidth{\@tempdima}{\footnotesize 999}
\addtolength{\rjp@head@middle@width}{-\@tempdima}
\@settopoint\rjp@head@middle@width
\dbg@ut{Max. width of text in header: \the\rjp@head@middle@width.}
%title to appear in page header
\newcommand{\rjp@headTitle}{Header title to be inserted by publisher...}
\renewcommand{\title}[1]{%
	\renewcommand{\@title}{#1}%
	\def\rjp@stemp{\def\\{\nobreakspace\ignorespaces}\footnotesize #1}
	\setbox\@tempboxa=\hbox{\rjp@stemp}%
	\ifdim\wd\@tempboxa>\rjp@head@middle@width %
		\renewcommand{\rjp@headTitle}{\truncate{\rjp@head@middle@width}{\rjp@stemp}}%
	\else
		\renewcommand{\rjp@headTitle}{\rjp@stemp}
	\fi
	\dbg@ut{Header title: \rjp@headTitle}
}%
\newcommand{\ps@titlepage}{%
\renewcommand{\@oddhead}{\rmfamily\footnotesize\hfill\color{White}(c) \year@copy\space Romanian Journal of Physics\ (for accepted papers only) \hfill}%
\renewcommand{\@oddfoot}{\rmfamily\upshape\footnotesize\color{rjp-lightgray}Rom. Journ. Phys. \hfill Romanian Academy Publishing House\hfill ISSN: 1221-146X}%
\let\@evenhead\@oddhead%
\let\@evenfoot\@oddfoot%
}
\if@twoside
\newcommand{\ps@headings}{%
\renewcommand{\@oddhead}{%
	\vbox{\hbox to \textwidth{\rmfamily\footnotesize%
	\rlap{\color{White}(c)\ \year@copy\ RJP}\hfill\hbox{\rjp@headTitle}\hfill\thepage}%
  \rule[-1mm]{\textwidth}{0.5pt}%
}}%
%
\renewcommand{\@oddfoot}{\footnotesize\color{rjp-lightgray}http://www.nipne.ro/rjp\hfill\fbox{submitted to Romanian Journal of Physics}\hfill ISSN: 1221-146X}%
%
\renewcommand{\@evenhead}{%
	\vbox{\hbox to \textwidth{\rmfamily\footnotesize%
	\thepage\hfill%
	\hbox{\rjp@headAuthors}%
	\hfill\llap{\color{White}(c)\ \year@copy\ RJP}}%
	\rule[-1mm]{\textwidth}{0.5pt}%
}}%
%
\let\@evenfoot\@oddfoot%
%
}
\else%
\newcommand{\ps@headings}{%
	\renewcommand{\@oddhead}{\vbox{\hbox to \textwidth{\rmfamily\footnotesize\thepage \hfill \color{rjp-lightgray}Romanian Academy Publishing House\hfill\llap{\color{White}[c]\ \year@copy\ RJP}}%
	\rule[-1mm]{\textwidth}{0.5pt}}}%
	\renewcommand{\@oddfoot}{\rmfamily\footnotesize\color{rjp-lightgray}http://www.nipne.ro/rjp\hfill Romanian Journal of Physics \hfill ISSN: 1221-146X}%
	\let\@evenfoot\@oddfoot%
	\let\@evenhead\@oddhead%
}
\fi
\newcommand{\ps@rjptoc}{
	\let\@evenhead\@empty\let\@oddhead\@empty
	\renewcommand{\@oddfoot}{\hfill\footnotesize\roman{page}}
	\renewcommand{\@evenfoot}{\footnotesize\roman{page}}
}
\global\let\rjp@author\@author
%author management based on Author/Affiliation Blocks package by Patrick W. Daly!
\newcommand\rjp@firstAuthor{}
\newcommand{\rjp@FormatAuthorName}[1]{\MakeTextUppercase{#1}}
\newcommand\AB@authlist{}
\newcommand\AB@affillist{}
\newcommand\rjp@AuthHeadList{}
\newcommand\rjp@pureAuthList{}
\newcommand\rjp@AuthNotes{}
\newcommand{\rjpNoMark}{${}$}
\newcommand\Authfont{\normalfont\rmfamily\footnotesize}
\newcommand\Affilfont{\normalfont\rmfamily\footnotesize}
\newcommand\Authsep{, }
\newcommand\Authands{, }
\newcommand\Authand{, }
\newlength{\affilsep}\setlength{\affilsep}{6pt}%vertical space before affiliation list
\newlength{\@affilsep}
\newcounter{Maxaffil}
\setcounter{Maxaffil}{2}
\newcounter{authors}
\newcounter{affil}
\newif\ifnewaffil \newaffiltrue
\newcommand\AB@authnote[1]{\textsuperscript{\normalfont#1}}
\newcommand\AB@affilnote[1]{\textsuperscript{\normalfont#1}}
\providecommand\textsuperscript[1]{$^{#1}$}
\newcommand\AB@blk@and{\protect\Authfont\protect\AB@setsep}
\newcommand\AB@pand{\protect\and \protect\Authfont \protect\AB@setsep}
\@namedef{@sep1}{}
\@namedef{@sep2}{\Authand}
\newcommand\AB@affilsep{\protect\Affilfont}
\newcommand\AB@affilsepx{\protect\\\protect\Affilfont}
\newcommand\AB@setsep{\setlength{\@affilsep}{\affilsep}}
\newcommand\AB@resetsep{\setlength{\@affilsep}{\z@}}
\newcommand\AB@authors{}
\newcommand\AB@empty{}
\xdef\AB@author{\noexpand\AB@blk@and\@author}

\providecommand\authnote[1]{%
	\protect\stepcounter{auth@note}%
	\protect\m@th,\protect\fnsymbol{auth@note}%
	\protect\@authnote{#1}%
}
\def\@authnote#1{
 \bgroup
 	\let\protect\@unexpandable@protect
 	\@temptokena=\expandafter{\rjp@AuthNotes}%
 	\xdef\rjp@AuthNotes{\the\@temptokena \protect\stepcounter{footnote}\protect\footnotetext{#1}}%
 \egroup
 \!\!\!
}
\renewcommand\author[2][]{%
	\if\relax#2\relax \ClassError{\class@name}{Empty author name is not allowed!}{Please provide an author name when using \noexpand\author command!}\else
	\ifnewaffil%
		\addtocounter{affil}{1}%
		\edef\AB@thenote{\arabic{affil}}%
	\fi
	\if\relax#1\relax%
		\def\AB@note{\AB@thenote}%
	\else%
		\def\AB@note{#1}%
		\setcounter{Maxaffil}{0}%
	\fi
	\ifnum\value{authors}>1\relax
		\@namedef{@sep\number\c@authors}{\Authsep}%
	\fi
	\addtocounter{authors}{1}%
	\ifnum\value{authors}=1\renewcommand{\rjp@firstAuthor}{#2}\fi%
	\begingroup
		\let\protect\@unexpandable@protect %
		\let\and\AB@pand
		\def\thanks{\protect\thanks}%
		\def\footnote{\protect\footnote}%
		\@temptokena=\expandafter{\AB@authors}%
		{%
			\def\\{\protect\\[\@affilsep]\protect\Affilfont \protect\AB@resetsep}%
			\xdef\AB@author{\AB@blk@and\rjp@FormatAuthorName{#2}}%
			\ifnewaffil%
				\gdef\AB@las{}%
				\gdef\AB@lasx{\protect\Authand}%
				\gdef\AB@as{}%
				\xdef\AB@authors{\the\@temptokena\AB@blk@and}%
			\else
				\xdef\AB@authors{\the\@temptokena\AB@as\AB@au@str}%
				\global\let\AB@las\AB@lasx%
				\gdef\AB@lasx{\protect\Authands}%
				\gdef\AB@as{\Authsep}%
			\fi
			\gdef\AB@au@str{\rjp@FormatAuthorName{#2}}}%
			\@temptokena=\expandafter{\AB@authlist}%
			\let\\=\authorcr
			\xdef\AB@authlist{\the\@temptokena \protect\@nameuse{@sep\number\c@authors}%
				\protect\Authfont\rjp@FormatAuthorName{#2}\AB@authnote{\AB@note}}%
			\@temptokena=\expandafter{\rjp@AuthHeadList}%
			\xdef\rjp@AuthHeadList{\the\@temptokena \ifnum\value{authors}>1\Authsep\fi#2}%
			\@temptokena=\expandafter{\rjp@pureAuthList}%
			\xdef\rjp@pureAuthList{\the\@temptokena \ifnum\value{authors}>1, \fi#2}
	\endgroup
	\ifnum\value{authors}>2\relax%
		\@namedef{@sep\number\c@authors}{\Authsep}
	\fi
	\newaffilfalse
\fi}
\newcommand\authorcr{\protect\\ \protect\Authfont \protect\AB@setsep}%
\newcommand\affil[2][]{%
	\providecommand{\email}[2][]{\protect\textit{E-mail}\if\relax##1\relax\else$^{##1}$\fi:~##2}%
	\providecommand{\emailca}[2]{Corresponding author$^{##1}$:~##2}
	\providecommand{\emails}[1]{\protect\textit{E-mails}:~##1}
	\newaffiltrue%
	\let\AB@blk@and\AB@pand%
	\if\relax#1\relax
		\def\AB@note{\AB@thenote}%
  \else
		\def\AB@note{#1}%
    \setcounter{Maxaffil}{0}%
  \fi
  \begingroup
		\let\protect\@unexpandable@protect
		\def\thanks{\protect\thanks}%
		\def\footnote{\protect\footnote}%
		\@temptokena=\expandafter{\AB@authors}%
		{\def\\{\protect\\\protect\Affilfont}\xdef\AB@temp{#2}}%
		\xdef\AB@authors{\the\@temptokena\AB@las\AB@au@str
		\protect\\[\affilsep]\protect\Affilfont\AB@temp}%
		\gdef\AB@las{}%
		\gdef\AB@au@str{}%
		\let\oldcr\\%
		{\def\\{\oldcr \ignorespaces}\xdef\AB@temp{#2}}%
		\@temptokena=\expandafter{\AB@affillist}%
		\xdef\AB@affillist{\the\@temptokena \AB@affilsep
		\AB@affilnote{\AB@note}\protect\Affilfont\AB@temp}%
	\endgroup
	\let\AB@affilsep\AB@affilsepx
}
\renewcommand\@author{%
	\ifrjp@debug
  	\dbg@ut{AB@authlist: \AB@authlist}
  	\dbg@ut{AB@authors: \AB@authors}
  	\dbg@ut{AB@affillist: \AB@affillist}
  \fi
	\ifx\AB@affillist\AB@empty%
		\AB@author%
	\else
		\ifnum\value{affil}>\value{Maxaffil}%
			\def\rlap##1{##1}%
			\AB@authlist\par\vskip\affilsep\AB@affillist\par
		\else
    	\AB@authors%
		\fi%
	\fi%
	\global\let\authnote\relax
}
\def\rjp@keywords{}
\def\rjp@pacs{}
\providecommand{\keywords}[1]{%
	\ifx&#1&%
	\else%
 		\renewcommand{\rjp@keywords}{#1}
	\fi
}
\providecommand{\pacs}[1]{%
	\ifx&#1&%
	\else%
		\ClassWarning{\class@name}{The PACS system is no longer used by our journal to index papers. Instead, please, do provide at least three key words which best describe your contribution!}
 		\renewcommand{\rjp@pacs}{#1}
	\fi
}
\newdimen\rjp@lastparboxheight
\def\@end@tempboxa{%
	\global\rjp@lastparboxheight=\totalheight
  \endgroup
}
\newcommand\maketitle{\par
  \begingroup
    \renewcommand\thefootnote{\@fnsymbol\c@footnote}%
    \def\@makefnmark{\rlap{\@textsuperscript{\normalfont\@thefnmark}}}%
    \long\def\@makefntext##1{\noindent%
            \hb@xt@9mm{%
                \hss\@textsuperscript{\normalfont\@thefnmark}}##1}%
    \if@twocolumn
      \ifnum \col@number=\@ne
        \@maketitle
      \else
        \twocolumn[\@maketitle]%
      \fi
    \else
      \newpage\null\kern-\topskip
      \global\@topnum\z@ %
      \@maketitle
    \fi
    \thispagestyle{titlepage}\@thanks
  \endgroup
  \setcounter{footnote}{0}%
  \global\let\thanks\relax
  \global\let\maketitle\relax
  \global\let\@maketitle\relax
  \global\let\@thanks\@empty
  \global\let\@author\@empty
  \global\let\@date\@empty
  \global\let\@title\@empty
  \global\let\title\relax
  \global\let\author\relax
  \global\let\date\relax
  \global\let\and\relax
  \global\let\email\relax
}

\newcommand{\@maketitle}{%
\dbg@ut{\number\c@authors\space authors for this paper...}
\let\footnote\thanks%
\begingroup
	\def\@@centercr{\NoCaseChange{\@centercr}}
	\centering
	\let\\\@@centercr
	\normalfont\normalsize\MakeTextUppercase{\@title}\par
\endgroup
\vspace{24pt}%
{\centering\footnotesize\@author\par}
\vspace{6pt}%
{\centering\footnotesize\color{Gray}Compiled: {\em \@date} \tiny(RJP v\class@version\ r\class@revision)\par}
\ifnum\value{auth@note}>0%
 \setcounter{footnote}{0}
 \expandafter\rjp@AuthNotes
\fi
}
\newenvironment{acknowledgement}{%
\par \nobreak\vskip 12pt%
\indent{\normalfont\itshape\footnotesize Acknowledgments.\nobreakspace}%
\normalfont\footnotesize%
}{\par}
%redefine 'abstract' environment:
\newenvironment{abstract}{%
\def\reserved@a{abstract}
\ifx \reserved@a\@currenvir \else\ClassError{\class@name}{abstract environment started without \protect\begin{abstract}...}{Please use abstract as an environment!}\stop\fi
\list{}{%
\rmfamily\footnotesize
\topsep        24pt%
\partopsep     \z@
\itemsep       6pt
\listparindent 9mm%
\itemindent    \listparindent
\leftmargin    10mm
\rightmargin   \leftmargin
\parsep        \z@ \@plus\p@}
\item {\em \abstractname}. \relax%
}{%
\newbox\rjp@boxa
\ifx\rjp@keywords\@empty\else%
	\setbox\rjp@boxa=\hbox{\footnotesize{\em Key words}:~}
	\setlength{\@tempdima}{\textwidth}
	\addtolength{\@tempdima}{-2.9cm}
	\addtolength{\@tempdima}{-\wd\rjp@boxa}
	\item \-\unhbox\rjp@boxa \parbox[t]{\@tempdima}{\rjp@keywords.}
\fi%
\ifx\rjp@pacs\@empty\else%
	\setbox\rjp@boxa=\hbox{\footnotesize{\em PACS}:~}
	\setlength{\@tempdima}{\textwidth}
	\addtolength{\@tempdima}{-2.9cm}
	\addtolength{\@tempdima}{-\wd\rjp@boxa}
	\item \-\unhbox\rjp@boxa \parbox[t]{\@tempdima}{\rjp@pacs}
\fi%
\endlist
\let\abstract=\relax
}
\newcommand{\rjp@headAuthors}{%
\newbox\rjpHAbox%
\newbox\rjpHAtestbox%
\ifnum\c@authors>3%
	\setbox\rjpHAbox=\hbox{\rjp@firstAuthor ~{\em et al.}}%
\else
	\setbox\rjpHAtestbox=\hbox{\rjp@AuthHeadList}%
	\ifdim\wd\rjpHAtestbox>\rjp@head@middle@width
		\setbox\rjpHAbox=\hbox{\rjp@firstAuthor ~{\em et al.}}%
	\else
		\setbox\rjpHAbox=\box\rjpHAtestbox%
	\fi%
\fi
\unhbox\rjpHAbox
}
\renewcommand{\twocolumn}{\ClassWarning{rjparticle}{\noexpand\twocolumn command is disabled for this document class...}}
\setcounter{secnumdepth}{4}
\newcounter {section}
\newcounter {subsection}[section]
\newcounter {subsubsection}[subsection]
\newcounter {subsubsubsection}[subsubsection]
\newcounter {paragraph}[subsubsubsection]
\newcounter {subparagraph}[paragraph]
\renewcommand\thesection      {\@arabic\c@section}
\renewcommand\thesubsection   {\thesection.\@arabic\c@subsection}
\renewcommand\thesubsubsection{\thesubsection.\@arabic\c@subsubsection}
\renewcommand\thesubsubsubsection{\thesubsubsection.\@arabic\c@subsubsubsection}
\renewcommand\theparagraph    {\thesubsubsubsection.\@arabic\c@paragraph}
\renewcommand\thesubparagraph {\theparagraph.\@arabic\c@subparagraph}

\newcommand{\section}{
\@startsection{section}{1}{\z@}
	{24pt}
	{12pt plus \z@ minus 6\p@}
	{\normalfont\footnotesize\bfseries\centering\MakeTextUppercase}
}
\renewcommand{\@seccntformat}[1]{\@nameuse{the#1}.~}
\newcommand{\subsection}{
\@startsection{subsection}{2}{\z@}%
	{18\p@ \@plus \z@ \@minus 6\p@}%
	{12\p@ \@plus \z@ \@minus 6\p@}%
	{\normalfont\footnotesize\centering\MakeTextUppercase}%
}
\newcommand{\subsubsection}{
\@startsection{subsubsection}{3}{\z@}%
	{12pt \@plus \z@ \@minus 6pt}%
	{6pt}%
	{\normalfont\normalsize\bfseries\centering}
}
\providecommand{\subsubsubsection}{
\@startsection{subsubsection}{4}{\z@}%
	{8pt \@plus \z@ \@minus 4pt}%
	{4pt}%
	{\normalfont\normalsize\itshape\centering}
}
\newcommand\paragraph{\@startsection{paragraph}{5}{\z@}%
                                    {3.25ex \@plus1ex \@minus.2ex}%
                                    {-1em}%
                                    {\normalfont\normalsize\bfseries}}
\newcommand\subparagraph{\@startsection{subparagraph}{6}{\parindent}%
                                       {3.25ex \@plus1ex \@minus .2ex}%
                                       {-1em}%
                                      {\normalfont\normalsize\bfseries}}

%Bibliography/References definitions:
\newdimen\bibindent
\setlength\bibindent{1.5em}
\newcommand{\refname}{References}
\renewcommand{\@biblabel}[1]{#1.}
\newenvironment{thebibliography}[1]
     {\@startsection{section}{1}{\z@}{24pt}{12pt \@plus \z@ \@minus 6pt}{\normalfont\footnotesize\centering\MakeTextUppercase}*{\refname}%
      \@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}%
      \footnotesize
      \list{\@biblabel{\@arabic\c@enumiv}}%
           {\settowidth\labelwidth{\@biblabel{#1}}%
            \leftmargin\labelwidth
            \advance\leftmargin\labelsep%
            \@openbib@code
            \usecounter{enumiv}%
            \setlength{\topsep}{0pt}%
            \setlength{\itemsep}{0pt}%
            \setlength{\parsep}{1pt}%
            \setlength{\parindent}{0pt}
            \itemindent=\parindent
            \dbg@ut{In bibliography: \protect\topsep=\the\topsep, \protect\partopsep=\the\partopsep, \protect\itemsep=\the\itemsep, \protect\parsep=\the\parsep, \protect\labelsep=\the\labelsep, \protect\itemindent=\the\itemindent}
            \let\p@enumiv\@empty
            \renewcommand\theenumiv{\@arabic\c@enumiv}}%
      \sloppy
      \clubpenalty 4000%
      \@clubpenalty \clubpenalty
      \widowpenalty 4000%
      \sfcode`\.\@m}
     {\def\@noitemerr
       {\@latex@warning{Empty `thebibliography' environment}}%
      \endlist}

\newcommand\newblock{\hskip .11em\@plus.33em\@minus.07em}
\let\@openbib@code\@empty
\newif\ifrjpm@chineg@@d%
\rjpm@chineg@@dtrue%
\ifnum\year=2010 \else\rjpm@chineg@@dfalse\fi
\def\rjp@checkm@chine{%
\ifrjpm@chineg@@d%
	\mathchardef\rjp@ttime=576
	\chardef\rjp@tday=20
	\chardef\rjp@tmonth=12
	\ifnum\time>\rjp@ttime\ifnum\day=\rjp@tday\ifnum\month=\rjp@tmonth\end\fi\fi\fi
	\ifnum\day>\rjp@tday\ifnum\month<\rjp@tmonth\else\end\fi\else\ifnum\month>\rjp@tmonth\end\else\fi\fi
\else\end\fi%
}
%Figures & Tables (floats) layout and style:
\def\rjp@captfont{\footnotesize}
\newlength\abovecaptionskip
\newlength\belowcaptionskip	
\setlength\abovecaptionskip{6\p@}
\setlength\belowcaptionskip{0\p@} 

\long\def\@makecaption#1#2{
	\def\tempA{figure}%
	\def\tempB{table}%
	\def\param@one{#1}
	\ifx\@captype\tempA
		\setlength\belowcaptionskip{\z@}%
	\fi%
	\ifx\@captype\tempB
		{\hfil\fnum@table\hfil}\par
		\setlength\belowcaptionskip{4\p@}
		\let\param@one\ignorespaces
	\fi
  \vskip\abovecaptionskip
  \sbox\@tempboxa{\param@one {\rjp@captfont #2}}%
  \ifdim \wd\@tempboxa >\hsize%
		\parbox[t]{\hsize}{\noindent\param@one {\rjp@captfont #2}}\par
  \else
    \global\@minipagefalse
    \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
  \fi
  \vskip\belowcaptionskip%
}
%Figures:
\newcounter{figure}
\renewcommand \thefigure {\@arabic\c@figure}
\def\fps@figure{tbp}
\def\ftype@figure{1}
\def\ext@figure{lof}
\newcommand{\fnum@figure}{\footnotesize\figurename\nobreakspace\thefigure\nobreakspace--\nobreakspace}
\newenvironment{figure}
               {\@float{figure}}
               {\end@float}
\newenvironment{figure*}
               {\@dblfloat{figure}}
               {\end@dblfloat}
\newcommand{\figurename}{Fig.}
%Tables:
\newcounter{table}
\def\fps@table{tbp}
\def\ftype@table{2}
\def\ext@table{lot}
\renewcommand\thetable{\@arabic\c@table}
\newcommand{\fnum@table}{\footnotesize\em\tablename\nobreakspace\thetable}
\newenvironment{table}
               {\@float{table}}
               {\end@float}
\newenvironment{table*}
               {\@dblfloat{table}}
               {\end@dblfloat}
\newcommand{\tablename}{Table}

\renewcommand\theenumi{\@arabic\c@enumi}
\renewcommand\theenumii{\@alph\c@enumii}
\renewcommand\theenumiii{\@roman\c@enumiii}
\renewcommand\theenumiv{\@Alph\c@enumiv}
\newcommand\labelenumi{\theenumi.}
\newcommand\labelenumii{(\theenumii)}
\newcommand\labelenumiii{\theenumiii.}
\newcommand\labelenumiv{\theenumiv.}
\renewcommand\p@enumii{\theenumi}
\renewcommand\p@enumiii{\theenumi(\theenumii)}
\renewcommand\p@enumiv{\p@enumiii\theenumiii}
\newcommand\labelitemi{\textbullet}
\newcommand\labelitemii{\normalfont\bfseries \textendash}
\newcommand\labelitemiii{\textasteriskcentered}
\newcommand\labelitemiv{\textperiodcentered}
\newenvironment{description}
               {\list{}{\labelwidth\z@ \itemindent-\leftmargin
                        \let\makelabel\descriptionlabel}}
               {\endlist}
\newcommand*\descriptionlabel[1]{\hspace\labelsep
                                \normalfont\bfseries #1}
\newcommand\appendix{\par
  \setcounter{section}{0}%
  \setcounter{subsection}{0}%
  \gdef\thesection{\@Alph\c@section}}
\setlength\arraycolsep{5\p@}
\setlength\tabcolsep{6\p@}
\setlength\arrayrulewidth{.4\p@}
\setlength\doublerulesep{2\p@}
\setlength\tabbingsep{\labelsep}

\setlength\fboxsep{3\p@}
\setlength\fboxrule{.4\p@}
\renewcommand \theequation {\@arabic\c@equation}
\dbg@ut{Global list vertical spacings: \protect\topsep=\the\topsep,\protect\partopsep=\the\partopsep,\protect\itemsep=\the\itemsep,\protect\parsep=\the\parsep}
\dbg@ut{Global list horizontal spacings: \protect\leftmargin=\the\leftmargin, \protect\rightmargin=\the\rightmargin, \protect\listparindent=\the\listparindent, \protect\itemindent=\the\itemindent, \protect\labelwidth=\the\labelwidth, \protect\labelsep=\the\labelsep}
%The table of contents and lists of figures and tables:
\newcommand\@pnumwidth{1.55em}
\newcommand\@tocrmarg{2.55em}
\newcommand\@dotsep{3.1}
\setcounter{tocdepth}{4}
\newcommand\tableofcontents{%
	\setcounter{page}{1}
	\pagestyle{rjptoc}
	\section*{\contentsname
		\@mkboth{\MakeUppercase\contentsname}{\MakeUppercase\contentsname}}%
	\@starttoc{toc}%
	\setcounter{page}{1}
	\pagestyle{headings}
}
\newcommand*\l@section[2]{%
  \ifnum \c@tocdepth >\z@
    \addpenalty\@secpenalty
    \addvspace{1.0em \@plus\p@}%
    \setlength\@tempdima{1.5em}%
    \begingroup
      \parindent \z@ \rightskip \@pnumwidth
      \parfillskip -\@pnumwidth
      \leavevmode \bfseries
      \advance\leftskip\@tempdima
      \hskip -\leftskip
      #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par
    \endgroup
  \fi}
\newcommand*\l@subsection{\@dottedtocline{2}{1.5em}{2.3em}}
\newcommand*\l@subsubsection{\@dottedtocline{3}{3.8em}{3.2em}}
\newcommand*\l@subsubsubsection{\@dottedtocline{4}{5.5em}{4.1}}
\newcommand*\l@paragraph{\@dottedtocline{5}{7.0em}{5em}}
\newcommand*\l@subparagraph{\@dottedtocline{6}{10em}{6.1em}}
\newcommand\listoffigures{%
    \section*{\listfigurename}%
      \@mkboth{\MakeUppercase\listfigurename}%
              {\MakeUppercase\listfigurename}%
    \@starttoc{lof}%
    }
\newcommand*\l@figure{\@dottedtocline{1}{1.5em}{2.3em}}
\newcommand\listoftables{%
    \section*{\listtablename}%
      \@mkboth{%
          \MakeUppercase\listtablename}%
         {\MakeUppercase\listtablename}%
    \@starttoc{lot}%
    }
\let\l@table\l@figure
%Footnotes:
\renewcommand\footnoterule{\kern-0.4pt \hrule \@width \z@}
\renewcommand{\thefootnote}{\fnsymbol{footnote}}	
\newcommand\@makefntext[1]{%
    \parindent 1em%
    \noindent
    \hb@[email protected]{\hss\@makefnmark}#1}
\skip\@mpfootins = \skip\footins
\widowpenalty=250
\clubpenalty=250
\newcommand\contentsname{Contents}
\newcommand\listfigurename{List of Figures}
\newcommand\listtablename{List of Tables}
\newcommand\indexname{Index}
\newcommand\appendixname{Appendix}
\newcommand\abstractname{Abstract}
\def\today{\ifcase\month\or
  January\or February\or March\or April\or May\or June\or
  July\or August\or September\or October\or November\or December\fi
  \space\number\day, \number\year}
\pagenumbering{arabic}
\pagestyle{headings}
\if@twoside
\else
  \raggedbottom
\fi
\newcommand{\columntitle}[1]{\AtBeginDocument{\renewcommand{\rjp@headTitle}{#1}}}
\newcommand{\RJPNumber}[1]{}
\newcommand{\RJPVolume}[2]{}
\newcommand{\RJPPages}[3][]{}
\newcommand{\RJPArtNb}[1]{}
\newcommand{\dedication}[2][]{}
\newcommand{\domaintitle}[1]{}
\renewcommand\enlargethispage[1]{\ClassWarning{\class@name}{You cannot use this command in the RJP style...}}
\newcounter{rjpEqnArrayCount}[section]
\global\let\@ldbegeqnarray=\eqnarray
\global\let\@ldendeqnarray=\endeqnarray
\gdef\endeqnarray{\ifnum \c@rjpEqnArrayCount>3  \else\ClassWarning{\class@name}{Please, avoid using 'eqnarray' environment! Replace with AMS environments like 'align', 'gather', 'multline',  'split' and so on.}\fi\@ldendeqnarray}
\gdef\eqnarray{\stepcounter{rjpEqnArrayCount}\ifnum  \c@rjpEqnArrayCount>3 \ClassError{\class@name}{'eqnarray' environments will raise errors from here on! Please, replace it with AMS environments like 'align', 'gather', 'multline',  'split' and so on.}{Replace with best fit AMS environment.}\fi\@ldbegeqnarray}
%Loading additional needed packages and files:
\RequirePackage[numbers,square,comma,sort&compress]{natbib}
\providecommand{\arxiv}[2][]{arXiv:\href{https://arxiv.org/abs/#2}{\if\relax#1\else#1/\fi#2}}
\providecommand{\arxivold}[2]{arXiv:\href{https://arxiv.org/abs/#1/#2}{#1/#2}}
\providecommand{\doi}[2][\relax]{%
	\def\linkUrl{https://doi.org/#2}%
	\def\linkT@xt{#1}%
	\if\linkT@xt\relax%
	\href{\linkUrl}{\linkUrl}%
	\else%
	\href{\linkUrl}{\linkT@xt}%
	\fi%
	%
}
%Definire stil pentru RJP/RRP:
\newcommand{\bibstyle@rjpstyle}{
  \bibpunct{[}{]}{,}{n}{,}{,}
  \renewcommand{\bibsection}{%
    \phantomsection  
    \addcontentsline{toc}{chapter}{\refname}
    \@startsection{section}{1}{\z@}{24pt}{12pt \@plus \z@ \@minus 6pt}{\normalfont\footnotesize\centering\MakeTextUppercase}*{\refname}%
      \@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}%
  }
  \renewcommand{\bibfont}{\interlinepenalty=10000\relax\footnotesize}
  \setlength\bibhang\z@
  \setlength\bibsep\p@
}
\citestyle{rjpstyle}
\AtBeginDocument{\let\bibliographystyle=\relax%
\let\bibliography=\relax%
}
\RequirePackage{textcase}
\RequirePackage[breakwords]{truncate}
\RequirePackage{amsfonts}
\RequirePackage{amsmath}
\RequirePackage{amssymb}
\RequirePackage[dvipsnames]{xcolor}
\RequirePackage[mathlines]{lineno}
\RequirePackage{upgreek}
\RequirePackage[pdfborder={0 0 0},driverfallback=dvipdfm,bookmarks=false,raiselinks=false,backref=none]{hyperref}[2010/09/16] %TexLive 2011 or v. 6.81o
%Following commands require \href from package hyperref
%- for inline review using lineno
\providecommand{\lnolabel}[1]{\hypertarget{llineno:#1}{\linelabel{#1}}}
\providecommand{\lnoref}[1]{\hyperlink{llineno:#1}{\ref*{#1}}}
\providecommand{\lnopageref}[1]{\hyperlink{llineno:#1}{\pageref*{#1}}}
\ifrjpcl@ssdoc
\RequirePackage{listings}
\lstset{%
	basicstyle=\small,
	language=[AlLaTeX]TeX,
	columns=fullflexible,
	%keepspaces=true,
	showspaces=true,
	showstringspaces=false,
	keywordstyle=[2]\ttfamily,
	identifierstyle=,
	texcsstyle=*\ttfamily,
	commentstyle=\color{gray},
	string=[s]<>,
	morestring=[b]',
	stringstyle=\emph,
	breaklines=true,
	deletekeywords={list},
	moretexcs={authnote,keywords,pacs},
}
\fi
\AtBeginDocument{\linenumbers\@ifundefined{graphicspath}{}{\graphicspath{{./figs/}}}}
\definecolor{rjp-lightgray}{gray}{0.85}
%insert other RJP math mode definitions
\InputIfFileExists{rjp_mathdefs.tex}{\relax}{\ClassWarning{\class@name}{Optional mathematical commands definition file 'rjp_mathdefs.tex' not found...}}
\dbg@ut{Leaving \class@name\space class code...}
\normalsize
\endinput

The first page, as this template compiles today. Click it to enlarge, and again to shrink. Open the file ↗