[PDF] Introduction to LATEX Part 1 - wintuenl



Previous PDF Next PDF







Introduction to LATEX - MIT

Introduction to LATEX A Basic Document Basic Formatting Spacing Margins The default: between 1 5 inches and 1 875 inches Setting margins: nusepackage[margin=0 5in]fgeometryg



AN INTRODUCTION TO LATEX - University of Connecticut

Aug 24, 2020 · AN INTRODUCTION TO LATEX 3 The brace is generated using nbeginfcasesg,nendfcasesg All text in math mode, by default, is put in italics To tell LaTeX to keep certain text in math mode unitalicized, like \if" in the de nition above of the absolute value, write ntextfifg If you don’t do this, then \if" gets italicized and the output is ugly



Introduction to LATEX

that you write into your latex document For example, look at the latex code and the produced output below: for i = 1 : 10 x = x - f(x) / f’(x) end 4 3 Adding gures and tables The way LATEX handle gures is a little bit weird To simplify things, we are going to use the package graphicx as it supported by our latex compiler pd a-



Introduction to LaTeX

Manolis Christodoulakis (UCY) Introduction to LATEX September 2012 1 / 87 Overview 1 LATEX basics 2 Document Structure 3 Document Formatting 4 Packages 5 Tables and Figures 6 Mathematics 7 Appendix A Customizing LATEX 8 Appendix B The AMS-LATEX bundle 9 Appendix C Dealing with Greek characters Stelios Vrachimis, Alexis Kyriacou Introduction to





Introduction to LATEX Part 1 - wintuenl

\section{Introduction} LaTeX is a document preparation system used to create documents of high quality typography It is mostly used in the fields of mathematics and natural sciences, but can in fact be used for any type of publication \end{document} Introduction



LATEX for Beginners Workbook Edition 5, March 2014 Document

Chapter 1 Introduction 1 1 What is LATEX? LATEX (pronounced lay-tek) is a document preparation system for producing professional-looking documents, it is not a word processor



Part 1: The Basics Dr John D Lees-Miller January 26, 2020

An Interactive Introduction to LATEX Part 1: The Basics Dr John D Lees-Miller January 26, 2020



Introduction to LATEX - University of Virginia

