Assessments for CS students:

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

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

An introduction to L A TEX for students

Introduction to L A TEX

Math 235: Introduction to LaTeX

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

Introduction to LATEX

1 Obtaining LyX and L A TEX

LaTeX A Tutorial. Mohsen Alimomeni, 2010

David Helmbold, October 2005, Revised October 2007

An Introduction to LATEX

L A TEX Overview. Jiayi Liu. January 31, Colorado School of Mines

Helen Cameron. A Brief Overview of LATEX

Mikkel Madsen

LaTeX: Scientific Document Writing

Introduction to LaTeX. Paul Fodor Stony Brook University

Introduction to L A TEX

MATLAB for the Sciences

A Short L A TEX Introduction

A Grasshopper s Approach to L A TEX

Research Method and Report Writing Lecture 4: An Introduction to L A TEX

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

The basics of LaTeX. Cédric Buron. April 25, 2016

Learning L A TEX. Patrick Lam

Began as TeX, in 1982 (Knuth). Purely a typesetting tool. LaTeX added macros, maintaining TeX as it s typesetting engine (Lamport).

Using L A TEX Tom Edgar

Introduction to L A TEX

L A T E X Workshop. Bijulal D & Anu Thomas Industrial Engineering and Operations Research Indian Institute of Technology

L A TEX for Psychological Researchers

An Introduction to LATEX

Getting started with Latex

Helen Cameron. A Brief Overview of LATEX

Introduction to L A TEX beamer

Using LaTex and BibTex to Write Academic Documents. Ligang He Department of Computer Science University of Warwick

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.

عمادة البحث العلمي جامعة الملك سعود

Outline. A Sneak Peek

Guide to using L A TEX

An Introduction to L A TEX

Lecture 3-Introduction to Latex (II)

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

L A TEX for Psychological Researchers

Latex Tutorial. CIS400 Senior Design 9/5/2013

Mikkel Madsen

Latex Tutorial 1 L A TEX. 1.1 Text

LaTeX. Information Literacy II EN(IL2) Course

EBESS and MESS Presents: Learn to LaTeX. Presented by Joshua Tambunan 13 February 2018

Become a L A TEX Guru

A quick guide to L A TEX

Introduction to Latex. A workshop by Dr. Ala Eshmawi

What is T E X? T E X and L A T E X Document preparation tools. Setting and casting type. What Knuth was setting. Setting and casting type

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

L A TEXInstallation and Introduction

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

LaTeX is essentially a markup language

Formatting with LaTeX

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

Introduction to MCS 220 and L A TEX

Basics. Options. Commands

An Interactive Introduction to L A TEX

COMS 6100 Class note

Introduction to L A TEX

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

Introduction to L A TEX

Getting Started with L A TEX

COMP496/901: Academic Presentation and Writing Skills Using LaTeX

A Brief Introduction to L A TEX

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

A Short Introduction to L A TEX

Introduction to LAT E X

Learn how to [learn] LATEX

Effective Programming Practices for Economists

Introduction to L A TEX for MCS-236

Basic L A TEX. what is LaTeX?

VERY VERY SHORT GUIDE TO LATEX

An Introduction to LATEX

The Name of the Game. An Introduction to LATEX. Why L A TEX? The Name of the Game

Latex Manually Set Font Size For Tables

Dec. 27 th, 2010 University of Isfahan

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

Introduction to LaTeX. Christoph Pickl

Preparing your scribe

LATEX TYPESETTING SYSTEM. CAAM 519, CHAPTER 3

How to L A TEX. George Wong, David Mykytyn. 6 October 2016

Student Learning Service: Introduction to Latex

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

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

Introduction to L A TEX

An introduction. C.D. Emmery & M.M. van Zaanen. October 22, Tilburg University

Introduzione a LaTex. Fabrizio Messina

Introduction to L A TEX

1 Different Document Classes

1. The Joy of TEX. Check out this example!

An Introduction to L A TEX

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

A brief introduction to L A TEX

Introduction to L A T E X

Very Short Introduction to LaTeX

Introduction to LAT E X

Manuscript Title. with Forced Linebreak. Ann Author a) and Second Author b) Authors institution and/or address This line break forced with \\

Transcription:

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 Assignment 3 Experimental paper Details on unit website. There is no exam Portfolio of written work submitted at end of semester Comprises (re-worked) assignments plus CV Material for the unit will be available at http://undergraduate.csse.uwa.edu.au/units/cits4008/

