Short Math Guide for LATEX
Total Page:16
File Type:pdf, Size:1020Kb
Load more
Recommended publications
-
BOONDOX Math Alphabets
BOONDOX math alphabets Michael Sharpe msharpe at ucsd dot edu The BOONDOX fonts are PostScript versions of subsets of the STIX fonts corresponding to regular and bold weights of three alphabets—calligraphic, fraktur and double struck, aka blackboard bold. Support files are provided so that they can be called up from LATEX math mode using the commands \mathcal, \mathbcal, \mathfrak, \mathbfrak, \mathbb and \mathbbb. The font family name derives from the fact that, at least in the US, the phrase “in the boondox” implies “in the stix.” The base PostScript fonts were constructed from STIXGeneral.otf and STIXGeneralBol.otf using a FontForge script, resulting in zxxrl8a.pfb % BOONDOXDoubleStruck-Regular zxxbl8a.pfb % BOONDOXDoubleStruck-Bold zxxrw8a.pfb % BOONDOXCalligraphic-Regular zxxbw8a.pfb % BOONDOXCalligraphic-Bold zxxrf8a.pfb % BOONDOXFraktur-Regular zxxbf8a.pfb % BOONDOXFraktur-Bold together with the corresponding .afm files. (The names are almost Berry conformant: the initial z warns that they break the rules, and the font id xx is completely unblessed by any authority. The remaining parts are nearly OK, except that the font lack many glyphs normally in 8a encoding, but all glyphs are in the correct slots.) Using afm2tfm, the afm files were transformed to raw tfm files (kern information discarded) zxxrl7z.tfm zxxbl7z.tfm zxxrw7z.tfm zxxbw7z.tfm zxxrf7z.tfm zxxbf7z.tfm zxxrow7z.tfm % same as zxxrw7z, less oblique zxxbow7z.tfm % same as zxxbw7z, less oblique which serve as the basis for further virtual math fonts. Finally, using FontForge scripts and manual adjustments to the metrics to suit my personal taste, produces (no pretense of using Berry names): 1 BOONDOX-r-cal.tfm BOONDOX-b-cal.tfm BOONDOX-r-calo.tfm BOONDOX-b-calo.tfm BOONDOX-r-frak.tfm BOONDOX-b-frak.tfm BOONDOX-r-ds.tfm BOONDOX-b-ds.tfm and the corresponding .vf files. -
Text — Text in Graphs
Title stata.com text — Text in graphs Description Remarks and examples Also see Description Text elements in Stata graphs, like text in the rest of Stata, can contain Unicode characters. In addition, all text elements in Stata graphs support the use of certain SMCL markup directives, or tags, to affect how they appear on the screen. SMCL, which stands for Stata Markup and Control Language and is pronounced “smickle”, is Stata’s output language, and is discussed in detail in[ P] smcl. All text output in Stata, including text in graphs, can be modified with SMCL. For example, you can italicize a word in a graph title: . scatter mpg weight, title("This is {it:italics} in a graph title") This is italics in a graph title 40 30 Mileage (mpg) 20 10 2,000 3,000 4,000 5,000 Weight (lbs.) This entry documents the features of SMCL that are unique to graphs. We recommend that you have a basic understanding of SMCL before reading this entry; see[ P] smcl. Remarks and examples stata.com Remarks are presented under the following headings: Overview Bold and italics Superscripts and subscripts Fonts, standard Fonts, advanced Greek letters and other symbols Full list of SMCL tags useful in graph text 1 2 text — Text in graphs Overview Assuming you read[ P] smcl before reading this entry, you know about the four syntaxes that SMCL tags follow. As a refresher, the syntaxes are Syntax 1: {xyz} Syntax 2: {xyz:text} Syntax 3: {xyz args} Syntax 4: {xyz args:text} Syntax 1 means “do whatever it is that {xyz} does”. -
Mathematical Symbol Recognition with Support Vector Machines
Mathematical Symbol Recognition with Support Vector Machines Christopher Malon a,∗, Seiichi Uchida b, Masakazu Suzuki a a Faculty of Mathematics, Kyushu University Hakozaki 6–10–1, Higashi-ku, Fukuoka, 812–8581 Japan b Faculty of Information Science and Electrical Engineering, Kyushu University Motooka 744, Nishi-ku, Fukuoka, 819–0395 Japan Abstract Single–character recognition of mathematical symbols poses challenges from its two- dimensional pattern, the variety of similar symbols that must be recognized dis- tinctly, the imbalance and paucity of training data available, and the impossibility of final verification through spell check. We investigate the use of support vector machines to improve the classification of InftyReader, a free system for the OCR of mathematical documents. First, we compare the performance of SVM kernels and feature definitions on pairs of letters that InftyReader usually confuses. Second, we describe a successful approach to multi–class classification with SVM, utilizing the ranking of alternatives within InftyReader’s confusion clusters. The inclusion of our technique in InftyReader reduces its misrecognition rate by 41%. Key words: Support vector machine; OCR; Mathematical document; Mathematical symbol recognition Preprint submitted to Elsevier 24 January 2008 1 Introduction Mathematics is the universal language of scientific literature, but a computer may find it easier to read the human language in which surrounding text is written. The failure of conventional OCR systems to treat mathematics has several consequences: • Readers of mathematical documents cannot automatically search for earlier occurences of a variable or operator, in tracing the notation and definitions used by a journal article. • The appearance of mathematics on the same line as text often confounds OCR treatment of surrounding words. -
GUST E-Foundry Workbench
OTF math fonts GUST e-foundry’s workbench Breskens, The Netherlands, 8–12X2012 Bogusław Jackowski WARNING Describing the whole process of an OTF math font creation in details would be as dull as ditchwater. © 2010–2012 *Chibi-Liam Breskens, 8–12X2012 B. Jackowski GUST e-foundry workbench... WARNING Describing the whole process of an OTF math font creation in details would be as dull as ditchwater. Therefore, I’ll give just a few less or more representative examples in hope that it will sufficiently illustrate the TEXnique we apply in the GUST e-foundry. © 2010–2012 *Chibi-Liam Breskens, 8–12X2012 B. Jackowski GUST e-foundry workbench... OTF Math font structure According to “Unicode Support for Mathematics” (Draft Unicode Technical Report #25, by Barbara Beeton, Asmus Freytag, and Murray Sargent III) and a confidential Microsoft® document “The MATH table and OpenType Features for Math Processing”, an OTF math font should contain: Breskens, 8–12X2012 B. Jackowski GUST e-foundry workbench... OTF Math font structure According to “Unicode Support for Mathematics” (Draft Unicode Technical Report #25, by Barbara Beeton, Asmus Freytag, and Murray Sargent III) and a confidential Microsoft® document “The MATH table and OpenType Features for Math Processing”, an OTF math font should contain: glyphs falling into several groups of different kind: alphabetic glyphs, subdivided further into various type of alphabets – sans serif, calligraphic, double struck (aka blackboard bold), fraktur, and... typewriter (monospace), some of them including Greek letters -
Nonleaf Patterns in Trees: Protected Nodes and Fine Numbers
Nonleaf Patterns in Trees: Protected Nodes and Fine Numbers Nachum Dershowitz∗ School of Computer Science Tel Aviv University Ramat Aviv Israel [email protected] The barren and fertile fronds [of the Sensitive Fern] are extremely unlike, the former being leaf-like, very sensitive to frost, quickly wilting when plucked, and much taller and more common than the latter which are non-leaf-like and remain erect, though drying up, through the winter. —Transactions of the Royal Society of Canada (1884) Abstract A closed-form formula is derived for the number of occurrences of matches of a multiset of patterns among all ordered (plane-planted) trees with a given number of edges. A pattern looks like a tree, with internal nodes and leaves, but also contain components that match subtrees or sequences of subtrees. This result extends previous versatile tree-pattern enumeration formulæ to incorporate components that are only allowed to match nonleaf subtrees and provides enumerations of trees by the number of protected (shortest outgoing path has two or more edges) or unprotected nodes. 1 Tree Patterns One routinely asks how often certain patterns occur among a set of combinatorial objects, such as trees. Here, we concern ourselves with patterns in ordered (plane-planted) trees, 1 2n which are counted by the Catalan numbers, Cn = n+1 n , sequence A000108 in Sloane’s Encyclopedia of Integer Sequences [17]. Lattice (Dyck) paths—which may not dip below the abscissa, and very many other interesting objects (including full binary trees), are their ∗Corresponding author. 1 f g ♦y h ♦w ♦x k ♦z Figure 1: The 7-edge 4-leaf tree hhhihiihihhhiiii with labeled nodes for reference. -
Formal Aspects of Computing: Latex2ε Guide for Authors
Under consideration for publication in Formal Aspects of Computing Formal Aspects of Computing: LATEX 2ε Guide for Authors Mark Reed1 and Christiane Notarmarco2 1Electronic Products and Composition Group, Cambridge University Press, Cambridge, 2Springer-Verlag London Limited, Godalming, Surrey, UK Abstract. This guide is for authors who are preparing papers for the Formal Aspects of Computing journal using the LATEX 2ε document-preparation system and the Formal Aspects of Computing class file (fac.cls). Keywords: LATEX 2ε; Class file; fac.cls; User guide 1. Introduction In addition to the standard submission of hardcopy from authors, Formal Aspects of Computing now accepts machine-readable forms of papers in LATEX 2ε. The layout design for the Formal Aspects of Computing journal has been implemented as a LATEX 2ε class file, based on the article class as discussed in the LATEX manual (2nd edition) [Lam94]. Commands which differ from the standard LATEX interface, or which are provided in addition to the standard interface, are explained in this guide (which is not a substitute for the LATEX manual itself). Note that the final printed version of papers will use the Monotype Times typeface rather than the Computer Modern available to authors. For this reason line and page breaks will change and authors should not insert hard breaks in their text. Authors planning to submit their papers in LATEX 2ε are advised to use fac.cls as early as possible in the creation of their files. 1.1. Introduction to LATEX LATEX is constructed as a series of macros on top of the TEX typesetting program. -
Pxtxalfa Math Alphabets Derived from Pxfonts and Txfonts
PXTXALFA MATH ALPHABETS DERIVED FROM PXFONTS AND TXFONTS MICHAEL SHARPE 1. Overview The txfonts and pxfonts packages, both created by Young Ryu but no longer under active development, provide fairly complete typesetting environments based on the Times and Palatino text font families respectively. Other packages (eg, txgreeks, providing the option of upright or slanted Greek letters) extend the range of coverage of its macros. These packages contain some interesting math alphabets. The script alphabet glyphs (upper case only) seem to be identical to those in Mathematica5, but the Fraktur font common to both packages is. as far as I can tell, distinct from the Fraktur of other major math font packages, and worthy of note. Blackboard bold comes in two different versions in txfonts (openface and double-struck) and in yet another double-struck version in pxfonts. The double-struck alphabets are similar in overall style to those in mathpazo and Mathematica7, with stems a mix of double-struck, regular weight and solid bold. The plan here is to provide virtual fonts for all these alphabets, plus packages that allow them to be used in stand-alone fashion and as part of the mathalfa package. The package contains the following files: those beginning with the letter ‘r’ are ‘raw’ fonts, not suitable for direct use, but sering as building blocks for some virtual math fonts. Raw fonts (.tfm only), resolved in map file: rtxmia Regular weight raw double-struck from txmia. pxtx.map Map file for the above, resolving rtmia to a re-encoded .pfb file. Virtual fonts (.tfm and .vf): txr-cal Regular weight calligraphic from txfonts and pxfonts. -
THE MATHALPHA, AKA MATHALFA PACKAGE the Math Alphabets
THE MATHALPHA, AKA MATHALFA PACKAGE MICHAEL SHARPE The math alphabets normally addressed via the macros \mathcal, \mathbb, \mathfrak and \mathscr are in a number of cases not well-adapted to the LATEX math font structure. Some suffer from one or more of the following defects: • font sizes are locked into a sequence that was appropriate for metafont{generated rather than scalable fonts; • there is no option in the loading package to enable scaling; • the font metrics are designed for text rather than math mode, leading to awkward spacing, subscript placement and accent placement when used for the latter; • the means of selecting a set of math alphabets varies from package to package. The goal of this package is to provide remedies for the above, where possible. This means, in effect, providing virtual fonts with my personal effort at correcting the metric issues, rewriting the font-loading macros usually found in a .sty and/or .fd files to admit a scale factor in all cases, and providing a .sty file which is extensible and from which any such math alphabet may be specified using a standard recipe. For example, the following fonts are potentially suitable as targets for \mathcal or \mathscr and are either included as part of TEXLive 2011, as free downloads from CTAN or other free sources, or from commercial sites. cm % Computer Modern Math Italic (cmsy) euler % euscript rsfs % Ralph Smith Formal Script---heavily sloped rsfso % based on rsfs, much less sloped lucida % From Lucida New Math (commercial) mathpi % Adobe Mathematical Pi or clones thereof -
Math Symbol Tables
APPENDIX A Math symbol tables A.1 Hebrew and Greek letters Hebrew letters Type Typeset \aleph ℵ \beth ℶ \daleth ℸ \gimel ℷ © Springer International Publishing AG 2016 481 G. Grätzer, More Math Into LATEX, DOI 10.1007/978-3-319-23796-1 482 Appendix A Math symbol tables Greek letters Lowercase Type Typeset Type Typeset Type Typeset \alpha \iota \sigma \beta \kappa \tau \gamma \lambda \upsilon \delta \mu \phi \epsilon \nu \chi \zeta \xi \psi \eta \pi \omega \theta \rho \varepsilon \varpi \varsigma \vartheta \varrho \varphi \digamma ϝ \varkappa Uppercase Type Typeset Type Typeset Type Typeset \Gamma Γ \Xi Ξ \Phi Φ \Delta Δ \Pi Π \Psi Ψ \Theta Θ \Sigma Σ \Omega Ω \Lambda Λ \Upsilon Υ \varGamma \varXi \varPhi \varDelta \varPi \varPsi \varTheta \varSigma \varOmega \varLambda \varUpsilon A.2 Binary relations 483 A.2 Binary relations Type Typeset Type Typeset < < > > = = : ∶ \in ∈ \ni or \owns ∋ \leq or \le ≤ \geq or \ge ≥ \ll ≪ \gg ≫ \prec ≺ \succ ≻ \preceq ⪯ \succeq ⪰ \sim ∼ \approx ≈ \simeq ≃ \cong ≅ \equiv ≡ \doteq ≐ \subset ⊂ \supset ⊃ \subseteq ⊆ \supseteq ⊇ \sqsubseteq ⊑ \sqsupseteq ⊒ \smile ⌣ \frown ⌢ \perp ⟂ \models ⊧ \mid ∣ \parallel ∥ \vdash ⊢ \dashv ⊣ \propto ∝ \asymp ≍ \bowtie ⋈ \sqsubset ⊏ \sqsupset ⊐ \Join ⨝ Note the \colon command used in ∶ → 2, typed as f \colon x \to x^2 484 Appendix A Math symbol tables More binary relations Type Typeset Type Typeset \leqq ≦ \geqq ≧ \leqslant ⩽ \geqslant ⩾ \eqslantless ⪕ \eqslantgtr ⪖ \lesssim ≲ \gtrsim ≳ \lessapprox ⪅ \gtrapprox ⪆ \approxeq ≊ \lessdot -
The Comprehensive LATEX Symbol List
The Comprehensive LATEX Symbol List Scott Pakin <[email protected]>∗ 22 September 2005 Abstract This document lists 3300 symbols and the corresponding LATEX commands that produce them. Some of these symbols are guaranteed to be available in every LATEX 2ε system; others require fonts and packages that may not accompany a given distribution and that therefore need to be installed. All of the fonts and packages used to prepare this document—as well as this document itself—are freely available from the Comprehensive TEX Archive Network (http://www.ctan.org/). Contents 1 Introduction 6 1.1 Document Usage . 6 1.2 Frequently Requested Symbols . 6 2 Body-text symbols 7 Table 1: LATEX 2ε Escapable “Special” Characters . 7 Table 2: Predefined LATEX 2ε Text-mode Commands . 7 Table 3: LATEX 2ε Commands Defined to Work in Both Math and Text Mode . 7 Table 4: AMS Commands Defined to Work in Both Math and Text Mode . 7 Table 5: Non-ASCII Letters (Excluding Accented Letters) . 8 Table 6: Letters Used to Typeset African Languages . 8 Table 7: Letters Used to Typeset Vietnamese . 8 Table 8: Punctuation Marks Not Found in OT1 . 8 Table 9: pifont Decorative Punctuation Marks . 8 Table 10: tipa Phonetic Symbols . 9 Table 11: tipx Phonetic Symbols . 10 Table 13: wsuipa Phonetic Symbols . 10 Table 14: wasysym Phonetic Symbols . 11 Table 15: phonetic Phonetic Symbols . 11 Table 16: t4phonet Phonetic Symbols . 12 Table 17: semtrans Transliteration Symbols . 12 Table 18: Text-mode Accents . 12 Table 19: tipa Text-mode Accents . 12 Table 20: extraipa Text-mode Accents . -
LATEX Math Mode
LATEX Math Mode RSI 2007 Staff LATEX has a special mode for formatting mathematical formulas. This mode allows the use of: • Subscripts and superscripts • Greek letters and various special symbols Example of text that uses math mode: The CH3COOH was irradiated with α-rays while at a temperature of 350◦C. 2 Math mode comes in two flavors, text and display. Text math mode allows you to put mathematical expressions R ∞ (such as 0 x dx) directly into the running text. Display math mode seperates the expression from the text: Z ∞ x dx. 0 3 To start text math mode, one can use either of: \begin{math} or $ To end math mode, use the corresponding one of: \end{math} or $ It is important to make sure that the way you start math mode matches the way you started it. For example, \begin{math} math stuff $ will not work. 4 For numbered equations: \begin{equation} ... \end{equation} For unnumbered equations: \begin{displaymath} ... \end{displaymath} or $$ ... $$ 5 To get numbers in math mode, just type them as you usually would. The same goes for any of the symbols =, +, −, <, >, (, ), [, ], :, ?, /. To display a variable, just type it in. It will appear italicized, which is correct. Don’t use math mode just to italicize text, though. To properly present mathematical functions, like sin, cos, and lim, use the appropriate command (eg \cos). This will typeset the function names in non-italic letters with correct spacing. Spaces are completely ignored in math mode except when they end command names. 6 Math mode is often used to typeset various useful symbols. -
Adobe Framemaker 9 Character Sets
ADOBE®® FRAMEMAKER 9 Character Sets © 2008 Adobe Systems Incorporated. All rights reserved. Adobe® FrameMaker® 9 Character Sets for Windows® If this guide is distributed with software that includes an end-user agreement, this guide, as well as the software described in it, is furnished under license and may be used or copied only in accordance with the terms of such license. Except as permitted by any such license, no part of this guide may be reproduced, stored in a retrieval system, or trans- mitted, in any form or by any means, electronic, mechanical, recording, or otherwise, without the prior written permission of Adobe Systems Incorporated. Please note that the content in this guide is protected under copyright law even if it is not distributed with software that includes an end-user license agreement. The content of this guide is furnished for informational use only, is subject to change without notice, and should not be construed as a commitment by Adobe Systems Incorpo- rated. Adobe Systems Incorporated assumes no responsibility or liability for any errors or inaccuracies that may appear in the informational content contained in this guide. Please remember that existing artwork or images that you may want to include in your project may be protected under copyright law. The unauthorized incorporation of such material into your new work could be a violation of the rights of the copyright owner. Please be sure to obtain any permission required from the copyright owner. Any references to company names in sample templates are for demonstration purposes only and are not intended to refer to any actual organization.