EGR 53L - Spring 2011

Size: px
Start display at page:

Download "EGR 53L - Spring 2011"

Transcription

1 EGR 53L - Spring 2011 Appendix A LATEX Information A.1 Introduction L A TEX is a very useful tool for making your lab reports look great. This document contains information about creating L A TEX documents, useful commands, and processing files. When you see text written in typewriter font, that means you can type it directly as you see it written here. A.2 Setting up the Document A.2.1 Using AMS-TEX The AMS-TEX package is included in OIT s basic L A TEX suite. This package, from the American Mathematical Society, contains several commands that make typesetting mathematics easier. While this guide will not always indicate which tools are from this package, you should note that some distributions of L A TEX must have the AMS-TEX package installed separately. A.2.2 Creating a L A TEX Document L A TEX runs by reading code that has been typed into a text editor. You will be creating a text document that contains all the code L A TEX needs to process the document. You can use any text editor you want (Pico, VI, Emacs, gedit, etc.) to create L A TEX code, though in this document we will be using Emacs. A L A TEX file must be saved with the ending of.tex. As an example, let s say we want to name our file lab1. In other words, the base name of the file (i.e. the file name without any of the extensions) will be lab1. To open Emacs and create this file, in the terminal window type next to your NET ID type: emacs lab1.tex & and press enter. The purpose of the & is to allow you to continue issuing commands in the terminal window. This will become helpful later when you are ready to view your document. If you forgot the & then you should close Emacs and re-run the command above. If you want to open your file again later, use the same command as above: emacs followed by the name of the file ending in.tex. Make sure you are in the right UNIX directory. A.2.3 Command Basics When Emacs opens, you will see a (mostly) blank page unless the file you have opened already has text in it. In that case, you should see the contents of that file. If you were expecting text, and see a blank page instead, you have likely either spelled the name of the file incorrectly or you are in the wrong directory. Be sure that you have the correct file before continuing. Now you can begin typing your commands. Most of the code in a L A TEX document consists of a series of commands. These commands consist of a backslash (\) followed by a word or phrase, and often another word, phrase, or number in brackets ({ }). When you type a command, or even just a backslash, it may appear in a different color or font style. Emacs has some helpful formatting commands that work with L A TEX code - these will be described later. When the command includes a backslash followed by begin, we say that we have initiated an environment. An environment is treated differently from the other text, depending on what you tell it to do. An environment is terminated with backslash followed by end. For example: \begin{document} \begin{center} text \end{center} \end{document} Other commands simply include a backslash and a symbol or word: \LaTeX \Delta \& App A 1

2 Note that in order to leave a space after the L A TEX symbol, you need to use the space command, which is simply a slash followed by a space. Punctuation that comes after L A TEX, however, works fine for L A TEX. The previous sentences, for example, were generated by: Note that in order to leave a space after the \LaTeX\ symbol, you need to use the space command, which is simply a slash followed by a space. Punctuation that comes after \LaTeX, however, works fine for \LaTeX. A.2.4 The Beginning and Ending of a L A TEX Document To start a document, you need to give L A TEX some information. The first code you need in your document is the header. The commands in the header will tell L A TEX what kind of document you have, whether you want to load any additional commands, and various other pieces of information that L A TEX needs before the body of the document appears. The simplest header indicates nothing more than what class of document you are creating and then tells L A TEX that the document is about to begin: \documentclass{article} \begin{document} In order to certain commands or to change the overall look and feel of a document, however, there may be a much more involved header. For example: \documentclass{article} \usepackage{amsmath} % loads AMS-Math package \usepackage{epsfig} % allows PostScript files \usepackage{listings} % allows lstlisting environment \usepackage{moreverb} % allows listinginput environment \usepackage{vmargin} % allows better margins \setpapersize{usletter} % sets the paper size \setmarginsrb{1in}{0.5in}{1in}{0.2in}{12pt}{11mm}{0pt}{11mm} % sets margins \begin{document} When you are finished adding the code required for a document, the last line should be: \end{document} This tells L A TEX that the document is done and it can stop processing the.tex file. Given that, the shortest L A TEX document you could have would be: \documentclass{article} \begin{document} a \end{document} which would produce a document of class article containing only the letter a. Note that simply writing and saving the.tex file will not create the finished document - that process will be covered in Section A.4 on page App A 10. App A 2

3 A.3 Frequently Used Commands A.3.1 Verbatim Environments You will have several occasions to include text directly from some other source in your reports. There are several different options for how to include that text in your file. First, you can use the verbatim environment. Characters placed between the begin and end tags of a verbatim environment are reproduced in your L A TEX document without L A TEX trying to process them for commands. That is to say, the code: \begin{verbatim} \documentclass{article} \begin{document} a \end{document} \end{verbatim} will be rendered as follows: \documentclass{article} \begin{document} a \end{document} At this point, you may be asking yourself, How can you get the \end{verbatim} text to still be inside a verbatim environment? And the answer is - you can t. In this particular case, a different verbatim-like environment was used. This environment - calledlstlisting - is not a part of the default L A TEX distribution but may be added to it using the \usepackage{listings} command in the header. The lstlisting command has some features that make it a bit more flexible than the verbatim command - for example, the ability to put a box around the text: Text. In a box. or to put a shadowbox around the text: Text. In a shadowbox. The box and shadowbox above was generated with the code: \begin{lstlisting}[frame=single] Text. In a box. \end{lstlisting} and \begin{lstlisting}[frame=shadowbox] Text. In a shadowbox. \end{lstlisting} Of course, things brings up the question of how the text above was typeset - and the answer is, in a verbatim environment. 1 1 You may be asking now, what if you want to show the code in LATEX that would put a verbatim environment inside a lstlisting environment inside a verbatim environment? To which a common reply might be another question - why on Earth would you want to do that?? App A 3