An Introduction to L A TEX Alice Devillers (Ed Cripps, Nazim Kahn) Scientific Communications Course School of Mathematics and Statistics School of Computer Science and Software Engineering University of Western Australia February 26, 2013

What is L A TEX? L A TEX is a document preparation system for high quality typesetting. Although it can be used for any form of publishing, it is especially useful for mathematical and scientific documents. L A TEX is not a word processor instead, L A TEX takes the worry out of the appearance of the document by its built in environments, and instead allows authors to concentrate on writing.

Benefits of L A TEX? Looks nice (for instance these slides are prepared in L A TEX), Widely available with platform-independent output, Accepted/required by journals and conferences, text source takes less memory than Word or pdf document, pdf output easily distributed, Cross-referencing using symbolic labels, Supports indexing, easy to make a bibliography, Invaluable for writing mathematical formulas.

Disadvantages of L A TEX? Not what you see is what you get, like Word for instance. It is a program, so needs to be compiled before you can see the end result. Needs to be debugged!

How to install L A TEX? Requires: a compiler, for instance miktex. a L A TEX-friendly editor, for instance TexWorks. style files, for instance we have style files for UWA thesis and uwamaths. Since L A TEXis freeware, free documentation is readily available online. One option is the below: http://ctan.tug.org/tex-archive/info/lshort/english/lshort.pdf You can also search online for specific L A TEXcommands.

Compiling Two options: 1 In a terminal (make sure you are in the right folder) type pdflatex file.tex. This creates a file.pdf that you can then open in acrobat for instance. 2 if using an editor like TexWorks, click on pdflatex, then on ViewPdf. Often it will first give you a list of errors, that you need to debug, before getting a pdf file.

Basic structure of a document \documentclass[12pt,a4paper]{article} \usepackage{amsmath,amsthm,amssymb,uwamaths} \title {An Introduction to \LaTeX} \author{alice Devillers} \date{26 February 2013} \begin{document} \maketitle. Body of document.. \end{document}

Sectioning The sectioning commands available depend on the document class. Important ones are: \chapter \section \subsection \subsubsection

Plain text Plain English text needs few L A TEXcommands. L A TEX does the formatting. Several blanks are treated as a single blank. Text is usually set left and right aligned. An empty line starts a new paragraph.

Special characters \ starts a L A TEXcommand { and } group things in L A TEX $ starts or ends in-line maths mode $$ starts or ends maths display mode % starts a comment (until a new line) so will not appear in the compiled document These special characters can be used in a document by preceding them with a backslash \: type \% to get %. Exception: type $\backslash$ to get \.

Changing fonts L A TEX supports different fonts, e.g. bold face, italics, typewriter, underline etc. Bold: {\bf he}llo appears as hello. italics: {\it he}llo appears as hello. typewriter: {\tt he}llo appears as hello. underline: \underline{he}llo appears as hello.

Changing fonts L A TEX supports different fonts, e.g. bold face, italics, typewriter, underline etc. Bold: {\bf he}llo appears as hello. italics: {\it he}llo appears as hello. typewriter: {\tt he}llo appears as hello. underline: \underline{he}llo appears as hello. calligraphic: $\mathcal{c}$ appears as C. blackboard: $\mathbb{c}$ appears as C.

Environments L A TEXsupports different environments: \begin{...} \end{...} The... can be: center, theorem, equation, tabular, array, itemize, enumerate, description, and lots more.

Itemising & Enumerating \begin{itemize} \item bread \item butter \end{itemize} appears as \begin{enumerate} \item bread \item butter \end{enumerate} appears as bread butter 1 bread 2 butter

Description Environment \begin{description} \item[bread] multigrain \item[butter] unsalted \end{description} appears as bread multigrain butter unsalted

Making Tables \begin{tabular}{ llc r } \hline bread & 1 loaf & 500 g & \$ 2.50 \\ chocolate & 2 bars & 1200 g each & total \$2.40 \\ \hline \end{tabular} appears as bread 1 loaf 500 g $ 2.50 chocolate 2 bars 1200 g each total $ 2.40

Borders In the tabular environment, Each letter l,c,r represents a column, and mean left-aligned, centered, right-aligned respectively. If two columns are separated by a vertical bar there will be a line between the two columns. For each row, & separates the entries in each column (needs to have the right number of &!), and \\ does a line break. A \hline makes a horizontal line between the rows. More advanced: a \cline command can put a horizontal line spanning a selected number of columns only.

