Presentation is loading. Please wait.

Presentation is loading. Please wait.

Latex CTRL 박성주 1. Latex? TEX 은 도널드 크누쓰 (Donald E. Knuth) 가 만 든 컴퓨터 프로그램이다. 텍스트와 수학식을 조판하기 위해 만들어졌다. LATEX 은 TEX 매크로 패키지이다. LATEX 을 사용하면 미리 정의된 전문적인 레이아웃을.

Similar presentations


Presentation on theme: "Latex CTRL 박성주 1. Latex? TEX 은 도널드 크누쓰 (Donald E. Knuth) 가 만 든 컴퓨터 프로그램이다. 텍스트와 수학식을 조판하기 위해 만들어졌다. LATEX 은 TEX 매크로 패키지이다. LATEX 을 사용하면 미리 정의된 전문적인 레이아웃을."— Presentation transcript:

1 Latex CTRL 박성주 1

2 Latex? TEX 은 도널드 크누쓰 (Donald E. Knuth) 가 만 든 컴퓨터 프로그램이다. 텍스트와 수학식을 조판하기 위해 만들어졌다. LATEX 은 TEX 매크로 패키지이다. LATEX 을 사용하면 미리 정의된 전문적인 레이아웃을 이용하여 저자 저작을 고품위 타이포그래피로 조판하고 인쇄할 수 있다. LATEX 은 레슬리 램 포트 (Leslie Lamport) 에 의하여 처음 작성되었 다. LATEX 은 TEX 을 조판 엔진으로 사용한다. 2

3 Latex 의 장점 전문가 수준으로 디자인된 레이아웃을 사용할 수 있다. 그래서 문서가 “ 인쇄된 ” 것과 거의 동일하다. 수학식의 조판이 매우 쉽다. 사용자는 문서의 논리적 구조를 지시하는 몇 가지 기억하기 쉬 운 명령어들만 익히면 된다. 각주, 상호참조, 목차, 참고문헌 등 매우 복잡한 구조들도 아주 쉽게 만들어진다. LATEX 기본 패키지 이외에도 여러 가지 조판상의 필요를 충족 시키는 자유롭게 이용할 수 있는 추가 패키지들이 많다. LATEX 은 구조화가 잘 된 문서를 작성하도록 저자를 유도한다. LATEX 의 동작 방식이 바로 그것이다 — 구조를 지정하는 것. LATEX2" 의 조판 엔진인 TEX 은 매우 이식성이 높으며 자유 소 프트웨어이다. 그러므로 TEX 시스템은 거의 모든 하드웨어 플 랫폼에서 실행가능하다. 3

4 Latex 의 단점 LATEX 은 아무 생각 없는 머리가 빈 사람들 하고는 잘 맞지 않는다 … 미리 만들어진 레이아웃 인자의 기정값을 조절해가면서 쓸 수 있기는 하지만, 완전히 새로운 레이아웃을 설계하는 것은 어렵고 시간이 많이 드는 일이다. 구조화되지 않고 비체계적인 문서를 작성 하기가 너무나 어렵다. 4

5 Latex 의 구조 5

6 Latex 설치 http://www.ktug.or.kr/xe/index.php?mid=in stall 에서 ko.TeX Live 2011 다운로드 및 설 치 ( 약 1.56GB)http://www.ktug.or.kr/xe/index.php?mid=in stall 상당한 설치시간 필요 모든 기본적인 Latex 튜토리얼 문서는 http://www.ktug.or.kr/xe/index.php?mid=do cuments 에서 권장문서 참조 http://www.ktug.or.kr/xe/index.php?mid=do cuments 6

7 A minimal LaTeX input 7

8 Document Classes article: scientific journals, presentations, short reports, program documentation, invitation, and so on. proc: a class for proceeding based on the article class report: longer reports containing several chapters, small books, Ph.D(MS) thesis. book: real books slides: for slides 8 10pt, 11pt: the size of font. a4paper, letterpaper leqno: numbering of formulae on the left hand side instead of the right fleqn: display formulae left- aligned instead of centered onecolumn, twocolumn oneside, twoside: specifies whether double or single sided output should be generated. landscape \documentclass[options]{class} Document ClassesDocument Classes Options

9 Document Classes - Examples 9 \documentclass[twocolumn]{article}\documentclass{article} \documentclass{book} \documentclass[landscape]{slides}

