WordTeX. Tom Wildenhain

Similar documents
Introduction to MCS 220 and L A TEX

Teacher Activity: page 1/9 Mathematical Expressions in Microsoft Word

Word-to-L A TEX specification

L A T E X crash course

Math 235: Introduction to LaTeX

Math 395 Homework #1 Due Wednesday, April 12

Introduction to L A TEX for MCS-236

LATEX Primer. 1 Introduction (Read Me)

Homework # You ll want to use some LaTeX editor to edit and compile your.tex files

Script for Interview about LATEX and Friends

Grande Prairie Regional College

APPLIED COMPUTING 1P01 Fluency with Technology

COMP496/901: Academic Presentation and Writing Skills Using LaTeX

Guide to using L A TEX

My Mathematical Thesis

ACCESSIBLE MATH IN DESIRE2LEARN

Why learning L A TEX is worth the effort

Using L A TEX. A numbered list is just that a collection of items sorted and labeled by number.

How to Create a Document Template with Microsoft Word

Acrobat PDF from TEX

Interdisciplinary Journal of Best Practices in Global Development Final Manuscript Preparation Guidelines

How to Make Graphs with Excel 2007

Electronic Production Guidelines

Karlen Communications Importing/Exporting Styles in Word. Karen McCall, M.Ed.

TABLE OF CONTENTS PART I: BASIC MICROSOFT WORD TOOLS... 1 PAGE BREAKS... 1 SECTION BREAKS... 3 STYLES... 6 TABLE OF CONTENTS... 8

Written & Oral Presentation: Computer Tools

An introduction to L A TEX for students

Getting Acquainted with Office 2007 Table of Contents

Format your assignment

Full file at Excel Chapter 2 - Formulas, Functions, Formatting, and Web Queries

The MathType Window. The picture below shows MathType with all parts of its toolbar visible: Small bar. Tabs. Ruler. Selection.

What is LaTeX. Is a document markup language and document preparation system for the TeX typesetting program

MLA Format. Example and Formatting Instructions. Prepared by the Clarendon College English Department and Computer Science Department

Lecture 5 of AMS 200 LaTeX Typesetting, Writing and

Comparative Assessment

Formatting with LaTeX

Introduction to Scientific Typesetting Lesson 1: Getting Started

Word Template Instructions

Content App Guide. Blackboard Web Community Manager

Grande Prairie Regional College

Getting started with Latex

2009 Microsoft Corporation. All rights reserved. Page 1

TITLE OF THE PAPER. PLEASE REPLACE ABOVE XX WITH THE REFERENCE NUMBER OF YOUR PAPER. CENTERED, 14 POINT, CAPITAL BOLD, "TITLE" STYLE

Appendix A Microsoft Office Specialist exam objectives

Creating Accessible Microsoft Word 2003 Documents Table of Contents

Fundamentals of Programming Session 4

An introduction to plotting data

TeXnicCenter v1 Beta Frank Van Puyvlde ICT for Research K.U.Leuven

Creating Word Outlines from Compendium on a Mac

Microsoft Office Word 2010

Setting Up Heading Numbers with a Multilevel List

L A TEX Gotchas - Common Pitfalls and Debugging

An Introduction to L A T E X

Microsoft Office Word 2016 for Mac

Homework # (Latex Handout) by Laura Parkinson

Introduction to typesetting with L A TEX

L A TEX Primer. Randall R. Holmes. August 17, 2018

Once you define a new command, you can try it out by entering the command in IDLE:

Learn to use the vector and translation tools in GX.

Advanced Topics in Curricular Accessibility: Strategies for Math and Science Accessibility

Fall 2017: Numerical Methods I Assignment 1 (due Sep. 21, 2017)

Spreadsheets Microsoft Office Button Ribbon

Welcome to AEM Part Six: Accessible Microsoft Office Word Document Design.

7 and Memos Part I

Lesson 2 Quick Tour and Features

Title. Author 1 Author 2 Author 3. January 23, 2015

Curriculum Catalog

Word Tutorial 4 Enhancing Page Layout and Design

Opening Microsoft Word. 1. Double click the Word 2016 icon on the desktop to launch word.

In this course we will go over the basic functions of Microsoft Word, more advanced functions are omitted from this class and walkthrough.

The Transition Word 2003 to Word 2007

Formatting your Research Paper with Typeset

New Perspectives on Microsoft Word Module 4: Enhancing Page Layout and Design

The L Y X Tutorial. by the L Y X Team 1. December 2, them to the LYX Documentation mailing list:

Setting Up a Paper in APA Style Using Microsoft Word 2008 for MACs

My LaTeX Document. July 7, Introduction 2

Typesetting with TEX

Word Processing for a Thesis, based on UEA instructions

IQReport Documentation

A very brief introduction to L A TEX and beamer


Using Dreamweaver CC. Logo. 4 Creating a Template. Page Heading. Page content in this area. About Us Gallery Ordering Contact Us Links

