1 / 8

Usage of Tex

Usage of Tex. Hyun Hee Shim Department of Physics Kangwon National University. Introduction. Tex is a computer language designed for use in typesetting. It is very suitable for.

Download Presentation

Usage of Tex

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Usage of Tex Hyun Hee Shim Department of Physics Kangwon National University

  2. Introduction • Tex is a computer language designed for use in typesetting. • It is very suitable for : Producing scientific and mathematical documents. • Advantage : Even complex structures can be generated easily. :The typesetting of mathematical formulae is easy. :Professionally crafted layouts are available.

  3. Compiling the input file 1. Edit/create your LaTex input file. Input file filename.tex 2. Your file save (filename.tex) Save 3. After file save, you run your input file. (latex filename.tex) latex filename.tex DVI file 4. You can obtain the DVI file. Xdvi filename.dvi View 5. You may view the DVI file.

  4. Input files structure When LaTex processes an input file, it expects it to follow a certain structure. Thus every input file must build such as following structure. Structure : This specifies what sort of document you intend to write. \documentclass{…….} \usepackage{……..} \begin{document} \end{document} : This specifies the style of the whole document. : This command represent the starting the body of the text. :This command represent the ending the body of the text.

  5. Type of document When we process the input file,we need information for type of document. \documentclass[options]{class} : Here class specifies the type of document to be create. : The options parameter customizes the behavior of the document class. (Example) \documentclass[11pt, twoside, a4paper]{article} The document as article with a base font size of 11 points and to produce a layout suitable for double sided printing on A4 paper.

  6. {class} - article : for articles in scientific journals, presentations, …. - report : for longer report containing several chapters, small book, …. - book : for real book - slides : for slides [option]The option have to be separated by commas. - 10pt(default), 11pt, 12pt : Size of main font. - a4paper, letterpaper,.. : Size of paper. - titlepage, nontitlepage : Specifies whether a new page should be started after the document title or not. - oneside(default), twoside : Whether double or single sided output shoud be generated.

  7. Package \usepackage[option]{package} {package} parameter is a name of the package. - dos : Allows the documentation of LaTeX programs. - hangul : Allows to use of the ‘The Korean alphabet’. - exscale : Provides scaled versions of the math extension font. - fontenc : Specifies which font encoding LaTeX should use. - latexsym : To access the LaTeX symbol font.

  8. Summary 1. Tex is a computer language designed for use in typesetting. 2. It is very suitable for producing scientific and mathematical documents.

More Related