10 Packages Basic LaTeX cannot solve a complex problem Package helps to include figures, colored text, source code. Examples –Figure : \usepakage{graphicx} –Math : \usepackage{amamath} –Colored text : \usepackage{color} –Source code : \usepackage{verbtim} 10 \usepackage[options]{package}

11 Page Style LaTeX supports three pre-defined header/footer –plain: prints the page numbers on the bottom of the page, in the middle of the footer. –headings: prints the current chapter heading and the page number in the header on each page. –empty: sets both the header and the footer to be empty. 11 \pagestyle{style} \thispagestyle{style}

12 Spaces Whitespace characters(=blank, tab) –Several consecutive whitespace characters are treated as one space. –An empty line between two lines of text defines the end of a paragraph. (\\) 12

13 Special Characters Special characters –The following symbols are reserved characters. –If you enter them directly in your text, they will normally not print. –To print them, a prefix backslash \ have to be added. 13 # $ % ^ & _ { } ~

14 Comments (1/2) % character ignores the rest of the present line, the line break, and all whitespace at the beginning of the next line. 14

15 Comments (2/2) For longer comments you could use the comment environment provided by the verbatim package. 15

16 Typesetting Text (1/2) Produce real world material. Sentence Paragraph Section, Chapter, Subsection 16 \section{…} \subsection{…} \subsubsection{…} \paragraph{…} \subparagraph{…}

17 Typesetting Text (2/2) 17

18 Paragraph 18 Not paragraph break Paragraph break

19 Font 19

20 Line and Page break Line break without starting a new paragraph Line break without a page break New page Horizontal space and Vertical space 20

21 Special Characters (1/2) Quotation marks Dashes and Hyphens 21

22 Special Characters (2/2) Tilde Degree symbol Ellipsis 22

23 Title, author Define title, author, and date 23

24 Cross Reference References to figures, tables, special segments 24

25 Footnote 25

26 Emphasized Word Underline a text Italic font 26

27 To write a paper Visit the journal/conference’s web site Navigate to the author guide-line page Download LaTeX templates Make a paper by editing the templates Example –IEEE transaction on knowledge and data engineering IEEEtran.cls IEEEtran_HOWTO.pdf README Appendix F.pdf bare_jrnl_compsoc.tex (edit this file) 27

28 Typesetting mathematical formulae LaTeX has a special mode for typesetting mathematics. Mathematical text within a paragraph is entered – \ ( … \ ) – $ … $ 28

29 29

30 Typesetting mathematical formulae When you want your larger mathematical equations or formulae, you can either enclose them in 30 without equation number … …

31 31

32 32

33 Typesetting mathematical formulae Most spaces and line breaks do not have any significance, as all spaces are either derived logically from the mathematical expressions, or have to be specified with special commands such as Empty lines are not allowed. If you want to typeset normal text within a formula, you have to enter the text using the sddsdfasdf commands. 33

34 Grouping in Math Mode 34

35 Mathematical Formula Lowercase Greek letters Exponents and Subscripts Square root 35

36 Mathematical Formula Horizontal lines Horizontal braces Prime 36

37 Mathematical Formula Vectors Multiplication operation 37

38 Mathematical Formula Important function names Ex. lim 38

39 Mathematical Formula Modulo function Fraction 39

40 Mathematical Formula Binomial coefficients integral operator, sum operator, product operator 40

41 Mathematical Formula Braces Mathematical delimiter 41

42 Mathematical Formula Dots Math Spacing 42

43 Mathematical Formula Arrays: similar to Tabular environment 43

44 Mathematical Formula One big delimiter by using a. 44

45 Mathematical Formula Draw lines in array For formulae running over several lines 45

46 Mathematical Formula Long equation Theorem, Laws 46

47 47

48 List of Mathematical Symbols 48

49 List of Mathematical Symbols 49

50 List of Mathematical Symbols 50

51 List of Mathematical Symbols 51

52 List of Mathematical Symbols 52

53 List of Mathematical Symbols 53

54 List of Mathematical Symbols 54

55 QnA


Download ppt "Latex CTRL 박성주 1. Latex? TEX 은 도널드 크누쓰 (Donald E. Knuth) 가 만 든 컴퓨터 프로그램이다. 텍스트와 수학식을 조판하기 위해 만들어졌다. LATEX 은 TEX 매크로 패키지이다. LATEX 을 사용하면 미리 정의된 전문적인 레이아웃을."

Similar presentations


Ads by Google