InDesign CS4 is the sixth version of Adobe s flagship publishing tool,

Instructions/template for preparing your NOLTA manuscript (Ver. 3.02, Aug. 28, 2015)

LaTeX A Tutorial. Mohsen Alimomeni, 2010

Setting Up a Paper in APA Style Using Microsoft Word 2007

Software Development & Education Center. Microsoft Office (Microsoft Word 2010)

Accessibility 101. Things to Consider. Text Documents & Presentations: Word, PDF, PowerPoint, Excel, and General D2L Accessibility Guidelines.

Text and Lists Use Styles. What Are Styles?

Using MathType. The MathType Window. The Bars

Report Writing with Lyx

Life After Word An Introduction to Microsoft Word The University of Iowa ITS Campus Technology Services Iowa City, IA 52242

Preparing Z specifications using LaTeX markup

Animation and style sheets

Universal Design for Learning Tips

Intro to LATEX I. Aaron Erlich POLS/CSSS 510, Why LATEX? Programming Document Structure Floats Tables Lists Math

Simple Math. Adam Dishaw 2011 September 21. Suppose you want to include some math in your documents. Just follow these basics steps:

PowerPoint Module 2: Modifying a Presentation

Creating Accessible Word Documents

Contents. Jairo Pava COMS W4115 June 28, 2013 LEARN: Language Reference Manual

Transcription:

WordTeX A WYSIPCTWOTCG 1 Typesetting Tool Tom Wildenhain Abstract WordTEX is a plugin for Microsoft Word that attempts the impossible: creating documents that appear to be written in L A TEX while irritating people who like L A TEX. It is both stupidly impractical and surprisingly useful, offering an editing experience that is initially more enjoyable than L A TEX and Word but is asymptotically more complicated than either. In this paper, I will explain the results of my WordTEX research. I will occasionally include content that has no relevance to the paper and is simply used to showcase how WordTEX renders certain elements. (x + 1) 2 = x 2 + 2x + 1. 1 Introduction L A TEX is a popular typesetting tool for creating complicated, consistentlyformatted documents. Many students and scientists use L A TEX because the finished documents have a clean, professional look that is hard to achieve in standard word processors. [citation needed] However, these high-quality results come at the cost of a steep learning curve, potentially tedious editing experience, and sudden anxiety when homework assignments won t compile before a deadline. Microsoft Word is a WYSIWYG editor, enabling users to have confidence in the appearance of their documents throughout the editing process. In fact, (real) research shows that Word novices are more productive and 1 What You See Is Pretty Close To What Other Tools Can Get

make fewer errors than L A TEX experts when creating certain types of documents. 2 Figure 1: Word users are more productive than L A TEX users for some document types. (Knauff & Nejasmic 2014) However, when authoring more complicated documents, Word users spend much of their time clicking through menus and fiddling with formatting, leading to inconsistent document structure. WordTEX aims to combine the strengths of Word and L A TEX, creating highquality documents in real time, while annoying both Word and L A TEX fans. It is particularly useful for typesetting homework assignments, although students should be warned that professors may warn students that using L A TEX is an important skill that will help you in the long term. 2 The WordTEX Template The main component of WordTEX is the WordTeX.dot template file. The template includes a set of styles that closely approximate the appearance of L A TEX. The template is designed for Microsoft Office Word 2016 for Windows (or Office 365 ProPlus) and might not work correctly in other versions of Word. 3 2 Knauff, M., & Nejasmic, J. (2014). An Efficiency Comparison of Document Preparation Systems Used in Academic Research and Development. 3 I am not yet sponsored by Microsoft.

2.1 Fonts WordTEX users should install the LM Roman fonts and Latin Modern Math font (published by GUST) before using the template. 2.2 Styles WordTEX uses styles to maintain a consistent look throughout the document. Styles are provided for the title, subtitle, inline code, headings, and other common L A TEX elements (Figure 2). Figure 2: The style gallery A user can apply a style by selecting it from the style bar or by typing ctrl+shift+s and then the name of the style (the latter is much faster). Typing ctrl+shift+z clears character styles (which are applied within a line). Switching to the Normal style clears paragraph styles. Heading styles are automatically numbered, and styles throughout the document are updated if a style is modified. 2.3 Math Math in WordTEX uses the Latin Modern Math font. To enter or exit math mode a user can type alt+=. Latex commands like \sum and \subseteq are supported and render in real time. Word uses parentheses for grouping instead of curly braces. For example, \sum_(i=1)^(10) i=55 renders as: 2.3.1 Alignment 10 i =1 = 55 A set of aligned equations can be created by selecting align at = from the equation context menu.

