Elsarticle - CAS: Difference between revisions

From STMDocs
Jump to navigation Jump to search
Line 307: Line 307:
</td>
</td>
<td>
<td>
[[File:cas-simple-figure.png|thumb|right|400px|CAS Simple figure]]
[[File:cas-simple-figure.png|thumb|right|300px|CAS Simple figure]]
</td>
</td>
</tr>
</tr>
</table>
</table>
=====Span figures=====
=====Span figures=====
<table><tr><td><syntaxhighlight lang="latex">
<table><tr><td><syntaxhighlight lang="latex">

Revision as of 13:05, 25 September 2018

Elsarticle - CAS

Class files

Usage

There are two class files

  1. cas-sc.cls for single column journals.
    \documentclass[<options>]{cas-sc}
    
  2. cas-dc.cls for double column journals.
    \documentclass[<options>]{cas-dc}
    

and have an option longmktitle to handle long front matter.

Front matter

  \title[mode = title]{Leveraging social media news to predict stock
    index movement using RNN-boost}

  \tnotemark[1,2]

  \tnotetext[1]{This document is the results of the research project
    funded by the National Science Foundation.}

  \tnotetext[2]{The second title footnote which is a longer text
    matter to fill through the whole text width and overflow into
    another line in the footnotes area of the first page.}

  \author[1,3]{V. {{\=A}}nand Rawat}[type=editor,
    auid=000,bioid=1,
    prefix=Sir, 
    role=Researcher, 
    orcid=0000-0001-7511-2910]
  \cormark[1] 
  \fnmark[1] 
  \ead{cvr_1@tug.org.in} 
  \ead[url]{www.cvr.cc,www.tug.org.in}

  \credit{Conceptualization of this study, Methodology, Software}

  \address[1]{Indian \TeX{} Users Group, Trivandrum 695014, India}

  \author[2,4]{Han Theh Thanh}[style=chinese]

  \author[2,3] {T. Rishi Nair}[role=Co-ordinator,
    suffix=Jr]
  \fnmark[2] 
  \ead{rishi@sayahna.org}
  \ead[URL]{www.sayahna.org}

  \credit{Data curation, Writing - Original draft preparation}

  \address[2]{Sayahna Foundation, Jagathy, Trivandrum 695014, India}

  \author[1,3]{Karl Berry}
  \cormark[2] 
  \fnmark[1,3]
  \ead{karl@freefriends.org} 
  \ead[URL]{www.tug.org}

  \address[3]{\TeX{} Users Group, Providence, MA, USA}

  \cortext[cor1]{Corresponding author} 
  \cortext[cor2]{Principal corresponding author} 
  \fntext[fn1]{This is the first author footnote. 
    but is common to third author as well.}

  \fntext[fn2]{Another author footnote, this is a very long footnote
    and it should be a really long footnote. But this footnote is not
    yet sufficiently long enough to make two lines of footnote text.}

  \fntext[fn3]{K. Berry is the editor of \TeX Live.}

  \nonumnote{This note has no numbers. In this work we demonstrate
    $a_b$ the formation Y\_1 of a new type of polariton on the
    interface between a cuprous oxide slab and a polystyrene
    micro-sphere placed on the slab. The evanescent field of the
    resonant whispering gallery mode (\WGM) of the micro sphere has a
    substantial gradient, and therefore effectively couples with the
    quadrupole $1S$ excitons in cuprous oxide.}

 \begin{abstract}[S U M M A R Y]
  In this work we demonstrate $a_b$ the formation Y\_1 of a new type
  of polariton on the interface between a cuprous oxide slab and a
  polystyrene micro-sphere placed on the slab. The evanescent field of
  the resonant whispering gallery mode (\WGM) of the micro sphere has
  a substantial gradient, and therefore effectively couples with the
  quadrupole $1^S$ excitons in cuprous oxide. This evanescent
  polariton has a long life-time, which is determined only by its
  excitonic and \WGM component. The polariton lower branch has a well
  pronounced minimum. This suggests that this excitation is localized
  and can be utilized for possible \BEC. The spatial coherence of the
  polariton can be improved by assembling the micro-spheres into a
  linear chain.
 \end{abstract}
 \begin{keywords}
  quadrupole exciton \sep polariton \sep \WGM \sep \BEC
 \end{keywords}

 \maketitle
CAS Front matter in double column
CAS Front matter in single column

Title

\title command have the below options:

  1. title: Document title
  2. alt: Alternate title
  3. sub: Sub title
  4. trans: Translated title
  5. transsub: Translated sub title
\title[mode=title]{This is a title}
\title[mode=alt]{This is a alternate title}
\title[mode=sub]{This is a sub title}
\title[mode=trans]{This is a translated title}
\title[mode=transsub]{This is a translated sub title}

Author

\author command have the below options:

  1. auid: Author id
  2. bioid: Biography id
  3. alt: Alternate author
  4. style: Style of author name chinese
  5. prefix: Prefix Sir
  6. suffix: Suffix
  7. degree: Degree
  8. role: Role
  9. orcid: ORCID
  10. collab: Collaboration
  11. anon: Anonymous author
  12. deceased : Deceased author
  13. twitter : Twitter account
  14. facebook : Facebook account
  15. linkedin : LinkedIn account
  16. plus: Google plus account
  17. gplus: Google plus account
\author[1,3]{Editor}[type=editor,
    auid=000,bioid=1,
    prefix=Sir,
    role=Researcher,
    orcid=0000-0001-7511-2910,
    facebook=Editor,
    twitter=Editor,
    linkedin=Editor,
    gplus=Editor]