4 A.3.2 Copying / Inserting Text from Files If the information you want to have included in your document is currently residing in a file, there are two fundamentally different ways to bring them into your report. The first is to cut-and-paste the information into a verbatim or lstlisting environment. And there are two different ways to cut-and-paste. The first would be to literally 2 cut-and-paste the information. Open the document with the data you want transferred, select the information you want, then paste it into your.tex file. On UNIX, this generally means click-hold-dragging around the information you want, left-clicking in the.tex document, then middle clicking. The second method of cut-and-paste is to use Emacs Insert File command. With it, you can have Emacs bring all the data from one file into your.tex document. The Insert File command is located in the File command list at the top of the Emacs window. After you issue the command, you will need to type the address of the file you would like inserted. For example, to insert the code from the.m file MyFile.m which is in your EGR53 lab2 directory, go to Insert File and type: ~/EGR53/lab2/MyFile.m in the mini-command window that Emacs has activated. The text of the.m file will now appear in your document. A.3.3 Importing Text from Files Finally, if you want to bring in all the data from a file, you can use a special L A TEX command to have it import the information from a file as you process the document. In other words, this method does not require that you cut-and-paste the information but rather that you tell L A TEX what file to get the information from. There are two main commands to do this. The first is the verbatiminput command, which will basically take whatever is in the file specified and duplicate it in your document as if the characters were in averbatim environment. The format for this command is: \verbatiminput{myfile} Many times, you will be importing codes or scripts. And when importing codes or scripts, you will often find it convenient to have the line numbers printed along side the code. One of the most useful commands to do this is the listinginput command. This command is not a part of standard L A TEX but may be loaded with \usepackage{moreverb} in the header of a document. The simplest format for this command is: \listinginput[1]{1}{myfile} where the [1] means to put a line number on each line and the {1} means to start numbering at 1. You can change the number in the square brackets if you only want the line numbers printed every few lines. You can change the number in the curly brackets if the first line of the imported file should be listed as something other than 1. Note that the lstlisting command will always put a 1 on line 1 if such a line exists (i.e. as long as the number in the curly brackets is 1 or smaller). Also, the line numbers that are printed, other than 1 as mentioned, will be the integer multiples of the number in the square brackets. For example, the command: \listinginput[3]{-5}{myfile} means the first line of the file is numbered -5 and print line numbers for lines that are multiples of 3 and for whichever line is numbered 1. If the file is long enough, then the first two imported lines would have no number printed (they would be numbered -5 and -4 by lstlisting); the next imported line, numbered -3, would have its line number printed. The next two imported lines, numbered -2 and -1, would not. The sixth line of code - numbered 0 - would have its number printed next to it, as would the seventh line of code since it is numbered 1 and listinginput always prints the 1. From there on out, only lines numbered as integer multiples of 3 would have their numbers printed. 2 Well...literally in the computational senses of cut and paste. App A 4

5 A.3.4 Math Mode To write the L A TEX for most of the mathematical symbols, formulas, and other constructions you want to create, such as Greek letters, arrows, relational symbols, and so on, you are going to need to be in math mode. Otherwise, L A TEX gets stuck and the symbol does not appear as you intended. In addition, arrays must be created in math mode. There are a couple of ways to get into math mode. If you want to put math in the middle of a phrase or sentence - for example, a single letter, exponent or formula - it is easiest to surround the text with dollar signs ($). Consider the following sentence: We calculated the stress as σ = MPa and the strain as ǫ = 1.2. This is how the code appeared: We calculated the stress as $\sigma = 1.6 \times 10^6$ MPa and the strain as $\epsilon = 1.2$.\\ You do not want to surround the whole sentence with the $ symbols, because it will appear like this: Wecalculatedthestressasσ = MPaandthestrainasǫ = 1.2. You can use the $ symbol to get into math mode for larger expressions as well, though if the expression should be set on its own you will want to use a specialized math environment. For example, it may be a bit awkward to write that the Law of Cosines, which states that, a 2 + b 2 = c 2 2ab cos(θ), can be solved a b c ( ) c for θ with θ = arccos 2 a 2 b 2 2ab. Or that the determinant of a matrix M = d e f is det(m) = g h i aei + bfg + cdh afh bdi ceg. Generally, anything taller than a typical line of text should go on its own as not to interfere with the line spacing. A.3.5 Math Environments L A TEX itself provides several math environments, while theamsmath package adds several more. The following commands show different ways to start a math environment. Note that since they are math environments in their own right, they do not get surrounded by $. \begin{eqnarray} \end{eqnarray} The eqnarray environment is the built-in environment for getting a numbered array of equations. For example, to typeset the equations: you would need to have: \begin{eqnarray} ax^2+bx+c=0\\ x=\frac{-b\pm\sqrt{b^2-4ac}}{2a} \end{eqnarray} ax 2 + bx + c = 0 x = b ± b 2 4ac 2a (A.1) (A.2) as a part of your.tex document. The begin command is used to start the eqnarray environment which accepts an array of equations. Note that the equations are both right-justified and each line is numbered. App A 5

6 \begin{eqnarray*} \end{eqnarray*} Most math environments come in numbered and unnumbered forms. To typeset the same equations above, but without equation numbers: you could use: \begin{eqnarray*} ax^2+bx+c=0\\ x=\frac{-b\pm\sqrt{b^2-4ac}}{2a} \end{eqnarray*} ax 2 + bx + c = 0 x = b ± b 2 4ac 2a where the asterisk is an indicator to L A TEX not to number each line. \begin{align} \end{align} Using the AMS-TEX package - and specifically the align environment that it provides - you can line equations up on particular characters. You will need to put an & before the character that you aligned. Example: This is generated using: ax 2 + bx + c = 0 \begin{align} ax^2+bx+c&=0\\ x&=\frac{-b\pm\sqrt{b^2-4ac}}{2a} \end{align} x = b ± b 2 4ac 2a % <-- note location of & (A.3) (A.4) The equations are lined up on whatever comes after the ampersand and the equations are numbered (no asterisk after align). Note that the numbering is a continuation of the numbering from the eqnarray environment - but that there was no increase in the equation number from the equations in the eqnarray* environment. \begin{align*} \end{align*} This time the * suppresses numbering of the equations. Example: The code for this is: 3x + 4y = 10 a(x x 0 ) + b(y y 0 ) + c(z z 0 ) = 0 \begin{align*} 3x + 4y &= 10\\ a(x-x_{0}) +b(y-y_{0})+c(z-z_{0})&=0 \end{align*} Both align environments will center the group of equations. App A 6

7 Multiple equations per line You can include multiple equations on a single line in the align and align* environments, using & to separate the different equations. Example: The code for this is: \begin{align} \pi&= & e&= \\ i&=\sqrt{-1} & e^{\pi i}&=-1 \end{align} π = e = (A.5) i = 1 e πi = 1 (A.6) Finally, you will sometimes want to have parts of an eqnarray or align environment numbered and other parts not. For example, if a portion of an equations runs several lines, you might want the first one numbered but the other not. In this case, you can append a \nonumber to the end of whichever lines should remain unnumbered. For example: Fx = F 1 + F 2 + F 5 (A.7) is created with: = 100 lb + ( 20 lb) + 50 lb = 130 lb Fy = F 3 F 4 = 140 lb 30 lb = 110 lb \begin{align} \sum F_x&=F_1+F_2+F_5\\ &= 100\mbox{ lb}+(-20\mbox{ lb})+50\mbox{ lb} \nonumber \\ &= 130\mbox{ lb} \nonumber \\ \sum F_y&=F_3-F_4\\ &= 140\mbox{ lb}-30\mbox{ lb} \nonumber \\ &= 110\mbox{ lb} \nonumber \end{align} (A.8) App A 7