Let a = b 0. 0 = a b = a 2 ab = a 2 b 2 ab + b 2 = (a + b)(a b) b(a b) = a + b b = 2b b = 2 1 = 1 2.3.2 Functions Functions like sin(x) and log 2 (x) are automatically written without italics if they appear in the recognized function list. The equation options dialog (accessible from the conversions section) can be used to add more functions to the list. 2.3.3 Blackboard Bold Blackboard bold letters like R and N can be inserted by typing \doubler or \doublen. They unfortunately look different from the L A TEX Blackboard Bold font, since they use glyphs from the Latin Modern Math font. Future researchers might be able to edit the font to include the \mathbb glyphs. The commands for these symbols can be shortened (see the section on macros). 2.4 Proofs Proofs are started with the word proof set in the proof character style. To end a proof, a user can type tab and then \qed to insert a symbol. Proof. This is a proof. It is written in WordTEX. WordTEX can make proofs. 2.5 Code def print_code_instructions(): assert includes_styles(inline and block_code) # Syntax highlighting support is planned and will # hopefully be released soon.

2.6 Macros L A TEX includes a powerful macro system allows users to define custom commands. Word s AutoCorrect is somewhat similar, but only performs basic text replacement. For example, you can add a math AutoCorrect entry that replaces \R with R, but AutoCorrect entries can t take arguments. Despite these limitations, AutoCorrect is in fact exactly as powerful as L A TEX macros, as they are both Turing Complete. 4 We can easily simulate a Turing Machine using AutoCorrect entries by representing the state as a string that reads characters by adding different entries for every combination of adjacent characters. $ \statea 1 0 1 1 0 0 1 1 0 1 $ $ \stateb 0 1 1 0 0 1 1 0 1 $ $ 0 1 1 0 0 1 1 \stateb 0 1 $ $ 0 1 1 0 0 1 1 0 \statec $ $ 0 1 1 0 0 \statec 1 1 0 $ Figure 3: An example computation trace. $ marks the ends of the input. Unfortunately, AutoCorrect macros only evaluate once from left to right, so the Turing Machine will stop running if it ever moves to the left. To continue evaluation, a user can repeatedly press the Convert button in the Equation Tools tab. Be warned: if the Turing Machine moves to the right without halting, evaluation will not stop, and Word will freeze. I do not know if Microsoft is aware of this issue. 2.7 Printing While Word has a built-in export to PDF option, it unfortunately does not embed otf fonts (like the Latin Modern fonts). The best option is to print to the Microsoft Print to PDF printer, which will embed the fonts. 4 https://www.sharelatex.com/blog/2012/04/24/latex-is-more-powerful-than-you-think.html

3 Conversions While WordTEX is superior to L A TEX in many ways, sometimes L A TEX source is required for a conference or assignment. 5 Thanks to Pandoc, WordTEX files can be converted to L A TEX source code. 6 Mathematical expressions ( 4 x dx = 8), inline code, and most formatting is converted. In fact, 0 here s the source for this paragraph: \hypertarget{conversions}{% \section{conversions}\label{conversions}} While WordTeX is superior to LaTeX in many ways, sometimes LaTeX source is required for a conference or assignment.\footnote{fortunately, SIGBOVIK does not have such ridiculous restrictions.} Thanks to Pandoc, WordTeX files can be converted to LaTeX source code. \footnote{\url{https://pandoc.org/}} Mathematical expressions (\(\int_{0}^{4}xdx = 8\)), \texttt{inline\ code}, and most \emph{formatting} is converted. In fact, here's the source for this paragraph: The WordTEX plugin adds Copy as LaTeX and Paste From LaTeX buttons to Word. They use Pandoc to convert between formats in real time. The conversion isn t perfect, but is fairly close. 4 Similarity to LATEX 4.1 Experiment I conducted a double-blind randomized study to determine whether documents typeset using L A TEX and WordTEX are distinguishable (Fig. 4). The test subject was blindfolded, and the experimenter (also blindfolded) told her to write L or W on each paper she believed to be a L A TEX or WordTEX document, respectively. Data was collected until the results supported the hypothesis that L A TEX and WordTEX are indistinguishable. 5 Fortunately, SIGBOVIK does not have such ridiculous restrictions. 6 https://pandoc.org/

Figure 4: Experimental setup 4.2 Results The papers were misidentified most of the time. L A TEX WordTEX Identified as L A TEX 16 18 Identified as WordTEX 18 16 It is clear from the following chart that the red side is bigger than the blue side (p < 0.5). 36 32 Correct Incorrect

4.3 Conclusions Running a χ 2 test, the p-value is 0.628, which is not significant. Therefore, documents typeset in L A TEX do not appear to be significantly different from those typeset in WordTEX. 5 Summary WordTEX is a typesetting system that supports the basic functionality of L A TEX while utilizing the editing convenience of Word. Word s Turingcomplete macros ensure that WordTEX is just as powerful as L A TEX (for questionable definitions of powerful ). The WordTEX plugin allows for easy conversion between WordTEX and L A TEX. Experimental results suggest that WordTEX and L A TEX documents are indistinguishable. In light of these results, I encourage all scientists, students, and professors to abandon L A TEX immediately and use WordTEX for future work.