Part - I : Short Course Typing Text

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

Basic Text Formatting with L A T E X

Meeting One. Aaron Ecay. February 2, 2011

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

Introduction to LATEX

TUTORIAL 5: LIST ENVIRONMENTS. 1. Welcome. (1) Hello. My name is Dr. Christopher Raridan (Dr. R).

L A TEX. COMPSCI 111 / 111G Mastering Cyberspace: An introduction to practical computing. LaTeX. Development. Why?

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.

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

Introduction to Scientific Typesetting Lesson 1: Getting Started

Guide to using L A TEX

An Introduction to L A TEX

Introduzione a LaTex. Fabrizio Messina

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

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

L A TEX for Psychological Researchers

L A TEX: Online module 2

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.

Course A, Part 1 Basic Formatting in L A TEX

CS 189 L A TEX and Linux: Displaying Text

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

My Mathematical Thesis

Getting Started with L A TEX

LaTeX, automata,computability, and notation. CS154 Chris Pollett Jan. 25, 2006.

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

LaTeX and Turing Machines. CS254 Chris Pollett Aug. 30, 2006.

Typing Mathematics. Darrin Doud

A Short Introduction to L A TEX

L A TEX Workshop. Don Brower

George Grätzer. Practical L A TEX

LATEX Primer. 1 Introduction (Read Me)

COMP496/901: Academic Presentation and Writing Skills Using LaTeX

Introduction to LAT E X

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

L A T E X FOSSEE. Department of Aerospace Engineering IIT Bombay. FOSSEE (IIT Bombay) LAT E X 1 / 58

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

More Math Into L A TEX. 4th Edition

Introduction to L A TEX

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

Lecture 1: Short summary of LaTeX basics

Learning LaTeX: The Basics


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

LaTeX A Tutorial. Mohsen Alimomeni, 2010

Introduction to L A TEX for MCS-236

LaTeX Seminar III: Environments and More Advanced Mathematical Typesetting

INSTALLING AND USING L A TEX

A L A T E X quick start

Formatting with LaTeX

A Brief Introduction to L A TEX

Microsoft Word 2007 Lesson 1

Microsoft Word 2007 Final Lesson

Typesetting in wxmaxima

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

Touring the Mac. S e s s i o n 3 : U S E A N APPLICATION

Introduction to L A TEX beamer

A Sample L A TEX Document

CSCM10 Research Methodology A Taster of L A TEX

Introduction to LAT E X

Introduction to Latex. A workshop by Dr. Ala Eshmawi

Array Basics: Outline. Creating and Accessing Arrays. Creating and Accessing Arrays. Arrays (Savitch, Chapter 7)

Workshop: A Simple Introduction to L A TEX

Interdisciplinary Journal of Best Practices in Global Development Final Manuscript Preparation Guidelines

Introduction to Math in LaTeX

Introduction to Programming in C Department of Computer Science and Engineering. Lecture No. #43. Multidimensional Arrays

Written & Oral Presentation: Computer Tools

Word - Basics. Course Description. Getting Started. Objectives. Editing a Document. Proofing a Document. Formatting Characters. Formatting Paragraphs

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

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

George Grätzer. Practical L A TEX

Creating a Template in WordPerfect

Memorandums. Keyboarding Objective 4.03 Apply correct memo and letter formats.

Introduction to L A TEX

Typesetting Tips. Put your best type forward.

Assessments for CS students:

L A TEX Workshop. An Introduction to L A TEX. Rakesh Jana Research Scholar Department of Mathematics IIT Guwhati

David Helmbold, October 2005, Revised October 2007

Effective Programming Practices for Economists

An Introduction to LATEX

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

Lesson Skill Matrix Skill Exam Objective Objective Number

MS WORD. You can use it for writing letters, reports and so on.

Note di Matematica instructions for authors

L A TEX and Basic Text Editing

Without savetrees. An Example Document

Math 235: Introduction to LaTeX

