Guidelines for Statistical Projects: Coding and Typography

Total Page:16

File Type:pdf, Size:1020Kb

Guidelines for Statistical Projects: Coding and Typography 0001 0002 Guidelines for Statistical Projects: Coding and 0003 0004 Typography 0005 0006 1 2 0007 Marius Hofert , Ulf Schepsmeier 0008 0009 0010 2014-10-01 0011 0012 0013 0014 0015 Abstract 0016 A 0017 Guidelines for conducting, implementing (in LTEX and R) and documenting statistical (re- 0018 search) projects are provided in order to improve readability and reduce the error rates of 0019 theses, scientific papers, reports and especially code. This is meant to save supervisors, package 0020 maintainers, students and practitioners a lot of time. It is clear, however, that such guidelines 0021 cannot be exhaustive. The given recommendations should therefore rather serve as a starting 0022 0023 point for improving your workflow and to avoid common pitfalls in statistical projects of larger 0024 scale. 0025 0026 0027 Keywords 0028 Coding, typography, LATEX, R. 0029 0030 MSC2010 0031 0032 68U15, 68U20, 68U05, 97R60. 0033 0034 0035 Contents 0036 0037 0038 0039 1 Introduction 2 0040 0041 2 General suggestions 3 0042 2.1 Forget about the Pareto principle (80–20 rule) . .3 0043 0044 2.2 When solving a particular problem for the first time, spend time on it . .4 0045 2.3 English in mathematics . .4 0046 2.4 Be consistent . .5 0047 0048 2.5 Be concise . .5 0049 2.6 Be structured . .6 0050 0051 2.7 Be self-contained . .7 0052 2.8 Be reproducible . .7 0053 2.9 Optimize communication, meetings and preparation . .8 0054 0055 0056 3 Editors and integrated development environments 9 0057 0058 0059 0060 0061 0062 1Department of Statistics and Actuarial Science, University of Waterloo, 200 University Avenue West, Waterloo, 0063 ON, Canada N2L 3G1, [email protected] 0064 2Department of Mathematics, Technische Universität München, 85748 Garching, Germany, ulf.schepsmeier@ 0065 tum.de 0066 1 © Marius Hofert, Ulf Schepsmeier 1 Introduction 0067 4 LAT X 10 0068 E 0069 4.1 Getting started . 10 0070 4.2 Typographic recommendations for mathematical documents . 10 0071 4.3 Technical tricks to improve typography . 12 0072 0073 4.3.1 Citations . 12 0074 4.3.2 Spaces and alignment . 12 0075 0076 4.3.3 Figures . 13 0077 4.3.4 Miscellaneous . 14 0078 0079 5 R 14 0080 0081 5.1 Getting started . 14 0082 5.2 Documentation . 15 0083 5.2.1 Citing R and R packages . 15 0084 0085 5.2.2 Run time information . 16 0086 5.2.3 Code documentation . 17 0087 0088 5.3 Programming style . 18 0089 5.3.1 Writing correct code . 18 0090 5.3.2 Writing readable code . 18 0091 0092 5.3.3 Writing safe, fast, flexible and sophisticated functions . 20 0093 5.3.4 Learn from others, learn from the masters . 22 0094 5.3.5 Test your code . 23 0095 0096 5.3.6 Specific hints . 23 0097 5.4 Tables and graphics . 23 0098 0099 0100 6 Version control 25 0101 6.1 Dropbox . 25 0102 6.2 SVN . 25 0103 0104 6.2.1 Checkout . 26 0105 6.2.2 Add and (re)move . 26 0106 6.2.3 Update, commit . 27 0107 0108 6.2.4 Log, status, list, diff . 27 0109 6.2.5 Conflicts . 28 0110 6.3 Git . 28 0111 0112 0113 7 Submitting a paper 28 0114 7.1 Purpose of journals: How to find the best fitting journal for my research . 29 0115 0116 7.2 Preparations before submission . 30 0117 7.3 Submitting a paper . 31 0118 0119 References 32 0120 0121 0122 0123 1 Introduction 0124 0125 These guidelines are meant for students, professors and practitioners who would like to write, 0126 0127 participate in, or supervise a project such as a bachelor, master, Ph.D. thesis, or scientific 0128 paper in the intersection of mathematics, statistics and computer science. Besides some general 0129 recommendations, we focus on the software tools LAT X and R for conducting, implementing and 0130 E 0131 documenting the project. 0132 2 © Marius Hofert, Ulf Schepsmeier 2 General suggestions 0133 Before going into detail, some remarks are in order: 0134 0135 The science of coding Coding (in LATEX, R etc.) is like a handwriting. From the corresponding 0136 files and style of coding one can read a lot. Writing correct, readable, well-documented and 0137 0138 easy-to-maintain code is a science on its own and one that is not taught explicitly at university 0139 level unless one specifically studies computer science (but this course of studies rarely addresses 0140 LAT X and R). However, with the ever increasing complexity of statistical simulations and 0141 E 0142 projects, it becomes important to have coding guidelines – otherwise it might be difficult for 0143 others to understand what you actually want to “say” or do with your code. Besides being 0144 0145 correct, your code should be easily readable and extendable by others. Larger projects involve 0146 more and more contributors, each of which should be able to easily follow your code and adjust 0147 it if required, hence some guidelines are in order. 0148 0149 Motivation These guidelines are motivated from our own work with students and practitioners. 0150 After pointing out improvements, making code more readable, correcting common mistakes and 0151 0152 improving documents again and again, we hope that these guidelines help all parties involved 0153 in a project to avoid (what we believe are) common pitfalls and to save time. 0154 0155 Focus The guidelines reflect our personal recommendations and experience using LATEX and 0156 R (and related tools mentioned below) in our personal areas of research (which lies in the 0157 0158 intersection of mathematics, statistics and computer sciences). It is clear that such a guide 0159 cannot be exhaustive. In particular, this is not an introduction to the topics presented! If you 0160 feel that we missed an important aspect not easily found or addressed in other guidelines or 0161 0162 tutorials, or if you can improve this document, please let us know. 0163 Goal Our goal with these guidelines is not to make a document or code snippet 100% perfect. 0164 0165 There are exceptions to almost any rule and describing all of them would extend the page 0166 count of this document well beyond what you would be willing to read; the left-out exceptions 0167 0168 are the 10–20% not discussed here. Furthermore, some aspects are discussed in more detail 0169 than others (which is motivated by our work/judgement). Aspects addressing more advanced 0170 users are marked with an A . 0171 0172 Disclaimer This document does not exist to torture you(r workflow) to use a specific kind of 0173 operating system, editor, software, etc. It should rather point out how we tackle certain 0174 0175 problems (and partly, but not always (!), why we solve them like this). You may or may not 0176 find this helpful, the principle do not like it? do not use it! applies. 0177 0178 We will constantly update this document. Therefore, there will never be a version which can 0179 be considered final. 0180 0181 The guidelines are organized as follows. In Section 2, we give general suggestions for written or 0182 coding intensive projects. Section 3 briefly addresses the importance and choice of text editors. 0183 A 0184 Section 4 and Section 5 point out recommendations when working with LTEX and R, respectively. 0185 0186 0187 2 General suggestions 0188 0189 2.1 Forget about the Pareto principle (80–20 rule) 0190 0191 Definition The Pareto principle (or 80–20 rule) says that for many events, 80% of the final 0192 0193 outcome/result/effect is achieved by 20% of the input/causes. 0194 0195 Meaning Essentially, this means that one should stop after having spent 20% of the time/effort 0196 one could spend on the project, since all additional effort would just improve the outcome by 0197 the remaining 20%. 0198 3 © Marius Hofert, Ulf Schepsmeier 2 General suggestions 0199 Why not? The Pareto principle is frequently used in many areas. However, it does not apply 0200 0201 to scientific work. If you write a research paper, for example, it will come back for revision 0202 at some time. You certainly do not want to realize a year later, that you now actually have 0203 to start over with the whole work (instead of doing just a revision). Furthermore, if a referee 0204 0205 feels that you only spent 20% of the effort on the submitted work, this most likely results in a 0206 rejection. Do your homework, work hard and exclusively on the topic and you will get a result 0207 0208 you can be happy with. Also, your supervisor is happy to learn about what comes (far) after 0209 the 80% (in contrast to hearing about well-known results). Keep that in mind at any stage. 0210 0211 0212 2.2 When solving a particular problem for the first time, spend time on it 0213 0214 In programming, there is this basic (unwritten) law (maybe applying as well to research in 0215 general): 0216 0217 1) If you have a problem, search for it. 0218 The chance that you are the first one working on this problem is small. Others may have 0219 0220 already solved the problem (in an elegant, optimal, fast and readable way). 0221 2) If you cannot find a solution, search more, search differently, search longer – but search for it! 0222 0223 3) If you still cannot find it, go back to 2). 0224 0225 4) If you are sure there exists no (good) solution, write your own.
Recommended publications
  • Latex on Windows
    LaTeX on Windows Installing MikTeX and using TeXworks, as described on the main LaTeX page, is enough to get you started using LaTeX on Windows. This page provides further information for experienced users. Tips for using TeXworks Forward and Inverse Search If you are working on a long document, forward and inverse searching make editing much easier. • Forward search means jumping from a point in your LaTeX source file to the corresponding line in the pdf output file. • Inverse search means jumping from a line in the pdf file back to the corresponding point in the source file. In TeXworks, forward and inverse search are easy. To do a forward search, right-click on text in the source window and choose the option "Jump to PDF". Similarly, to do an inverse search, right-click in the output window and choose "Jump to Source". Other Front End Programs Among front ends, TeXworks has several advantages, principally, it is bundled with MikTeX and it works without any configuration. However, you may want to try other front end programs. The most common ones are listed below. • Texmaker. Installation notes: 1. After you have installed Texmaker, go to the QuickBuild section of the Configuration menu and choose pdflatex+pdfview. 2. Before you use spell-check in Texmaker, you may need to install a dictionary; see section 1.3 of the Texmaker user manual. • Winshell. Installation notes: 1. Install Winshell after installing MiKTeX. 2. When running the Winshell Setup program, choose the pdflatex-optimized toolbar. 3. Winshell uses an external pdf viewer to display output files.
    [Show full text]
  • Installation Guide
    Introduction to LATEX Workshop: Installation Guide This is a brief guide describing various options for installing a LATEX compiler and editor on your laptop or other computational device. The major software providers all provide automatic installers so in most cases it is as simple as navigating to the proper website and double clicking on an application. 1 Installing LATEX on your computer 1.1 Installing LATEX on Mac The standard compiler for Mac computers is called MacTEXwhich can be downloaded and installed from: http://tug.org/mactex/. The editor TEXMaker can be downloaded and installed from: www.xm1math.net/texmaker. 1.2 Installing LATEX on Windows The standard compiler for Windows computers is called MikTEXwhich can be downloaded and installed from: http://miktex.org/. The editor TEXMaker can be downloaded and installed from: www.xm1math.net/texmaker. 1.3 Installing LATEX on Linux Many contemporary Unix distributions are already packaged with a LATEXcompiler and editor. If you are using Ubuntu or Debian then you can install directly from the terminal by entering: sudo apt-get install texlive-full followed by sudo apt-get install texmaker. On RedHat or CentOS you can use sudo yum install tetex to obtain the compiler. In- stalling TEXmaker is a little more complicated but any text editor will work as well. 2 Tablets and Mobile Devices Most of the online editors have app versions that can be used from your phone or tablet. If you want to compile documents on these devices without an internet connection there are a few options. There are two popular ios apps: TeXPad and TeXWriter.
    [Show full text]
  • Texworks: Lowering the Barrier to Entry
    TEXworks: Lowering the barrier to entry Jonathan Kew 21 Ireton Court Thame OX9 3EB England [email protected] 1 Introduction The standard TEXworks workflow will also be PDF-centric, using pdfT X and X T X as typeset- One of the most successful TEX interfaces in recent E E E years has been Dick Koch's award-winning TeXShop ting engines and generating PDF documents as the on Mac OS X. I believe a large part of its success has default formatted output. Although it will still be been due to its relative simplicity, which has invited possible to configure a processing path based on new users to begin working with the system with- DVI, newcomers to the TEX world need not be con- out baffling them with options or cluttering their cerned with DVI at all, but can generally treat TEX screen with controls and buttons they don't under- as a system that goes directly from marked-up text stand. Experienced users may prefer environments files to ready-to-use PDF documents. T Xworks includes an integrated PDF viewer, such as iTEXMac, AUCTEX (or on other platforms, E based on the Poppler library, so there is no need WinEDT, Kile, TEXmaker, or many others), with more advanced editing features and project man- to switch to an external program such as Acrobat, agement, but the simplicity of the TeXShop model xpdf, etc., to view the typeset output. The inte- has much to recommend it for the new or occasional grated viewer also allows it to support source $ user.
    [Show full text]
  • Setting up Your Working Environment
    Setting Up your Working Environment By Christof Lutteroth This document gives some advice on how to get a working environment set up for an academic project in Computer Science. It outlines the various tools that make research in a group a little bit easier. If you have any questions, please discuss them with your supervisor. Collecting Citations using BibTeX BibTeX is the standard citation subsystem for LaTeX. It allows you to collect citations of various document types, such as conference papers, journal articles, books and technical reports. When using Google Scholar, you need to go to “Scholar Preferences” from the main page (scholar.google.com) and adjust the settings to make Google show links to BibTeX entries for each citation. The BibTex entries can be copied directly into your .bib file. If you are working from home and would like to access PDFs of publications through the university library, you can use the following Google Scholar proxy server: http://scholar.google.com.ezproxy.auckland.ac.nz Writing your Thesis using LaTeX The LaTeX typesetting system is a text-based compiler that reads a document description language and creates relatively nice looking documents such as PDFs. Although not always easy to use, it will help you to produce a thesis without having to worry too much about formatting issues. If you are working on Windows, make sure your computer has the MikTeX distribution installed (www.miktex.org). MikTeX is an implementation of LaTeX specifically for Windows. The “basic MikTeX system” should be enough. There are also LaTeX distributions for other operating systems.
    [Show full text]
  • 1 R Installation Instructions 2 LATEX Installation Instructions
    1 R Installation Instructions 1. Download R from http://cran.r-project.org/mirrors.html.1 2. Once you've picked a mirror download R for your operating system. 3. When it's done downloading, install R. 4. (Optional) Download and install the most recent version of RStudio Desktop from http://www. rstudio.com/products/rstudio/download/.2 • Make sure you install R before RStudio. Not doing so could potentially cause issues. 2 LATEX Installation Instructions LaTeX is a powerful document preparation system. It allows you to output high-quality and customizable pdf documents. LATEX is a document markup language, meaning that it consists of syntax that specifies to the program how the document is to be formatted - that is, typesetting instructions. More common examples of markup languages are HTML and XML. Markup embedded in a LATEX document conveys formatting and processing specifications to the TEX engine. It then allows you to output fancy PDFs like this one (and just about everything else used in the Prefresher) To begin using LATEX you need to things: • LATEX front end or text editor to write a .tex file • LATEX compiler that processes the TEX code you've written and outputs the document you want Windows users: • Compiler: MiKTeX • Some editors: Texmaker , TeXnic Center , LyX. 3 Mac users: • Compiler: MacTeX • Some editors: TeXShop , Aquamacs , Texmaker , TextWrangler , Latexian 1It doesn't really matter which mirror you use. 2RStudio is, in my opinion, the best IDE (integrated development environment) for R. It allows you to simultaneously see your R Console, multiple scripts of code, all the objects in your workspace, your working directory, plots, installed packages, and help files.
    [Show full text]
  • Fileweaver: Flexible File Management with Automatic Dependency Tracking Julien Gori Han L
    FileWeaver: Flexible File Management with Automatic Dependency Tracking Julien Gori Han L. Han Michel Beaudouin-Lafon Université Paris-Saclay, CNRS, Inria, Laboratoire de Recherche en Informatique F-91400 Orsay, France {jgori, han.han, mbl}@lri.fr ABSTRACT Specialized tools typically load and save information in pro- Knowledge management and sharing involves a variety of spe- prietary and/or binary data formats, such as Matlab1 .mat cialized but isolated software tools, tied together by the files files or SPSS2 .sav files. Knowledge workers have to rely on that these tools use and produce. We interviewed 23 scientists standardized exchange file formats and file format converters and found that they all had difficulties using the file system to communicate information from one application to the other, to keep track of, re-find and maintain consistency among re- leading to a multiplication of files. lated but distributed information. We introduce FileWeaver, a system that automatically detects dependencies among files Moreover, as exemplified by Guo’s “typical” workflow of a without explicit user action, tracks their history, and lets users data scientist [8, Fig. 2.1], knowledge workers’ practices often interact directly with the graphs representing these dependen- consist of several iterations of exploratory, production and cies and version history. Changes to a file can trigger recipes, dissemination phases, in which workers create copies of files either automatically or under user control, to keep the file con- to save their work, file revisions, e.g. to revise the logic of sistent with its dependants. Users can merge variants of a file, their code, and file variants, e.g.
    [Show full text]
  • A Brief Introduction to Latex.Pdf
    ME 601A, 2016-17, SEM II IIT Kanpur What are TeX and LaTeX? • LaTeX is a typesetting systems suitable for producing scientific and mathematical documents — LaTeX enables authors to typeset and print their work at the highest typographical quality. — LaTeX is pronounced “Lay-te ch”. — LaTeX uses TeX formatter as its typesetting engine. • TeX is a program written by Donald Kunth for typesetting text and mathematical formulas Why LaTeX ? • Easy to use, especially for typing mathematical formulas • Portability (Windows, Unix, Mac) • Stability and interchangeability Why LaTeX ? contd... • High quality Most journals /conferences have their LaTeX styles One will be forced to use it, since everyone else around is using it. Why LaTeX ? contd... Documentation and forums A universal acceptance among researchers Error finding and troubleshooting are not difficult ∞ J[x(⋅),u(⋅)] = ∫ F (x(t),u(t),t)dt t0 References for LaTeX — The not so short introduction to LaTeX2e http://tobi.oetiker.ch/lshort/lshort.pdf — Comprehensive TeX archive network http://www.ctan.org/ — Beginning LaTeX http://www.cs.cornell.edu/Info/Misc/LaTeX-Tutorial/LaTeX- Home.html — Google Leslie Lamport H. Kopka Process to Create a Document Using LaTeX TeX input file Your source LaTeX file.tex document Run LaTeX program DVI file Device independent file.dvi output Run Device Driver Unix Commands Output file > latex file.tex runs latex file.ps or file.pdf > xdiv file.dvi previewer > dvips file.dvi creates .ps > pdflatex file.tex creates .pdf directly How to Setup LaTeX for Windows • Download and install MikTeX LaTeX package http://www.miktex.org/ • Install Ghostscript and Gsview http://pages.cs.wisc.edu/~ghost/ PS device driver … • Install Acrobat Reader • Install Editor — WinEdt For MAC Users http://www.winedt.com/ TeXShop — TexnicCenter iTexMac http://www.texniccenter.org/ Texmaker — Emacs, vi, etc.
    [Show full text]
  • Latex in Twenty Four Hours
    Plan Introduction Fonts Format Listing Tabbing Table Figure Equation Bibliography Article Thesis Slide A Short Presentation on Dilip Datta Department of Mechanical Engineering, Tezpur University, Assam, India E-mail: [email protected] / datta [email protected] URL: www.tezu.ernet.in/dmech/people/ddatta.htm Dilip Datta A Short Presentation on LATEX in 24 Hours (1/76) Plan Introduction Fonts Format Listing Tabbing Table Figure Equation Bibliography Article Thesis Slide Presentation plan • Introduction to LATEX Dilip Datta A Short Presentation on LATEX in 24 Hours (2/76) Plan Introduction Fonts Format Listing Tabbing Table Figure Equation Bibliography Article Thesis Slide Presentation plan • Introduction to LATEX • Fonts selection Dilip Datta A Short Presentation on LATEX in 24 Hours (2/76) Plan Introduction Fonts Format Listing Tabbing Table Figure Equation Bibliography Article Thesis Slide Presentation plan • Introduction to LATEX • Fonts selection • Texts formatting Dilip Datta A Short Presentation on LATEX in 24 Hours (2/76) Plan Introduction Fonts Format Listing Tabbing Table Figure Equation Bibliography Article Thesis Slide Presentation plan • Introduction to LATEX • Fonts selection • Texts formatting • Listing items Dilip Datta A Short Presentation on LATEX in 24 Hours (2/76) Plan Introduction Fonts Format Listing Tabbing Table Figure Equation Bibliography Article Thesis Slide Presentation plan • Introduction to LATEX • Fonts selection • Texts formatting • Listing items • Tabbing items Dilip Datta A Short Presentation on LATEX
    [Show full text]
  • How to Make a Presentation with LATEX? Introduction to Beamer
    1 / 45 How to make a presentation with LATEX? Introduction to Beamer Hafida Benhidour Department of computer science King Saud University December 19, 2016 2 / 45 Contents Introduction to LATEX Introduction to Beamer 3 / 45 Introduction to LATEX I LATEXis a computer program for typesetting text and mathematical formulas. I Uses commands to create mathematical symbols. I Not a WYSIWYG program. It is a WYWIWYG (what you want is what you get) program! I The document is written as a source file using a markup language. I The final document is obtained by converting the source file (.tex file) into a pdf file. 4 / 45 Advantages of Using LATEX I Professional typesetting: best output. I It is the standard for scientific documents. I Processing mathematical (& other) symbols. I Knowledgeable and helpful user group. I Its FREE! I Platform independent. 5 / 45 Installing LATEX I Linux: 1. Install TeXLive from your package manager. 2. Install a LATEXeditor of your choice: TeXstudio, TexMaker, etc. I Windows: 1. Install MikTeX from http://miktex.org (this is the LATEXcompiler). 2. Install a LATEXeditor of your choice: TeXstudio, TeXnicCenter, etc. I Mac OS: 1. Install MacTeX (this is the LATEXcompiler for Mac). 2. Install a LATEXeditor of your choice. 6 / 45 TeXstudio 7 / 45 Structure of a LATEXDocument All latex documents have the following structure: n documentclass[...] f ... g n usepackage f ... g n b e g i n f document g ... n end f document g I Commands always begin with a backslash n: ndocumentclass, nusepackage. I Commands are case sensitive and consist of letters only.
    [Show full text]
  • Latex on Macintosh
    LaTeX on Macintosh Installing MacTeX and using TeXShop, as described on the main LaTeX page, is enough to get you started using LaTeX on a Mac. This page provides further information for experienced users. Tips for using TeXShop Forward and Inverse Search If you are working on a long document, forward and inverse searching make editing much easier. • Forward search means jumping from a point in your LaTeX source file to the corresponding line in the pdf output file. • Inverse search means jumping from a line in the pdf file back to the corresponding point in the source file. In TeXShop, forward and inverse search are easy. To do a forward search, right-click on text in the source window and choose the option "Sync". (Shortcut: Cmd-Click). Similarly, to do an inverse search, right-click in the output window and choose "Sync". Spell-checking TeXShop does spell-checking using Apple's built in dictionaries, but the results aren't ideal, since TeXShop will mark most LaTeX commands as misspellings, and this will distract you from the real misspellings in your document. Below are two ways around this problem. • Use the spell-checking program Excalibur which is included with MacTeX (in the folder / Applications/TeX). Before you start spell-checking with Excalibur, open its Preferences, and in the LaTeX section, turn on "LaTeX command parsing". Then, Excalibur will ignore LaTeX commands when spell-checking. • Install CocoAspell (already installed in the Math Lab), then go to System Preferences, and open the Spelling preference pane. Choose the last dictionary in the list (the third one labeled "English (United States)"), and check the box for "TeX/LaTeX filtering".
    [Show full text]
  • No. 1 41 Texstudio: Especially for LATEX Newbies Siep Kroonenberg
    TUGboat, Volume 37 (2016), No. 1 41 TeXstudio: Especially for LATEX newbies local TEX installation has menu entries for all three documents. Siep Kroonenberg Starting out Abstract We have a few choices for starting a new document. TeXstudio is the default editor of the T X Live in- E The File menu has items `New', which starts with a stallation at the Rijksuniversiteit Groningen. This blank document, and `New from Template', which article tries to show how TeXstudio can help new creates a new document and adds templates for a users come to grips with LAT X and what makes it a E title and abstract. good choice for a LAT X introduction. E But in this article we start a new document with Introduction the `Quick Start' entry from the Wizards menu; see figure 2. If we just click the OK button, we see the The TEX installation at our university, the Rijks- following in the edit panel: universiteit Groningen in the Netherlands, includes TeXstudio as one of three (LA)TEX editors. TeXstudio, the subject of this article, is the initial default editor. Its features make it especially suitable for first-time LATEX users: there are many GUI elements for enter- ing mathematics and LATEX code, there are buttons for one-click compiling and previewing LATEX docu- ments, and the editor gives a lot of useful feedback. TeXstudio is open source and cross-platform, and is actively being developed. This article refers Subsequently we can start entering text between to version 2.10.4. \begin{document} and \end{document}.
    [Show full text]
  • Latex in Scientific Writing and Publishing
    Why do I need LaTeX? What is LaTeX? in scientific writing and publishing Where can I get LaTeX? How can I use LaTeX? Who can help me with LaTeX? scientific publishing scientific publishing History of scientific publishing Major issues Long, long, long, long, long time ago Styles (quality and fast publishing technology) Mathematical formulas Not so long time ago Tables Graphics Cross-references Bibliography Now Many revisions … scientific publishing scientific publishing example: Phys. Rev. style Bibliography: cross-reference 1 scientific publishing scientific publishing example: equations and cross referencing example: tables scientific publishing scientific publishing and MS Word LaTeX Styles yes yes Bibliography cross-references no* yes Mathematical formulas yes** yes Formulas: cross-references yes*** yes Tables yes yes Include graphics yes yes example: figures * unless you use EndNote software ** MS equation editor has limited number of symbols and templates ***Cross-reference in Word is possible but the way is tedious scientific publishing scientific publishing LaTeX has clear advantage when • LaTeX has a very steep learning curve • You need a professionally looking text • In Latex content and style are separated • you write a paper, report or thesis that has • In LaTeX you may change style instantly more than few equations and cross-references • LaTeX has good portability (ASCII text) • You plan to edit/revise text in a way that would • LaTeX has a good control* change number of equations, references, • There is a zoo of software developed for LaTeX tables, figures, etc. • De facto standard for scientific publishing * MS Word offers a control trough format styles and templates 2 WYSIWYG vs.
    [Show full text]