8 A.3.6 General Math Commands These require math mode - which is to say, either the code they are in needs to be surrounded by $ or inside a math environment as described above. \frac{a}{b} Creates the fraction a b ; replace a and b with anything. \mbox{text} When you want text to appear normal within an equation, instead of using italics and math spacing. \lim, \hat{a}, \vec{a}, \imath, \jmath, \sqrt{a} A couple of other useful commands; you might be able to guess what they do. If not, let a search engine do the walking! Or try them out in your own file. _{subscript}, ^{superscript} Subscripts and superscripts - the brackets are optional for single character subscripts and superscripts but required for multiple characters. \lefta B \rightc- used to put brackets of symbols A and C to the left and right of whatever B is. A and C do not have to be the same thing, but there does have to be a right for every left. The possible symbols are in Kopka and Daly. An additional symbol is the period (.), which will produce a blank - this is useful if you want to only have a delimiter on one side. One thing to be careful about is using curly brackets {} as delimiters. You must put a slash in front of them first. For example: 0 x < 0 f(x) = undefined x = 0 g(x) = = 2 1 x > 0 can be produced with the code: \begin{align*} f(x)&=\left\{ \begin{array}{ll} 0 & x<0 \\ \mbox{undefined} & x=0\\ 1 & x>0 \end{array} \right.& g(x)&=\left \left[ \begin{array}{cc} 1 & 2 \\ 3 & 4 \end{array} \right] \right &=-2 \end{align*} % <-- note slash in front of curly bracket % <-- note the dot which produces a blank The use of superscripts, subscripts, special symbols, and fractions are all covered in the Kopka and Daly book. The exercises given at the end of some of the articles are good for learning how to produce mathematical equations. Some of them, however, depend on knowledge of functions covered in earlier sections. App A 8

9 A.3.7 Additional Commands This is a brief list of the commands you are going to need frequently when writing lab reports. In addition, the index and appendices of Kopka and Daly as well as many web sites are excellent resources. Spacing Commands \\: The equivalent to the return key; two backslashes will move to the next line. You can also add a number after the backslash: \\[0.5 cm]. This will create a space of 0.5 cm between the two lines. Another way to create extra space between lines is \\. If you want to insert a space between two words, use \ followed by a blank space, or simply type between the two words. Page Setup Commands \pagebreak or \newpage: Moves to the next page \begin{center}, \end{center} Centers text. You can probably predict what happens if you replace center with left or right. \section*{your Section Heading} Allows you to create headings for your report, such as Introduction, Discussion, etc. The purpose of the * is to suppress the numbering of the headings. \begin{enumerate}, \begin{itemize} These initiate a listing environment. Enumerate includes numbering, while itemize includes bullets and dashes. Each numbered or bulleted item will begin with the command \item. The lists can also be nested. Make sure you finish with \end{enumerate} or \end{itemize}. Changing the appearance of font {\Large }, {\small }, {\large }... Refer to your text on the various options for changing the size of font. Place the text you want to size within brackets. {\it }, {\sl }, {\bf }, {\tt }... Again, the various styles of font are included in your text. Note: Make sure the brackets are around the whole command, not just the words you want to change. For example: Bold and Italics are good ways to emphasize text. The code for this is: {\bf Bold} and {\it Italics} are good ways to emphasize text. App A 9

10 A.4 Processing a File Processing a L A TEX file can be tedious, but it is important not to skip any steps until you are more comfortable with how L A TEX works. You can create a paper copy from a L A TEX document as follows: Create and Save When you have typed in a couple of lines in your file name.tex, where name is any file name of your choosing, and you want to see how they look, click Save in Emacs. Run L A TEX Return to the terminal window and run L A TEX on the file by typing latex name.tex (if no file called name exists, you can also just run latex name). For example, to process the file titled lab1.tex, type: latex lab1.tex L A TEX will get stuck sometimes You will see the terminal window run a number of lines. If it stops without returning you to the command prompt, there is an error in the document. You may see something like this:! File ended while scanning use of \textnormal. <inserted text> \par <*> latex guide? This means that L A TEX was unhappy with something you typed in. Often it will provide the line number (L.29 for example), and you can use Emacs to go to that line and try to find the problem. The message above means that a bracket was omitted at the end of a passage. In the terminal window, type x next to the question mark. This will make L A TEX stop running. If L A TEX quit because you didn t specify a file (i.e. you just typed latex at the command line with no input file) or because it could not find the file you were trying to process (for example, you typed labb1.tex instead of lab1.tex) hit CTRL-d to cancel out of L A TEX. If L A TEX stops for any other reason, type CTRL-c to make L A TEX bring up the question mark. You can then use the x to get out. Fix your mistakes and try again Return to the Emacs window and try to correct your document. Remember to click Save after each change is made. Repeat the steps above until there is no error. You will see: Transcript written on lab1.log. This means that you were successful. The.dvi file L A TEX creates a device independent - or dvi - file. The kdvi program can create a graphical version of this file so you can edit your document without wasting paper. Be aware that there are some types of graphics the kdvi cannot properly display - this will come out of the printer properly, however. Viewing the file with kdvi Run the file using kdvi name.dvi & (again, if no file named name exists, kdvi name). In the current example, name would be lab1: kdvi lab1.dvi & Correct errors Be thorough in checking your document for mistakes. If you find errors, you can automatically make correct them in the Emacs file since it is still open. Rerun L A TEX. Note that if kdvi is still running, it will always bring up the most current copy of the dvi file; you will not need to run a new kdvi unless you closed the previous one. App A 10

11 Printing Most of the time, you can just print directly from kdvi. When you click the printer button, there will be a printer name selection at the top of the screen - you will want to choose lp0 - that is the name for the eprint queue. Creating PostScript file The printer does not understand dvi files, only PostScript files, and sometimes kdvi cannot translate the information properly. In those cases, the dvips program will convert a dvi file to a PostScript file. The default setting for the program, however, is to send the new PostScript file directly to the printer. You will want to edit your file one last time, so it is better to create a PostScript file, look at it again, then send it to the printer yourself. You can do this using the command dvips -o newname name.dvi (if no file called name exists, dvips -o newname name). The -o tells the program to produce an output PostScript file called newname. If the -o newname is omitted, the PostScript will be sent directly to the printer. If just the newname is omitted, the output file will be called name.ps. Command dvips foo.dvi dvips foo.dvi -o dvips foo.dvi -o bar.ps What it does prints the dvi file converts foo.dvi to postscript and creates a file called foo.ps converts foo.dvi to postscript and creates a file called bar.ps Printing Finally, when you actually want to make a hard copy of your file, you have several options. You can print from kdvi, you can let dvips do the work as in the first example above, you can use the lpr command on a postscript file that has been created by dvips, or you can use the kghostview postscript viewer to look at the file and then print it through there. To get something to print to your room, you need to use dvips to create a PostScript file, use a file transfer program to copy the file from your OIT account to your personal computer and use GhostView on your personal computer to send the PostScript file to your printer. Since most people have not installed postscript viewers on their computer, you can use the PDF format instead. To do this, replace the dvips step above with the dvipdf command. This will create a PDF file that Adobe Acrobat can read. You can then transfer this file to your personal computer using a file transfer program and open and print it using the Acrobat Reader. A.5 Summary of L A TEX Process The following table summarizes the process for a file called lab1.tex to generate a PostScript file called lab1print.ps: Command emacs lab1.tex & (write and save file) latex lab1.tex kdvi lab1.dvi & (print from kdvi) dvips lab1.dvi -o lab1print.ps kghostview lab1print.ps Purpose start text processing program save file within text processing program process L A TEX file - may need to run this three (or four!) times view processed L A TEX file you may be able to just print from here. If not create PostScript file view PostScript file and print If you end up using commands for labels and references (such as \label{}, \ref{}, and \pageref{}), you may actually have to run the L A TEX step three times! The first time L A TEX goes through and figures out what all the labels mean, the second time it can figure out where they are, and the third time it can replace the references with their labels. In fact, running L A TEX a fourth time makes sure that any changes in page numbers caused by entering the page numbers themselves will be taken into account. App A 11

Guide to using L A TEX

Guide to using L A TEX Guide to using L A TEX Andrew Stevens, UC Berkeley 1 What is L A TEX, and why use it? L A TEX (pronounced LAH-tekh or LAY-tekh) is a language and document preparation system for typesetting. L A TEX is

More information

L A TEX examples. a b c a b c b b a c b c c b a. This table was typeset with the following commands.

L A TEX examples. a b c a b c b b a c b c c b a. This table was typeset with the following commands. L A TEX examples This document is designed to help you see how to produce some mathematical typesetting. The best way to learn how to use L A TEX is to experiment with particular commands. After you have

More information

Using L A TEX. A numbered list is just that a collection of items sorted and labeled by number.

Using L A TEX. A numbered list is just that a collection of items sorted and labeled by number. Using L A TEX About these notes These notes give some starting tips on using L A TEX to typeset mathematical documents. To learn the system at all fully you ll need a proper L A TEX manual, but you can

More information

L A TEX for Psychological Researchers

L A TEX for Psychological Researchers L A TEX for Psychological Researchers Lecture 2: Basics of the L A TEX language Sacha Epskamp University of Amsterdam Department of Psychological Methods 27-01-2015 The L A TEX process.tex pdfl A TEX.pdf

More information

Typing Mathematics. Darrin Doud

Typing Mathematics. Darrin Doud Typing Mathematics in LATEX Darrin Doud Darrin Doud Department of Mathematics Brigham Young University Provo, UT 84602 doud@math.byu.edu Copyright c 2018 Version: 0.01 Date: January 31, 2018 Contents 1

More information

Become a L A TEX Guru

Become a L A TEX Guru Become a L A TEX Guru 1 Many thanks to Michele, who was my coteacher for this class for Splash 2009 1. Log in using the username sipb2 and the password hsspmonster 2. Once you are logged on, type sudo

More information

Math 235: Introduction to LaTeX

Math 235: Introduction to LaTeX Math 235: Introduction to LaTeX The LaTeX word processing system was built to do mathematical typesetting. It is different than word processors; in LaTeX you type in text and typesetting commands, then

More information

Intro to LATEX I. Aaron Erlich POLS/CSSS 510, Why LATEX? Programming Document Structure Floats Tables Lists Math

Intro to LATEX I. Aaron Erlich POLS/CSSS 510, Why LATEX? Programming Document Structure Floats Tables Lists Math Intro to LATEX I 1 1 POLS/CSSS 510, 2012 Intro to LATEX I 1 / 32 Outline 1 Why L A TEX? 2 Programming 3 Document Structure 4 Floats 5 Tables 6 Lists 7 Math Intro to LATEX I 2 / 32 The Complaint This sucks

More information

L A TEX minicourse. dstowell, mag, sar, scannell,... September Typeset by FoilTEX

L A TEX minicourse. dstowell, mag, sar, scannell,... September Typeset by FoilTEX L A TEX minicourse dstowell, mag, sar, scannell,... September 2003 Typeset by FoilTEX What it is What is L A TEX? a typesetting system for creating high-quality documents allows you to create complex-looking

More information

Getting Started with L A TEX

Getting Started with L A TEX Getting Started with L A TEX This document is designed to help you see how to produce some mathematical typesetting. The best way to learn how to use L A TEX is to experiment with particular commands.

More information

Getting started with Latex

Getting started with Latex Getting started with Latex Robert G. Niemeyer University of New Mexico, Albuquerque October 15, 2012 What is Latex? Latex is a mathematical typesetting language. Essentially, when you are using Latex to

More information

A Beginner s guide to L A TEX for CSCA67/MATA67. Kohilan Mohanarajan

A Beginner s guide to L A TEX for CSCA67/MATA67. Kohilan Mohanarajan A Beginner s guide to L A TEX for CSCA67/MATA67 Kohilan Mohanarajan August 31, 2017 Contents 1 Foreword 2 2 Getting Started 3 3 Setting up your L A TEXDocument 4 4 Writing your L A TEXDocument 6 4.1 Environments...............................

More information

Learning L A TEX. Patrick Lam

Learning L A TEX. Patrick Lam Learning L A TEX Patrick Lam setting up 1. download a TeX distribution (MiKTeX, MacTeX, etc.) 2. download an editor (Texmaker, WinEDT, XEmacs, etc.) 3. start a.tex file in editor 4. work only in the.tex

More information

LaTeX A Tutorial. Mohsen Alimomeni, 2010

LaTeX A Tutorial. Mohsen Alimomeni, 2010 LaTeX A Tutorial Mohsen Alimomeni, 2010 How to pronounce LaTeX? (Lah-tek, or Lay-tek) A typesetting program, not a word-processor Designed for producing beautiful books, thesis, papers, articles... (Springer

More information

1 Obtaining LyX and L A TEX

1 Obtaining LyX and L A TEX A Guide to LyX and L A TEX Based off A Quick Guide to LyX by Jessica Moses 08 October 2011 Many economists (and academics in mathematics-heavy disciplines) use a program called L A TEX to create documents.

More information

Introduction to L A TEX

Introduction to L A TEX Introduction to L A TEX D. Broline, A. Mertz & W. Slough Mathematics and Computer Science Department Eastern Illinois University February 8, 2007 The Logo L A TEX Overview What is L A TEX? Typesetting

More information

Learning LaTeX: The Basics

Learning LaTeX: The Basics Learning LaTeX: The Basics The best way to learn LaTeX is by trial and error, with a lot of experimenting, and using other people s.tex files as a model. Google is also a good source: for example, googling

More information

L A TEX. The Logo. Introduction to L A TEX. Overview. Primary Benefits. Kinds of Documents. Bill Slough and Andrew Mertz

L A TEX. The Logo. Introduction to L A TEX. Overview. Primary Benefits. Kinds of Documents. Bill Slough and Andrew Mertz The Logo Introduction to L A TEX Bill Slough and Andrew Mertz L A TEX Mathematics and Computer Science Department Eastern Illinois University January 20, 2010 Overview TEX and L A TEX What is L A TEX?

More information

Typesetting Text. Spring 2013 TEX-Bit #1 Math 406

Typesetting Text. Spring 2013 TEX-Bit #1 Math 406 Spring 2013 TEX-Bit #1 Math 406 Typesetting Text Whitespace characters, such as blank or tab, are treated uniformly as space by L A TEX. Several consecutive whitespace characters are treated as one space.

More information

Introduction to MCS 220 and L A TEX

Introduction to MCS 220 and L A TEX Introduction to MCS 220 and L A TEX Tom LoFaro August 28, 2009 1 Introduction to MCS 220 MCS 220, Introduction to Analysis, carries a WRITD (writing in the discipline) designation. What this means to you

More information

An Interactive Introduction to L A TEX

An Interactive Introduction to L A TEX An Interactive Introduction to L A TEX Part 1: The Basics Dr John D. Lees-Miller December 2, 2017 Why L A TEX? It makes beautiful documents Especially mathematics It was created by scientists, for scientists

More information

Introduction to L A TEX for MCS-236

Introduction to L A TEX for MCS-236 Introduction to L A TEX for MCS-236 Max Hailperin, based on a version by Tom LoFaro September 14, 2011 1 Why L A TEX? L A TEX is a very strange document formatting system. Actually, it is a combination

More information

L A TEX and Basic Text Editing

L A TEX and Basic Text Editing L A TEX and Basic Text Editing 1 Basics L A TEXis a mathematical typesetting word processing tool. You need a compiler to display L A TEX, and you can dowload the open-source freeware at MikTex.org. We

More information

TUTORIAL 8: TYPESETTING MATHEMATICAL EXPRESSIONS CHRISTOPHER RARIDAN Abstract. Upon completion of this tutorial, the author should be able to add some mathematical content to his or her paper. In particular,

More information

L A TEX Primer. Randall R. Holmes. August 17, 2018

L A TEX Primer. Randall R. Holmes. August 17, 2018 L A TEX Primer Randall R. Holmes August 17, 2018 Note: For this to make sense it needs to be read with the code and the compiled output side by side. And in order for the compiling to be successful, the

More information

L A TEX Tutorial. 1 Introduction. 2 Running L A TEX. J. E. Rice. May 2010

L A TEX Tutorial. 1 Introduction. 2 Running L A TEX. J. E. Rice. May 2010 L A TEX Tutorial J. E. Rice May 2010 Abstract The purpose of this document is to provide a simple example of how to use L A TEX. Examples of tables, figures, citations, references and math are shown, and

More information

David Helmbold, October 2005, Revised October 2007

David Helmbold, October 2005, Revised October 2007 Short Intro to LATEX David Helmbold, October 2005, Revised October 2007 Goals: Introduce L A TEX... so you can read/edit L A TEX source... and use manual as reference rather than reading it Outline: 1.

More information

T E X and L A T E X Document preparation tools

T E X and L A T E X Document preparation tools T E X and L A T E X Document preparation tools This lecture adds to the previous introduction to L A T E X, introduces BibT E X and looks at creating larger documents. Last time... The first session introduced:

More information

A L A T E X quick start

A L A T E X quick start 1 A L A T E X quick start 1.1 A first example When you meet a new computer language (and TEX is a language, although not a very general purpose one) the first thing to do is to write a program that outputs

More information

A Brief Introduction to L A TEX

A Brief Introduction to L A TEX A Brief Introduction to L A TEX Amanda Kriesel Metropolitan Community College, Nebraska akriesel@mccneb.edu April 7, 2016 Amanda Kriesel (MCC) LaTex April 7, 2016 1 / 17 Table of Contents 1 What is L A

More information

Introduction to Math in LaTeX

Introduction to Math in LaTeX Robert Andersen University of Oxford and University of Western Ontario ICPSR Summer Program, July 2002 Introduction to Math in LaTeX LaTeX has three basic modes: 1. Text mode 2. Inline math mode (allows

More information

Typesetting in wxmaxima

Typesetting in wxmaxima Typesetting in wxmaxima 1 Introduction To make your paper look as good as possible you should be familiar with the following: how to format text and create sections (and subsections, etc.), how to typeset

More information

Introduction to LaTex 2ε. Based on The Not So Short Introduction to LaTeX 2ε by Tobias Oetiker et al., April 2001

Introduction to LaTex 2ε. Based on The Not So Short Introduction to LaTeX 2ε by Tobias Oetiker et al., April 2001 Introduction to LaTex 2ε Based on The Not So Short Introduction to LaTeX 2ε by Tobias Oetiker et al., April 2001 Contents Things you need to know Typesetting text Typesetting Mathematical Formulae Specialties

More information

What is LaTeX. Is a document markup language and document preparation system for the TeX typesetting program

What is LaTeX. Is a document markup language and document preparation system for the TeX typesetting program What is LaTeX LaTeX ( /ˈleɪtɛk/, /ˈleɪtɛx/, /ˈlɑːtɛx/, or /ˈlɑːtɛk/) Is a document markup language and document preparation system for the TeX typesetting program Refers only to the language, not to the

More information

Introduction to L A TEX

Introduction to L A TEX Introduction to L A TEX Mark Baltovic MA498 - Dissertation in Mathematics Objectives of this session What is L A TEX? The L A TEX source file Inside the body of the text Typesetting mathematics Internal

More information

An Interactive Introduction to L A TEX. Part 1: The Basics. John Lees-Miller. writel A TEX

An Interactive Introduction to L A TEX. Part 1: The Basics. John Lees-Miller. writel A TEX An Interactive Introduction to L A TEX Part 1: The Basics John Lees-Miller writel A TEX Why L A TEX? I It makes beautiful documents I Especially mathematics I It was created by scientists, for scientists

More information

Student Learning Service: Introduction to Latex

Student Learning Service: Introduction to Latex Student Learning Service: Introduction to Latex Dr Morgiane Richard, Oana Matei and Florin Nedelea m.richard@abdn.ac.uk Student Learning Service Updated June 2018 Richard, Matei, Nedelea (U.of Aberdeen)

More information

Simple Math. Adam Dishaw 2011 September 21. Suppose you want to include some math in your documents. Just follow these basics steps:

Simple Math. Adam Dishaw 2011 September 21. Suppose you want to include some math in your documents. Just follow these basics steps: Simple Math Adam Dishaw 2011 September 21 Suppose you want to include some math in your documents. Just follow these basics steps: 1. Create a new TEX document with the basic requirements (the documentclass

More information

Effective Programming Practices for Economists

Effective Programming Practices for Economists Effective Programming Practices for Economists 4. A L A T E X primer Hans-Martin von Gaudecker Department of Economics, Universität Bonn The case for plain L A T E X Version control works best with simple

More information

Introduction to L A TEX

Introduction to L A TEX Introduction to L A TEX Yuval Carmel Ben-Gurion University June 30, 2009 Yuval Carmel (Ben-Gurion University) Introduction to LATEX June 30, 2009 1 / 40 Introduction L A TEX is not a word processor! Word,

More information

Assessments for CS students:

Assessments for CS students: Assessments for CS students: Two hours per week lectures, Tuesdays 2-4pm. Three in-semester assignments, with feedback de-coupled from assessment: Assignment 1 Generic paper Assignment 2 Literature review

More information

Using the Equation Palette

Using the Equation Palette module 5 Using the Equation Palette Contents Basic Workflow............................. 244 Exercise 58 Creating Your First Equation..... 245 Exercise 59 Positioning an Equation.......... 250 A Tour of

More information

Latex Tutorial 1 L A TEX. 1.1 Text

Latex Tutorial 1 L A TEX. 1.1 Text Latex Tutorial This tutorial was originally prepared by Joel Wein of MIT. You may find it helpful in preparing your notes. Anything I send you in the template file supercedes what is written here. Yishay

More information

PHYS-4007/5007: Computational Physics

PHYS-4007/5007: Computational Physics PHYS-4007/5007: Computational Physics L A TEX Tutorial Learning the L A TEX Mark-up Language Log into your Linux account, open a terminal window, and change directory to your tex subdirectory. Now open

More information

L A TEX Is Your Friend OR ENEMY?????????.

L A TEX Is Your Friend OR ENEMY?????????. L A TEX Is Your Friend OR ENEMY?????????. Nathan Lundblad 1 February 7, 2016 ABSTRACT We present a paper on useful L A TEX stuff. Make sure to look at the source code for this document, as that is where

More information

MATLAB for the Sciences

MATLAB for the Sciences A Preliminary Discussion in L A TEX, Part 2 January 6, 2008 Multiple Lines of Equations Just as there was an environment for writing equations, there is an environment for multi-line equations. \begin{eqnarray}

More information

1. Welcome. (1) Hello. My name is Dr. Christopher Raridan (Dr. R). (3) In this tutorial I will introduce you to the amsart documentclass.

1. Welcome. (1) Hello. My name is Dr. Christopher Raridan (Dr. R). (3) In this tutorial I will introduce you to the amsart documentclass. TUTORIAL 3: MY FIRST L A TEX DOCUMENT CHRISTOPHER RARIDAN Abstract. Upon completion of this tutorial, the author should be able to produce a very basic L A TEX document. This tutorial will introduce the

More information

A Short Introduction to L A TEX

A Short Introduction to L A TEX A Short Introduction to L A TEX David J. Eck October 22, 2003 Abstract This paper is a very short introduction to the essentials of L A TEX, a document-preparation system that is an alternative to typical

More information

1 Different Document Classes

1 Different Document Classes 1 Different Document Classes There are several different document classes that can format just about any type of document. This is the very first line of your L A TEX code. It will define what kind of

More information

TeXnicCenter v1 Beta Frank Van Puyvlde ICT for Research K.U.Leuven

TeXnicCenter v1 Beta Frank Van Puyvlde ICT for Research K.U.Leuven TeXnicCenter v1 Beta 7.01 Frank Van Puyvlde ICT for Research K.U.Leuven March 2008 Contents 1 TeXnicCenter Installation 2 1.1 Installing TeXnicCenter........................... 2 1.2 TeXnicCenter and a

More information

Contents. Foreword. Examples of GeoGebra Applet Construction 1 A Straight Line Graph... 1 A Quadratic Graph... 6 The Scalar Product...

Contents. Foreword. Examples of GeoGebra Applet Construction 1 A Straight Line Graph... 1 A Quadratic Graph... 6 The Scalar Product... Contents Foreword ii Examples of GeoGebra Applet Construction 1 A Straight Line Graph............................... 1 A Quadratic Graph................................. 6 The Scalar Product.................................

More information

LATEX Primer. 1 Introduction (Read Me)

LATEX Primer. 1 Introduction (Read Me) LATEX Primer 1 Introduction (Read Me) This document is intended to be used as a primer. You are welcome to remove the body of the document and use the headers only. If you actually read this document,

More information

Meeting One. Aaron Ecay. February 2, 2011

Meeting One. Aaron Ecay. February 2, 2011 Meeting One Aaron Ecay February 2, 2011 1 Introduction to a L A TEX file Welcome to LaTeX. Let s start learning how to use the software by going over this document piece by piece. We ll read the output

More information

Appendix B: Latex survival guide

Appendix B: Latex survival guide Appendix B: Latex survival guide The philosophy in this course is that we would like to be good citizens of the scientific community. An important part of being a good citizen is being able to communicate

More information

Homework # You ll want to use some LaTeX editor to edit and compile your.tex files

Homework # You ll want to use some LaTeX editor to edit and compile your.tex files Homework # 1 What is LaTeX? LaTeX is a document markup language You prepare a (.tex) document, and compile it into a PDF LaTeX helps make your homework pretty (just like this document!) and makes us happy

More information

My Mathematical Thesis

My Mathematical Thesis My Mathematical Thesis A. Student September 1, 2018 Abstract An abstract is a paragraph or few that gives the reader an overview of the document. Abstracts are commonly found on research articles, but

More information

TUTORIAL 10: ARRAYS AND MATRICES. 1. Welcome. Hello. My name is Dr. Christopher Raridan (Dr. R). I want to welcome you to the L A TEX Tutorial Series.

TUTORIAL 10: ARRAYS AND MATRICES. 1. Welcome. Hello. My name is Dr. Christopher Raridan (Dr. R). I want to welcome you to the L A TEX Tutorial Series. TUTORIAL 10: ARRAYS AND MATRICES CHRISTOPHER RARIDAN Abstract. Upon completion of this tutorial, the author should be able to construct arrays and matrices. 1. Welcome Hello. My name is Dr. Christopher

More information

Excel 2016: Part 1. Updated January 2017 Copy cost: $1.50

Excel 2016: Part 1. Updated January 2017 Copy cost: $1.50 Excel 2016: Part 1 Updated January 2017 Copy cost: $1.50 Getting Started Please note that you are required to have some basic computer skills for this class. Also, any experience with Microsoft Word is

More information

LearningLatex. % This file walks you through some basic things with LaTex % Thanks to Patrick Lam and Maya Sen for letting me borrow their materials

LearningLatex. % This file walks you through some basic things with LaTex % Thanks to Patrick Lam and Maya Sen for letting me borrow their materials % Jennifer Pan % Math Prefresher % Fall 2011 % This file walks you through some basic things with LaTex % Thanks to Patrick Lam and Maya Sen for letting me borrow their materials % COMMANDS % You have

More information

Learn how to [learn] LATEX

Learn how to [learn] LATEX Learn how to [learn] L A TEX November 19, 2010 This document is available at http://web.mit.edu/jgross/ Public/2010cluedump/Slideshow.pdf. Outline Installing L A TEX What is L A TEX? Getting Help Basic

More information

Course A, Part 1 Basic Formatting in L A TEX

Course A, Part 1 Basic Formatting in L A TEX Course A, Part 1 Basic Formatting in L A TEX As you become acquainted with L A TEX, you must remember that this is not a piece of word processing software. Neither is it a programming language. Specifically,

More information

A quick guide to L A TEX

A quick guide to L A TEX A quick guide to L A TEX L A TEX is more of a programming language. The text you produce in your input file will look almost completely different from the final result in print. This requires knowledge

More information

LaTeX Seminar III: Environments and More Advanced Mathematical Typesetting

LaTeX Seminar III: Environments and More Advanced Mathematical Typesetting LaTeX Seminar III: Environments and More Advanced Mathematical Typesetting Clifford E. Weil March 24, 2004 1 General Environments We have already encountered two environments. They are the document environment

More information

Outline. Installing LaTeX. Opening TeXShop. Intro to LaTeX. Intro to LaTeX interface Working with text Tabbing and tables Figures Math and equations

Outline. Installing LaTeX. Opening TeXShop. Intro to LaTeX. Intro to LaTeX interface Working with text Tabbing and tables Figures Math and equations Outline UCLA Department of Statistics Statistical Consulting Center interface Working with text Tabbing and tables Figures Math and equations April 23, 2009 Installation Installing LaTeX Opening TeXShop

More information

Math 395 Homework #1 Due Wednesday, April 12

Math 395 Homework #1 Due Wednesday, April 12 Math 395 Homework #1 Due Wednesday, April 12 LaTex is a typesetting system that is widely used by mathematicians. It has the ability to typeset just about any mathematical notation, as well as complex

More information

The MathType Window. The picture below shows MathType with all parts of its toolbar visible: Small bar. Tabs. Ruler. Selection.

The MathType Window. The picture below shows MathType with all parts of its toolbar visible: Small bar. Tabs. Ruler. Selection. Handle MathType User Manual The MathType Window The picture below shows MathType with all parts of its toolbar visible: Symbol palettes Template palettes Tabs Small bar Large tabbed bar Small tabbed bar

More information

Introduction to LAT E X

Introduction to LAT E X Introduction to LAT E X RSI 2012 Staff Contents What is L A T E X?........................................ 1 First Example........................................ 2 Compiling...........................................

More information

L A TEX: Online module 2

L A TEX: Online module 2 L A TEX: Online module 2 Venkata Manem Univ. of Waterloo July 22, 2011 Venkata Manem (Univ. of Waterloo) LATEX: Online module 2 July 22, 2011 1 / 28 Topics to be covered Typeface Font size Special characters

More information

An introduction to TeX. And other options for producing documents containing mathematics

An introduction to TeX. And other options for producing documents containing mathematics An introduction to TeX And other options for producing documents containing mathematics Robbie Robinson Department of Mathematics GWU Washington DC 20052 robinson@gwu.edu 1. What is TeX? Tex is: A typesetting

More information

WYSIWYG Systems. CSCM10 Research Methodology Lecture 4 (11/2/16): A Taster of L A TEX WYSIWYM. Advantages/Disadvantages of WYSIWYG Systems

WYSIWYG Systems. CSCM10 Research Methodology Lecture 4 (11/2/16): A Taster of L A TEX WYSIWYM. Advantages/Disadvantages of WYSIWYG Systems WYSIWYG Systems CSCM10 Research Methodology Lecture 4 (11/2/16): A Taster of L A TEX Anton Setzer http://www.cs.swan.ac.uk/ csetzer/lectures/ computerscienceprojectresearchmethods/current/index.html WYSIWYG

More information

Introduction to L A TEX

Introduction to L A TEX Introduction to L A TEX Henrik Thostrup Jensen September 29 th 2006 1 About What is L A TEX How does it work Exercises Fetch slides and work from them Not everyone works with same speed/focus First a topic

More information

Introduzione a LaTex. Fabrizio Messina

Introduzione a LaTex. Fabrizio Messina Introduzione a LaTex Fabrizio Messina messina@dmi.unict.it www.dmi.unict.it/~fmessina Tex and LaTex TEX is a formatting program created by Donald E. Knuth from 1977. Typesetting text and mathematical formulae.

More information

Introduction to LAT E X

Introduction to LAT E X Introduction to LAT E X RSI 2006 Staff Contents What is L A T E X?........................................ 1 L A T E X command syntax................................... 2 Starting your L A T E X document...............................

More information

LaTeX Workshop. While you re waiting, please make an account at

LaTeX Workshop. While you re waiting, please make an account at LaTeX Workshop While you re waiting, please make an account at http://sharelatex.com 1 High-level overview Intro: What is LaTeX, why bother learning it? Structure of a LaTeX document What does a document

More information

INTRODUCTION TO L A TEX

INTRODUCTION TO L A TEX INTRODUCTION TO L A TEX What is L A TEX? Basic usage and syntax Modes and environments Newcommands Cross-referencing Packages Importing graphics Tables and figures Pictures Where to learn more WHAT IS

More information

CSCM10 Research Methodology A Taster of L A TEX

CSCM10 Research Methodology A Taster of L A TEX CSCM10 Research Methodology A Taster of L A TEX Anton Setzer http://www.cs.swan.ac.uk/ csetzer/lectures/ computerscienceprojectresearchmethods/current/index.html November 10, 2016 CSCM10 Lecture 4, 11/2/16:

More information

Getting started General Tables Figures Math Wrap up. UCLA Department of Statistics Statistical Consulting Center. LaTeX Bootcamp

Getting started General Tables Figures Math Wrap up. UCLA Department of Statistics Statistical Consulting Center. LaTeX Bootcamp UCLA Department of Statistics Statistical Consulting Center Mine Çetinkaya mine@stat.ucla.edu September 20, 2010 Outline 1 Getting started 2 General 3 Tables 4 Figures 5 Math 6 Wrap up 1 Getting started

More information

Report Template. Joe B. Student and Dan Simon * Department of Electrical and Computer Engineering Cleveland State University Cleveland, Ohio 44115

Report Template. Joe B. Student and Dan Simon * Department of Electrical and Computer Engineering Cleveland State University Cleveland, Ohio 44115 Joe B. Student and Dan Simon * Department of Electrical and Computer Engineering Cleveland State University Cleveland, Ohio 44115 May 20, 2004 Abstract Every report should have an abstract. The abstract

More information

The Honours Dissertation Class for L A TEX2e. Cara MacNish

The Honours Dissertation Class for L A TEX2e. Cara MacNish The Honours Dissertation Class for L A TEX2e Cara MacNish This report is submitted as partial fulfilment of the requirements for the Honours Programme of the School of Computer Science and Software Engineering,

More information

LATEX Workshop. Yi Liu Chen SUNY Geneseo PRISM Math Club. February 6, Wordmark Reversed Geneseo Wordmark Style Guide 4

LATEX Workshop. Yi Liu Chen SUNY Geneseo PRISM Math Club. February 6, Wordmark Reversed Geneseo Wordmark Style Guide 4 Yi Liu Chen SUNY Geneseo PRISM Math Club February 6, 2019 Outline L A TEX Environment The Basics Mathematics SUNY Geneseo PRISM Math Club 2 BDA/MBS and Math/Physics People People taking BDA (BIOL250) or

More information

CSCM10 Research Methodology A Taster of L A TEX

CSCM10 Research Methodology A Taster of L A TEX CSCM10 Research Methodology A Taster of L A TEX Anton Setzer http://www.cs.swan.ac.uk/ csetzer/lectures/ computerscienceprojectresearchmethods/current/index.html October 22, 2017 WYSIWYG Systems WYSIWYG

More information

WYSIWYG Systems. CSCM10 Research Methodology A Taster of L A TEX WYSIWYM. Advantages/Disadvantages of WYSIWYG Systems.

WYSIWYG Systems. CSCM10 Research Methodology A Taster of L A TEX WYSIWYM. Advantages/Disadvantages of WYSIWYG Systems. WYSIWYG Systems CSCM10 Research Methodology A Taster of L A TEX Anton Setzer http://www.cs.swan.ac.uk/ csetzer/lectures/ computerscienceprojectresearchmethods/current/index.html WYSIWYG = What You See

More information

L A TEX E Here s the example of a X

L A TEX E Here s the example of a X When an example needs a special package, I ve put a \usepackage statement in code for the example. The one exception is \usepackage{amsmath}. I always use this, and so should you, if only to get the align

More information

Getting Started with L A T E X for a Technical Document or Thesis

Getting Started with L A T E X for a Technical Document or Thesis Getting Started with L A T E X for a Technical Document or Thesis University of Waterloo Nov 2015 Outline What is LAT E X? 1 What is L A T E X? 2 3 4 5 What is L A T E X? What is LAT E X? L A T E X is

More information

L A TEXInstallation and Introduction

L A TEXInstallation and Introduction L A TEXInstallation and Introduction Andrew McAllister Society of Physics Students September 21st, 2011 Andrew McAllister (SPS) LATEXIntro September 21st, 2011 1 / 22 What is L A TEX? L A TEXis a typesetting

More information

Microsoft Word Introduction

Microsoft Word Introduction Academic Computing Services www.ku.edu/acs Abstract: This document introduces users to basic Microsoft Word 2000 tasks, such as creating a new document, formatting that document, using the toolbars, setting

More information

INSTALLING AND USING L A TEX

INSTALLING AND USING L A TEX INSTALLING AND USING L A TEX DAVID MEREDITH Contents 1. Installing and Running L A TEX with Microsoft Windows 2 1.1. Installing the compiler MikTeX 2 1.2. Installing the editor TeXtudio 2 1.3. Running

More information

An Introduction to. Rado Ivanov CIS400 Senior Design Tutorial September 18, 2014

An Introduction to. Rado Ivanov CIS400 Senior Design Tutorial September 18, 2014 An Introduction to Rado Ivanov CIS400 Senior Design Tutorial September 18, 2014 Today's Outline Introducing TeX/LaTeX Benefits and potential difficulties Installation and use on Unix/Mac/Windows Compiling

More information

An Introduction to L A TEX

An Introduction to L A TEX An Introduction to L A TEX John Hamer John.Hamer@glasgow.ac.uk 24 January 2018 What, how, where? L A TEX is a fine typesetting system. You write your document (paper, report, essay, thesis, poster, book,

More information

An introduction to L A TEX for students

An introduction to L A TEX for students An introduction to L A TEX for students Christopher Hanusa February 17, 2011 Christopher.Hanusa@qc.cuny.edu http://people.qc.cuny.edu/chanusa/ > Talks Pros and Cons of L A TEX Why use L A TEX? Ideal for

More information

Electronic Production Guidelines

Electronic Production Guidelines Electronic Production Guidelines Illustrations It is a good idea to check out the draw programs you have available to you before you start drawing the figures for your article. Make sure that you can create

More information

Introduction to L A TEX

Introduction to L A TEX Introduction to L A TEX 2. Document structure Matemaattisten tieteiden laitos Document classes The basic document classes in L A TEX are article, report and book. They are taken into use by starting the

More information

NCSU Linguistics Eric Wilbanks & Jeff Mielke. November 21, An open-source typesetting language used for document mark-up

NCSU Linguistics Eric Wilbanks & Jeff Mielke. November 21, An open-source typesetting language used for document mark-up L A TEX Workshop NCSU Linguistics Eric Wilbanks & Jeff Mielke November 21, 2014 1 What is L A TEX? An open-source typesetting language used for document mark-up Used in conjunction with various TEXEditors

More information

Part - I : Short Course Typing Text

Part - I : Short Course Typing Text Part - I : Short Course Sanjay Mishra Department of Mathematics Lovely Professional University Punjab, India June 14, 2012 Outline 1 Introduction The Keyboard Your First Note Lines too Wide More Text Features

More information

Introduction to Latex. A workshop by Dr. Ala Eshmawi

Introduction to Latex. A workshop by Dr. Ala Eshmawi Introduction to Latex A workshop by Dr. Ala Eshmawi Introduction TeX is essentially a Markup Language (like HTML, XML and RTF) TeX written by Donald Knuth in 70 s A revolution in typesetting Latex is an

More information

Workshop P. Stallinga 16-X-2012

Workshop P. Stallinga 16-X-2012 Workshop P. Stallinga 16-X-2012 What is LaTeX? A layer on top of TeX (Tau Epsilon Chi) of Donald Knuth* TeX is a typesetting system LaTeX is a set of 'macros' defined in TeX LA stands for 'Level of abstraction'

More information

A Very Brief Introduction to L A T E X MAT 3535

A Very Brief Introduction to L A T E X MAT 3535 A Very Brief Introduction to L A T E X MAT 3535 Wm C Bauldry BauldryWC Spring Semester, 2006 Wm C Bauldry (BauldryWC) A Very Brief Introduction to LAT E X MAT 3535 Spring Semester, 2006 1 / 19 Topics 1

More information

Introduction to L A TEX

Introduction to L A TEX Introduction to L A TEX Evan Parker-Stephen September 21, 2006 1 Download and Installation http://www.miktex.org (L A TEX for Windows) http://www.winedt.com (Text Editor) http://www.tug.org (TEX User Group)

More information

Lecture 1. MA2730: Analysis I. Lecture slides for MA2730 Analysis I. Study and Assessment Components. MA L A TEX: topics for Lecture 1

Lecture 1. MA2730: Analysis I. Lecture slides for MA2730 Analysis I. Study and Assessment Components. MA L A TEX: topics for Lecture 1 Contents of the teaching and assessment blocks MA2730: Analysis I Lecture slides for MA2730 Analysis I Simon people.brunel.ac.uk/~icsrsss simon.shaw@brunel.ac.uk College of Engineering, Design and Physical

More information

INTRODUCTION TO L A TEX WHAT IS L A TEX?

INTRODUCTION TO L A TEX WHAT IS L A TEX? INTRODUCTION TO L A TEX WHAT IS L A TEX? What is L A TEX? Basic usage and syntax Modes and environments Newcommands Cross-referencing Packages Importing graphics Tables and figures What L A TEX is NOT:

More information