L A TEX From The Ground Up

Introduction. Using Indents and Tab Stops. Google Documents Using Indents, Tabs, and Lists. Indenting Text. Page 1

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

simpletex Documentation

Electronic Production Guidelines

For Word for Mac Users: Go to drop down at top of screen that says Format. Select Document and on the next screen select

Latex Tutorial. CIS400 Senior Design 9/5/2013

Microsoft Word Lecture 9. By lec. (Eng.) Hind Basil University of technology Department of Materials Engineering

Introduction to MCS 220 and L A TEX

SPEECH RECOGNITION COMMON COMMANDS

Using Microsoft Word. Paragraph Formatting. Displaying Hidden Characters

How to Create a Cover Letter

How to Make Graphs with Excel 2007

The first time you open Word

Transcription:

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

Introduction Introduction First, introduce you to typesetting text by working through examples. More details are provided throughout the lecture. A source file is made up of text, math (formulas), and instructions (commands) to L A T E X. For instance, consider the following two examples:

Introduction Example I Input in Source File A source file is made up of text,math (e.g.,$\sqrt{5}$), and \emph{instructions to} \LaTeX.

Introduction Example I Input in Source File A source file is made up of text,math (e.g.,$\sqrt{5}$), and \emph{instructions to} \LaTeX. Output in PDF File A source file is made up of text,math (e.g., 5),and instructions to L A T E X.

Introduction Example I Input in Source File A source file is made up of text,math (e.g.,$\sqrt{5}$), and \emph{instructions to} \LaTeX. Output in PDF File A source file is made up of text,math (e.g., 5),and instructions to L A T E X. Remarks Text Part : A source file is made up of text, math (e.g., Math Part : $\sqrt{5}$ Text Part : ),and Instructions Command with an Argument :\emph{instructions to} Instructions Command without an Argument :\LaTeX

Introduction Example II Input in Source File My first integral: $\int \zeta^{2}(x) \, dx$.

Introduction Example II Input in Source File My first integral: $\int \zeta^{2}(x) \, dx$. Output in PDF File My first integral: ζ 2 (x) dx.

Introduction Commands I Commands, as a rule, start with a backslash ( \ ) and tell L A T E X to do something special. In this case, the command \emph emphasizes its argument (the text between the braces). Another kind of instruction to L A T E X is called an environment. For instance, the commands \begin{flushright} and \end{flushright}

Introduction Commands II enclose a flushright environment; the content, that is, the text that is typed between these two commands, is right justified (lined up against the right margin) when typeset. (The flushleft environment creates left justified text; the center environment creates text that is centered horizontally on the page.)

The Keyboard The Keyboard Creating a document in L A T E X requires that we type the text and math in the source file. So we start with the keyboard, proceed to type a short note, and learn some simple rules for typing text in L A T E X.

The Keyboard Important Keys in Keyboard Basic Keys : a-z A-Z 0-9 + = * / ( ) [ ] Punctuation Keys:, ;.?! : - Special Keys: # $ % & ~ _ ^ \ { } @ " And the space bar, the Tab key, and the Return (or Enter) key.

Your First Note Your First Note We start our discussion on how to type a note in L A T E X with a simple example. Suppose you want to use L A T E X to produce the following: Input in Source File \documentclass{sample} \begin{document} It is of some concern to me that the terminology used in multi-section math courses is not uniform. In several sections of the course on matrix theory, the strange term hamiltonian-reduced is used. Of special concern to me is the terminology in the course by Prof.~Rudi Hochschwabauer. Since his field is new, there is no accepted terminology. \end{document}

Your First Note Output in PDF File It is of some concern to me that the terminology used in multi-section math courses is not uniform. In several sections of the course on matrix theory, the strange term hamiltonian-reduced is used. Of special concern to me is the terminology in the course by Prof. Rudi Hochschwabauer. Since his field is new, there is no accepted terminology.

