LATEX Pour Les Débutants Sous Macos X

Total Page:16

File Type:pdf, Size:1020Kb

LATEX Pour Les Débutants Sous Macos X LATEX pour les débutants sous MacOS X Paul SALORT - Jim 9 juin 2003 Remerciements Je remercie chaleureusement Julien SALORT et Benoit RIVET pour leur aide précieuse pour la rédaction de ce petit opuscule. Une page plus complète sur LATEX peut être consultée ici : http://jim.fcsm.free.fr/LaTeX.html I Préambule 1. Lorsque j’ai décidé d’utiliser LATEX pour la première fois, j’ai recherché sur le web quelles pouvaient être les sources de documentation pour un débutant. J’ai trouvé pas mal de ma- nuels d’initiation, dont quelques uns étaient rédigés ou traduits en français. – « Une Courte Introduction à LATEX 2e » traduit par Matthieu Herrb 1 – « Joli manuel pour LATEX 2e, Guide local de l’ESIEE » par Benjamin Bayart 2 – « Apprends LATEX ! » ouvrage de l’ENSTA par Marc Baudouin – « Guide d’introduction au traitement de textes LATEX » par Frédéric Geraerds La plupart de ces ouvrages sont de qualité, mais supposent des pré-requis que je ne possé- dais pas, ils sont tous rédigés par des unixiens plus habitués à la ligne de commande qu’à la simplicité d’un logiciel pour élaborer des documents LATEX . Ils ne m’ont donc pas permis de progresser à mon rythme, c’est aussi la raison de ce petit opuscule. 2. Utilisant un MacIntosh, je souhaitais également disposer d’un outil en GUI 3 sous MacOS X. Plusieurs outils étaient disponibles : – BBEdit Lite distribué par Bare Bones Software, Inc et disponible en téléchargement à l’adresse http://www.barebones.com/products/bblite/index.shtml – jedit, un programme OpenSource en java, disponible en téléchargement à l’adresse http: //www.jedit.org/index.php?page=download. Logiciel sans outils LaTeX à proprement parlé, sinon indentation et mise en gras des commandes. – Enhanced Carbon Emacs - 2.1 qui est une version carbonisée du logiciel emacs. Cette version carbonisée est téléchargeable ici : http://www.cs.man.ac.uk/∼franconi/enhanced-carbon-emacs/ – iTeXMac. Excellent logiciel de Jérôme Laurens aux multiples fonctionnalités, téléchar- geable ici : http://itexmac.sourceforge.net/Download.html. – TeXShop. Très bon logiciel téléchargeable ici : http://www.uoregon.edu/∼koch/texshop/texshop. html – OzTeX, portage du soft développé par Donald Knuth téléchargeable ici : http://www.trevorrow. com/oztex/index.html#download. Ce partagiciel a été développé par Andrew Trevorrow On peut également citer trois éditeurs qui peuvent être assimilés à du wysiwyg4 – Le projet Lyx propose une interface wygiwyg pour LaTeX.. mais LyX n’est pas disponible sous Aqua, il ne tourne que sous X115. Une mini-présentation peut être consultée sur la page http://cbenz.tuxfamily.org/livre_GNU_Linux/livre_GNU_Linux/node134.html#sec:logiciels_ cr__233_ation_doc ou encore en téléchargeant l’excellent tutoriel de Benoît Le Rohellec à l’adresse http://www.abul.org/conferences/LyX_DocBook/Lyx-DocBook-HOWTO.pdf 1Ecole Supérieure d’Ingénieurs En Electrotechnique et Electronique 2l’Ecole Nationale Supérieure des Techniques Avancées 3Graphical User Interface 4What You See Is What You Get 5Une copie d’écran est disponible ici : http://jim.fcsm.free.fr/Diaporama/Html/5.htm II – Scientifist Assistant 6. La clé d’évaluation de ce logiciel coûte 129 dollars. – Le projet TexMacs http://www.texmacs.org/ Le meilleur à mes yeux, pour le débutant que j’étais, était iTeXMac. J’en appréciais les ou- tils d’aide à la saisie comme la palette d’outils très complète dans la version 1.2.6 (version instable) que je testais, et le fractionnement possible de l’Editeur LaTeX, très pratique. Une version stable notée 1.2d1 était disponible. De plus, « une mailing list » permettait de dis- cuter directement avec son auteur Dans tout ce qui suivra, n’importe quel outil de compilation LATEXpourra être utilisé. Rappelons que TeXShop7 qui possédait une palette d’outils permettant l’apprentissage des commandes LATEX 3. Je souhaitais disposer d’exemples du plus simple au plus détaillé, ainsi que d’une sorte de glossaire des principaux termes, commandes et environnement utilisés dans LATEX. 6http://www.advanced-science.com/html/scientific.htm 7TeXShop est distribué sous la licence GPL c’est à dire GNU General Public Licence, outil convivial développé par Richard Koch, Dirk Olmes et Gerben Wierda (teTeX) III Table des matières 1 Pour commencer : un exemple simple 3 1.1 Outils nécessaires. 3 1.2 Un exemple minimaliste . 3 1.2.1 Création d’un fichier source . 3 1.2.2 Résultat de la compilation . 4 1.2.3 Constatations sur la structure d’un document élaboré sous LATEX...... 4 2 Premières généralités 6 2.1 Le préambule et le corps . 6 2.2 Structure d’un document . 6 2.2.1 Environnement d’un document . 6 2.2.2 Le titre . 7 2.2.3 Les divisions d’un document . 7 2.2.4 Exportation vers html . 7 3 Notion de packages et exemples 9 3.0.5 Lire la documentation . 9 3.0.6 Installer un nouveau package . 9 4 Polices, encodages, langues étrangères 11 4.1 Utilisation simple . 11 4.1.1 Commandes de base . 11 4.1.2 Quelques mots des encodages . 12 4.1.3 Utilisation d’Unicode . 13 4.2 Utilisation avancée . 16 4.2.1 Différents types de police . 16 4.2.2 Installation de nouvelles polices . 16 4.2.3 Utilisation des polices . 18 4.2.4 Autres attributs de textes avec des packages tierces . 21 4.3 Quelques autres problèmes de police . 22 4.3.1 Autres techniques de grec . 22 4.3.2 Utilisation de l’inuktitut . 24 4.3.3 Utilisation de Symbol et ZapfDingbats avec pifont ............... 25 5 Quelques exemples simples 28 5.1 Rédiger une poésie sous forme de calligramme . 28 5.2 Rédiger un livre de chansons avec accords de guitare . 30 5.2.1 Installation du package requis . 30 1 TABLE DES MATIÈRES 5.2.2 Exemple traité : 3 chansons de Carla Bruni extraites de l’album Quelqu’un m’a dit ....................................... 31 2 Chapitre 1 Pour commencer : un exemple simple 1.1 Outils nécessaires... – Tout d’abord, il nous faut installer TeXShop ou iTeXMac et l’environnement LATEX 1. TeXShop est téléchargeable en passant par http://www.versiontracker.com et plus spé- cifiquement http://www.versiontracker.com/redir.fcgi/kind=1&db=mac&id=8523/texshop. dmg 2. iTeXMac est téléchargeable sur la page de son auteur, Jérôme Laurens http://sourceforge. net/projects/itexmac 3. L’environnement LATEX est téléchargeable grâce à l’application i-installer de Gerben Wierda. Son installation est simple. Rappelons-en les étapes : Après avoir lancé i-installer, il nous faudra choisir les paquetages requis, demander à l’application de récupérer les fichiers et de les installer. Pour teTex, il nous faudra cocher : « tex foundations » (le texmf) et « tex binaries » (les programmes). Notons que i-installer permet également de mettre en place ghostcript 6 et 7, imagemagick, quelques lib graphiques, et les polices cm- super. (Je vous conseille de le faire si cela n’est pas encore fait). 4. Vous aurez également besoin d’un ordinateur de marque MacIntosh 1 5. Il sera également indispensable dans ce qui suivra, de disposer du système d’exploita- tion MacOS X 2 Désormais nous considérerons que 4 conditions sont remplies : environnement LATEX en place et opérationnel, un outil de compilation (iTeXMac ou TeXShop) prêt à fonctionner sur un Ma- cIntosh doté de MacOS X 1.2 Un exemple minimaliste 1.2.1 Création d’un fichier source 1.2.1.1 Création avec TeXShop Dans TeXShop, taper Pomme+M 1http://www.apple.fr 2 Il est bien sûr évidement que sous MacOS pré-X LATEX est également utilisable mais pas les outils GUI préconisés dans ce document 3 CHAPITRE 1. POUR COMMENCER : UN EXEMPLE SIMPLE pour créer un nouveau document puis saisir les 6 lignes qui suivent : \documentclass[a4paper]{article} \usepackage[applemac]{inputenc} \usepackage[french]{babel} \begin{document} Ceci est un test \end{document} Cliquer sur le bouton LATEX qui se situe dans la barre d’outils ou Menu(Composer) LATEX. Nommer ce document Test1 et décocher masquer l’extension .Dès lors, vous voyez défiler rapi- dement dans la fenêtre LaTeX Console de TeXShop les différentes manoeuvres qui généreront le document final. 1.2.1.2 Création avec iTeXMac Fichier > Nouveau Choisir Document TeX Copier coller le texte ci-dessus TeX > Compiler (ou dans la barre d’outils, cliquer sur l’icône notée C Vous venez de compiler votre premier fichier source 1.2.2 Résultat de la compilation 1. Vous visualisez instantanément le fichier généré qui apparaît dans une fenêtre dédiée à cet effet 2. 4 fichiers viennent d’être créés (a) Test1.tex qui est le fichier source, qui vous sert à créer le document. (b) Test1.aux, fichier qui contient diverses informations utiles à LATEX (c) Test1.log qui est le fichier d’historisation des messages contenues dans la Console La- TeX. (d) Test1.pdf, fichier résultat. 3. En cas d’erreur de saisie (le texte que vous venez d’écrire va être interprété), la Console va apparaître en premier plan avec un message d’erreur (pas toujours très clair pour un débu- tant). Un simple clic sur le bouton Erreur vous amène directement à l’endroit où l’erreur se situe. Vous noterez également que TeXShop dispose d’un vérificateur orthographique (en fait celui de MacOS X). Conseil n°1 : Créer un dossier pour chaque document LATEX vous permettra de mieux vous repé- rer par la suite. 1.2.3 Constatations sur la structure d’un document élaboré sous LATEX Très grossièrement nous observons 3 parties logiques à notre document source : 1. Indication du type de document que nous voulons rédiger. Ici nous avons créé un docu- ment de type article , au format a4 noté ainsi : \documentclass[a4paper]{article} 4 CHAPITRE 1.
Recommended publications
  • 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]
  • Using Latex for Scientific Writing
    Using LATEX for scientific writing (part 2) www.dcs.bbk.ac.uk/~roman/LaTeX Roman Kontchakov [email protected] How does LATEX work? editor viewer .dvi WinEdt/TEXShop Yap/Preview .pdf .log errors, warnings, etc. TEX .tex compiler ninput .aux labels, citations .tex .tex .toc table of contents NB: the included files contain no preamble, no nbeginfdocumentg,. to specify the main file, use %!TEX root = in TEXShop Set Main File in menu in WinEdt Using LaTeX for scientific writing (2020-2) 1 Table of Contents The sectioning commands \part{...} only in the report/book class \chapter{...} only in the report/book class \section{...} \subsection{...} \subsubsection{...} \paragraph{...} \subparagraph{...} not only typeset their argument in big/bold/etc. letters, but also write the title and the current page number to the .toc file. Use then \tableofcontents to produce the ToC. (it simply reads the contents of the .toc file!) Using LaTeX for scientific writing (2020-2) 2 Accents and Special Characters H\^otel, na\"\i ve, \'el\`eve,\\ Hotel,ˆ na¨ıve, el´ eve,` sm\o rrebr\o d, !`Se\~norita!,\\ smørrebrød, ¡Senorita!,˜ Sch\"onbrunner Schlo\ss{} Stra\ss e Schonbrunner¨ Schloß Straße o´ \'o o´ \'o oˆ \^o o˜ \~o o¯ \=o o˙ \.o o¨ \"o o¸ \c c o˘ \u o oˇ \v o o˝ \H o o \b o ¯ o. \d o oo \t oo o is any character œ \oe Œ \OE æ \ae Æ \AE a˚ \aa A˚ \AA ø \o Ø \O ł \l Ł \L ı \i j \j ¡ !` ¿ ?` Using LaTeX for scientific writing (2020-2) 3 Hyphenation LATEX hyphenates words whenever necessary \hyphenation{word list} causes the words listed in the argument to be hyphenated
    [Show full text]
  • Installation
    APPENDIX A Installation In case you do not already have a LATEX installation, in Sections A.1 and A.2, we describe how to install LATEX on your computer, a PC or a Mac. The installation is much easier if you obtain TEX Live 2007 (or later) from the TEX Users Group, TUG (see Section E.2). It contains both the TEX implementations we discuss. No installation is given for UNIX computers. The attraction of UNIX to its users is the incredibly large number of options, from the UNIX dialect, to the shell, the editor, and so on. A typical UNIX user downloads the code and compiles the system. This is obviously beyond the scope of this book. Nevertheless, TEX Live 2007 (or later) from the TEX Users Group supplies the compiled (binaries) of LATEX for a number of UNIX variants. First read Chapter 1, so that in this Appendix you recognize the terminology we introduce there. I will assume that you become sufficiently familiar with your LATEX distribution to be able to perform the editing cycle with the sample documents. 490 Appendix A Installation A.1 LATEX on a PC On a PC, most mathematicians use MiKTeX and the editor WinEdt. So it seems appro- priate that we start there. A.1.1 Installing MiKTeX If you made a donation to MiKTeX or if you have the TEX Live 2007 (or later) from the TEX Users Group, then you have a CD or DVD with the MiKTeX installer. Installation then is in one step and very fast. In case you do not have this CD or DVD, we show how to install from the Internet.
    [Show full text]
  • Texshop in 2003
    TeXShop in 2003 Richard Koch Mathematics Department University of Oregon Eugene, Oregon, USA [email protected] http://www.uoregon.edu/~koch Abstract TeXShop is a free TEX previewer for Mac OS X, released under the GPL. A great many people have contributed code to the project. TeXShop uses teTEX and TEX Live as an engine, typesetting primarily with pdftex and pdflatex. The pdf output is displayed using Apple’s internal pdf display code. I’ll discuss recent changes in the program and plans for the future. Introduction What are we talking about here? I talked about TeXShop at the 2001 TUG confer- In case you don’t work on a Mac or haven’t used ence. Mac OS X had just been released and still had the program, I’ll start with an overview. When quirks; during my talk, the Finder crashed. I typed TeXShop first starts, a single window opens for the option-shift-escape to bring up the Force Quit panel, source code. This window is shown behind another restarted the Finder, and continued. After the talk, window. The “Templates” button on the toolbar is a an audience member told me “I’m not very inter- pulldown menu naming various pieces of text which ested in your program. But it’s wonderful that you can be added to the document; one of these pieces could restart the Finder without rebooting!” inserts starting code for a LATEX document. The de- A lot has changed since then. The Finder never fault LATEX template text is shown in blue. Actually crashes, the teTEX/TEX Live distribution is stronger, the editor colors all TEX commands blue and these lots of pdf bugs have been fixed, and TeXShop has have come from the template.
    [Show full text]
  • The Acrotex Education Bundle for Latex, Manual of Usage
    AcroTEX Software Development Team The AcroTEX eDucation Bundle (AeB) D. P. Story Copyright © 1999-2013 [email protected] Prepared: December 12, 2013 http://www.acrotex.net Table of Contents Preface 9 1 Getting Started 10 1.1 Installing the Distribution ........................... 10 1.2 Installing aeb.js ................................ 11 1.3 Language Localizations ............................. 12 1.4 Sample Files and Articles ........................... 12 1.5 Package Requirements ............................. 12 1.6 LATEXing Your First File ............................. 13 • For pdftex and dvipdfm Users ...................... 13 • For Distiller Users .............................. 14 The Web Package 15 2 Introduction 15 2.1 Overview ..................................... 15 2.2 Package Requirements ............................. 15 3 Basic Package Options 16 3.1 Setting the Driver Option ........................... 16 3.2 The tight Option ................................ 17 3.3 The usesf Option ................................ 17 3.4 The draft Option ................................ 17 3.5 The nobullets Option ............................. 17 3.6 The unicode Option .............................. 17 3.7 The useui Option ................................ 17 3.8 The xhyperref Option ............................. 18 4 Setting Screen Size 18 4.1 Custom Design .................................. 18 4.2 Screen Design Options ............................. 19 4.3 \setScreensizeFromGraphic ........................ 19 4.4 Using \addtoWebHeight
    [Show full text]
  • What's in Extras
    What’s In Extras 2021/09/20 1 The Extras Folder The Extras folder contains several sub-folders with: • duplicates of several GUI programs installed by the MacTEX installer for those who already have a TEX distribution; • alternates to the GUI applications installed by the MacTEX installer; and • additional software that aE T Xer might find useful. The following sub-sections describe the software contained within them. Table (1), on the next page, contains a complete list of the enclosed software, versions, supported macOS versions, licenses and URLs. Note: for 2020 MacTEX supports High Sierra, Mojave and Catalina although some software also supports earlier versions of macOS. Earlier versions of applications are no longer supplied in the Extras folder but you may find them at the supplied URL. 1.1 Bibliography Bibliography programs for building and maintaining BibTEX databases. 1.2 Browsers A program to browse symbols used with LATEX. 1.3 Editors & Front Ends Alternative Editors, Typesetters and Previewers for TEX. These range from “WYSIWYM (What You See Is What You Mean)” to a Programmer’s Editor with strong LATEX support. 1.4 Equation Editors These allow the user to create beautiful equations, etc., that may be exported for use in other appli- cations; e.g., editors, illustration and presentation software. 1.5 Previewers Separate DVI and PDF previewers for use as external viewers with other editors. 1.6 Scripts Files to integrate some external programmer’s editors with the TEX system. 1.7 Spell Checkers Alternate TEX, LATEX and ConTEXt aware spell checkers. 1.8 Utilities Utilities for managing your MacTEX distribution.
    [Show full text]
  • The Early Days of Texshop
    The Early Days of TeXShop Richard Koch July 24, 2016 1 1988 - 1996 Max Horn is creating a server site which will contain all currently available sources of TeXShop. This forced me to turn on machines which haven't run for ten years, and look for old sources. Remarkably, all machines I tried still run. I decided to write up some of the history that I still remember. Actually, the newly discovered sources are covered in section 6, and a reader could profitably go there. Having written sections 1 to 5, I cannot bring myself to erase them just because nobody else will find them interesting! Let me start this history in 1988. A former student of mine named Steve Splonskowski worked for a mapping company in Berkeley for two years, and then moved to Portland, Oregon, to work for E-Machines, a company which made large screens for the original Mac. I liked to visit him because he knew all the rumors and new developments surrounding the Mac, while the University of Oregon seemed remarkably in the dark. For instance, he and his boss sneaked into Apple, carrying a large screen, by finding an open side door. They showed the screen to some engineers, who were fascinated. \Does it work on the Jonathan," the engineers asked. My friend's boss said \what's the Jonathan?", and then they were thrown out. In the spring of 1988, Splonskowski took a job with a small American company working in Norway. This company had rented the second floor of a museum in a park by the water just across the fjord from Oslo.
    [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]
  • TEX Collection 2021
    � https://tug.org/texcollection � AsTEX (French) CervanTEX (Spanish) proTEXt: an easy to install TEX system for MS Windows: based on MiKTEX, with the TEXstudio editor front-end. T X CSTUG (Czech/Slovak) Collection 2021 T X Live: a rich T X system to be installed on hard disk or a portable device E CT X (Chinese) E E E such as a USB stick. Comes with support for most modern systems, CyrTUG (Russian) including GNU/Linux, macOS, and Windows. DANTE (German) MacTEX: an easy to install TEX system for macOS: the full TEX Live DK-TUG (Danish) distribution, with the TEXShop front-end and other Mac tools. Estonian User Group CTAN: a snapshot of the Comprehensive TEX Archive Network, a set of 휀휙휏 (Greek) servers worldwide making TEX software publically available. DVD GuIT (Italian) GUST (Polish) proTEXt ist ein einfach zu installierendes TEX-System für MS Windows, basierend auf MiKTEX und TEXstudio als Editor. GUTenberg (French) TEX Live ist ein umfangreiches TEX-System zur Installation auf Festplatte GUTpt (Portuguese) oder einem portablen Medium, z. B. USB-Stick. Binaries für viele Platformen ÍsTEX (Icelandic) sind enthalten. ITALIC (Irish) MacTEX ist ein einfach zu installierendes TEX-System für macOS, mit einem DANTE KTUG (Korean) vollständigen TEX Live, sowie TEXShop als Editor und weiteren Programmen. www.dante.de CTAN ist ein weltweites Netzwerk von Servern für T X-Software. Auf der Lietuvos TEX’o Vartotojų E Grupė (Lithuanian) DVD befindet sich ein Abzug des deutschen CTAN-Knotens dante.ctan.org. MaTEX (Hungarian) O Nordic TEX Group gutenberg.eu.org proT Xt T X Live (Scandinavian) proTEXt : un système TEX pour Windows facile à installer, basé sur MikTEX E E avec l’éditeur T Xstudio.
    [Show full text]
  • LATEX for Luddites (An Ancient Philosopher’S Guide) Installation & Setup Instructions
    LATEX for Luddites (An Ancient Philosopher’s Guide) Installation & Setup Instructions Willie Costello 1 Install the most recent TeXLive distribution • To work in LATEX, you need to have certain (free!) soware installed on your computer, what’s called the “TeXLive distribution”. e easiest way to make sure you have this is simply to download the most recent distribution. • If using a Mac, this can be downloaded by going to tug.org/mactex/ and downloading the MacTeX.pkg file. (It’s a big file (approximately 2 GB), so give yourself some time and a good internet connection to do it.) • Once this file downloads, open it and follow the installation instructions. • (If using a Windows or Unix-based computer, search the internet for where to download the appropriate TeXLive distribution and follow the installation instructions there.) 2 Install TeXShop • Any text editor (even NotePad or TextEdit) is good enough to work on LATEX documents. However, things are made much much simpler if you write your documents using a LATEX text editor, which will highlight key elements of your code and easily compile your docu- ment for you, right from its interface. • If using a Mac, I recommend you install TeXShop, which can be downloaded for free from their website here: pages.uoregon.edu/koch/texshop/obtaining.html. (e rest of this guide will proceed assuming that you are working with TeXShop.) 3 Compile a simple LATEX document • Once you have TeXShop and the TeXLive distribution installed, open TeXShop and choose to open a file. • Locate the folder containing this document (the LATEX for Luddites package you downloaded from my website), open the subfolder named “1 – Simple LaTeX document”, and open the file named “simplelatex.tex” contained therein.
    [Show full text]
  • About Texshop
    About TeXShop Richard Koch September 3, 2006 Contents 1 Basic Help 4 1.1 Preliminaries . 4 1.2 Getting and Installing teTeX . 4 1.3 Getting and Installing TeXShop . 6 1.4 Typesetting Documents . 7 1.5 Alternate Typesetting Mode . 9 1.6 Checking Spelling . 10 1.7 Latex Panel . 11 1.8 Matrix Panel . 11 1.9 Macros . 12 1.10 Toolbar and Applescript . 12 1.11 Including Graphics . 13 1.12 Printing . 14 1.13 Setting Preferences . 14 1.14 Modifying the Templates Menu . 16 1.15 Editing Tricks . 17 1.16 Auto Completion . 19 1.17 Command Completion . 19 1.18 Sending Bug Reports . 20 1.19 Useful Web Sites . 20 1.20 License . 21 2 Advanced Help 22 2.1 Adding Personal Sty and Macro Files to teTeX . 22 1 2.2 Additional Typesetting Engines . 23 2.3 Removing AUX Files . 26 2.4 Using an External Editor . 27 2.5 Copy-Paste and Drag-Drop from the Preview Window . 29 2.6 Setting a Project Root File . 29 2.7 Pdfsync . 31 2.8 Unicode . 34 2.9 BibTeX . 35 2.10 MakeIndex . 37 2.11 Making and Using New TeX Formats . 37 2.11.1 Using formats . 37 2.11.2 Making formats . 39 2.12 Opening Other Files with TeXShop . 40 2.13 Mathematica . 40 2.14 Localizations . 41 2.15 Syntax Colors . 41 2.16 Shell Escape Protection . 42 2.17 Colored Text in TeX . 43 2.18 More About teTeX . 44 2.19 Coexisting with Fink . 45 2.20 Coexisting with Other TeX Distributions .
    [Show full text]
  • 1 Introduction
    1 Introduction 1.1 What is LATEX? LaTeX is a document preparation system for high-quality typesetting. It is most often used for medium-to-large technical or scientific documents but it can be used for almost any form of publishing. LaTeX is not a word processor! Instead, LaTeX encourages authors not to worry too much about the appearance of their documents but to concentrate on getting the right content. 1.2 Software TeX Distributions The easiest way to set up TeX is with a 500MB TeX distribution that includes many current TeX tools. The TeX distribution to download depends on what operating system you run. Windows - proTeXt is an installer for MikTeX, Ghostview and some extra software. Linux - TeXLive is included as a package in most versions of Linux. Mac OS X - MacTeX is a TeXLive installer for Mac. Editors Windows: Notepad, Texmaker, MeWa, Texlipse, Led, TeXworks, LyTeX, LyX, TeXnicCenter, Emacs, Scite, WinShell, Vim. (I would recommend TeXWorks if you want a GUI) Mac OS X: TexShop, Vim, Emacs, BBEdit, jEdit, TextWrangler, TeXworks, LyX, Texmaker Xcode- Latex. (I would recommend TexShop of TeXWorks if you want a GUI) Linux: LyX, Vim, Emacs, Texmaker, TeXworks, Kile, TeXmacs, gEdit. (I would recommend TeXWorks if you want a GUI) Of all the above editors, only TeXmacs and LyX are WYSIWYGs (What You See Is What You Get). 1 1.3 Resources Books: Math Into Latex by George Gratzer More Math Into Latex by George Gratzer The LaTeX Companion, second edition by F. Mittelbach and M Goossens with Braams, Carlisle, and Rowley Online: TeX Users Group (www.tug.org) Self-guided introductory course (http://www.math.uiuc.edu/∼hildebr/tex/course/) A (Not So) Short Introduction to LaTeX2e by Oetiker, Partl, Hyna, Schlegl.
    [Show full text]