Various Marks in the Front Matter

The front matter becomes complicated due to various kinds of notes and marks to the title and author names. Marks in the title will be denoted by a star (⋆) mark; footnotes are denoted by super scripted Arabic numerals, corresponding author by of an Conformal asterisk (*) mark.

Title marks

Title mark can be entered by the command, \tnotemark[<num>] and the corresponding text can be entered with the command \tnotetext[<num>]{<text>}. An example will be:

\title[mode=title]{Leveraging social media news to predict
                      stock index movement using RNN-boost}

\tnotemark[1,2]

\tnotetext[1]{This document is the results of the research
   project funded by the National Science Foundation.}

\tnotetext[2]{The second title footnote which is a longer text matter
   to fill through the whole text width and overflow into
   another line in the footnotes area of the first page.}

\tnotetext and \tnotemark can be anywhere in the front matter, but shall be before \maketitle command.

Author marks

Author names can have many kinds of marks and notes:

  1. footnote mark : \fnmark[<num>]
  2. footnote text : \fntext[<num>]{<text>}
  3. affiliation mark : \author[<num>]
  4. email : \ead{<emailid>}
  5. url : \ead[url]{<url>}
  6. corresponding author mark : \cormark[<num>]
  7. corresponding author text : \cortext[<num>]{<text>}
Other marks

At times, authors want footnotes which leave no marks in the author names. The note text shall be listed as part of the front matter notes. Class files provides \nonumnote for this purpose. The usage

\nonumnote{<text>}

and should be entered anywhere before the \maketitle command for this to take effect.

Abstract and Keywords

Abstract shall be entered in an environment that starts with \begin{abstract} and ends with \end{abstract}. Longer abstracts spanning more than one page is also possible in Class file even in double column mode. We need to invoke longmktitle option in the class loading line for this to happen smoothly.

The key words are enclosed in a {keyword} environment.

\begin{abstract}
 This is a abstract. \lipsum[3]
\end{abstract}

\begin{keywords}
 First keyword \sep Second keyword \sep Third keyword \sep Fourth keyword
\end{keywords}
CAS Abstract and keywords

Main Matter

Tables

Normal tables
\begin{table}
  \caption{This is a test caption.}
  \begin{tabular*}{\tblwidth}{@{} LLLL@{} }
   \toprule
    Col 1 & Col 2\\
   \midrule
    12345 & 12345\\
    12345 & 12345\\
    12345 & 12345\\
    12345 & 12345\\
    12345 & 12345\\
   \bottomrule
  \end{tabular*}
\end{table}
CAS Simple table
Span tables
\begin{table*}[width=.9\textwidth,cols=4,pos=h]
  \caption{This is a test caption.}
  \begin{tabular*}{\tblwidth}{@{} LLLLLL@{} }
   \toprule
    Col 1 & Col 2 & Col 3 & Col4 & Col5 & Col6 & Col7\\
   \midrule
    12345 & 12345 & 123 & 12345 & 123 & 12345 & 123 \\
    12345 & 12345 & 123 & 12345 & 123 & 12345 & 123 \\
    12345 & 12345 & 123 & 12345 & 123 & 12345 & 123 \\
    12345 & 12345 & 123 & 12345 & 123 & 12345 & 123 \\
    12345 & 12345 & 123 & 12345 & 123 & 12345 & 123 \\
   \bottomrule
  \end{tabular*}
\end{table*}
CAS Span table

Figures

Normal figures
\begin{figure}
	\centering
		\includegraphics[scale=.75]{Fig1.pdf}
	\caption{The evanescent light - $1S$ quadrupole coupling
	($g_{1,l}$) scaled to the bulk exciton-photon coupling
	($g_{1,2}$). The size parameter $kr_{0}$ is denoted as $x$ and
	the \PMS is placed directly on the cuprous oxide sample ($\delta
	r=0$, See also Fig. \protect\ref{FIG:2}).}
	\label{FIG:1}
\end{figure}
CAS Simple figure
Span figures
\begin{figure*}
	\centering
	  \includegraphics[width=\textwidth,height=2in]{Fig2.pdf}
	\caption{Schematic of formation of the evanescent polariton on
	linear chain of \PMS. The actual dispersion is determined by 
        the ratio of two coupling parameters such as exciton-\WGM coupling
	and \WGM-\WGM coupling between the microspheres.}
	\label{FIG:2}
\end{figure*}
CAS Span figure

Biography

Normal biography
\begin{biography}[tuglogo.png]{Biography}
The evanescent polariton provided by a single sphere gives the
time coherence necessary for the observable \BEC of the quadrupole
exciton. But the spatial coherence is limited to a small region
near the sphere. To improve the spatial coherence one has to
sacrifice the temporal coherence slightly by delocalizing the
corresponding \WGM. It can be done by using an array of spheres
aligned along the $z$ direction and separated by the distance
$\delta r_{0}$ (See Fig.\ref{FIG:2}).  
\end{biography}
Custom biography
\bio[width=10mm,pos=l]{tuglogo.png}
\textbf{Another Biography:}
Recent experimental \cite{HARA:2005} and theoretical
\cite{DEYCH:2006} studies have shown that the \WGM can travel
along the chain as "heavy photons". Therefore the \WGM acquires
the spatial dispersion, and the evanescent quadrupole polariton
has the form (See Fig.\ref{FIG:3}):
\endbio