Your First Note The text of the note is typed within the document environment, that is, between the lines \begin{document} and \end{document} Remarks 1 L A T E X notices when you put a blank space in the text, but it ignores how many blank spaces have been inserted.

Your First Note The text of the note is typed within the document environment, that is, between the lines \begin{document} and \end{document} Remarks 1 L A T E X notices when you put a blank space in the text, but it ignores how many blank spaces have been inserted. 2 L A T E X does not distinguish between a blank space (hitting the space bar), a tab (hitting the Tab key), and a single carriage return (hitting Return once).

Your First Note The text of the note is typed within the document environment, that is, between the lines \begin{document} and \end{document} Remarks 1 L A T E X notices when you put a blank space in the text, but it ignores how many blank spaces have been inserted. 2 L A T E X does not distinguish between a blank space (hitting the space bar), a tab (hitting the Tab key), and a single carriage return (hitting Return once). 3 However, hitting Return twice gives a blank line; one or more blank lines mark the end of a paragraph.

Lines too Wide Lines too Wide L A T E X reads the text in the source file one line at a time and when the end of a paragraph is reached, L A T E X typesets the entire paragraph. Occasionally, L A T E X gets into trouble when trying to split the paragraph into typeset lines.

More Text Features More Text Features Now we want to discuss more text features with following example Input in Source File 1 % Sample file: note2.tex 2 \documentclass{sample} 3 4 \begin{document} 5 \begin{flushright} 6 \today 7 \end{flushright} 8 \textbf{from the desk of George Gr\"{a}tzer}\\[22pt] 9 October~7--21 \emph{please} use my 10 temporary e-mail address: 11 \begin{center} 12 \texttt{george\_gratzer@yahoo.com} 13 \end{center} 14 \end{document}

More Text Features Output in PDF File June 14, 2012 From the desk of George Grätzer October 7 21 please use my temporary e-mail address: George_Gratzer@yahoo.com

More Text Features Remarks I 1 The \today command (in line 6) to display the date on which the document is typeset(so you will see a date different from the date shown above in your own typeset document). More Text Features 2 The environments to right justify (lines 3-5) and center (lines 8-11)text. 3 The commands to change the text style: \emph command (line 8) to emphasize text. \textbf command (line 9) for bold text. \texttt command (line 12) to produce typewriter style text. These are commands with arguments. In each case, the argument of the command follows the name of the command and is typed between braces, that is, between { and }.

More Text Features Remarks II 4 The form of the L A T E X commands: Almost all L A T E X commands start with a backslash ( \ ) followed by the command name. For instance, \textbf is a command and textbf is the command name. The command name is terminated by the first non-alphabetic character, that is, by any character other than a - z or A - Z. Note: The textbf1 is not a command name, in fact, \textbf1 typesets as 1. (Let us look at this a bit more closely. \textbf is a valid command. If a command needs an argument and is not followed by braces, then it takes the next character as its argument. So \textbf1 is the command \textbf with the argument 1, which typesets as bold 1: 1.)

More Text Features Remarks III Command names are case sensitive. Typing \Textbf or \TEXTBF generates an error message. 5 The multiple role of hyphens: Double hyphens are used for number ranges. For example, 7--21 (in line 9) typesets as 7-21. The punctuation mark - is called an endash. Use triple hyphens for the em dash punctuation mark such as the one in this sentence. More Text Features 6 The new line command, \\ (or \newline): To create additional space between lines (as in the last note, under the line From the desk... ), you can use the \\ command and specify an appropriate amount of vertical space: \\[22pt]. Note that this command uses square brackets rather than braces because the argument is optional. The distance may be given in points (pt), centimeters (cm), or inches (in).

More Text Features Remarks IV 7 Special rules for special characters, for accented characters and for some European characters. For instance, the accented character ä is typed as \"{a}. Recall that we also have the SymbolTables.pdf in the samples folder.

More Text Features Thank You