Here Comes Number Two

Total Page:16

File Type:pdf, Size:1020Kb

Here Comes Number Two LATEX Documents ALATEX source file is an ordinary text file with interspersed typography markup. It may be created with any text editor (Notepad, Textedit, A gedit, emacs, vim) or with a dedicated LATEX editor with syntax LTEX highlighting (Texstudio, Texmaker). This text file will then be processed by a T X engine: Leif Andersson E latex, pdflatex, lualatex, xelatex The result is a .pdf file, which may be printed or read on screen. The Environment A Short Document The most fundamental LATEX component is the Environment. Inside an environment the text gets a special layout and/or special commands are defined. \documentclass{article} \usepackage{fourier} This is a paragraph with some This is a paragraph with some \usepackage[swedish]{babel} surrounding text. \begin{document} surrounding text. \begin{itemize} H¨ar kommer texten till mitt banbrytande dokument. \item This is the first point. This is the first point. \end{document} \item And here comes number two. • And here comes number two. \begin{enumerate} • The part between \documentclass and \begin{document} is \item Multiple levels are possible 1. Multiple levels are possible called the preamble, and may contain definitions special to this \item They get automatically 2. They get automatically document. In particular it may call on packages with the indented and enumerated. indented and enumerated. \end{enumerate} \usepackage command. \item The last point The last point • There are also style options \end{itemize} We also have some text after the \documentclass[a4paper,12pt]{article} We also have some text after different items. the different items. Documentclasses Special Characters To get Write Used for A Standard LTEX: $ \$ Start and end of math article report book letter memoir beamer % \% Comment to end of line Journals and conferences often have their own classes. & \& Column separator \_ Math subscript Local classes # \# Parameter placeholder \{ Start group or parameter LTHtwocol LTHthesis LTHreport { \} End group or parameter } More classes will be created as needed. ˆ \textasciicircum Math superscript \textbackslash Command character \ Options for standard classes ~ \texttildelow Non-breaking space 10pt 11pt 12pt final a4paper The last three characters require \usepackage{textcomp}. For the last character \usepackage{url} is better. Miscellaneous Commands New Paragraph and Vertical Space Sectioning The command \par or an empty line ends a paragraph. Any text \chapter{...} \section{...} \subsection{...} starts a new paragraph. \subsubsection{...} To make a stretchable vertical space, use the commands \smallskip, \medskip, or \bigskip respectively. To make a fixed, Type Size possibly larger vertical space, use \vspace{55mm}. These commands should be used between paragraphs. \tiny \scriptsize \footnotesize \small \normalsize The paragraph indent and the spacing between paragraphs are \large \Large \LARGE \huge decided by the document class. Do not make local changes for each paragraph! Cross Reference Note! \label{key} Define the reference. One place. A Some LTEX tutorials claim that the command \\ ends a \ref{key} Use the reference. Many places. paragraph. This is WRONG! key is any user-defined string. To be safe, use only A..Za..z0..9 1 Multiple command forms Environments Many commands have multiple forms \begin{center}...\end{center} Centered lines, use \\ to separate Optional argument: ♠ \item[$\spadesuit$] \begin{quotation}...\end{quotation} Narrower than surrounding text Star-form: ♠ \section*{An Unnumbered Section} {itemize} and {enumerate} as described above. \begin{description}...\end{description} They may sometimes be combined. Labeled items. In the last three cases the item is started with an \item command. The meaning of star-forms and optional arguments vary from The description needs an argument: \item[keylabel]. command to command, but in practice this is not a problem. Grouping Type Styles 1 LAT X type style is specified by three components: shape, series, family. A pair of curly braces ... in the text delimit a LAT X group. Any E { } E change made to a property (size, font, width, etc.) is only valid inside Italic shape \textit{Italic shape} the group. Small Caps shape \textsc{Small Caps shape} Boldface series \textbf{Boldface series} Some people like {\footnotesize small text} and others Roman family \textrm{Roman family} {\Large tend to shout}. Back to normal size. Sans Serif family \textsf{Sans Serif family} Typewriter family \texttt{Typewriter family} Some people like small text and others tend to shout. Back to Bold italic text \textbf{\textit{Bold italic text}} normal size. Use \emph{...} to get emphasized text inside other text. A LATEX environment is an implicit group, so after \emph{...\emph{...}...} will work properly. \begin{center}\LARGE ...\end{center} the text size would be These commands work only in text mode. In math mode, use back to normal. \mathrm, \mathbf, \mathit etc. Type Style 2 Verbatim Each of the commands in the previous slide have a corresponding Short verbatim strings: \verb? any $ % & # characters? declaration. Result: any $ % & # characters. The special marker may be any nonalphabetic character. {\itshape Italic shape} {\scshape Small Caps shape} Longer verbatim text is created with the {verbatim} environment. {\bfseries Boldface series} \begin{verbatim} {\rmfamily Roman family} Text with & % # any characters $ \ } { {\sffamily Sans Serif family} except the special string {\ttfamily Typewriter family} \end{verbatim} The special string is \end{verbatim} The {\em ...} declaration corresponds to the \emph{...} command. Result: The old commands \it \bf \ss \tt should not be used. They may Text with & % # any characters $ \ } { except the special string not work in new versions of important classes. Floating Figures and Tables Inserting Graphics \begin{figure} \begin{table} The modern T X engines, typically , can directly process \centering \caption{.....}\label{taa} E pdflatex %insert the graphics here \centering graphics of type .pdf, .jpg, .png, and through auto-conversion .eps. \caption{.....}\label{faa} %tabular material here All known graphics-generating programs can export to one of these \end{figure} \end{table} formats. Makes a floating insert. Note different placement of . This is \caption \usepackage{graphicx} a tradition, not a technical requirement. Note also that the \label ... must come after the \caption. \begin{center} \includegraphics[width=80mm]{drawing} Both environments can take an optional argument specifying desired \end{center} position. Do not use this until the really final version of the document. ... In particular, do not use the [h] variant at all. Many other options are available. See the documentation for Do not confuse the {table} environment with the {tabular} Packages in ‘The Graphics Bundle’ ( ) environment described later. texdoc graphicx 2 The Tabular Environment Tabular with booktabs \usepackage{booktabs} \begin{tabular}{||l|c|r||} \hline \begin{tabular}{lcr} \textit{Name} & \textit{Place} & \textit{Weight}\\ \toprule \hline\hline \textit{Name} & \textit{Place} & \textit{Weight}\\ O. Olsson & Lund & 73 \\ \midrule F. Baby & Varying & 4 \\ O. Olsson & Lund & 73 \\ P. Persson & Tokholmen & 110 \\ F. Baby & Varying & 4 \\ \hline P. Persson & Tokholmen & 110 \\ \end{tabular} \bottomrule \end{tabular} Name Place Weight O. Olsson Lund 73 Name Place Weight F. Baby Varying 4 P. Persson Tokholmen 110 O. Olsson Lund 73 F. Baby Varying 4 For professional-looking tables, use the package booktabs. P. Persson Tokholmen 110 Mathematics Math environments 1 \begin{equation} a = b + c + d a = b + c + d (1) Inline math: \end{equation} This formula \( f(x) = xˆ2 \) is an example. \begin{multline} Will give: a+b+c+d+e+f+g+h\\ a + b + c + d + e + f + g + h 2 This formula f(x) = x is an example. =i+j+k+l+m+n\\ = i + j + k + l + m + n +o+p+q+r+s Example:\( \cos2\theta = \cosˆ2 \theta - \sinˆ2 \theta \) \end{multline} + o + p + q + r + s (2) Example: cos 2θ = cos2 θ sin2 θ − \begin{equation} The pair \( \) may also be written $ $. A matter of personal taste. \begin{split} A &= x + y \\ A = x + y Displayed Math usually needs the amsmath package: &= a + b + c = a + b + c (3) \usepackage{amsmath} in the preamble. \end{split} \end{equation} The forms {equation*} and {multline*} get no number. Math Environments 2 Math Environments 3 \begin{gather} \begin{equation} a_{1}=b_{1}+c_{1}\\ \begin{aligned} a_{2}=b_{2}+c_{2} a1 = b1 + c1 (4) a_{11}+b_{11}&=c_{11} & a_{12}&=c_{12}\\ a + b = c a = c -d_{2}+e_{2} a2 = b2 + c2 d2 + e2 (5) 11 11 11 12 12 − a_{21}&=b_{21}+c_{21} & (7) a21 = b21 + c21 a22 = b22 \end{gather} a_{22}&=b_{22} \begin{align} \end{aligned} a_1 &= b_1 + c_1 \notag\\ \end{equation} a_2 + b_2 &= c_2 + d_2 a1 = b1 + c1 \begin{equation} a + b = c + d + e (6) + e_2 2 2 2 2 2 \lvert x\rvert = \end{align} \begin{cases} x if x < 0 -x & \text{if } x < 0 \\ x = − (8) Do not use {eqnarray}! It works, but the result is ugly. | | x if x 0 x & \text{if } x\ge 0 ( ≥ Note that {align} uses only one & to the left of \end{cases} the alignment point. \end{equation} Matrices and Fractions Defining and Redefining Commands \begin{equation*} A = \begin{matrix} a_{11} & a_{12} \\ \newcommand{\DRC}{Defining and Redefining Commands} a a a_{21} & a_{22} A = 11 12 defines a new command \DRC that can be used as an abbreviation for a a \end{matrix} 21 22 ‘Defining and Redefining Commands’. \end{equation*} The new command must not exist previously. LATEX will a a a a {pmatrix} A = 11 12 {bmatrix} A = 11 12 refuse if it does. a21 a22! "a21 a22# Use \renewcommand... to redefine a command, if you really know what you are doing. The command must exist previously. LATEXwill 1 1 a=\frac{1}{x} + \frac{1}{y} a = + refuse if it does not. x y \newcommand\itbold[1]{\textit{\textbf{#1}}} 1 1 x + y defines a command with one parameter, to create b=\frac{\frac{1}{x}+\frac{1}{y}}{y-z} b = y z \itbold{bold italic} bold italic text.
Recommended publications
  • Tlaunch: a Launcher for a TEX Live System
    TLaunch: a launcher for a TEX Live system Siep Kroonenberg June 29, 2017 This manual is for tlaunch, the TEX Live Launcher, version 0.5.3. Copyright © 2017 Siep Kroonenberg. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty. Contents 1 The launcher5 1.1 Introduction............................5 1.1.1 Localization........................6 1.2 Modes...............................6 1.2.1 Normal mode.......................6 1.2.2 Initializing.........................6 1.2.3 Forgetting.........................6 1.3 Using scripts............................7 1.4 The ini file.............................7 1.4.1 Location..........................7 1.4.2 Encoding..........................7 1.4.3 Syntax...........................7 1.4.4 The Strings section....................9 1.4.5 Sections for filetype associations (FTAs)........9 1.4.6 Sections for utility scripts................ 10 1.4.7 The built-in functions.................. 10 1.4.8 Menus and buttons.................... 11 1.4.9 The General section.................... 12 1.5 Editor choice............................ 12 1.6 Launcher-based installations................... 13 1.6.1 The tlaunchmode script................. 14 1.6.2 TEX Live Manager..................... 14 2 The launcher at the RUG 15 2.1 Historical.............................. 15 2.2 RES desktops........................... 16 2.3 Components of the rug TEX installation............ 16 2.4 Directory organization...................... 17 2.5 Fixes for add-ons......................... 17 2.5.1 TeXnicCenter....................... 17 2.5.2 TeXstudio......................... 18 2.5.3 SumatraPDF........................ 18 2.5.4 LyX............................. 18 3 CONTENTS 4 2.6 Moving the XeTEX font cache.................
    [Show full text]
  • The Gsemthesis Class∗
    The gsemthesis class∗ Emmanuel Rousseaux [email protected] February 9, 2015 Abstract This article introduces the gsemthesis class for LATEX. The gsemthesis class is a PhD thesis template for the Geneva School of Economics and Management (GSEM), University of Geneva, Switzerland. The class provides utilities to easily set up the cover page, the front matter pages, the pages headers, etc. with respect to the official guidelines of the GSEM Faculty for writing PhD dissertations. This class is released under the LaTeX Project Public License version 1.3c. ∗This document corresponds to gsemthesis v0.9.4, dated 2015/02/09. 1 Contents 1 Introduction3 2 Usage 3 2.1 Requirements..................................3 2.2 Getting started.................................3 2.3 Configuring your editor to store files in UTF-8...............4 2.4 Writing the dissertation in French......................4 2.5 Configuring and printing the cover page...................4 2.6 Configuring and printing the front matter pages...............4 2.7 Introduction and conclusion..........................5 2.8 Bibliography..................................5 2.8.1 Configure TeXstudio to run biber...................5 2.8.2 Configure Texmaker to run biber...................5 2.8.3 Configure Rstudio/knitr to run biber.................5 2.8.4 Basic commands............................6 2.8.5 Using you own bibliography management configuration......6 2.9 Draft mode...................................6 2.10 Miscellaneous..................................6 3 Minimal working example7 4 Implementation8 4.1 Document properties..............................8 4.2 Colors......................................8 4.3 Graphics.....................................8 4.4 Link management................................9 4.5 Maths......................................9 4.6 Page headers management...........................9 4.7 Bibliography management........................... 10 4.8 Cover page..................................
    [Show full text]
  • More Latex and Julia and How to Use It to Prepare a Homework
    Numerical and Scientific Computing with Applications David F. Gleich CS 314, Purdue By the end of this class, August 31, 2016 • Understand what LaTeX is More LaTeX and Julia and how to use it to prepare a homework. • See functions in Julia and Next class how they help make code HOMEWORK DUE! easy and reusable. Intro to floating point arithmetic • Your last questions about G&C - Chapter 5 Julia! Next next class • Go over common mistakes on the quiz. Labor day! Take a day off Logistics 1. Final exam We will have the final EARLY (December 2) based on the results of the poll which overwhelmingly picked this option. Course Survey Matlab only 33 Numpy/Scipy only 5 Both 16 Latex 9 Taylor series 23 Topics Monte Carlo, ODEs, Matrices Stuff Julia & Mandelbrot sets! Quiz Results … at end of class ... LaTeX • A document typesetting system designed for beautiful mathematical documents. • TeX was designed by Donald Knuth • LaTeX was designed by Leslie Lamport • Both won Turing awards - Nobel prize of CS • You need to “compile” your documents. pdflatex myfile.tex # produces myfile.pdf Recommended packages + editors Windows • MiKTex and TexStudio Mac • MacTex and TexStudio or TexMaker Linux • TeXLive (or apt-get / yum package) + Kile or TexStudio Online • Overleaf • Juliabox Notebooks Making a simple document \documentclass{article} \usepackage[margin=1in]{geometry} \title{My document} \author{David and Collaborators} \begin{document} \maketitle \section{Problem 1} \section*{Solution} \section{Problem 1} \section*{Solution} \end{document} demo Editing a homework demo Back to Julia! .
    [Show full text]
  • Latex in Twenty Four Hours
    Plan Introduction Fonts Format Listing Tabbing Table Figure Equation Bibliography Article Thesis Slide A Short Presentation on Dilip Datta Department of Mechanical Engineering, Tezpur University, Assam, India E-mail: [email protected] / datta [email protected] URL: www.tezu.ernet.in/dmech/people/ddatta.htm Dilip Datta A Short Presentation on LATEX in 24 Hours (1/76) Plan Introduction Fonts Format Listing Tabbing Table Figure Equation Bibliography Article Thesis Slide Presentation plan • Introduction to LATEX Dilip Datta A Short Presentation on LATEX in 24 Hours (2/76) Plan Introduction Fonts Format Listing Tabbing Table Figure Equation Bibliography Article Thesis Slide Presentation plan • Introduction to LATEX • Fonts selection Dilip Datta A Short Presentation on LATEX in 24 Hours (2/76) Plan Introduction Fonts Format Listing Tabbing Table Figure Equation Bibliography Article Thesis Slide Presentation plan • Introduction to LATEX • Fonts selection • Texts formatting Dilip Datta A Short Presentation on LATEX in 24 Hours (2/76) Plan Introduction Fonts Format Listing Tabbing Table Figure Equation Bibliography Article Thesis Slide Presentation plan • Introduction to LATEX • Fonts selection • Texts formatting • Listing items Dilip Datta A Short Presentation on LATEX in 24 Hours (2/76) Plan Introduction Fonts Format Listing Tabbing Table Figure Equation Bibliography Article Thesis Slide Presentation plan • Introduction to LATEX • Fonts selection • Texts formatting • Listing items • Tabbing items Dilip Datta A Short Presentation on LATEX
    [Show full text]
  • How to Make a Presentation with LATEX? Introduction to Beamer
    1 / 45 How to make a presentation with LATEX? Introduction to Beamer Hafida Benhidour Department of computer science King Saud University December 19, 2016 2 / 45 Contents Introduction to LATEX Introduction to Beamer 3 / 45 Introduction to LATEX I LATEXis a computer program for typesetting text and mathematical formulas. I Uses commands to create mathematical symbols. I Not a WYSIWYG program. It is a WYWIWYG (what you want is what you get) program! I The document is written as a source file using a markup language. I The final document is obtained by converting the source file (.tex file) into a pdf file. 4 / 45 Advantages of Using LATEX I Professional typesetting: best output. I It is the standard for scientific documents. I Processing mathematical (& other) symbols. I Knowledgeable and helpful user group. I Its FREE! I Platform independent. 5 / 45 Installing LATEX I Linux: 1. Install TeXLive from your package manager. 2. Install a LATEXeditor of your choice: TeXstudio, TexMaker, etc. I Windows: 1. Install MikTeX from http://miktex.org (this is the LATEXcompiler). 2. Install a LATEXeditor of your choice: TeXstudio, TeXnicCenter, etc. I Mac OS: 1. Install MacTeX (this is the LATEXcompiler for Mac). 2. Install a LATEXeditor of your choice. 6 / 45 TeXstudio 7 / 45 Structure of a LATEXDocument All latex documents have the following structure: n documentclass[...] f ... g n usepackage f ... g n b e g i n f document g ... n end f document g I Commands always begin with a backslash n: ndocumentclass, nusepackage. I Commands are case sensitive and consist of letters only.
    [Show full text]
  • Pharmtex Quick Guide Date Issued: 15 JAN 2019 Version: 1.2 Author: Christian Hove Rasmussen Contact: [email protected] Website
    PharmTeX Quick Guide Version 1.2 Quick Guide Report Title: PharmTeX Quick Guide Date Issued: 15 JAN 2019 Version: 1.2 Author: Christian Hove Rasmussen Contact: [email protected] Website: http://pharmtex.org PHARMTEX QUICK GUIDE Page 1 of 6 PharmTeX Quick Guide Version 1.2 1. INTRODUCTION PharmTeX is an open-source framework for creating publishing-ready reports directly from figure and table files. The framework is based on LaTeX, the gold standard for typesetting scientific documents. PharmTeX is released under the GNU Affero General Public License Version 3 (AGPLv3). This user guide has the objective of giving you as a PharmTeX user the ability to: • Set up PharmTeX on your computer. • Initialize a report. • Use PharmTeX features to put in various key report components. • Finalize a report to make it ready for publishing. 2. SETTING UP PHARMTEX In this guide, we will assume that you are using the PharmTeX software bundles. They are available on pharmtex.org under Downloads. Currently, versions for Windows and Linux are available. Please download the one suitable for your operating system. Once the ZIP file is downloaded, double-click it to open it and drag-and-drop the "pharmtex" folder within to C:\Users\USERNAME on Windows 10 and /home/USERNAME on Linux (takes about 15 min to extract). When you are done, the location and contents on Windows 10 should be as shown in Figure 1, with USERNAME matching your Windows login name: Figure 1. PharmTeX software bundle location PharmTeX software bundle location. Once the bundle is in place, please download the example document ZIP file from pharmtex.org (located under Downloads).
    [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]
  • No. 1 41 Texstudio: Especially for LATEX Newbies Siep Kroonenberg
    TUGboat, Volume 37 (2016), No. 1 41 TeXstudio: Especially for LATEX newbies local TEX installation has menu entries for all three documents. Siep Kroonenberg Starting out Abstract We have a few choices for starting a new document. TeXstudio is the default editor of the T X Live in- E The File menu has items `New', which starts with a stallation at the Rijksuniversiteit Groningen. This blank document, and `New from Template', which article tries to show how TeXstudio can help new creates a new document and adds templates for a users come to grips with LAT X and what makes it a E title and abstract. good choice for a LAT X introduction. E But in this article we start a new document with Introduction the `Quick Start' entry from the Wizards menu; see figure 2. If we just click the OK button, we see the The TEX installation at our university, the Rijks- following in the edit panel: universiteit Groningen in the Netherlands, includes TeXstudio as one of three (LA)TEX editors. TeXstudio, the subject of this article, is the initial default editor. Its features make it especially suitable for first-time LATEX users: there are many GUI elements for enter- ing mathematics and LATEX code, there are buttons for one-click compiling and previewing LATEX docu- ments, and the editor gives a lot of useful feedback. TeXstudio is open source and cross-platform, and is actively being developed. This article refers Subsequently we can start entering text between to version 2.10.4. \begin{document} and \end{document}.
    [Show full text]
  • A Tutorial of Latex for CSCI-473/573 History of Latex
    A Tutorial of LaTex for CSCI-473/573 History of LaTex • Pronounced “lah-tech” or “lay-tech” • Originally written by Leslie B. Lamport • Enables authors to typeset and print their work at professional quality • Suited to large articles and books • Automatic numbering of: • Chapters • Sections • Theorems • Equations • etc • Front-end to TEX • Invented by Donald Knuth to typeset text and mathematical formulas 2 Use of LaTex What can we use LaTex for? • Like we said before: • Books • Articles • But also other things too! • CV / resume • Letters • Lab Write-ups / Reports • Slides (but I personally not a big fun of it for teaching…) • This list goes on! 3 LaTex vs Word Why use LaTex when we have word? • Cost: LaTex is free! • Quality • Separation of context and style • Portability • Stability • etc Source: http://ctan.org/ctan-portal/tex/ http://www.andy-roberts.net/writing/latex/benefits 4 How can I use LaTex online (recommended) • You may use an online LaTex Editor: https://www.overleaf.com/ • Mines offers Overleaf tutorials: https://libguides.mines.edu/LaTeX/OverLeaf 5 How can I Install and use LaTex offline • Download and install MikTeX • Then download and install an editor: • TexMaker: It comes with an integrated pdf viewer and all the bells and whistles that a modern editor should have. • TexStudio: it's a TexMaker ripoff with many more configuration options and it used to be called TexMakerX. • WinEdt: A very powerful editor (but not free) • TexWorks: comes with MikTex. Source: http://www.stat.pitt.edu/stoffer/freetex.html TexMaker: http://www.xm1math.net/texmaker
    [Show full text]
  • Installation Instructions for Latex
    Installing LaTeX If you would like to write and compile your LaTeX documents from your own machine, rather than from a Cloud-based software, you will need to install 1. A TeX distribution (this contains all the necessary files to be able to compile the .tex file and produce the output) 2. A LaTeX editor (this is the software which you use to write and compile the .tex file). Here are some instructions on what to do depending on your machine: • If you have Windows: you can install the MiKTeX distribution, which includes the TeXworks editor. You may also want to install the TexMaker editor, or the TeXStudio editor, which are more advanced editors than TeXworks (although TeXworks will be fine for what we do on the day). • If you have Mac: you can install the MacTex distribution (the full one, NOT the basic one), which includes the TexShop editor. You may also want to install the TexMaker editor, or the TeXStudio editor, which are more advanced editors than TeXShop (although TeXShop will be fine for what we do on the day). • If you have Linux: you can install the TexLive distribution, which contains the TeXworks editor, through your repository manager (Synaptic or other). You may also want to install the more advanced Texmaker or the TexStudio editor (although TeXworks will be fine for what we do on the day). University of Aberdeen :: Student Learning Service Reviewed: 23/06/2021 The University of Aberdeen is a charity registered in Scotland, No SC013683 .
    [Show full text]
  • LATEX: a Brief Introduction
    LATEX: A Brief Introduction Andrew Q. Philips∗ September 12, 2019 ∗Assistant Professor, Department of Political Science, University of Colorado at Boulder, UCB 333, Boulder, CO 80309-0333. [email protected]. www.andyphilips.com. Earlier versions of this paper came from the political science graduate student “Bootcamp” course held at Texas A&M University in 2015 and 2016. Contents 1 Introduction 2 2 Creating your First LATEX Document 4 2.1 Downloading LATEX ............................... 4 2.2 Preamble and Packages ............................ 6 2.3 Starting the Document ............................. 8 2.4 Sections, Subsections, and Sub-Subsections .................. 10 2.5 Itemize and Enumerate ............................. 11 2.6 Typesetting ................................... 13 3 Math and Symbols in LATEX 14 3.1 Referencing ................................... 15 3.2 Subscripts .................................... 16 3.3 Fractions .................................... 17 3.4 Greek Symbols ................................. 18 3.5 Equations in the Text ............................. 19 3.6 Symbols that are Off-Limits .......................... 21 4 Inserting Tables and Figures 21 4.1 Figures ...................................... 21 4.2 Advanced Figures and Tips .......................... 23 4.3 Tables ...................................... 26 5 Bibliographies 27 6 Beamer 32 7 CVs 35 8 Other ‘TeX’ Languages 36 9 Resources 36 9.1 Documents Included in this Introduction ................... 37 © Andrew Q. Philips 2015-2019 1 1 Introduction This paper is designed to introduce LATEX, a typesetting program that can greatly ease production of academic articles, presentation slides, and many other applications. LATEX (pronounced “lay-tech” or “lah-tech”) has grown in use from its creation in 1985, and is already very popular in academia. LATEX does have a fairly steep learning curve, but it is well worth knowing. In fact, once you create your own basic template, the start-up costs diminish substantially.
    [Show full text]
  • FOR BEGINNERS 2 Day Workshop on Research Methodology & Technical Writing
    2 Day Workshop on Research Methodology & Technical Writing FOR BEGINNERS Chandra Prakash Assistant Professor IGDTUW, Delhi Index • – Introduction • Why you should learn LaTeX ? • Nuts and Bolts of LaTeX – Structure – Format – Equations – Table and Figure – Reference • Examples 2 Common Scenario in Research • As a Researcher you need to write a scientific Paper/Thesis and publish your research work • Each publishing firm (IEEE, Springer etc.) has its own layout. • If not selected in one firm, send it to other. – One way :- Rewrite it again as per new format – Other way :- If you write it in Latex you only need to change the style file to set it into their format. • There is no need for a complete rewrite Introduction • LaTeX is a typesetting systems (scripting language) suitable for producing high quality scientific and mathematical documents – Enables authors to typeset and print their work at the highest typographical quality. – Pronounced as “Lay-tech”. – Uses TeX formatter as its typesetting engine. • TeX is a program written by Donald Kunth in 70’s for typesetting text and mathematical formulas TeX LaTeX Identify Which One is Good in Look ?? 5 Latex vs. Word Processors • Standard processors (M.S. Word, Open office) are of the WYSIWYG type, that is, what you see is what you get. Instead, LATEX is considered as WYSIWYM, what you see is what you mean. • High typeset quality Word J[x(),u()] F(x(t),u(t),t)dt LaTeX t0 • Easy to include math formulas • Source file format is not bounded to a particular OS or platform • Portability (Windows, Unix, Mac) • Latex implementations exists for all platforms (DOS, Windows, Unix, Mac ..) • Free Vs Paid Again Which One is Latex Draft ??? 7 Why to use it • Considered as De facto standard for scientific publishing • Reuse already written up material • Almost all good journals/conferences have their LaTeX styles (just download and use them).
    [Show full text]