How To Write Paper
How To Write Paper
How To Write Paper
net/publication/339630885
CITATIONS READS
0 4,633
3 authors:
Alban de Vaucorbeil
Deakin University
17 PUBLICATIONS 256 CITATIONS
SEE PROFILE
Some of the authors of this publication are also working on these related projects:
All content following this page was uploaded by Vinh Phu Nguyen on 03 March 2020.
Abstract
Starting with a working good research idea, this paper outlines a scientific writing process that helps us to have a nearly
complete paper when the last analysis task is finished. The key ideas of this process are: (1) writing should start early
in the research project, (2) research and writing are carried out simultaneously, (3) best tools for writing should be
used. The process seems working well as it has helped us writing thousands of pages without feeling a paint. We hope
it works for you too. Due to our personal preferences, the discussion is confined to LATEX based typesetting where
we present guidelines to prepare high-quality images, tables, algorithms, source codes using LATEX. We also discuss
writing guidelines such as paper structure and some common mistakes.
Keywords: scientific writing; LATEX; scientific publication; high quality writing.
1. Introduction
Publishing original research in a peer-reviewed journal is an important parameter to assess academic achievements.
To get your paper published, not only its findings should be significant but it should also be well written such that
these findings can be efficiently transmitted throughout the scientific community. The value of writing well should not
be underestimated. Writing well leverages your work since 60% of reviewers criticisms pertain to the quality of the
writing or tables and graphs with only about 40% to the quality of the scientific work (Iles, 1997). However, writing a
high quality paper is not an easy task due to technical and language barriers. To help remove those barriers, books and
articles giving advices on how to write scientific papers have been written (Day, 1998; Ashby, 2000; Plaxco, 2010).
Building on the advices found in the literature and our total 20 years of experiences, this brief paper gives guidance
in writing high quality research papers. By high quality papers, we mean those of which scientific findings are not
buried under a poorly written text. Different from existing related works, see e.g. Day (1998); Ashby (2000), we focus
here on the tools or softwares that ease our writing process. Due to our background in computational mechanics – a
sub-branch of computational engineering and sciences– we have used, as a model, a typical computational mechanics
Corresponding Author
Email address: phu.nguyen@monash.edu (Vinh Phu Nguyen)
First, in Section 2, our favorite softwares are presented. These softwares are mostly open source and cross platform.
Then, Section 3 provides actionable suggestions on how to structure your paper, avoid common mistakes. Particularly,
we present an iterative writing process that is intertwined with your research. As we use LATEX, a high-quality free
typesetting system which is the de facto standard for the publication of scientific documents for hard sciences (see
Table 1), we present some LATEX related guidelines on how to prepare high-quality vector images, good-looking tables,
algorithms, source codes and tweaks for two-column format papers (see Section 4). Finally, with the pressure to
“publish” (or perish), it is increasingly difficult for students and researchers alike to resist the temptation to submit
a “large” number of papers. Some of these might not be ready for submission yet. We present some considerations
regarding this issue (Section 5).
Table 1: Summary statistics of the use of LATEX in science disciplines (% of submitted papers) taken from https://www.
the-scientist.com/uncategorized/dont-format-manuscripts-44040.
Mathematics 96.9%
Statistic and Probability 89.1%
Physics 74.0%
Computer Sciences 45.8%
Engineering 1.0%
There is no single, correct way to write. Our goal was not to convince you that what is described in this paper is
the one true way, but instead to get people thinking, talking and sharing ideas about writing. Many researchers do not
think much about writing because (many of) their papers get accepted and cited. What they do not know (or do not
care about?) is that there are probably many readers struggling to grasp their papers. The situation might be worse as
Judy Swan – Associate Director for Writing in Science and Engineering at Princeton Unviersity – saw it: ‘scientific
writing is bad writing’.
It is obvious that, no matter how good you are as a writer, a bad research idea will not result in a good paper.
Therefore, we assume that you have had a sound research idea. This paper outlines a process that helps you to have a
nearly complete paper when the last analysis task is finished.
The LATEX source of this paper and various Python scripts used to prepare high quality images can be found at the
github account of the first author: https://github.com/vinhphunguyen/how-to-write-a-paper.
2
2. Tools
It is obvious that using the right tool for any task is half way to success. And writing is no exception. Our favorite
tools for writting papers are the following:
LATEX: a high-quality free typesetting system; it includes features designed for the production of technical
and scientific documentation. It is the de facto standard for the communication and publication of scientific
documents;
BibDesk: an open-source reference management software package for macOS, used to manage bibliographies
and references when writing essays and articles. It is primarily a BibTeX front-end for use with LATEX (see
Appendix C);
JabRef: an open-source and cross-platform reference management software package. Its use is similar to
BibDesk. It is primarily a BibTeX front-end for use with LATEX. One great feature that we like: it fetches
Skim: is an open-source PDF (Portable Document Format) reader for macOS. Alternatives are Sumatra PDF for
Windows and evince for Linux;
Adobe Illustrator: an industry-standard vector graphics software to create high quality drawings;
Inkscape: a free and open-source vector graphics editor available for Linux, macOS, and Windows;
Matplotlib: is a Python 2D plotting library which produces publication quality figures in a variety of hardcopy
formats. It can be used in Python scripts;
Dropbox: on-going papers are stored in Dropbox so that we can access them from multiple devices;
Git: is a distributed version-control system for tracking changes in source code during software development.
GitHub or Gitlab: online platforms that offer hosting for software development version control using Git. They
offer both public and private (preferred for research papers) repositories. When using Git, they make access from
multiple devices and parallel collaboration easy.
The flowchart for the generation of a paper is as follows. LATEX is used to typeset the paper. The references used
in the paper are stored in a .bib file automatically generated and managed by BibDesk or JabRef. Sketches used in
the paper are drawn using Adobe Illustrator or Inkscape and graphs are created using Matplotlib. Sketches and
graphs are saved as pdf files and thus are of very high quality, see Section 4.2. Also, sketches and graphs could be
generated such a way that the font used for embedded text is the same as that of your document.
To keep track of the changes in the code, figures, and even research data, Git is used. For collaborative writings, the
git repository is hosted in either Github or Gitlab. They offer access to free private repositories that are very useful.
3
This is because every co-author of the paper can work on the same paper simultaneously. This paper was written that
way. They can also use their own favorite LATEX editor (which is most often also their own coding editor). We find this
organization to be better than Overleaf at https://www.overleaf.com.
Remark 1. Without going in to the debate of which is the best editor, we use Sublime Text. This is because it can
be used for both writing LATEX documents and coding. Furthermore, it can render equations in real time, see Fig. 1,
which is quite handy. And the two way sync between Skim and Sublime Text is super convenient. However, Sublime
Text is proprietary. If you prefer open-sourced softwares, look into Vim and Emacs. Coupled with the AucTex package,
Emacs can recognize LATEX code and compile it easily. We prefer using a general purpose text editor rather than a LATEX
editor so that we just use one editor for both LATEX typesetting and coding.
Remark 2. There are many alternatives to matplotlib such as gnuplot and Matlab. We used Matlab and recently
switched to Python. There are many reasons that influenced this, two of which are noteworthy. First, it is fun and
beneficial to the brain to learn something new. Second, Python is now everywhere: it is used as a scripting language for
many finite element packages (e.g. Abaqus) and scientific visualization programs (Paraview and Ovito for example).
The tools described in this section help you to write papers effectively, only when you have an idea how a paper
should look like. The next section is devoted to just that.
3. Writing tips
This section presents writing tips. We start with a presentation of general guidlines in Section 3.1. Then we discuss
the paper structure in Section 3.2. Some common mistakes and a few tips to make your paper less verbose or wordy
are given next in Section 3.3. Finally, Section 3.4 – the most significant contribution of the paper – outlines an iterative
writing process, losely inspired by the interesting talk by Jones (2016).
The following general guidelines for a high quality scientific paper are nothing new but they are worth being
repeated:
The main contributions of your paper must be clearly stated after a brief review of the literature: in which way your
work differs from the existing literature. Be precise, as this is where the reviewers will try to find problems with your
work. Their goal is to identify whether your work is novel or not. If it is not immediately clear from the Abstract and
Introduction you risk being unconvincing.
Each paragraph conveys only a single idea or message. Do not be afraid of writing short paragraphs, even two-
sentence ones. Use simple sentences that are linked together so that your writing is coherent. See Box 1 for a paragraph
that was not well written: the second sentence is not related to the first one and ’this issue’ in the third sentence was
not clear. A better version is shown in Box 2 where the writing is more coherent: sentences start with familiar (old)
information and end with unfamiliar (new) information. We prefer the new, important information at the end, because
its job is to intrigue the reader. We refer to the old article of Gopen and Swan (1990) for more examples of writing
readable paragraphs.
Try to revise your writing to keep only the words/figures/tables that are necessary. For example, using ‘because’ is
more advisable than the wordy ‘due to the fact that’ (see Table 3 for a list of unnecessary words/phrases).
brittle solids, it is crucial to represent the asymmetric ten- brittle solids, it is crucial to represent the asymmetric
sile/compressive material behavior. Existing phase-field tensile/compressive material behavior. To capture this
models generally adopt either an intuitive split of the asymmetric behavior, previous phase-field models gener-
free energy density without capturing the crack bound- ally adopt either and intuitive split of the free energy density
ary conditions properly or an ad hoc hybrid formulation without capturing the crack boundary conditions properly ...
at the loss of variational consistency. To address this is- This work presents a phase-field anisotropic model that is
sue, this work presents a variationally consistent phase-field able to capture the asymmetric behavior, variationally con-
Avoid jargon which are the specialized vocabulary of any profession, trade, science. Writing a paper is not a race
for complexity. You should make it as simple as possible for a neophyte reader to understand. Our advice is try to
avoid jargon in the abstract and introduction as much as possible so that your paper is more accessible to a wide range
5
of audience. In case that a jargon is needed, provide a definition for it the first time it appears in the paper, and also
include clarifications for any poorly formed jargon.
The jargon ’tension/compression asymmetry’ might not be clear to some audiences. A better version of the above is:
Reproducibility is a big issue in scientific research nowadays. However, we just confine ourselves here to the
situation where a published simulation result is genuinely correct but impossible to reproduce by people other than
the authors. The world would be a better place if all authors are more thoughtful when reporting their results: all
information needed to make that particular simulation work should be provided. Particularly, nontrivial parameters.
You can save time for both you – the authors – and the reviewers by not making them guess. For example, if you do
not do large deformation simulations, make it clear and justify that choice. If you have used a particular value for one
numerical parameter, explain your choice. If reviewers have to guess your choices, they will comment on that. This
increases the chances for your paper to be rejected, or needing corrections.
started is to study how others have structured their papers. Select a couple of papers that you enjoy and understand and
study how they are organized. You will learn a lot from copying these papers. Our favorite author is Ted Belytschko.
We will not repeat the Nature paper guidelines herein. Instead, we elaborate on some of the arguments such
as a complex section should have a global paragraph before going into its subsection (Section 3.2.1), how to write
a compelling introduction section (Section 3.2.2), and what the conclusion section should include (Section 3.2.3).
Appendices and footnotes are discussed in Section 3.2.4 and references in Section 3.2.5.
examples are most often presented in order of increasing complexity, we can do a better job in presenting them. For
example, a global paragraph stating why these examples were chosen, which open source (if it is the case) code was
used, etc. A table with all parameters used for all simulations would be helpful, see Table 4.
Everyone would agree that the introductory section of a paper should contain the following items, in order:
3. What are the current approaches to solving this problem and what is wrong about them;
Writing an introductory section that simultaneously (i) includes all the above items, (ii) covers all relevant works,
(iii) is easy to follow and (iv) is short is not an easy task.
What we commonly see is introductory sections of about 2 to 3 pages, full of just plain text with lots of jargons.
There are two problems with this type of writing. First, only the authors and a dozens of experts can understand what
is going on. Second, the paper loses many readers. We have realized that using some formula, figures, tables in the
introduction section significantly improves the readability. See Box 3 for an example, taken from Mandal et al. (2019).
7
Box 3: Equations and tables can improve the introduction section.
According to second-order PFMs for quasi-static fracture of solids under the infinitesimal strain regime, the
displacement field u and damage field d are minimisers of the following total energy functional of the solid
Gf 1
Z Z
C
E .u; d / D P.u/
!.d / 0 ..u// C 0 ..u// dV C ˛.d / C b .rd rd / dV
˝0 ˝0 c˛ b
where the first integral is the stored strain energy, the second one denotes the fracture energy à la Griffith. The
C
positive and negative parts of the strain energy density are denoted by 0 ..u// and 0 ..u//, respectively.
One way to visually demonstrate the contributions of your paper is to use a table in which a comparison with
existing models is given. We borrowed this idea from the computer graphics community, see e.g. Stomakhin et al.
(2013). Such a table is Table 2 where we compared different variants of the material point method (MPM).
MPM variant Efficiency Quad. error Cell crossing Num. fracture Grid type Contacts
MPM ,,, /// yes yes Cartesian/unstructured ,
GIMP ,, // no yes Cartesian ,
CPDI ,, / no no Cartesian ,
TLMPM ,,,, / no no Cartesian/unstructured /
iMPM , / no n/a n/a n/a
Table 2: Overall characteristics of common MPM variants. The smileys and frownies are typeset using the package wasysym.
Another way to intrigue readers is to summarize all the impressive simulations that the model presented in your
paper can do in a figure (see Fig. 3). In this way, you increase the chance that your paper gets read to the end.
One or two sentences summarizing what the paper has been about;
paper’s length. But, we find one wrong thing about footnotes: too lengthy footnotes. Some papers contain footnotes
that are half a page long and with a smaller font than the main text. These are not readable.
We use footnotes sparingly and they are most often short. If you find a long footnote, consider using a remark as
we have done in Remark 2.
3.2.5. References
You should pick one reference style and stick to it so that the references are consistent. Regarding how relevant
work should be cited, below are some suggestions:
9
Cite originals not derivatives;
Avoid citing a list of two many papers e.g. ‘See [1-20] for some relevant work’. This helps neither the readers to
find anything, nor the authors of [1-20] to get credit;
If a author-year reference format is used e.g.’Walker (1996) studied ...’, all references in a single citation should
be ordered in chronological order. For instance, ‘To help ease the writing process, books and articles giving
advice on how to write scientific papers have been written (Day, 1998; Ashby, 2000; Plaxco, 2010).’
Some common mistakes are given in Table 3. You can avoid these mistakes by studying the writing style of your
favorite author. Don’t worry too much about grammatically perfect sentences. It is more important to be understood.
Don’t/Avoid Do/Use
The Table/Figure 2 Table/Figure 2
The Equation (2.2) Equation (2.2)
The Young’s modulus Young’s modulus, or the Young modulus
Start a section with a table/figure/equation Start a section with text
This topic has interested researchers for a long time ... for more than 20 years
A bad result A poor/negative result
This section serves to explain This section explains
It is obvious/clear ...
Due to the fact that ... Because ...
It should be noted that there are 5 samples in this study This study consisted of 5 ...
In order to include ... To include ...
The difference was found to be significant The difference was significant
We plotted the data by using ... We plotted the data using ...
Utilize or usage Use
We think/believe/feel that the results are good The results are good
Existing works ... Previous work
Using adjectives such as ‘very’, ‘always’, ‘never’
Using words like ‘ground-breaking’, ‘paradigm shift’
Using ’Above-mentioned’ or ’aforementioned’
Always spell out an acronym the first time it is used
Use long titles Use short titles (Paiva et al., 2012)
Use a spell checker to get rid of all spell errors
Sentences can be described as active or passive. Using the passive voice is a way of writing sentences so that the
subject has the action done to it. A common belief is that the passive voice can be useful for making writing sound
more formal and objective. However, using it extensively results in papers which are boring with hard to understand
lengthy sentences.
10
On the other hand, using a personal tone can help to engage a reader. And the sentences are shorter and thus easier
to understand.
The first idea is that when you have finished your last simulation, the first draft of your full paper is complete. Here,
by you, we mean the co-author of the paper who is in charge of the writing. After that, it just comes down to polishing
the paper. The second idea is to not lose motivation due to set backs. That is, if the simulations are not working, don’t
be upset; let’s write something instead. It can be as easy as filling Section Acknowledgments. Having updated your
paper will definitely make you feel good. And that is very important. The third idea is that writing is intertwined with
all other activities (formulation, coding and running simulations) as illustrated in Fig. 4.
After a research idea has been developed, you should start writing the paper (Gray, 2005). Obviously, the paper is
empty, see Listing 1 for a TEX file for an empty paper. For the sake of presentation, let’s assume that you need to develop
a formulation, implement it in a code, and carry out simulations using this code. You first work on the formulation.
Then, when there is some progresses, you can write some key equations in the paper (filling Section Methodology).
Having the formulations nicely written in a PDF can help you to spot errors and to crystallize your thinking. Now that
the formulation is complete, let’s move to the implementation. Again, this task should be intertwined with the writing
as well (filling Section Methodology). Most often, you start with a very simple problem to test the code (and the idea).
If this example works, you are confident about the idea, you can write something on Section Introduction while the
second simulation is under way. If this second example is important, you can write about it in Section Examples. If
you are lucky, the result of this second simulation is good. Bingo, you can now fill Sections Introduction and Abstract
while working on the third simulation.
Listing 1: A starting TEX file. This is for papers to be submitted to Elsevier journals. Change the template (documentclass)
accordingly for other publishers. Introducing a table of content helps to see the overall structure of the paper. For brevity, packages
used were skipped, see Listing 2. TEX keywords are highlighted in bold blue font.
1 \ documentclass [ a u t h o r y e a r , 3 p , times , p r e p r i n t , review , f l e q n ]{ e l s a r t i c l e }
2 \ t i t l e { \ t e x t b f {}}
3 \ begin { a b s t r a c t }
4 \ end { a b s t r a c t }
5 \ tableofcontents % TOC
6 \ section { Introduction }
7 \ s e c t i o n { Methodology }
8 \ s e c t i o n { Examples }
9 \ section { Conclusions }
10 \ s e c t i o n { Acknowledgments }
11 \ bibliographystyle { abbrvnat } % bib s t y l e
12 \ b i b l i o g r a p h y {mpm} % bib f i l e
If you feel stuck at writing any parts of the paper, feel free to do something else because keeping focusing on the
writing does not always help. Most often, ideas come when you are in a diffuse mode, a concept proposed in Oakley
et al. (2018). For example, while playing with your kids on a playground, the idea for writing a good abstract usually
11
Figure 4: Writing is intertwined with other activities of the project.
comes. Jotting down the idea on a phone and you’re done with this part of the paper.
While working on this paper, you read the literature (we always read it anyway). If you find a good paper relevant
to your work, put it in Bibdesk or JabRef, and cite it in the paper with some key sentences about it. Doing so saves
you a lot of time by not re-discovering this paper in the future. Note that Bibdesk can link a PDF to a paper. Therefore,
we can have a library of papers on top of a .bib file.
Continuing this process, by the time the final simulation has been finished, you already have a nearly complete
paper. Note that you have already revised your paper many times when your simulations were running (which usually
take a long time). You just need to write the conclusions. And voila, you have a complete paper. Before submission,
there are some steps discussed in Section 5 that need to be done.
Don’t worry about the size of the paper while you are working on it. Put as many details as you feel needed. You
might end up with, not a paper, but a long report (but in a format of a paper). If this is the case, keep this report (which
can be used later, for instance, in your books), save it as another TEX file and remove unnecessary parts.
Now you know how a good quality scientific paper looks like and you are ready to compile such one. The next
section presents some suggestions on how to do this electronically using LATEX.
4. LATEX tips
We present in this section some LATEX tips which have been collected over the years. In Section 4.1, we list the
must-have packages. Then, we discuss how to prepare high quality plots in Section 4.2, tables in Section 4.3, notations
and equations in Section 4.4, algorithms in Section 4.5 and source code in Section 4.6. Modifications required for
preparing two-column format papers are presented in Section 4.7.
4.1. Packages
To improve the writing experience, once in a while one should update their LATEX skills. Listing 2 provides an
updated list of LATEX packages being used to write our papers. We do not plan to discuss all the packages. Instead,
12
we want to discuss two packages: hyperref and cleveref which are useful. By setting the option backref=page for
the package hyperref, there appears ‘Cited on page #’ at the end of all references which are back-references to the
page(s) in which a given reference was cited.
Using standard cross-referencing in LATEX only produces the label number, a name describing the label such as
figure, chapter or equation has to be added manually. The cleveref package overcomes this limitation by automatically
producing the label name and number:
4.2. Figures
Figures are an important element of reporting the findings of your research. A high quality figure is worth a
thousand words. By a high quality figure we meant one that has a legible font size, a high resolution, color-blindness
13
aware, all the axes are clearly defined, those sorts of things. This section discusses how to generate high quality
figures: be it graphs (Section 4.2.1), sketches (Section 4.2.2) and contour plots (Section 4.2.3). It also discusses on how
figures/tables should be referred to in the paper (Section 4.2.4).
4.2.1. Graphs
It is not a requirement that the font used in graphs (e.g. bar charts, error chats, x-y scatter plots etc.) match that of
the text. Yet, it would be better if they match. Using Matplotlib, one can generate graphs scatterplots which either
are PDFs with font nearly matching the text font (see Fig. 5) or PGFs (Portal Graphic Format) with matching font
(see Fig. 6). The LATEX code used to include this type of plot is shown in Listing 3. We refer to Listings 9 and 10 in
Appendix A for the Python source codes that generate these PDFs and PGFs from a data file.
Listing 3: LATEX commands to insert either a PDF, or PGF or PDF_TEX image. The crucial point here is not to scale the inserted
image. Otherwise, the font size will be affected.
1 \ begin { f i g u r e } [ ! ht ]
2 \ centering
3 % o n l y one o f t h e f o l l o w i n g t h r e e
4 \ i n c l u d e g r a p h i c s { c o l d s p r a y p l o t s . p d f } % i n s e r t a PDF
5 \ input { cold spray p l o t s . pgf } % i n s e r t a PGF
6 \ input { output . pdf _ tex } % i n s e r t a pdf _ tex
7 \ c a p t i o n { Cold s p r a y i n g w i t h a s i n g l e i m p a c t : e v o l u t i o n o f p l a s t i c s t r a i n and t e m p e r a t u r e . }
8 \ l a b e l { f i g : cold spray }
9 \ end { f i g u r e }
4
600
3
450
T [K]
2
εp
300
1 axi-symmetric axi-symmetric
150
3D 3D
0 0
0 50 100 150 0 50 100 150
time [ns] time [ns]
Figure 5: A PDF figure of which the font nearly matches the text font: evolution of plastic strain "p and temperature T in time.
Symbols, if any, in figures should be typeset with LATEX. Be thourghful about colour blindness that affects around 8% of men,
particularly an inability to distinguish red and green. matplotlib can be colour-blind appropriate, see line 29 of Listing 9. Also,
graphs should not have a title. Put the title in the figure caption.
If you want to stack multiple pictures together with sub-captions using LATEX, the package subfig can do the job.
Fig. 7 is a collection of 4 figures, with caption for each one of them. The corresponding LATEX code is given in Listing 4.
14
4
axi-symmetric
600
3
450
T [K]
2
"p
300
1
150
axi-symmetric
0 0
0 25 50 75 100 125 150 0 25 50 75 100 125 150
time [ns] time [ns]
Figure 6: A PGF figure of which the font matches the text font: evolution of plastic strain "p and temperature T in time. PGF
pictures are embedded as raw commands in LATEX documents and thus can slow down the compilation process (i.e., the process
from a TEX file to the final PDF).
4.2.2. Sketches
If you use Illustrator for some drawings and need to include mathematical symbols in them, then try the
application called LaTeXiT2 to typeset whatever symbols and drag and drop them to Illustrator as embedded
PDFs3 . Fig. 8a presents an example. The same thing can be done using Inkscape with some LATEX extensions. This is
done by writing all text or formula using LATEX syntax in Inkscape. Saving the drawing into svg, and then exporting
it as a PDF_TEX using the following command (Engelen (2010)):
Finally inserting the figure is done according to Listing 3 (use line 5). Fig. 8b presents an example.
Some people even go to the extreme of not using a graphics software with a user interface (e.g. Illustrator).
Instead, they use TikZ, a TeX package for creating graphics programmatically. It has a steep learning curve but the
results are outstanding. An example is provided in Fig. 9. The code used to generate this drawing is given in Listing 5.
One can appreciate the fact that it is fully parameterized, i.e., the size of the drawing is controlled by the variable L.
15
Figure 7: Stacking multiple pictures together with sub-captions using the package subfig.
r D0
Figure 8: Using Illustrator and Inskcape to produce vector images with LATEX symbols. The font in figure (a) is slightly different
from the one in the text (r D 0), while it matches perfectly in figure (b).
Pay attention to the figure captions. Ideally, the reader should be able to ascertain the entire story just by reading
the figure captions i.e., without going back and forth between the figure and the text sections.
1
1
One usually does not pay enough attention to how figures (and tables) should be referred to in the text. That is why
one usually write the following sentences
Fig. 10 depicts the global responses. As can be seen, the global responses are
The first sentence is unnecessary as it only directs the reader to the figure (Fig. 10), and thus it provides no information.
We have found similar sentences in the literature. A better version of the above is:
The global responses are insensitive to the incorporated length scale (Fig. 10).
4.3. Tables
Tables in scientific papers should be clear and focus on the data. Here are some suggestions for making good tables:
avoid vertical lines, avoid double horizontal lines, avoid boxing up cells and leave enough space between rows. Table 4
satisfies all the criteria. The LATEX code is shown in Listing 6. Table 7 in Appendix B presents a table with footnotes.
Avoid overly complex notations, see Table 5 for some examples. Try to introduce a nomenclature in the paper,
to ease things for the reviewers and readers. Sometimes, a table such as Table 6 does a good job to introduce main
notations.
Ideally, the impact of a scientific work should be determined by its scientific merit, rather than by presentational
style. Unfortunately, Fawcett and Higginson (2012); Higginson and Fawcett (2016) showed that scientifically strong
papers may have reduced impact if not presented in an accessible manner. The density of equations in an article on
ecology and evolutionary biology has a significant negative impact on citation rates, with papers receiving 28% fewer
17
Listing 5: TikZ code used to obtain Fig. 9.
1 \ b e g i n { t i k z p i c t u r e } [ d a r k s t y l e / . s t y l e ={ c i r c l e , draw , f i l l = g r a y ! 4 0 , minimum s i z e =20}]
2 \ tikzmath {
3 \L = 3;
4 \ h = \L / 30;
5 }
6
7 \ draw [ thick ] ( \L/ 2 , \L / 2 ) r e c t a n g l e ( \ L / 2 , \ L / 2 ) ;
8 \ draw [ thick ] ( \ L/2 , \L / 2 ) ( \ L/ 2 + \L/ 5 , \L / 2 + \ L / 5 ) ;
9 \ draw [ thick ] ( \ L/ 2 + \L/ 5 , \L / 2 + \ L / 5 ) ( \ L/ 2 + \L/ 5 , \L/ 2 + \L / 5 ) ;
10 \ draw [ thick ] ( \ L/2 , \L/ 2 ) ( \ L/ 2 + \L/ 5 , \L/ 2 + \L / 5 ) ;
11 \ draw [ thick ] ( \L / 2 + \ L / 5 , \ L / 2 + \ L / 5 ) ( \ L/ 2 + \L/ 5 , \L/ 2 + \L / 5 ) ;
12 \ draw [ thick ] ( \L / 2 , \ L / 2 ) ( \L / 2 + \ L / 5 , \ L / 2 + \ L / 5 ) ;
13
14 \ draw [ >] ( 0 , 0 ) ( 0 , \L / 4 ) ;
15 \ node [ r i g h t , t h i c k ] a t ( 0 , \L / 8 ) { \ l a r g e $ \ boldsymbol { g } $ } ;
16
17 \ draw [< >] ( \L/ 2 , \L / 2 \L/ 8 ) ( \ L/ 2 , \L / 2 \L / 8 ) ;
18 \ draw [< >] ( \ L/ 2 , \L / 2 \L/ 8 ) ( \ L / 2 + \ L/ 5 , \L / 2 \L/ 8 + \L / 5 ) ;
19 \ draw [< >] ( \L / 2 \L / 8 , \L/ 2 ) ( \L / 2 \L / 8 , \ L / 2 ) ;
20 \ node [ a n c h o r = e a s t ] a t ( \L / 2 \L/8 ,0) {1};
21 \ node [ a n c h o r = n o r t h ] a t ( 0 , \L / 2 \L/ 8 ) {1};
22 \ node [ a n c h o r = n o r t h w e s t ] a t ( \ L / 2 + \ L/ 1 0 , \L / 2 \L/ 8 + \L/ 1 0 ) {1};
23 \ draw [ ] ( \L / 1 0 , \ L / 2 + \ L / 1 5 ) c i r c l e ( \ L / 2 0 ) ;
24 \ draw [ ] ( \L/5 \L / 1 0 , \ L / 2 + \ L / 1 5 ) c i r c l e ( \ L / 2 0 ) ;
25 \ draw [ ] ( \ L / 1 0 , \ L / 2 + \ L / 1 5 ) c i r c l e ( \ L / 2 0 ) ;
26 \ draw [ ] ( \ L / 5 + \ L / 1 0 , \ L / 2 + \ L / 1 5 ) c i r c l e ( \ L / 2 0 ) ;
27 \ draw [ , f i l l = w h i t e ] ( \L / 2 , \ L / 2 + \ L / 2 0 ) ( \ L / 2 , \ L/ 2 + \L/ 2 0 ) %
28 ( \ L/ 2 + \L / 5 , \ L/ 2 + \L/ 2 0 + \L / 5 ) ( \L / 2 + \ L / 5 , \ L / 2 + \ L / 2 0 + \ L / 5 ) ( \L / 2 , \ L / 2 + \ L / 2 0 ) ;
29 \ draw [ ] ( \ L / 1 0 , \ L / 2 + \ L / 2 0 + \ L / 1 0 ) ( \ L / 1 0 , \ L / 2 + 3\L / 1 0 ) ;
30 \ draw [ ] ( \ L/10 \L / 1 0 , \ L / 2 + 3\L / 1 0 ) ( \ L / 1 0 + \ L / 1 0 , \ L / 2 + 3\L / 1 0 ) ;
31 \ draw [ ] ( \ L/10 \L / 1 0 , \ L / 2 + 3\L / 1 0 ) ( \ L/10 \L/ 1 0 + \ L / 2 0 , \ L / 2 + 3\L/ 1 0 + \ L / 2 0 ) ;
32 \ draw [ ] ( \ L / 1 0 , \ L / 2 + 3\L / 1 0 ) ( \ L/ 1 0 + \ L / 2 0 , \ L / 2 + 3\L/ 1 0 + \ L / 2 0 ) ;
33 \ draw [ ] ( \ L / 1 0 + \ L / 1 0 , \ L / 2 + 3\L / 1 0 ) ( \ L / 1 0 + \ L/ 1 0 + \ L / 2 0 , \ L / 2 + 3\L/ 1 0 + \ L / 2 0 ) ;
34
35 % Triad :
36 \ draw [ >] ( \ L / 2 + \ L / 5 + \ L / 8 , 0 ) ( \ L / 2 + \ L/ 5 + 2 \L / 8 , 0 ) ;
37 \ draw [ >] ( \ L / 2 + \ L / 5 + \ L / 8 , 0 ) ( \ L / 2 + \ L / 5 + \ L/ 8 0 . 2 9 , 0 0 . 7 1 \L / 8 ) ;
38 \ draw [ >] ( \ L / 2 + \ L / 5 + \ L / 8 , 0 ) ( \ L/ 2 + \L/ 5 + \L/ 8 , 0 + \L / 8 ) ;
39 \ node [ a n c h o r = n o r t h ] a t ( \ L / 2 + \ L / 5 + \ L/ 8 0 . 2 9 , 0 0 . 7 1 \L / 8 ) {$ x $ } ;
40 \ node [ a n c h o r = s o u t h ] a t ( \ L / 2 + \ L / 5 + \ L / 8 , 0 + \ L / 8 ) {$ z $ } ;
41 \ node [ a n c h o r =w e s t ] a t ( \ L / 2 + \ L/ 5 + 2 \L / 8 , 0 ) {$ y $ } ;
42 \ draw [ f i l l =r e d , r e d ] ( \L/ 2 , \L / 2 ) c i r c l e ( 1 p t ) ;
43 \ end { t i k z p i c t u r e }
citations overall for each additional equation per page in the main text (Fawcett and Higginson, 2012). For papers in
physics, the number is 6% fewer citations for each additional equation per page (Higginson and Fawcett, 2016).
The lesson to learn from the above relation between the density of equations in a paper and its impact is to write
less equations in the body of the paper. This can be achieved by removing unnecessary equations. If needed, some
equations can be put in appendices.
18
Table 4: Material parameters and characteristics for all simulations.
Listing 6: Typesetting tables in LATEX. Note that all columns are nicely aligned with AlignTab package in Sublime Text. There exist
some softwares that can generate Excel tables to LATEX or visually generate LATEX tables online (https://www.tablesgenerator.
com).
1 \ begin { t a b l e }[ h ! ]
2 \ centering
3 \ c a p t i o n { M a t e r i a l p a r a m e t e r s and c h a r a c t e r i s t i c s f o r a l l s i m u l a t i o n s . }
4 \ s e t l e n g t h \ f b o x s e p {0 p t }
5 \ v s k i p \ t o p s e p%
6 \ s m a l l s k i p%
7 \ renewcommand \ a r r a y s t r e t c h { 1 . 4 }
8 \ c o l o r b o x { d a r k g r a y }{%
9 \ b e g i n { t a b u l a r x } { 0 . 7 \ t e x t w i d t h }{ l l l }
10 \ toprule
11 Parameter & Section 5.1 & Section 5.2 \\
12 \ midrule
13 Young ’ s modulus [ MPa ] & $ 2 1 0 \ t i m e s 10^3$ & 145 \\
14 Poisson ’ s r a t i o [ ] & 0.3 & 0.45 \\
15 T e n s i l e s t r e n g t h [ MPa ] & 2445 & 20 \\
16 \ midrule
17 Experimentally validated & n / a & n/a \\
18 Solver & m u l t i s t e p AM & s i n g l e s t e p AM i m p l i c i t e x p l i c i t \\
19 State & Plane s t r a i n & Plane s t r a i n \\
20 \ bottomrule
21 \ end { t a b u l a r x }%
22 }
23 \ l a b e l { t a b l e : params }
24 \ end { t a b l e }
Don’t Do
~
„ hN
A A or Aij
To make this paper a complete scientific article4 , we introduce the following arbitrary equation
Gf 1
Z Z
C
E .u; d / D P.u/
!.d / 0 ..u// C 0 ..u// dV C ˛.d / C b .rd rd / dV (4.1)
˝0 ˝0 c˛ b
4 So that beginners to LATEX can learn how to write a complete paper.19
Variable Type Meaning
xp Vector Particle position (time-dependent)
Xp Vector Particle initial position
mp Scalar Particle mass
Vp Scalar Particle volume
p Scalar Particle density
Tp Scalar Particle temperature
Pp Tensor/Matrix Particle 1st Piola-Kirchoff stress
For details on how to typeset formulae in LATEX see chapter 3 of Oetiker et al. (2018).
4.5. Algorithm
The packages algorithm and algorithmicx can be used to typeset algorithms. See Algorithm 1 for an example.
These algorithms written as pseudo codes are easier to understand than flowcharts. Yet, they are also easier to generate,
directly with LATEX. We refer to our github repository for the source.
Source code can be included in LATEXusing either the Listing package or the minted package. As the installation
of the latter package is more involved (it requires an external program), we present in Listing 7 some C++ source code
using the Listing package which does not depend on external program. We refer to the LATEXsource of this paper for
the configuration of this package to produce Listing 7.
20
Listing 7: Presentation of source code using the Listing package with the Bera Mono font (https://tug.org/FontCatalogue/
beramono/).
1 #include <jive/Array.h>
2 #include <jem/base/System.h>
3 using jive::Vector;
4 using jive::Matrix;
Preparing two-column papers is harder than one-column papers. Listing 8 presents LATEX snippets for long figures,
tables and equations that span the whole width of the paper. That’s all LATEX can do for you. For equations that are just
a bit longer than one column, you have to manually modify them to make them fit.
At this stage you know how to use LATEX, to write a high quality technical paper and you have just completed one
such paper. Is it ready for submission? The next section provides some steps taken to answer this question.
5. Submission
Do not submit until you are really happy with the work, as it usually does not save time to submit a piece of work
which we know ourselves could be improved: the reviewers will think likewise, or be even more critical than we are
ourselves of our work. If on a final read of the paper you think: “Ah. . . I could have added this study. This argument
21
is not completely convincing to me. This graph could be better plotted. I think I forgot some relevant literature. The
notations are complex, perhaps the reader will have difficulties. . . ” Then, do not submit immediately, improve your
work, and submit it when it is ready.
It is also useful to ask peers to read over your work. Before giving your first draft to your supervisor(s), have it
proof-read by a peer (i.e., if you are a PhD student, ask another PhD student for their opinion). This will bring the
following positive points: It will value your peer as you think her/his opinion counts; It will give you insights on how
understandable your paper is by someone who is connected to your field but did not do exactly the same piece of
research; It will decrease the number of typos, which will enable your supervisor(s) to focus on the science as opposed
to bumping over each spelling mistake, grammatical error, jargon.
It is most effective to get feedback sequentially rather than in parallel. For example, rather than asking four people
to read the same version of your paper, ask one person to read the paper, then make revisions before asking the next
person to read it, and so on. This prevents you from getting the same comments repeatedly.
6. Conclusions
Does this paper really need a conclusion section? Not really, but we are a bit conservative. So, here you are. Without
claiming originality of ideas presented in this short paper, we have presented a collection of advices that can streamline
the writing process. Following them would result in readable scientific articles which in turn save time for the authors,
the editors, the reviewers and the readers.
As LATEX and the tools we are relying on keep evolving, we will constantly update this article to reflect changes.
The updated version of this paper and scripts can be obtained at the github account of the first author.
Our guidelines are rules not principles. Unlike principles, rules break all the time. Feel free to be creative as long
as you write to inform not to impress. Happy writing.
Acknowledgments
The first author (V.P. Nguyen) thanks the funding support from the Australian Research Council via DECRA
project DE160100577. The third author gratefully acknowledges the financial support of the Australian Research
Council (ARC) Training Centre in Alloy Innovation for Mining Efficiency (IC160100036).
The guidelines presented in this paper have been formed by reading many articles and books, but mostly through
interactions with our co-authors. In particular, we would like to thank L. J. Sluys and M. Stroeven (TU Delft, the
Netherlands), and Chad W. Sinclair (UBC, Canada).
This appendix present two Python scripts to produce high quality plots which have the same font used in the
paper. One can use the script shown in Listing 9 to get PDFs or the one in Listing 10 to get PGF files. PGF pic-
22
Table 7: A table with footnotes generated using package threeparttable.
tures can be embedded as raw commands in LATEX documents. The original source is https://jwalton.info/
Embed-Publication-Matplotlib-Latex/.
The main idea is to get the correct figure size, and insert it in the paper without scaling. To determine the figure
size, one first calculates the width of the paper, which can be done by inserting this command in the TEX file:
\showthe\textwidth % => width of the pdf, see in log file, is 468 pt.
Then you can search for ‘width of the pdf’ in this log file to find out the width of your paper.
Remark 3. If you are using Matlab, then try this script matlab2tikz for converting Matlab figures into native
TikZ/Pgfplots figures. The script can be found at https://www.mathworks.com/matlabcentral/fileexchange/
22022-matlab2tikz-matlab2tikz.
Making tables with footnotes in LATEX is not straightforward. Table 7 is one example and we refer to the source (at
our github account) to see how it was made. It is probably not an elegant solution but it is the best solution we have
found.
This section presents some ideas on how we manage our library (bibliography entries plus the associated PDFs)
using BibDesk. The original source is https://atchieu.wordpress.com (search for BibDesk).
We have a single .bib file for our library. This file is stored in a Dropbox folder so that it syncs to all devices.
BibDesk is configured such that whenever a PDF is added to a bibliography entry, the PDF will be automatically
renamed and stored in a specified location (in Dropbox) with a specified file naming convention. You do not care where
they go: just go to BibDesk and search for the article and the PDF is there.
23
Listing 9: Python script for plotting data.
1 import m a t p l o t l i b a s mpl
2 import m a t p l o t l i b . p y p l o t a s p l t
3
4 d e f s e t _ s i z e ( w i d t h , f r a c t i o n =1 , s u b p l o t = [ 1 , 1 ] ) :
5 i f w i d t h == ’ e l s e v i e r ’ :
6 width_pt = 468.
7 e l i f w i d t h == ’ beamer ’ :
8 width_pt = 307.28987
9 else :
10 width_pt = width
11 fig_width_pt = width_pt f r a c t i o n # Width o f f i g u r e
12 inches_per_pt = 1 / 72.27 # C o n v e r t from p t t o i n c h e s
13 golden_ratio = 0.75 # (5.5 1) / 2
14 fi g_ wid th _in = fi g_ wid th_ pt in ch es _p e r _ p t # Figure width in inches
15 fig_height_in = fig_width_in golden_ratio ( subplot [0] / subplot [1])
16 fig_dim = ( fig_width_in , f i g _ h e i g h t _ i n )
17 return fig_dim
18
19 p a r s e r = argparse . ArgumentParser ( d e s c r i p t i o n = ’ Plot the e v o l u t i o n of v a r i a b l e s . ’ ,
20 add_help=False ,
21 f o r m a t t e r _ c l a s s=argparse . RawDescriptionHelpFormatter )
22
23
24 p a r s e r . a d d _ a r g u m e n t ( ’ q u i e t ’ , ’ q ’ , a c t i o n = ’ s t o r e _ c o n s t ’ , c o n s t =True , d e f a u l t = F a l s e ,
25 h e l p= ’ do n o t show p l o t . ’ )
26 args = parser . parse_args ()
27
28 # Using s e a b o r n ’ s s t y l e
29 p l t . s t y l e . use ( ’ seaborn c o l o r b l i n d ’ )
30
31 nice_fonts = {
32 " t e x t . u s e t e x " : True ,
33 " font . family " : " s e r i f " ,
34 " axes . l a b e l s i z e " : 10 ,
35 " f o n t . s i z e " : 10 ,
36 " legend . f o n t s i z e " : 8 ,
37 " xtick . labelsize " : 8 ,
38 " ytick . labelsize " : 8 ,
39 }
40
41 mpl . r c P a r a m s . u p d a t e ( n i c e _ f o n t s )
42
43 # Dimer 5 : Read D a t a
44 f n a m e s = [ ’ l o g . mpm ’ , ’ dam b r e a k Sun . c s v ’ , ’ w a t e r b r e a k e x p e r i m e n t . c s v ’ ]
45 dat = [ p y l a b . g e n f r o m t x t ( f , s k i p _ h e a d e r =1) f o r f i n f n a m e s ]
46
47 f i g , ax = p l t . s u b p l o t s ( 1 , 1 , f i g s i z e = s e t _ s i z e ( ’ e l s e v i e r ’ , f r a c t i o n = 0 . 6 ) )
48 # f i g , ( ax1 , ax2 ) = p l t . s u b p l o t s ( 1 , 2 , f i g s i z e = s e t _ s i z e ( w i d t h , s u b p l o t = [ 1 , 2 ] ) )
49
50 f o r i , f i n enumerate ( f n a m e s ) :
51 x = dat [ i ] [ : , 3 ]
52 y = dat [ i ] [ : , 4 ]
53 ax . p l o t ( x , y , c o l o r = ’ b l a c k ’ , l a b e l = ’MPM’ , l i n e w i d t h = 1 . 5 , l i n e s t y l e = ’ d o t t e d ’ )
54
55 xmax = max ( xmax , np . max ( x ) )
56 ymax = max ( ymax , np . max ( y ) )
57
58 ax . s e t _ x l a b e l ( r ’ $T$ ’ )
59 ax . s e t _ y l a b e l ( r ’ $L ( T ) $ ’ )
60 ax . set_ylim (1.0 , 2.8)
61 ax . set_xlim (0 , 1.6)
62 ax . l e g e n d ( l o c =0)
63 plt . tight_layout ()
64 plt . s a v e f i g ( ’ . / w a t e r b r e a k p l o t . p d f ’ , format= ’ p d f ’ , b b o x _ i n c h e s = ’ t i g h t ’ )
65
66 i f a r g s . q u i e t == F a l s e :
67 p l t . show ( )
References
M. Ashby. How to write a paper. Engineering Department, University of Cambridge, Version, 5:38, 2000. [Cited on pages 1, 1, and 10]
24
Listing 10: Python script for plotting data.
1 nice_fonts = {
2 " t e x t . u s e t e x " : True ,
3 " font . family " : " s e r i f " ,
4 " pgf . texsystem " : " p d f l a t e x " ,
5 " font . family " : " s e r i f " ,
6 " font . serif " : [] ,
7 " f o n t . sans s e r i f " : [ ] ,
8 " f o n t . monospace " : [ ] ,
9 " pgf . preamble " : [
10 # p u t LaTeX p r e a m b l e d e c l a r a t i o n s h e r e
11 r " \ usepackage [ utf8x ]{ inputenc }" ,
12 r " \ u s e p a c k a g e [ T1 ] { f o n t e n c } " ,
13 # m a c r o s d e f i n e d h e r e w i l l be a v a i l a b l e i n p l o t s , e . g . :
14 r " \ newcommand { \ v e c t } [ 1 ] { # 1 } " ,
15 # You c a n u s e dummy i m p l e m e n t a t i o n s , s i n c e you LaTeX document
16 # w i l l r e n d e r t h e s e p r o p e r l y , anyway .
17 ],
18 " axes . l a b e l s i z e " : 10 ,
19 " f o n t . s i z e " : 10 ,
20 " legend . f o n t s i z e " : 8 ,
21 " xtick . labelsize " : 8 ,
22 " ytick . labelsize " : 8 ,
23 }
24 p l t . s a v e f i g ( ’ . / cold spray p l o t s . pgf ’ , bbox_inches= ’ t i g h t ’ )
25 i f a r g s . q u i e t == F a l s e :
26 p l t . show ( )
R. A. Day. How to write and publish scientific papers, 1998. [Cited on pages 1, 1, and 10]
A. de Vaucorbeil, V. P. Nguyen, S. Sinaie, and J. Y. Wu. Material point method after 25 years: theory, implementation and applications. Submitted
to Advances in Applied Mechanics, 2019. [Cited on page 9]
J. B. C. Engelen. How to include an SVG image in LATEX, 2010. URL http://mirrors.ibiblio.org/CTAN/info/svg-inkscape/
InkscapePDFLaTeX.pdf. [Cited on page 15]
T. W. Fawcett and A. D. Higginson. Heavy use of equations impedes communication among biologists. Proceedings of the National Academy of
Sciences, 109(29):11735–11739, 2012. ISSN 0027-8424. doi: 10.1073/pnas.1205259109. URL https://www.pnas.org/content/109/29/
11735. [Cited on pages 17 and 18]
G. D. Gopen and J. A. Swan. The science of scientific writing. American Scientist, 78(6):550–558, 1990. [Cited on pages 5 and 5]
T. Gray. Publish and flourish: become a prolific scholar. Teaching Academy, 2005. [Cited on page 11]
A. D. Higginson and T. W. Fawcett. Comment on ‘are physicists afraid of mathematics?’. New Journal of Physics, 18(11):118003, nov 2016. [Cited
on pages 17 and 18]
R. L. Iles. Guidebook to better medical writing. Iles publications, 1997. [Cited on page 1]
S. P. Jones. How to write a great research paper, 2016. URL https://www.microsoft.com/en-us/research/academic-program/
write-great-research-paper/. [Cited on page 4]
T. K. Mandal, V. P. Nguyen, and J.-Y. Wu. Length scale and mesh bias sensitivity of phase-field models for brittle and cohesive fracture. Engineering
Fracture Mechanics, 217(106532), 2019. [Cited on pages 7 and 23]
B. Oakley, T. Sejnowski, and A. McConville. Learning How to Learn: How to Succeed in School Without Spending All Your Time Studying; A Guide
for Kids and Teens. TarcherPerigee, 2018. [Cited on page 11]
T. Oetiker, H. Partl, I. Hyna, and E. Schlegl. The not so short introduction to LATEX, 2018. URL http://tug.ctan.org/info/lshort/english/
lshort.pdf. [Cited on page 20]
C. E. Paiva, J. P. d. S. N. Lima, and B. S. R. Paiva. Articles with short titles describing the results are cited more often. Clinics, 67(5):509–513,
2012. [Cited on page 10]
K. W. Plaxco. The art of writing science. Protein science: a publication of the Protein Society, 19(12):2261, 2010. [Cited on pages 1 and 10]
A. Stomakhin, C. Schroeder, L. Chai, J. Teran, and A. Selle. A material point method for snow simulation. ACM Transactions on Graphics, 32(4):1,
25
2013. [Cited on page 8]
26