Typing Mathematics Mathematics is typed in a special mode, the maths mode. $... $ or \{... \} For example, the intersection of two sets A and B is written $A\cap B$ and appears as A B.

Displaying Mathematics The displayed maths mode is enclosed in the equation environment, or $$... $$ or \[... \] Displayed mathematics is centered on a line by itself.

Underscripting and superscripting In maths mode: Underscripts x i x i 3Z {a+b} 3Z a+b 3Z a+b 3Z a + b Superscripts x^2 x 2 5x^{18} 5x 18 5x^18 5x 1 8

Mathematical Symbols There are many. See the references, or in some L A TEX-specific editors, they have cheat sheets for all the mathematical symbols (not TexWorks). But you ll quickly learn the ones you need often!

Mathematical Symbols There are many. See the references, or in some L A TEX-specific editors, they have cheat sheets for all the mathematical symbols (not TexWorks). But you ll quickly learn the ones you need often! For example, Greek alphabet α \alpha, γ \gamma, Γ \Gamma \sum {i=1}ˆn iˆ2 n i=1 i 2 \prod {i=1}ˆn a i n i=1 a i or in displayed math mode n i 2, i=1 n a i. i=1

Mathematical Symbols There are many. See the references, or in some L A TEX-specific editors, they have cheat sheets for all the mathematical symbols (not TexWorks). But you ll quickly learn the ones you need often! For example, Greek alphabet α \alpha, γ \gamma, Γ \Gamma \sum {i=1}ˆn iˆ2 n i=1 i 2 \prod {i=1}ˆn a i n i=1 a i or in displayed math mode n i 2, i=1 n a i. i=1 Some symbols require specific packages like amssymb.

Cross Referencing \begin{equation} x = y + z \label{eq:sum} \end{equation} By equation \eqref{eq:sum} we can see that... By equation (1) we can see that... x = y + z (1) if this is the first equation in your document.

Cross Referencing Similarly, sections of the document may be labelled and referenced. In particular, this is very useful in referencing theorems, chapters, tables and figures. Example \begin{theorem} \label{mainresult} $A>B$ \end{theorem} Then anywhere in the text: In Theorem \ref{mainresult}, we proved that A > B. When cross referencing, make sure that you run L A TEXat least twice! Otherwise the references will be incorrect.

More Equations Multi line equations are easy to typeset, with the eqnarray environment. Longer equations that may not fit on a single line can also be broken up into several lines. See references for details.

Example 1 lim n n k=1 1 k 2 = π2 6 Fractions are obtained by \frac{1}{k^2}. (2)

Example 1 lim n n k=1 1 k 2 = π2 6 Fractions are obtained by \frac{1}{k^2}. \begin{equation} \lim {n \to \infty} \sum {k=1}^n \frac{1}{k^2} =\frac{\pi^2}{6} \end{equation} (2)

Example 2 P(α < x) = = x x f (α)dα (2πσα) 2 1/2 exp{ α2 }dα 2σ 2 α

Example 2 P(α < x) = = x x f (α)dα (2πσ 2 α) 1/2 exp{ α2 2σ 2 α }dα \begin{eqnarray*} P(\alpha<x) &=& \int {- \infty}^x f(\alpha) d\alpha \\ &=& \int {- \infty}^x (2\pi\sigma \alpha^2)^{-1/2} \exp \{ -\frac{alpha^2}{2\sigma^2 \alpha} \} d\alpha \end{eqnarray*}

Including pictures You can include pdf, png, jpeg, eps files. Have \usepackage{graphicx} in your heading. The file, say pic.jpg, has to be in the same folder as your tex file. Type \includegraphics[width=60mm]{pic} \includegraphics[height=60mm]{pic} Often you will use a figure environment: easier to manage where L A TEXputs it and possibility to caption, label, etc. or

Including pictures \begin{figure}[htb] \begin{center} \includegraphics[width=0.5*\ linewidth]{pic} \caption{this is a figure.} \label{pic1} \end{center} \end{figure}

Making your own figures You can use programs like Xfig, gimp. Export graphics from Maple, Mathematica. More advanced: use the Tikz package which programs graphics directly into the tex file. Ask your supervisor what programs is best for what you want to do.

Homework Install L A TEXon your personal laptop/computer. You can also use it in the computer labs. Homework: take a page of a maths book (with formulas) and try to reproduce it. Start writing your own work early!!!