Introduction to LATEX Chelsea Goforth Statistical Consulting Associate StatLab: Statistics and Data Analysis University of Virginia Library 9 February 2016 Many thanks to Dave Armstrong, University of Wisconsin{Milwaukee and ICPSR Summer Program 2014, for many of the materials and examples used in this presentation Contents

[PDF] Introduction au LaTeX

[PDF] LATIN DEBUTANT Cours - Créer son blog

[PDF] FT : Le lavage manuel des sols - SBSSA - Rouen

[PDF] Les théories et la prise de décision

[PDF] Témoignages d 'étudiants pour une rentrée en L1 LEA

[PDF] Management et leadership - cefcm

[PDF] 52 leçons de leadership

[PDF] cours Grandes découvertes

[PDF] Les ondes [Cours] - L 'Etudiant

[PDF] LA LIBERTE

[PDF] LICENCE ADMINISTRATION PUBLIQUE (L3)

[PDF] livret d 'accueil licence aes - UFR AES

[PDF] Licence Fondamentale en Economie et Finance Internationales

[PDF] Brochure_LICENCE Histoire 2016-2017 v0b - Université Evry Val d

[PDF] Étude de fonctions Limites et continuité I Limite d 'une - Logamathsfr

IntroductiontoL

ATEXPar t1

http://www.win.tue.nl/marko/latexSeptember2008Marko Boon(marko@win.tue.nl) 2/82 /departmentofmathematicsand comput erscienceSeptembe r2008Introduction3

Text,SymbolsandC ommands

47

DocumentLayout

66Contents

3/82 /departmentofmathematicsand comput erscienceSeptembe r2008L ATEXis adocumentprepar ationsys tem.Itisw idelyusedinthefieldsofmath- ematicsandnaturals cience s,butalsospreadingt omanyotherdisciplines. LATEXis asetofmarkup command sused withthe powerfultypesetting pro- gramTEX. totallyopensoftwaresyst em,free ofcharge. maintainedbytheLATEX3Proj ectgroup.Hundredsof usercontributions.Introduction 3/82 /departmentofmathematicsand comput erscienceSeptembe r2008L ATEXis adocumentprepar ationsys tem.Itisw idelyusedinthefieldsofmath- ematicsandnaturals cience s,butalsospreadingt omanyotherdisciplines. LATEXis asetofmarkup command sused withthe powerfultypesetting pro- gramTEX. totallyopensoftwaresyst em,free ofcharge. maintainedbytheLATEX3Proj ectgroup.Hundredsof usercontributions.platformindependent.Introduction 3/82 /departmentofmathematicsand comput erscienceSeptembe r2008L ATEXis adocumentprepar ationsys tem.Itisw idelyusedinthefieldsofmath- ematicsandnaturals cience s,butalsospreadingt omanyotherdisciplines. LATEXis asetofmarkup command sused withthe powerfultypesetting pro- gramTEX. totallyopensoftwaresyst em,free ofcharge. maintainedbytheLATEX3Proj ectgroup.Hundredsof usercontributions.platformindependent.L ATEXis nowordproc essor! LATEXstimu latesplacingemphasisoncontent(logi- calmarkup)in steadofappearance(typographicalmarkup).Introduction 4/82 /departmentofmathematicsand comput erscienceSeptembe r2008Introduction 5/82 /departmentofmathematicsand comput erscienceSeptembe r2008L

ATEXeditor: WinEdtIntroduction

6/82 /departmentofmathematicsand comput erscienceSeptembe r2008DVIpreviewer: YapIntroduction 7/82 /departmentofmathematicsand comput erscienceSeptembe r2008PostScriptviewer:GSViewIntroduction 8/82

/departmentofmathematicsand comput erscienceSeptembe r2008PDFview er:Adobe(Acrobat) ReaderIntroduction

9/82 /departmentofmathematicsand comput erscienceSeptembe r2008Introduction 10/82 /departmentofmathematicsand comput erscienceSeptembe r2008TheL

ATEXlan guage

LATEXcomm andsalwaysstartwith abackslash:\Introduction 10/82 /departmentofmathematicsand comput erscienceSeptembe r2008TheL

ATEXlan guage

LATEXcomm andsalwaysstartwith abackslash:\requiredcommandargumentsar eplacedbetweencurly brackets:{}Introduction

10/82 /departmentofmathematicsand comput erscienceSeptembe r2008TheL

ATEXlan guage

LATEXcomm andsalwaysstartwith abackslash:\requiredcommandargumentsar eplacedbetweencurly brackets:{}optionalcommandar gumentsareplacedbetween brackets:[]Introduction

10/82 /departmentofmathematicsand comput erscienceSeptembe r2008TheL

ATEXlan guage

LATEXcomm andsalwaysstartwith abackslash:\requiredcommandargumentsar eplacedbetweencurly brackets:{}optionalcommandar gumentsareplacedbetween brackets:[]commentsstart withapercentagesymbol:%Introduction

10/82 /departmentofmathematicsand comput erscienceSeptembe r2008TheL

ATEXlan guage

LATEXcomm andsalwaysstartwith abackslash:\requiredcommandargumentsar eplacedbetweencurly brackets:{}optionalcommandar gumentsareplacedbetween brackets:[]commentsstart withapercentagesymbol:%LATEXtak escareofthespacing betweenwordsandpar agraphs(ju stlik e

HTML).Introduction

10/82 /departmentofmathematicsand comput erscienceSeptembe r2008TheL

ATEXlan guage

LATEXcomm andsalwaysstartwith abackslash:\requiredcommandargumentsar eplacedbetweencurly brackets:{}optionalcommandar gumentsareplacedbetween brackets:[]commentsstart withapercentagesymbol:%LATEXtak escareofthespacing betweenwordsandpar agraphs(ju stlik e

HTML).thecomm ands\begin{}and\end{}createenvironments.Introduction 11/82 /departmentofmathematicsand comput erscienceSeptembe r2008A.t exfile \begin{document}%document \end{document}Introduction 12/82 /departmentofmathematicsand comput erscienceSeptembe r2008A.t exfile:intro.tex

\documentclass[12pt]{article}\usepackage[english]{babel}\begin{document}\section{Introduction}LaTeXisa documentpreparationsystem usedto

createdocumentsof highqualitytypography.

Itismostly usedinthe fieldsofmathematics

andnaturalsciences, butcanin factbeused foranytype ofpublication. \end{document}Introduction 13/82 /departmentofmathematicsand comput erscienceSeptembe r2008InvokingLaTeX 14/82 /departmentofmathematicsand comput erscienceSeptembe r2008InvokingLaTeX 15/82 /departmentofmathematicsand comput erscienceSeptembe r2008InvokingLaTeX 16/82 /departmentofmathematicsand comput erscienceSeptembe r2008InvokingYap 17/82 /departmentofmathematicsand comput erscienceSeptembe r2008InvokingYap 18/82 /departmentofmathematicsand comput erscienceSeptembe r2008AlternativetoLaTeX:PDFLaTeX 19/82 /departmentofmathematicsand comput erscienceSeptembe r2008AlternativetoLaTeX:PDFLaTeX 20/82 /departmentofmathematicsand comput erscienceSeptembe r2008AlternativetoLaTeX:PDFLaTeX 21/82
/departmentofmathematicsand comput erscienceSeptembe r2008AlternativetoLaTeX:PDFLaTeX 22/82

/departmentofmathematicsand comput erscienceSeptembe r2008\documentclass[12pt]{article}\usepackage[english]{babel}\section{Introduction}LaTeXisa documentpreparationsystem.

Itiswidely usedinthe fieldsofmathematics

andnaturalsciences, butalsospreading to manyotherdisciplines. \end{document}ErrorHandling 23/82
/departmentofmathematicsand comput erscienceSeptembe r2008ErrorHandling 24/82
/departmentofmathematicsand comput erscienceSeptembe r2008ErrorHandling 25/82
/departmentofmathematicsand comput erscienceSeptembe r2008ErrorHandling 26/82
/departmentofmathematicsand comput erscienceSeptembe r2008ErrorHandling 27/82

/departmentofmathematicsand comput erscienceSeptembe r2008\documentclass[12pt]{article}\usepackage[english]{babel}\begin{document}\section{Introduction}LaTeXisa documentpreparationsystem.

Itiswidely usedinthe fieldsofmathematics

andnaturalsciences, butalsospreading to manyotherdisciplines. \end{document}ErrorHandling-W arnings 28/82
/departmentofmathematicsand comput erscienceSeptembe r2008ErrorHandling-W arnings 29/82
/departmentofmathematicsand comput erscienceSeptembe r2008MiKT canbedownlo adedfr omhttp://www.mikt ex.org containsallLATEXrel atedbinaries,like latex.exe,pdflatex.exe,yap.exe, bibtex.exe, dvips.exe,ps2pdf.exe containsallstandardp ackages(w illbediscussedlater)MiKT EX 30/82
/departmentofmathematicsand comput erscienceSeptembe r2008WinEdt-editor

Yap-DVIpr eviewer

GSView-PSpreview er

Otherusef ulprograms:

AdobeAcro batorAdobeReader-view/editPDFfiles

CorelDesigner-C reateandexportEPSImag es

OpenOffic e.orgDraw-Createandexpor tEPSImagesL

ATEXRel atedPrograms

31/82
/departmentofmathematicsand comput erscienceSeptembe r2008WinEdt 32/82
/departmentofmathematicsand comput erscienceSeptembe r2008New LaTeX documentWinEdt 33/82
/departmentofmathematicsand comput erscienceSeptembe r2008WinEdt 34/82
/departmentofmathematicsand comput erscienceSeptembe r2008WinEdt 35/82
/departmentofmathematicsand comput erscienceSeptembe r2008WinEdt 36/82
/departmentofmathematicsand comput erscienceSeptembe r2008runsL ATEXonthe current document. Ifnoerrorsarefou nd,theresultingD VI filewillbeopened inYap.runsYaponthegener atedDVIfil e. convertsDVItoPostScript. opensthePos tScriptfi leinGSView. runsPDFL ATEXonthe current document. opensthePDFdocument inAdobe Rea der. opensthedocumentin Yapand jumpttothecurr entlocation inthedocu- ment.startsBibT

EX(forbibliographie s).generatesamasterindex.

removesallgeneratedauxiliar yfiles(D VI,LOG,PDF,BIB,:::).Only the

PostScriptfilewillnotbedel eted.

37/82
/departmentofmathematicsand comput erscienceSeptembe r2008WinEdt 38/82
/departmentofmathematicsand comput erscienceSeptembe r2008WinEdt 39/82
/departmentofmathematicsand comput erscienceSeptembe r2008WinEdt 40/82
/departmentofmathematicsand comput erscienceSeptembe r2008Yap 41/82
/departmentofmathematicsand comput erscienceSeptembe r2008double-click on text for inverse searchYap 42/82
/departmentofmathematicsand comput erscienceSeptembe r2008!dvips 43/82
/departmentofmathematicsand comput erscienceSeptembe r2008GSView 44/82
/departmentofmathematicsand comput erscienceSeptembe r2008Mathematical symbolsWinEdt 45/82
/departmentofmathematicsand comput erscienceSeptembe r2008WinEdt 46/82

/departmentofmathematicsand comput erscienceSeptembe r2008Line / block selection modeSpelling check on/offWrapping on/offLine numbering on/offJump to lineWinEdt

47/82

/departmentofmathematicsand comput erscienceSeptembe r2008Acommandisaninstructi onto LATEXto dosomethingspeci al.Thr eetypesof

commandnames: thesin glecharacters#$& ~_^ %{} allhaves pecialmeaning toprintoneofthe sech aracter s,prec edeitwithab ackslash:\$\#\% thebac kslashcharacter\plusasequenceoflett ers,endin gwiththefirs t non-letter:\large\Large\bfseriesText,SymbolsandC ommands 47/82

/departmentofmathematicsand comput erscienceSeptembe r2008Acommandisaninstructi onto LATEXto dosomethingspeci al.Thr eetypesof

commandnames: thesin glecharacters#$& ~_^ %{} allhaves pecialmeaning toprintoneofthe sech aracter s,prec edeitwithab ackslash:\$\#\% thebac kslashcharacter\plusasequenceoflett ers,endin gwiththefirs t non-letter:\large\Large\bfseriesSomecomm andshaveaso-called*-form tomodifytheirfunctionality some- how.Example:\section*{Introduction}Text,SymbolsandC ommands 48/82

/departmentofmathematicsand comput erscienceSeptembe r2008Manycommandsoperat eonsomepieceoftext,whichthen appearsasan

argumentincurly bracesfo llowingthecommandname.Ex amples:\section{Introduction}\textbf{boldtext}\begin{document}Text,SymbolsandC ommands

48/82

/departmentofmathematicsand comput erscienceSeptembe r2008Manycommandsoperat eonsomepieceoftext,whichthen appearsasan

argumentincurly bracesfo llowingthecommandname.Ex amples:\section{Introduction}\textbf{boldtext}\begin{document}Optionalargumentsare putintosquar ebracketsand mandatoryar guments

intocurlybrac kets:\documentclass[11pt]{article}\usepackage[dutch]{babel}Text,SymbolsandC ommands 49/82
/departmentofmathematicsand comput erscienceSeptembe r2008Environments environmentparameters.Thistextwill notappearcentered. \begin{center}Thistextwill appearcentered.

Thistextwill appearcentered.

Thistextwill appearcentered.

\end{center}Thistextwill notappearcentered. Text,SymbolsandC ommands 50/82
/departmentofmathematicsand comput erscienceSeptembe r2008Declarations Adeclarationisacommand thatc hangesthevalues ormeaningsof certain parametersorcommandswithoutprintingan yte xt.Theeffectendswhenan-

otherdecl arationofthesametypeisencount ered.Thistextappears normalwhile\ bfseriesthistextappearsboldface.Text,SymbolsandC ommands

50/82
/departmentofmathematicsand comput erscienceSeptembe r2008Declarations Adeclarationisacommand thatc hangesthevalues ormeaningsof certain parametersorcommandswithoutprintingan yte xt.Theeffectendswhenan-

otherdecl arationofthesametypeisencount ered.Thistextappears normalwhile\ bfseriesthistextappearsboldface.Whenthedec laration occurswithinanenvironmentor withina{}block,its

scopeextendsonly tountiltheendofthisenv ironmentorblock. Thistextappears normalwhile{\ bfseriesthistextappearsboldface}.This textisnormal again.

\begin{center}\bfseriesThistextappears bold. \end{center}Thistextis normalagain.Text,SymbolsandC ommands 51/82
/departmentofmathematicsand comput erscienceSeptembe r2008LoadingPackages

storedinafilewiththe exten sion.s ty.Toinvokeap ackage,simp lycal l\usepackage{package_name}inthepr eambl e!

Example:L

ATEXdoes nothaveac ommandt oincludegraphics,soifw ewant toincludegraphic sinourdocument,w eshouldloadthep ackag egraphi cx whichdefinesanew command\includegraphics.Text,SymbolsandC ommands 52/82
/departmentofmathematicsand comput erscienceSeptembe r2008SpecialCharacters-Sp aces L ATEXtak escareofspacingin yourdocument.Thefol lowin gtwotextsappear exactlythesameintheD VIfil e:\section{Introduction}LaTeXisa documentpreparationsystem.

Itiswidely usedinthe fieldsofmathematics

andnaturalsciences, butalsospreading to manyotherdisciplines. \section{Introduction}LaTeXisa documentpreparationsystem. Itis widelyusedin thefields of mathematicsandnatural sciences, butalsospreading tomanyother disciplines.Text,SymbolsandC ommands 53/82
/departmentofmathematicsand comput erscienceSeptembe r2008SpecialCharacters-Sp acesquotesdbs_dbs8.pdfusesText_14