The Unknown Picture Environment

Total Page:16

File Type:pdf, Size:1020Kb

The Unknown Picture Environment The unknown picture environment Claudio Beccari Abstract handbook announces the extensions and discusses the eliminated drawbacks; these extensions were The old picture environment, introduced by Leslie eventually realized only in 2003 by Gäßlein and Lamport into the LAT X kernel almost 20 years ago, E Niepraschk, (Gäßlein et al., 2009). In 2004 the appears to be neglected in favor of more modern same authors released a stable version. In 2009, and powerful LAT X packages that eliminate all E with the contribution of the third author Tkadlec, drawbacks of the original environment. Neverthe- they released an enhanced versions that added less it is still being used behind the scenes by a quite a few new commands that substantially ex- number of other packages. Lamport announced tend the picture environment functionality. But, an extension in 1994 that should have removed except the latest additions of the year 2009, every- all the limitations of the original environment; in thing else was already documented by Lamport in 2003 appeared the first version of this extension, in his handbook second edition. 2004 it was released the first stable version; in 2009 Not longer than a few days ago a forum partici- it was actually expanded to new functionalities. pant asked how he could draw a square wave and Nowadays the picture environment can perform a saw tooth wave of suitable size for setting them as most simple drawing programs do, but it has in line with his text: and . special features that make it invaluable. The whole thing required to produce two sim- ple commands by resorting to the recent pict2e Sommario extension package new commands: L’ambiente picture, introdotto da Leslie Lamport \newcommand*\sqwave[1][0.125ex]{{% nel nucleo di LATEX quasi 20 anni fa, sembra essere \unitlength=#1\relax trascurato a favore di pacchetti LATEX più moderni \picture(20,10) e più potenti che eliminano tutti gli inconvenien- \polyline(0,0)(6.5,0)(6.5,15)(13,15)% ti della versione originale. Tuttavia esso è ancora (13,0)(19.5,0) usato oggigiorno dietro le quinte da numerosi altri \endpicture}} pacchetti. Nel 1994 Lamport annunciò un pacchet- to di estensione che avrebbe dovuto rimuovere ogni \newcommand*\sawtooth[1][0.125ex]{{% inconveniente; solo nel 2003 apparve una prima \unitlength=#1\relax versione; nel 2004 questa estensione divenne sta- \picture(20,10) bile; e nel 2009 essa è stata arricchita di nuove \polyline(0,0)(6.5,0)(6.5,15)(13,0)% funzionalità. Oggi l’ambiente picture si comporta (19.5,0) come qualsiasi altro semplice programma di dise- \endpicture}} gno, ma presenta alcune particolarità uniche che lo rendono insostituibile. Most of the time suggestions are given by and to the forum participants to use external drawing 1 Introduction programs; or to use the sophisticated PSTricks or TikZ packages. The former solution is generally to The plain TEX, as described in the TEXbook, be avoided, because if some lettering is needed, it (Knuth, 1990), contained a simple way to draw requires more work to use the same fonts as those simple graphics with tex; when LATEX was first used in the document. The latter two packages are published in 1984, it contained an environment really capable of doing marvellous and complicated suitable for relatively complex graphics; Lamport’s drawings, but require a long documentation time handbook, (Lamport, 1994) described its work- and a steep learning curve. ings and commands. But all this seems to be fallen But there is a unique feature to the picture en- in complete oblivion. vironment: it can produce drawings of zero width Most users of LATEX related forums keep asking and/or height. This special feature makes them pre- questions such as “How can I produce such and cious for packages such as eso-pic,(Niepraschk, such symbol”; I keep answering “Use the picture 2010), crop,(Franz, 2003), layout,(McPherson, environment”. Apparently nobody follows my sug- 2000), layouts,(Wilson e Robertson, 2009), and gestions, which of course they are free not to; but others. These packages draw things on the page they would save time if they spent no more than that do not require any external package, and 15 minutes in reading the environment description therefore don’t have any dependency; these draw- on Lamport’s handbook; the second edition of this ings occupy no space, although they have a specific 57 Claudio Beccari ArsTEXnica Nº 11, Aprile 2011 position on the page; their contents reach whatever format became available; some drawing packages point on the page, as background images or marks (again curves) exploited the \special command that do not interfere with the positioning of other in order to write on the output file raw PostScript page elements. drawing commands, so that the actual action of In particular eso-pic (and similar packages for drawing was demanded on the screen or printer setting watermarks) and crop exploit this function- driver. Nevertheless powerful extensions in this ality exactly for setting a background picture or directions, such as PSTricks appeared much later. the crop marks in the correct positions without Drawing with external programs and importing interfering with the other elements of the page. the resulting artwork was therefore a necessity, but At the same time within the picture environment not an easy task. it is possible to use the cubic Bézier curves and to Things evolved in the right direction when per- draw polygons, arcs and sectors, oval frames whose sonal computers, having become the universal com- corner curvature can be freely specified, white or plement of any person needing to write anything, filled circles of any dimension. The \polyline started having a more user friendly interface, larger macro used in the above simple examples makes RAMs, larger hard disks, and better programs, the it very easy to draw polylines with any number of TEX system included. The nineties, besides the corners and any segment slope, to the point that important passage from TEX2.x to TEX3.0, gave if the nodes are sufficiently close, it is possible to us LATEX 2ε, PostScript fonts, and the drawing in- draw “smooth” curves whose point may be calcu- strument METAPOST. This program used more lated with any number-crunching personal or main or less the same philosophy that led Knuth to frame computer. develop METAFONT, in order to draw the TEX system default fonts; METAPOST produced a sim- 2 In detail plified output PostScript code that was understood also by the new born typesetting program pdftex. Everybody can agree that the original picture en- METAPOST was, and still is, fully compatible with vironment, created by Lamport with its very first the rest of the TEX system typesetting engines, A version of LTEX, was pretty rudimentary but there so that all the TEX and LATEX features could be was practically nothing else to use in its place. The used for putting any lettering on the METAPOST straight lines could have slopes that were ratios of output files. relatively prime integer numbers not exceeding 6 Meanwhile LATEX went on with its small draw- in absolute value. For vectors the limitation was ing environment, without exploiting the new pos- even stricter; the slopes could not be specified with sibilities with the PostScript format and the PDF integer numbers larger than 4 in absolute value. portable document format, until Gäßlein and Why there were such strange limitations? because Niepraschk wrote the picture extension announced straight lines were made up through the juxtaposi- by Lamport some ten years before. tion of small segments 10pt ( 3mm) long taken ≈ Let see what are the enhancements introduced by from a special font; this same special font contained the extension realized by Gäßlein and Niepraschk; also the vector arrow tips that occupied a large part of the available positions; and, remember, at 1. First of all the enhancements rely on the that time the typesetting engine could deal only drivers that are being used to display or to with 128-glyph fonts, so that the available short print the document. More precisely when the segments and arrow tips, plus a selection of closed latex program is used, the \special com- and filled circles and/or quarter circles required mands to the driver contain only PostScript strict limitations on the drawing performances. language commands; this implies a transforma- Patient programmers made up extension pack- tion of the resulting DVI file into PostScript ages such as curves,(Maclaine-cross, 2008), that one by means of dvips, and possibly a second could overcome such limitations by drawing lines transformation to the PDF format by means of any slope and circles of any diameter by juxta- of ps2pdf . On the opposite, if the document is processed with pdflatex, then the \special posing an “infinity” of small dots. For plain TEX there existed another package, PicTeX,(Wichura, commands contain only the PDF language 1987), that with a suitable interface could work commands. Therefore the extension is fully compatible with the typical output formats also with LATEX. That package performed very well on large mainframes with large memory capabil- provided by the most popular typesetting en- ities, but worked very poorly on the desktops of gines; but this performance is fully automatic that age, the eighties, when a 20MiB hard disk was and users need not bother about these details. a luxury and a 640KiB RAM was almost the max- 2. The output file size very often is smaller imum available. These packages mostly saturated since the actual drawing computations are the RAM and drawing was virtually impossible on performed by the suitable drivers. personal computers. Some progress was made when the PostScript 3.
Recommended publications
  • A Practical Guide to LATEX Tips and Tricks
    Luca Merciadri A Practical Guide to LATEX Tips and Tricks October 7, 2011 This page intentionally left blank. To all LATEX lovers who gave me the opportunity to learn a new way of not only writing things, but thinking them ...Claudio Beccari, Karl Berry, David Carlisle, Robin Fairbairns, Enrico Gregorio, Stefan Kottwitz, Frank Mittelbach, Martin M¨unch, Heiko Oberdiek, Chris Rowley, Marc van Dongen, Joseph Wright, . This page intentionally left blank. Contents Part I Standard Documents 1 Major Tricks .............................................. 7 1.1 Allowing ............................................... 10 1.1.1 Linebreaks After Comma in Math Mode.............. 10 1.2 Avoiding ............................................... 11 1.2.1 Erroneous Logic Formulae .......................... 11 1.2.2 Erroneous References for Floats ..................... 12 1.3 Counting ............................................... 14 1.3.1 Introduction ...................................... 14 1.3.2 Equations For an Appendix ......................... 16 1.3.3 Examples ........................................ 16 1.3.4 Rows In Tables ................................... 16 1.4 Creating ............................................... 17 1.4.1 Counters ......................................... 17 1.4.2 Enumerate Lists With a Star ....................... 17 1.4.3 Math Math Operators ............................. 18 1.4.4 Math Operators ................................... 19 1.4.5 New Abstract Environments ........................ 20 1.4.6 Quotation Marks Using
    [Show full text]
  • Latex Guide – Installed Style Files for EM/PM
    LaTeX Guide – Installed Style files for EM/PM (Updated May 2021) Aries Systems Corporation 50 High Street, Suite 21 • North Andover, MA 01845 PH +1 978.975.7570 CONFIDENTIAL AND PROPRIETARY Copyright © 2021, Aries Systems Corporation This document is the confidential and proprietary information of Aries Systems Corporation, and may not be disseminated or copied without the express written permission of Aries Systems Corporation. The information contained in this document is tentative, and is provided solely for planning purposes of the recipient. The features described for this software release are likely to change before the release design and content are finalized. Aries Systems Corporation assumes no liability or responsibility for decisions made by third parties based upon the contents of this document, and shall in no way be bound to performance therefore. LaTeX style files (TeX Live 2020) installed Style files on Editorial Manager's TeX Live PDF Builder: 10_5.sty add2-shipunov.sty 12many.sty addfont.sty 2in1.sty addliga.sty 2sidedoc.sty addlines.sty 2up.sty addrset.sty 3parttable.sty adfarrows.sty a0size.sty adfbullets.sty a35.sty adforn.sty a4.sty adigraph.sty a4c.sty adjcalc.sty a4mod.sty adjmulticol.sty a4wide.sty adjustbox.sty a5comb.sty adtrees.sty abbrevs.sty advdate.sty abc.sty ae.sty abidir.sty aecompl.sty abjad.sty aedpatch.sty abnt.sty aeguill.sty abntex2abrev.sty aer.sty abntex2cite.sty aertt.sty aboxes.sty afonts.sty abraces.sty afonts0.sty abstract.sty afonts1.sty academicons.sty afonts2.sty accanthis.sty afoot.sty
    [Show full text]
  • Latex (A.H. Gitter)
    Ecce etiam ego adducam aquas super terram! H+ H+ 106◦ O2– LATEX ( opus imperfectum ) Alfred H. Gitter Version vom 1. Januar 2021 Inhaltsverzeichnis 1 Grundlagen 3 1.1 Einführung ................................ 3 1.2 Befehle................................... 8 1.3 Dokumentklassen und Pakete, Beispiel ................. 10 1.4 Gliederung (Titel, Textabschnitte und Absätze) ............ 15 2 Besondere Teilbereiche 19 2.1 Verzeichnisse (Inhalt, Abk., Abb., Literatur).............. 19 2.2 Fuß- und Randnoten, Querverweise, Hyperlinks ............ 21 2.3 Bilder, Tabellen, Balkendiagramme, Kommentare ........... 22 2.4 Aufzählungen und Theorem-Umgebungen................ 31 2.5 Programm-Code, Zeichnungen, Zähler.................. 33 3 Seite, Absatz und Wort 39 3.1 Seitengestaltung, mehrere Spalten.................... 39 3.2 Rahmen und Minipages.......................... 41 3.3 Ausrichtung, Einrückung, Trennungen, Abstände ........... 44 3.4 Typographische Regeln.......................... 47 4 Zeichenformatierung 50 4.1 Schrift (Stil, Größe, hoch/tief, Farbe).................. 50 4.2 Leer- und Sonderzeichen......................... 56 4.3 Physikalische Einheiten.......................... 62 5 Mathematik 67 5.1 Mathematik im Fließtext......................... 67 5.2 Sonderzeichen in einer math-Umgebung................. 72 5.3 Gleichungen................................ 76 6 Grafiken mit TikZ 79 6.1 Strichzeichnungen und Füllungen .................... 79 6.2 Knoten................................... 84 6.3 Graphen und Funktionen........................
    [Show full text]
  • LATEXML the Manual ALATEX to XML/HTML/MATHML Converter; Version 0.8.5
    LATEXML The Manual ALATEX to XML/HTML/MATHML Converter; Version 0.8.5 Bruce R. Miller November 17, 2020 ii Contents Contents iii List of Figures vii 1 Introduction1 2 Using LATEXML 5 2.1 Conversion...............................6 2.2 Postprocessing.............................7 2.3 Splitting................................. 11 2.4 Sites................................... 11 2.5 Individual Formula........................... 13 3 Architecture 15 3.1 latexml architecture........................... 15 3.2 latexmlpost architecture......................... 18 4 Customization 19 4.1 LaTeXML Customization........................ 20 4.1.1 Expansion............................ 20 4.1.2 Digestion............................ 22 4.1.3 Construction.......................... 24 4.1.4 Document Model........................ 27 4.1.5 Rewriting............................ 28 4.1.6 Packages and Options..................... 28 4.1.7 Miscellaneous......................... 29 4.2 latexmlpost Customization....................... 29 4.2.1 XSLT.............................. 30 4.2.2 CSS............................... 30 5 Mathematics 33 5.1 Math Details............................... 34 5.1.1 Internal Math Representation.................. 34 5.1.2 Grammatical Roles....................... 36 iii iv CONTENTS 6 Localization 39 6.1 Numbering............................... 39 6.2 Input Encodings............................. 40 6.3 Output Encodings............................ 40 6.4 Babel.................................. 40 7 Alignments 41 7.1 TEX Alignments............................
    [Show full text]
  • TUGBOAT Volume 30, Number 2 / 2009 TUG 2009 Conference
    TUGBOAT Volume 30, Number 2 / 2009 TUG 2009 Conference Proceedings TUG 2009 154 Conference program, delegates, and sponsors 159 Profile of Eitan Gurari (1947–2009) LATEX 163 Boris Veytsman / LATEX class writing for wizard apprentices 169 Arthur Reutenauer / LuaTEX for the LATEX user: An introduction Accessibility 170 Ross Moore / Ongoing efforts to generate “tagged PDF” using pdfTEX Education 176 Frank Quinn / The EduTEX TUG working group Software & Tools 177 Jim Hefferon / Becoming a CTAN mirror 179 Karl Berry / TEX Live 2009 news 180 Tim Arnold / Getting started with plasTEX 183 Hans Hagen / LuaTEX: Halfway to version 1 187 Hans Hagen / LuaTEX and ConTEXt: Where we stand 191 Bob Neveln and Bob Alps / ProofCheck: Writing and checking complete proofs in LATEX Publishing 196 Karl Berry and David Walden / TEX People: The TUG interviews project and book 203 David Walden / Self-publishing: Experiences and opinions Graphics 209 Klaus H¨oppner / Introduction to METAPOST 214 Andrew Mertz and William Slough / A TikZ tutorial: Generating graphics in the spirit of TEX 227 Boris Veytsman and Leila Akhmadeeva / Medical pedigrees: Typography and interfaces Fonts 236 Jim Hefferon / A first look at the TEX Gyre fonts 241 Hans Hagen / Plain TEX and OpenType 243 Aditya Mahajan / Integrating Unicode and OpenType math in ConTEXt Macros 247 Aditya Mahajan / LuaTEX: A user’s perspective Bibliographies 252 Nelson Beebe / BIBTEX meets relational databases Electronic Documents 272 Kaveh Bazargan / TEX as an eBook reader 274 Christian Rossi / From distribution to
    [Show full text]
  • TUGBOAT Volume 30, Number 1 / 2009
    TUGBOAT Volume 30, Number 1 / 2009 General Delivery 3 From the president / Karl Berry 4 Editorial comments / Barbara Beeton Helmut Kopka, 1932–2009; Eitan Gurari, 1947–2009; A short history of type 4 Helmut Kopka, 1932–2009 / Patrick Daly Software & Tools 6 DVI specials for PDF generation / Jin-Hwan Cho 12 Ancient TEX: Using X TE EX to support classical and medieval studies / David Perry 18 TEXonWeb / Jan Pˇrichystal Typography 20 Typographers’ Inn / Peter Flynn Fonts 22 OpenType math illuminated / Ulrik Vieth 32 A closer look at TrueType fonts and pdfTEX / H`an Thế Th`anh 35 The Open Font Library / Dave Crossland Bibliographies 36 Managing bibliographies with LATEX / Lapo Mori 49 Managing languages within MlBibTEX / Jean-Michel Hufflen Graphics 58 Asymptote: Lifting TEX to three dimensions / John Bowman and Orest Shardt 64 Supporting layout routines in MetaPost / Wentao Zheng 69 Glisterings: Reprise; MetaPost and pdfLATEX; Spidrons / Peter Wilson 74 MetaPost macros for drawing Chinese and Japanese abaci / Denis Roegel 80 Spheres, great circles and parallels / Denis Roegel 88 An introduction to nomography: Garrigues’ nomogram for the computation of Easter / Denis Roegel A L TEX 105 LATEX3 news, issues 1–2 / LATEX Project Team 107 LATEX3 programming: External perspectives / Joseph Wright Macros 110 Implementing key–value input: An introduction / Joseph Wright and Christian Feuers¨anger 123 Current typesetting position in pdfTEX / V´ıt Z´yka Letters 125 In response to “mathematical formulæ” / Kaihsu Tai 126 In response to Kaihsu Tai / Massimo
    [Show full text]
  • Die TEX Nische K Omödie
    DANTE Deutschsprachige Anwendervereinigung TEX e.V. 21. Jahrgang Heft 3/2009 August 2009 Xnische Komödie E Die T 3/2009 Impressum »Die TEXnische Komödie« ist die Mitgliedszeitschrift von DANTE e.V. Der Bezugs- preis ist im Mitgliedsbeitrag enthalten. Namentlich gekennzeichnete Beiträge geben die Meinung der Schreibenden wieder. Reproduktion oder Nutzung der erschienenen Beiträge durch konventionelle, elektronische oder beliebige andere Verfahren ist nur im nicht-kommerziellen Rahmen gestattet. Verwendungen in größerem Umfang bitte zur Information bei DANTE e.V. melden. Beiträge sollten in Standard-LATEX-Quellcode unter Verwendung der Dokumenten- klasse dtk erstellt und per E-Mail oder Datenträger (CD) an untenstehende Adresse der Redaktion geschickt werden. Sind spezielle Makros, LATEX-Pakete oder Schriften dafür nötig, so müssen auch diese komplett mitgeliefert werden. Außerdem müssen sie auf Anfrage Interessierten zugänglich gemacht werden. Diese Ausgabe wurde mit pdfTeX 3.1415926-1.40.10-2.2 erstellt. Als Standard- Schriften kamen die Type-1-Fonts Latin-Modern und LuxiMono zum Einsatz. Erscheinungsweise: vierteljährlich Erscheinungsort: Heidelberg Auflage: 2700 Herausgeber: DANTE, Deutschsprachige Anwendervereinigung TEX e.V. Postfach 10 18 40 69008 Heidelberg E-Mail: [email protected] [email protected] (Redaktion) Druck: Konrad Triltsch Print und digitale Medien GmbH Johannes-Gutenberg-Str. 1–3, 97199 Ochsenfurt-Hohestadt Redaktion: Herbert Voß (verantwortlicher Redakteur) Mitarbeit : Rudolf Herrmann Gert Ingold Rolf Niepraschk Bernd Raichle Christine Römer Volker RW Schaa Redaktionsschluss für Heft 4/2009: 15. Oktober 2009 ISSN 1434-5897 Die TEXnische Komödie 3/2009 Editorial Liebe Leserinnen und Leser, wie das eben manchmal so passiert und man hinterher nicht genau weiß, warum eigentlich, wurde in der letzten Ausgabe die Liste der neuen Pakete so abgedruckt, wie sie schon in der vorletzten Ausgabe zu finden war.
    [Show full text]
  • Thapl—A Theatrical Programming Language
    Thapl—A Theatrical Programming Language Matan I. Peled Technion - Computer Science Department - M.Sc. Thesis MSC-2020-12 - 2020 Technion - Computer Science Department - M.Sc. Thesis MSC-2020-12 - 2020 Thapl—A Theatrical Programming Language Research Thesis Submitted in partial fulfillment of the requirements for the degree of Master of Science in Computer Science Matan I. Peled Submitted to the Senate of the Technion — Israel Institute of Technology Heshvan 5780 Haifa November 2019 Technion - Computer Science Department - M.Sc. Thesis MSC-2020-12 - 2020 Technion - Computer Science Department - M.Sc. Thesis MSC-2020-12 - 2020 This work was carried out under the joint supervision of Prof. Yossi Gil and Prof. David H. Lorenz, in the Faculty of Computer Science. Some results in this thesis have been published as articles or talks by the author and research collaborators in conferences and journals during the course of the author’s magisteral research period, the most up-to-date versions of which being: Matan I. Peled, Joseph (Yossi) Gil, and David H. Lorentz. Thapl—a theaterical program- ming language. In 5th Workshop on Domain-Specific Language Design and Implementation (DSLDI), 2017. Acknowledgements To my parents Dafna and Michael, I am grateful for your endless love and support throughout the years, I literally wouldn’t have been here without you. I am indebted to my advisors, Prof. Yossi Gil and Prof. David H. Lorentz, for pa- tiently guiding me through tight deadlines, and for teaching me what research actually is. A most heartful thanks goes to my friends for keeping me sane, to Nitzan for making sure I go swimming at least once a week no matter what, and to all those who helped me during my research; especially Shiri and Hila who helped improve this document.
    [Show full text]
  • Quality Diagrams with Pycirkuit
    , FOSDEM 20 Quality diagrams with PyCirkuit Orestes Mas ([email protected]) Polytechnic University of Catalonia 2nd February 2020 , FOSDEM 20 Quality diagrams with PyCirkuit Orestes Mas ([email protected]) Polytechnic University of Catalonia 2nd February 2020 The problem I need to draw circuits and diagrams! , FOSDEM 20 Orestes Mas ([email protected]) - UPC Quality diagrams with PyCirkuit 2nd February 2020 The problem I need to draw circuits and diagrams! , FOSDEM 20 Orestes Mas ([email protected]) - UPC Quality diagrams with PyCirkuit 2nd February 2020 The problem I need to draw circuits and diagrams! , FOSDEM 20 Orestes Mas ([email protected]) - UPC Quality diagrams with PyCirkuit 2nd February 2020 The problem I need to draw circuits and diagrams! , FOSDEM 20 Orestes Mas ([email protected]) - UPC Quality diagrams with PyCirkuit 2nd February 2020 Why PyCirkuit? Requirements we have ▶ Beautiful (publishing quality) ▶ Large library of predefined 푅 푅 symbols 푏 푐 푖푏 푖1 푖2 ▶ Uniform style (don’t mix libraries) + + 푣 + 훾 − 푣푥 훽푖푏 푉푐푐 − ▶ Parametrizable symbols ▶ Consistent typography: 푅푒 푅푏, 푣훾, 푖2, 훽푖푏 ▶ Free formats, tools and systems , FOSDEM 20 Orestes Mas ([email protected]) - UPC Quality diagrams with PyCirkuit 2nd February 2020 Why PyCirkuit? Requirements we have ▶ Beautiful (publishing quality) ▶ Large library of predefined 푅 푅 symbols 푏 푐 푖푏 푖1 푖2 ▶ Uniform style (don’t mix libraries) + + 푣 + 훾 푣푥 훽푖 푉푐푐 − − 푏 ▶ Parametrizable symbols ▶ Consistent typography: 푅푒 푅푏, 푣훾, 푖2, 훽푖푏 ▶ Free formats, tools and systems , FOSDEM 20 Orestes Mas ([email protected]) - UPC Quality diagrams with PyCirkuit 2nd February 2020 Chosen solution Insert graphic commands into a LATEX document \begin{tikzpicture} \draw[step=0.25,color=blue!20,very thin] LAT X+ TikZ! (-1.8,-1.6) grid (1.8,1.6); E \foreach \ang in {0,30,...,330}{ \draw[color=red] (0,0) to[R, -*] (\ang:1.1); \node at (\ang:1.35) {\tiny$e^{j\ang^\circ}$}; � Perfect text/graphics integration.
    [Show full text]
  • Typesetting with LATEX: the Basics
    1 Typesetting with LATEX: The Basics Paul Bergeron Department of Physics and Astronomy, University of Utah, Salt Lake City January 26, 2016 1These slides will be available at http://www.physics.utah.edu/~bergeron/ Further Reading Some documentation I keep on hand: I (general and simple): A Simplified Introduction to LATEX I (general and technical): A Not So Short Introduction to LATEX I (math cheat sheet): A Short Math Guide to LATEX I A Beamer Quick Start manual I TikZ & PGF manual I CircuitTikZ manual I Word processor that gives you near complete control I Smart, e.g no sections at the bottom of a page I Good for papers, homework, notes, posters, talks (like this one!), and more I Open source { a swiss army knife who anyone can add to I Available for any platform { Apple, Windows, or Linux I Easy to learn with intuitive commands I Excels at equations, figures, reference, structure, and more... Why LATEX I Designed in the 1980s by mathematicians tired of their equations being messed up I Smart, e.g no sections at the bottom of a page I Good for papers, homework, notes, posters, talks (like this one!), and more I Open source { a swiss army knife who anyone can add to I Available for any platform { Apple, Windows, or Linux I Easy to learn with intuitive commands I Excels at equations, figures, reference, structure, and more... Why LATEX I Designed in the 1980s by mathematicians tired of their equations being messed up I Word processor that gives you near complete control I Good for papers, homework, notes, posters, talks (like this one!), and more I Open source { a swiss army knife who anyone can add to I Available for any platform { Apple, Windows, or Linux I Easy to learn with intuitive commands I Excels at equations, figures, reference, structure, and more..
    [Show full text]
  • 214 Tugboat, Volume 30 (2009), No. 2 a Tikz Tutorial
    214 TUGboat, Volume 30 (2009), No. 2 \documentclass{article} A TikZ tutorial: Generating graphics in the ... spirit of TEX \usepackage{tikz} Andrew Mertz & William Slough % Optional libraries: \usetikzlibrary{arrows, automata} Abstract ... TikZ is a system which can be used to specify graphics \begin{document} ... of very high quality. For example, accurate place- \begin{tikzpicture} ment of picture elements, use of TEX fonts, ability to ... incorporate mathematical typesetting, and the possi- \end{tikzpicture} bility of introducing macros can be viewed as positive ... factors of this system. The syntax uses an amal- \end{document} gamation of ideas from METAFONT, METAPOST, Listing 1: Layout of a document which uses TikZ. PSTricks, and SVG, allowing its users to \program" their desired graphics. The latest revision to TikZ introduces many new features to an already feature- 2 Some TikZ fundamentals packed system, as evidenced by its 560-page user k manual. Here, we present a tutorial overview of this Ti Z provides support for various input formats, in- A system, suitable for both beginning and intermediate cluding plain TEX, LTEX, and ConTEXt. The re- users of TikZ. quirements for each of these are fairly similar, so we focus on just one of these, LATEX, for simplicity. Listing 1 illustrates the layout for a LATEX docu- 1 Introduction ment containing a number of TikZ-generated graph- PGF, an acronym for \portable graphics format", is ics. In the preamble, the tikz package is specified, a TEX macro package intended for the creation of optionally followed by one or more TikZ libraries. publication-quality graphics [16]. The use of PGF Each graphic to be generated is specified within a requires its users to adopt a relatively low-level ap- tikzpicture environment.
    [Show full text]
  • Introduzione All'uso Di Tikz in Ingegneria
    Claudio Fiandrino Introduzione all’uso di TikZ in Ingegneria o Utiliz p za p t u o r r i G b b g It b b It u al X iani di TE IntroIngTikZ versione del 4236/25/3: Associati anche tu al guIt Fai click per associarti L’associazione per la diffusione di TEX in Italia riconosciuta ufficialmente in ambito internazionale, si sostiene unicamente con le quote sociali. Se anche tu trovi che questa guida tematica gratuita ti sia stata utile, il mezzo principale per ringraziare gli autori è diventare socio. Divenendo soci riceverete gratuitamente: • l’abbonamento alla rivista ArsTEXnica; • il DVD TEX Collection; • l’esclusivo tipometro realizzato da Massimo Caschili. L’adesione al guIt prevede un quota associativa compresa tra 34,22 e e 92,22 e a seconda della tipologia di adesione prescelta e ha validità per l’anno solare in corso. Licenza Questa guida è rilasciata con licenza CC BY-NC-SA 5.2 (si veda come riferimento: http://creativecommons.org/licenses/by-nc-sa/5.2/) o versioni successive. Tu sei libero di riprodurre, distribuire, comunicare al pubblico e modifi- care quest’opera alle seguenti condizioni: • Attribuzione: Devi attribuire la paternità dell’opera nei modi indicati dall’autore o da chi ti ha dato l’opera in licenza e in modo tale da non suggerire che essi avallino te o il modo in cui tu usi l’opera. • Non commerciale: Non puoi usare quest’opera per fini commerciali. • Condividi allo stesso modo: Se alteri o trasformi quest’opera, o se la usi per crearne un’altra, puoi distribuire l’opera risultante solo con una licenza identica o equivalente a questa.
    [Show full text]