LaTeX writes Elsevier paper format-Xiaobai record

1. Preparation

1. Install TeX Live on windows

TeX Live can be seen as a version of LaTeX, just like win7 is a version of windows.

Two installation methods:

  1. Online installation: installation address
    can be run after downloading, the speed is very slow.Click download and run

  2. Mirror installation: LaTeX installation under Win environment
    Download the mirror to the local installation, it is recommended.

2. Install TeX Studio

The relationship between LaTeX and TeX Studio is like python and pycharm. TeX Studio is an editor, although LaTeX also comes with an editor, but the interface is not simple enough.

Install TeX Studio: download it from the official website
, just install it.

3. Elsevier template download

Reference address: Elsevier template download and use

Two, write

TeX Studio opens the template file cas-dc-template.tex and starts writing!
The writing process is roughly as follows, the picture comes from this address
Insert picture description here

1. Migrate the content of word version to LaTeX

  1. Content migration
    Modify the corresponding content of the template.

  2. Insert formula
    Modify the template, pay attention to using $$ in formula letters.

  3. Insert figure
    Insert a single-column small image to modify the content of the template. Insert a double-column large image using figure *, as shown below, place the label below, otherwise (??) will appear when referencing.

    \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*}

    For inserting multiple rows and multiple images, please refer to: Insert multiple images in Latex to achieve side-by-side arrangement or multiple rows and multiple columns

  4. Inserting the table is the
    same as 3, when the table is too large, use the span form.

    \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*}

    \label{table2}

    \end{table*}

2. Make Bibfile of references

I spent a lot of time here and looked at some methods made with software such as Sublime Text, Zotero, WinEdt, etc. , and I feel that it is good for managing documents. But this is the first time I have made it. I will only talk about the simplest and easy way to get started, that is, the method of renaming txt to bib .

  1. Create a new .txt file, such as named mybib.txt.
  2. Search your references in Google Scholar or Baidu Scholar, export BibTeX, and copy to mybib.txt.

Such as searching the first document: Focal loss for dense object detection , the process is as follows.
Insert picture description here

Insert picture description here
Insert picture description here
Insert picture description here
Copy the above information to mybib.txt

  1. All references have been copied. As a result, mybib.txt is modified as shown below
    Insert picture description here
    , the suffix of mybib.txt is changed to mybib.bib, and mybib.bib is placed in the same file directory of the template tex file

  2. Modify and quote in the tex file template. Modify the
    following statement in the template:
    \bibliographystyle{unsrt}
    %BibTex standard is plain, unsrt-basically the same as the plain type, except that the reference number of the entries is in the order of citation, not according to The alphabetical order of the authors.
    Alpha – similar to the plain type, when the numbering of reference entries is based on the order of the author’s name and the year of publication. abbrv – abbreviated format.

    \bibliography{mybib} %mybib is the name of the .bib file

The quotation of the reference in the paper is generally: \cite{The first line of the brace in the .bib file, which is the content of the article}

  1. Compile and generate Reference
    : LaTeX inserts references, simple and efficient

I run the .tex template file twice with TeX Studio directly here. The generated reference list is as follows:
Insert picture description here

3. Jump to pictures, tables, etc.

Just use \ref at the reference location. The label is the label written when adding pictures and tables.
Insert picture description here

For picture location modification, please refer to: Latex paper illustration location problem

Three, check

The inspection content includes the correct execution of the above process, confirmation of other requirements of the journal, the beauty of the page, other minor errors, etc.

Guess you like

Origin blog.csdn.net/qq_39022478/article/details/108295208