How to Write a Paper and Format It Using LATEX

How to Write a Paper and Format It Using LATEX

How To Write a Paper and Format it Using LATEX Jennifer E. Hoffman1, 2, ∗ 1Department of Physics, Harvard University, Cambridge, Massachusetts 02138, USA 2School of Engineering & Applied Sciences, Harvard University, Cambridge, Massachusetts 02138, USA (Dated: July 30, 2020) The goal of this document is to demonstrate how to write a paper. We walk through the process of outlining, writing, formatting in LATEX, making figures, referencing, and checking style and content. Source files are available at: http://hoffman.physics.harvard.edu/example-paper/. I. GETTING STARTED 8. Rewrite your abstract, taking into account what you have learned from the process of writing the paper. As You should start writing your paper while you are you fine-tune your abstract, you may find it helpful to working on your experiment. Prof. George Whitesides refer to Nature's instructions for writing an abstract says: \A paper is not just an archival device for stor- [2] and for clear communication more generally [3]. ing a completed research program; it is also a structure for planning your research in progress. If you clearly As you contemplate the paper you have just writ- understand the purpose and form of a paper, it can be ten, put yourself in the shoes of the reviewers (includ- immensely useful to you in organizing and conducting ing your collaborators). You already work many, many your research. A good outline for the paper is also a hours/week, and you don't really want to spend more good plan for the research program. You should write time reading this paper. So you're going to be very happy and rewrite these plans/outlines throughout the course if the figures are pretty, the text flows logically, the ref- of the research. At the beginning, you will have mostly erences are hyperlinked for easy access, and you can un- plan; at the end, mostly outline. The continuous effort derstand the paper quickly. But you're going to be very to understand, analyze, summarize, and reformulate hy- grumpy if you can't get the main points of the paper from potheses on paper will be immensely more efficient for scanning through the figures & captions. You're going to you than a process in which you collect data and start to be even grumpier if you invest time in reading the pa- organize them only when their collection is `complete' ." per but you still can't get it. Your evaluation of this Here are some concrete steps to get started. paper is likely to be swayed by your ease of understand- ing, regardless of the scientific merits of the work. (See 1. Read George Whitesides' \How to Write a Paper" [1]. Ref.4 for more information on how formatting, even as 2. Read through at least one full paper in your target simple as font choice, will influence the reader's \cogni- journal, to get a sense of the content and writing style. tive ease" and ultimately their judgment of the report.) 3. To clarify in your own head the purpose of your paper, Down the road, consider a reader who might cite the start by writing your abstract. paper and launch you to fame and glory: the potential 4. Before you tackle the body of the paper, sketch block citer's decision will be influenced by their ability to easily outlines of the figures. Decide what images and plots understand your paper. you will put in the paper, and how the panels will be arranged. Your paper should be fractal. Somebody with 30 5. Outline at the paragraph level before you write. Look seconds to look at it should be able to get the main idea at how many paragraphs there will be in the style of just from reading the abstract. Somebody with 5 minutes paper you are trying to write. For example, for a should be able to look at the figures and captions and get standard 4-page scientific letter, aim for 13 paragraphs more out of it. Somebody with 10 minutes should be able (generally, you can estimate about 200 words per para- to get the story from the first sentence of each paragraph. graph). Figure out how to tell your entire story (not numbers, just story!) in 13 stand-alone sentences. 6. Make each of those sentences into the first sentence II. LATEX of a paragraph, and fill into each paragraph only de- tails that are relevant to that first sentence. If you LATEX is a formatting language that allows profes- find yourself writing details about the figures, cut and sional, publication-quality presentation of scientific text, paste them into the captions. equations, figures, and hyperlinked references. REV- 7. If you think of references as you go, you can include the TeX is a specific set of LATEX macro packages assem- minimal identifying information in parentheses to trig- bled by the American Physical Society (APS) to stan- ger your memory later, e.g. \(WhitesidesAdvMat)", so dardize manuscript formatting for the various Physical all of the information is compact. Review journals. The APS author website [5] lists ac- ceptable submission formats as: REVTeX (preferred), LAT X, or MSWord. It is sensible to draft your paper ∗ E jhoff[email protected] in LATEX/REVTeX from the beginning. You will need a 2 reference manager, a text editor, and a LATEX compiler. III. FORMATTING Typically, you will be working closely with other authors, so you should pick a platform that enables simple sharing Whether you are using a compiler on your computer and collaborative workflow. or online, please use the latest version of REVTeX, and Here we recommend the online LATEX compiler Over- check your formatting carefully. leaf (http://www.overleaf.com/) for text editing and Check math & symbolic formatting, as in TableI. compiling. Overleaf (formerly known as ShareLATEX) is an online platform that is great for collaborative writing: it tracks changes and even has a real-time chat function. TABLE I. Formatting mathematical symbols. Note that LyX is a WYSIWYG (what you see is what Incorrect Correct you get) LATEX editor that may seem tempting if you ini- tially find tex formatting daunting, but LyX may come cosθ cos θ back to bite you in the long run, because it hides the guts Tsample Tsample of the tex code from the user, making it harder to control Vrms, V (rms) Vrms formatting details. Ex, x direction Ex, x direction 1. Choose & install a reference management software B~app B~ app such as Mendeley: http://www.mendeley.com/ Sb2T e3, Sb2Te3 Sb2Te3 (See appendixA for usage tips.) Sb V Te Sb V Te 2. Make an account on Overleaf: 2−x x 3 2−x x 3 dI/dV dI=dV http://www.overleaf.com/ 3. Download the source files for this example paper: B = 5T , B=5T B = 5 T http: x direction, X direction x direction //hoffman.physics.harvard.edu/example-paper/ 1st, 1st, 2nd, 2nd 1st, 2nd 4. Copy the tex and bib files into a new overleaf project, and share with your collaborators. Use nlabelftab:nameg and nrefftab:nameg to refer Alternatively, you may prefer to run LATEX directly on to tables. your own laptop. In that case, follow the steps below: Check hyphenation. Sometimes LATEX likes to di- 1. Choose & install a reference management software: vide a single letter off the beginning or end of a • Mendeley: http://www.mendeley.com/ word, for line wrapping. The default settings for • Papers: http://www.papersapp.com/ LATEX's hyphenation of English-language words are • Endnote: http://www.endnote.com/ nrighthyphenmin=3 and nlefthyphenmin=2, but ap- 2. Download & install a LATEX compiler such as MikTex: parently they can be mysteriously reset to allow single http://miktex.org/ dangling letters. 3. Download & install REVTeX 4-2 (see appendixB): Check spacing. When a period falls in the middle of http://authors.aps.org/revtex4/ a sentence, use a n (backslash) to prevent LATEX from 4. Pick an editor such as WinEdt: thinking it's the end of the sentence and thus adding http://www.winedt.com/ extra space, as shown in TableII. If you want to pre- (You may need to request a university license; may vent a linebreak, you can use ~ instead of n. require ∼ 24 hour turnaround.) 5. Download the source files for this example paper: http://hoffman.physics.harvard.edu/ TABLE II. Spacing. example-paper/, open the tex and bib files in LATEX Output WinEdt, and get started writing! Incorrect e.g. incorrect e.g. incorrect It's important not to lose sight of your outline, as you Incorrect Fig. 2 Fig. 2 A fill in the details of your paper. This LTEX template file Correct e.g.n correct e.g. correct allows you to title each paragraph using the nptitlefg Correct Fig.n 2 Fig. 2 command. You should keep these titles in place through- Correct Fig.~2 Fig. 2 out the entire paper-writing process; they will serve as a constant reminder to keep each paragraph focused on a single point. You should be able to skim through these Number all equations. But do not separately number bold paragraph titles, without reading any of the inter- each line of a single multi-line equation. vening sentences, and still understand the basic logical Use nlabelfeqn:nameg and nreffeqn:nameg to refer flow of the paper. At the final step before submission, to equations. comment out the line nptitletrue in the header, to If the equation is mid-paragraph, use nnoindent at hide the paragraph titles. But do not delete the para- the beginning of the first line following the equation.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    6 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us