tailieunhanh - LaTeX

LaTeX is a document preparation system and document markup language. It is widely used for the communication and publication of scientific documents in many fields, including mathematics, physics, computer science, statistics, economics, and political science. | LaTeX by Wikibooks contributors Created on Wikibooks, the open content textbooks collection. Copyright c 2005–2008 Wikibooks contributors. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled “GNU Free Documentation License”. Contents 1 Introduction 9 2 Absolute Beginners 15 The LaTeX source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Our first document . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 3 Basics 21 4 Document Structure 27 The document environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 5 Errors and Warnings Error messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Warnings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 35 35 36 6 Title Creation 39 Create the title . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 A practical example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 Insert it in your document . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 7 Bibliography Management Embed system . . . . . . . . . Citations . . . . . . . . . . . . BibTeX . . . . . . . . . . . . . Natbib . . . . . . . . . . . . . . 45 45 46 47 57 59 59 69 70 71 72 72 73 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Tables The tabular environment . . . . . . . . . . . . . . . . The table environment — captioning etc . . . . . . . The tabular* environment — controlling table .