65
Formatting Text L A T E X DEMO L A T E X beamer Text Formatting with L A T E X, Eclipse and SVN Desislava Zhekova CIS, LMU [email protected] July 1, 2013 Desislava Zhekova Text Formatting with L A T E X, Eclipse and SVN

Text Formatting with LaTeX, Eclipse and SVNhs/teach/13s/colloquium/... · 2013. 7. 1. · Text Editor vs. Word Processor What You See Is What You Get Text Editor vs. Word Processor

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Text Formatting with LaTeX, Eclipse and SVNhs/teach/13s/colloquium/... · 2013. 7. 1. · Text Editor vs. Word Processor What You See Is What You Get Text Editor vs. Word Processor

Formatting TextLATEX

DEMOLATEX beamer

Text Formatting withLATEX, Eclipse and SVN

Desislava Zhekova

CIS, [email protected]

July 1, 2013

Desislava Zhekova Text Formatting with LATEX, Eclipse and SVN

Page 2: Text Formatting with LaTeX, Eclipse and SVNhs/teach/13s/colloquium/... · 2013. 7. 1. · Text Editor vs. Word Processor What You See Is What You Get Text Editor vs. Word Processor

Formatting TextLATEX

DEMOLATEX beamer

Outline1 Formatting Text

Text Editor vs. Word ProcessorWhat You See Is What You Get

2 LATEXWhat is LATEX?Microsoft Word vs LATEXEclipse & SVN

3 DEMODocument ClassesDocument Class OptionsBasicsStyle Files/PackagesLATEX for Linguists

4 LATEX beamer

Desislava Zhekova Text Formatting with LATEX, Eclipse and SVN

Page 3: Text Formatting with LaTeX, Eclipse and SVNhs/teach/13s/colloquium/... · 2013. 7. 1. · Text Editor vs. Word Processor What You See Is What You Get Text Editor vs. Word Processor

Formatting TextLATEX

DEMOLATEX beamer

Text Editor vs. Word ProcessorWhat You See Is What You Get

Text Editor vs. Word Processor

Text Editors

used to handle plain text (a simple character set, such as ASCII,is used to represent numbers, letters, and a small number ofsymbols)

the only non-printing characters they support are: newline, tab,and form feed

http://en.wikipedia.org/wiki/Comparison_of_text_editors

Desislava Zhekova Text Formatting with LATEX, Eclipse and SVN

Page 4: Text Formatting with LaTeX, Eclipse and SVNhs/teach/13s/colloquium/... · 2013. 7. 1. · Text Editor vs. Word Processor What You See Is What You Get Text Editor vs. Word Processor

Formatting TextLATEX

DEMOLATEX beamer

Text Editor vs. Word ProcessorWhat You See Is What You Get

Text Editor vs. Word Processor

Text Editors

used to handle plain text (a simple character set, such as ASCII,is used to represent numbers, letters, and a small number ofsymbols)

the only non-printing characters they support are: newline, tab,and form feedhttp://en.wikipedia.org/wiki/Comparison_of_text_editors

Desislava Zhekova Text Formatting with LATEX, Eclipse and SVN

Page 5: Text Formatting with LaTeX, Eclipse and SVNhs/teach/13s/colloquium/... · 2013. 7. 1. · Text Editor vs. Word Processor What You See Is What You Get Text Editor vs. Word Processor

Formatting TextLATEX

DEMOLATEX beamer

Text Editor vs. Word ProcessorWhat You See Is What You Get

Text Editors

NotepadBundled with Microsoft Windows

Desislava Zhekova Text Formatting with LATEX, Eclipse and SVN

Page 6: Text Formatting with LaTeX, Eclipse and SVNhs/teach/13s/colloquium/... · 2013. 7. 1. · Text Editor vs. Word Processor What You See Is What You Get Text Editor vs. Word Processor

Formatting TextLATEX

DEMOLATEX beamer

Text Editor vs. Word ProcessorWhat You See Is What You Get

Text Editors

Notepad++

Desislava Zhekova Text Formatting with LATEX, Eclipse and SVN

Page 7: Text Formatting with LaTeX, Eclipse and SVNhs/teach/13s/colloquium/... · 2013. 7. 1. · Text Editor vs. Word Processor What You See Is What You Get Text Editor vs. Word Processor

Formatting TextLATEX

DEMOLATEX beamer

Text Editor vs. Word ProcessorWhat You See Is What You Get

Text Editor vs. Word Processor

Word Processor

developed to aid in formatting text

contains formatted text (e.g. boldface, italics, can use multiplefonts in a document or structures, such as columns and tables)

saving a plain text file with a word processor will add formattinginformation that prohibits the machine-readability of the text

Desislava Zhekova Text Formatting with LATEX, Eclipse and SVN

Page 8: Text Formatting with LaTeX, Eclipse and SVNhs/teach/13s/colloquium/... · 2013. 7. 1. · Text Editor vs. Word Processor What You See Is What You Get Text Editor vs. Word Processor

Formatting TextLATEX

DEMOLATEX beamer

Text Editor vs. Word ProcessorWhat You See Is What You Get

Word Processors

Working on your thesis surely opts for more formatting!!!

Desislava Zhekova Text Formatting with LATEX, Eclipse and SVN

Page 9: Text Formatting with LaTeX, Eclipse and SVNhs/teach/13s/colloquium/... · 2013. 7. 1. · Text Editor vs. Word Processor What You See Is What You Get Text Editor vs. Word Processor

Formatting TextLATEX

DEMOLATEX beamer

Text Editor vs. Word ProcessorWhat You See Is What You Get

Word Processors

Working on your thesis surely opts for more formatting!!!=⇒ Word Processor

Desislava Zhekova Text Formatting with LATEX, Eclipse and SVN

Page 10: Text Formatting with LaTeX, Eclipse and SVNhs/teach/13s/colloquium/... · 2013. 7. 1. · Text Editor vs. Word Processor What You See Is What You Get Text Editor vs. Word Processor

Formatting TextLATEX

DEMOLATEX beamer

Text Editor vs. Word ProcessorWhat You See Is What You Get

Word Processors

early word processors used tag-based markup for documentformatting

most modern word processors use GUIs that enablewhat-you-see-is-what-you-get editing

Desislava Zhekova Text Formatting with LATEX, Eclipse and SVN

Page 11: Text Formatting with LaTeX, Eclipse and SVNhs/teach/13s/colloquium/... · 2013. 7. 1. · Text Editor vs. Word Processor What You See Is What You Get Text Editor vs. Word Processor

Formatting TextLATEX

DEMOLATEX beamer

Text Editor vs. Word ProcessorWhat You See Is What You Get

Word Processors

early word processors used tag-based markup for documentformatting

most modern word processors use GUIs that enablewhat-you-see-is-what-you-get editing

However, what-you-see-is-what-you-get is one of the most commonmisconceptions about Word Processors.

Desislava Zhekova Text Formatting with LATEX, Eclipse and SVN

Page 12: Text Formatting with LaTeX, Eclipse and SVNhs/teach/13s/colloquium/... · 2013. 7. 1. · Text Editor vs. Word Processor What You See Is What You Get Text Editor vs. Word Processor

Formatting TextLATEX

DEMOLATEX beamer

Text Editor vs. Word ProcessorWhat You See Is What You Get

Word Processors

One of the most widely used Word Processors nowadays is:

Microsoft Word

Desislava Zhekova Text Formatting with LATEX, Eclipse and SVN

Page 13: Text Formatting with LaTeX, Eclipse and SVNhs/teach/13s/colloquium/... · 2013. 7. 1. · Text Editor vs. Word Processor What You See Is What You Get Text Editor vs. Word Processor

Formatting TextLATEX

DEMOLATEX beamer

Text Editor vs. Word ProcessorWhat You See Is What You Get

Word Processors

Microsoft Word under Windows 8

Desislava Zhekova Text Formatting with LATEX, Eclipse and SVN

Page 14: Text Formatting with LaTeX, Eclipse and SVNhs/teach/13s/colloquium/... · 2013. 7. 1. · Text Editor vs. Word Processor What You See Is What You Get Text Editor vs. Word Processor

Formatting TextLATEX

DEMOLATEX beamer

Text Editor vs. Word ProcessorWhat You See Is What You Get

Microsoft Word

tries to aid you so excessively that it becomes too much

a lot of things just happen, because Word assumes you wanted itthis way

rearranging parts of a document, moving figures and tables, etc.can become increasingly difficult

Desislava Zhekova Text Formatting with LATEX, Eclipse and SVN

Page 15: Text Formatting with LaTeX, Eclipse and SVNhs/teach/13s/colloquium/... · 2013. 7. 1. · Text Editor vs. Word Processor What You See Is What You Get Text Editor vs. Word Processor

Formatting TextLATEX

DEMOLATEX beamer

Text Editor vs. Word ProcessorWhat You See Is What You Get

Microsoft Word

Microsoft Word is very helpful if you want:

relatively short and simple documents

to use only basic formatting features

to produce a document for its content, but not for its layout

Desislava Zhekova Text Formatting with LATEX, Eclipse and SVN

Page 16: Text Formatting with LaTeX, Eclipse and SVNhs/teach/13s/colloquium/... · 2013. 7. 1. · Text Editor vs. Word Processor What You See Is What You Get Text Editor vs. Word Processor

Formatting TextLATEX

DEMOLATEX beamer

Text Editor vs. Word ProcessorWhat You See Is What You Get

Microsoft Word

Microsoft Word is excruciatingly bad in several cases:

increase in document length and number of graphics lead todrastic decrease in speed

scientific features, such as citation utilities are not included

compatibility is seldom good between OSs, foreign programs oreven between MS Word versions

Desislava Zhekova Text Formatting with LATEX, Eclipse and SVN

Page 17: Text Formatting with LaTeX, Eclipse and SVNhs/teach/13s/colloquium/... · 2013. 7. 1. · Text Editor vs. Word Processor What You See Is What You Get Text Editor vs. Word Processor

Formatting TextLATEX

DEMOLATEX beamer

Text Editor vs. Word ProcessorWhat You See Is What You Get

Microsoft Word

Microsoft Word just can not handle:

collaborative work - How do you work on a single document withmore than 1 person simultaneously?

version control - How do you keep track of all the changes in thedocument?

Desislava Zhekova Text Formatting with LATEX, Eclipse and SVN

Page 18: Text Formatting with LaTeX, Eclipse and SVNhs/teach/13s/colloquium/... · 2013. 7. 1. · Text Editor vs. Word Processor What You See Is What You Get Text Editor vs. Word Processor

Formatting TextLATEX

DEMOLATEX beamer

What is LATEX?Microsoft Word vs LATEXEclipse & SVN

The solution to all your problems - LATEX

LATEX is not:

text processor

word processor

LATEX:

is a document preparation system

provides high-quality typesetting

uses markup to define the document formatting

is structured around the concept what-you-see-is-what-you-mean

Desislava Zhekova Text Formatting with LATEX, Eclipse and SVN

Page 19: Text Formatting with LaTeX, Eclipse and SVNhs/teach/13s/colloquium/... · 2013. 7. 1. · Text Editor vs. Word Processor What You See Is What You Get Text Editor vs. Word Processor

Formatting TextLATEX

DEMOLATEX beamer

What is LATEX?Microsoft Word vs LATEXEclipse & SVN

Microsoft Word vs LATEX

LATEX

LATEX is good where Microsoft Word is excruciatingly bad:

increase in document length and number of graphics lead todrastic decrease in speed

scientific features, such as citation utilities are not included

compatibility is seldom good between OSs, foreign programs oreven between MS Word versions

Desislava Zhekova Text Formatting with LATEX, Eclipse and SVN

Page 20: Text Formatting with LaTeX, Eclipse and SVNhs/teach/13s/colloquium/... · 2013. 7. 1. · Text Editor vs. Word Processor What You See Is What You Get Text Editor vs. Word Processor

Formatting TextLATEX

DEMOLATEX beamer

What is LATEX?Microsoft Word vs LATEXEclipse & SVN

Microsoft Word vs LATEX

Desislava Zhekova Text Formatting with LATEX, Eclipse and SVN

Page 21: Text Formatting with LaTeX, Eclipse and SVNhs/teach/13s/colloquium/... · 2013. 7. 1. · Text Editor vs. Word Processor What You See Is What You Get Text Editor vs. Word Processor

Formatting TextLATEX

DEMOLATEX beamer

What is LATEX?Microsoft Word vs LATEXEclipse & SVN

Microsoft Word vs LATEX

What about the functions that Microsoft Word could not handle:

collaborative work

version control

Desislava Zhekova Text Formatting with LATEX, Eclipse and SVN

Page 22: Text Formatting with LaTeX, Eclipse and SVNhs/teach/13s/colloquium/... · 2013. 7. 1. · Text Editor vs. Word Processor What You See Is What You Get Text Editor vs. Word Processor

Formatting TextLATEX

DEMOLATEX beamer

What is LATEX?Microsoft Word vs LATEXEclipse & SVN

Google Drive

Desislava Zhekova Text Formatting with LATEX, Eclipse and SVN

Page 23: Text Formatting with LaTeX, Eclipse and SVNhs/teach/13s/colloquium/... · 2013. 7. 1. · Text Editor vs. Word Processor What You See Is What You Get Text Editor vs. Word Processor

Formatting TextLATEX

DEMOLATEX beamer

What is LATEX?Microsoft Word vs LATEXEclipse & SVN

Google Drive

https://docs.google.com/document/d/1tLNutpn-Bb-UgWyKauLxztlrjS7PqVLML2YTsW3lN5U/edit

Desislava Zhekova Text Formatting with LATEX, Eclipse and SVN

Page 24: Text Formatting with LaTeX, Eclipse and SVNhs/teach/13s/colloquium/... · 2013. 7. 1. · Text Editor vs. Word Processor What You See Is What You Get Text Editor vs. Word Processor

Formatting TextLATEX

DEMOLATEX beamer

What is LATEX?Microsoft Word vs LATEXEclipse & SVN

Google Drive

Google drive already goes in the direction that we need. However:

it is highly limited and does not provide editing capabilities formore complex documents

does not provide citation utilities

requires a Google account

has all additional drawbacks typical to MS Word

Desislava Zhekova Text Formatting with LATEX, Eclipse and SVN

Page 25: Text Formatting with LaTeX, Eclipse and SVNhs/teach/13s/colloquium/... · 2013. 7. 1. · Text Editor vs. Word Processor What You See Is What You Get Text Editor vs. Word Processor

Formatting TextLATEX

DEMOLATEX beamer

What is LATEX?Microsoft Word vs LATEXEclipse & SVN

The solution to all your problems - LATEXLATEX is supported by a whole bunch of text editors(http://en.wikipedia.org/wiki/Comparison_of_TeX_editors)

Notepad++

Desislava Zhekova Text Formatting with LATEX, Eclipse and SVN

Page 26: Text Formatting with LaTeX, Eclipse and SVNhs/teach/13s/colloquium/... · 2013. 7. 1. · Text Editor vs. Word Processor What You See Is What You Get Text Editor vs. Word Processor

Formatting TextLATEX

DEMOLATEX beamer

What is LATEX?Microsoft Word vs LATEXEclipse & SVN

The solution to all your problems - LATEX

Eclipse is a multi-language Integrated Development Environment(IDE) comprising a base workspace and an extensible plug-in systemfor customizing the environment.

Desislava Zhekova Text Formatting with LATEX, Eclipse and SVN

Page 27: Text Formatting with LaTeX, Eclipse and SVNhs/teach/13s/colloquium/... · 2013. 7. 1. · Text Editor vs. Word Processor What You See Is What You Get Text Editor vs. Word Processor

Formatting TextLATEX

DEMOLATEX beamer

What is LATEX?Microsoft Word vs LATEXEclipse & SVN

The solution to all your problems - LATEX

Eclipse supports:

a whole bunch of programming languages (e.g. Ada, C, C++,COBOL, Fortran, Haskell, JavaScript, Perl, PHP, Python, R, Ruby(including Ruby on Rails framework), Scala, Clojure, Groovy,Scheme and Erlang)

LATEX

Subversion (SVN)

Desislava Zhekova Text Formatting with LATEX, Eclipse and SVN

Page 28: Text Formatting with LaTeX, Eclipse and SVNhs/teach/13s/colloquium/... · 2013. 7. 1. · Text Editor vs. Word Processor What You See Is What You Get Text Editor vs. Word Processor

Formatting TextLATEX

DEMOLATEX beamer

What is LATEX?Microsoft Word vs LATEXEclipse & SVN

The solution to all your problems - LATEX

Eclipse supports:

a whole bunch of programming languages (e.g. Ada, C, C++,COBOL, Fortran, Haskell, JavaScript, Perl, PHP, Python, R, Ruby(including Ruby on Rails framework), Scala, Clojure, Groovy,Scheme and Erlang)

LATEX

Subversion (SVN)

Desislava Zhekova Text Formatting with LATEX, Eclipse and SVN

Page 29: Text Formatting with LaTeX, Eclipse and SVNhs/teach/13s/colloquium/... · 2013. 7. 1. · Text Editor vs. Word Processor What You See Is What You Get Text Editor vs. Word Processor

Formatting TextLATEX

DEMOLATEX beamer

What is LATEX?Microsoft Word vs LATEXEclipse & SVN

The solution to all your problems - LATEX

Eclipse supports:

a whole bunch of programming languages (e.g. Ada, C, C++,COBOL, Fortran, Haskell, JavaScript, Perl, PHP, Python, R, Ruby(including Ruby on Rails framework), Scala, Clojure, Groovy,Scheme and Erlang)

LATEX

Subversion (SVN)

Desislava Zhekova Text Formatting with LATEX, Eclipse and SVN

Page 30: Text Formatting with LaTeX, Eclipse and SVNhs/teach/13s/colloquium/... · 2013. 7. 1. · Text Editor vs. Word Processor What You See Is What You Get Text Editor vs. Word Processor

Formatting TextLATEX

DEMOLATEX beamer

What is LATEX?Microsoft Word vs LATEXEclipse & SVN

The solution to all your problems - LATEX

Subversion is a software versioning and revision control system.http://betterexplained.com/articles/a-visual-guide-to-version-control

can be used for personal project versioning and revision

can be employed for collaborative work

Desislava Zhekova Text Formatting with LATEX, Eclipse and SVN

Page 31: Text Formatting with LaTeX, Eclipse and SVNhs/teach/13s/colloquium/... · 2013. 7. 1. · Text Editor vs. Word Processor What You See Is What You Get Text Editor vs. Word Processor

Formatting TextLATEX

DEMOLATEX beamer

What is LATEX?Microsoft Word vs LATEXEclipse & SVN

The solution to all your problems - LATEX

Subversion is a software versioning and revision control system.http://betterexplained.com/articles/a-visual-guide-to-version-control

can be used for personal project versioning and revision

can be employed for collaborative work

Desislava Zhekova Text Formatting with LATEX, Eclipse and SVN

Page 32: Text Formatting with LaTeX, Eclipse and SVNhs/teach/13s/colloquium/... · 2013. 7. 1. · Text Editor vs. Word Processor What You See Is What You Get Text Editor vs. Word Processor

Formatting TextLATEX

DEMOLATEX beamer

What is LATEX?Microsoft Word vs LATEXEclipse & SVN

The solution to all your problems - LATEX

Subversion is a software versioning and revision control system.http://betterexplained.com/articles/a-visual-guide-to-version-control

can be used for personal project versioning and revision

can be employed for collaborative work

Desislava Zhekova Text Formatting with LATEX, Eclipse and SVN

Page 33: Text Formatting with LaTeX, Eclipse and SVNhs/teach/13s/colloquium/... · 2013. 7. 1. · Text Editor vs. Word Processor What You See Is What You Get Text Editor vs. Word Processor

Formatting TextLATEX

DEMOLATEX beamer

What is LATEX?Microsoft Word vs LATEXEclipse & SVN

The solution to all your problems - LATEX

Desislava Zhekova Text Formatting with LATEX, Eclipse and SVN

Page 34: Text Formatting with LaTeX, Eclipse and SVNhs/teach/13s/colloquium/... · 2013. 7. 1. · Text Editor vs. Word Processor What You See Is What You Get Text Editor vs. Word Processor

Formatting TextLATEX

DEMOLATEX beamer

What is LATEX?Microsoft Word vs LATEXEclipse & SVN

The solution to all your problems - LATEX

Desislava Zhekova Text Formatting with LATEX, Eclipse and SVN

Page 35: Text Formatting with LaTeX, Eclipse and SVNhs/teach/13s/colloquium/... · 2013. 7. 1. · Text Editor vs. Word Processor What You See Is What You Get Text Editor vs. Word Processor

Formatting TextLATEX

DEMOLATEX beamer

What is LATEX?Microsoft Word vs LATEXEclipse & SVN

Some useful links

Eclipsehttp://www.eclipse.org

LATEX plugin for Eclipse (TeXlipse)http://texlipse.sourceforge.net

LATEX tutorialshttp://latex-project.org/guideshttp://en.wikibooks.org/wiki/LaTeX

Subversion plugin for Eclipse (Subclipse)http://subclipse.tigris.org

Subversion tutorialshttp://svnbook.red-bean.com

Desislava Zhekova Text Formatting with LATEX, Eclipse and SVN

Page 36: Text Formatting with LaTeX, Eclipse and SVNhs/teach/13s/colloquium/... · 2013. 7. 1. · Text Editor vs. Word Processor What You See Is What You Get Text Editor vs. Word Processor

Formatting TextLATEX

DEMOLATEX beamer

Document ClassesDocument Class OptionsBasicsStyle Files/PackagesLATEX for Linguists

Simple Latex Documen - document.tex

Desislava Zhekova Text Formatting with LATEX, Eclipse and SVN

Page 37: Text Formatting with LaTeX, Eclipse and SVNhs/teach/13s/colloquium/... · 2013. 7. 1. · Text Editor vs. Word Processor What You See Is What You Get Text Editor vs. Word Processor

Formatting TextLATEX

DEMOLATEX beamer

Document ClassesDocument Class OptionsBasicsStyle Files/PackagesLATEX for Linguists

Document Classes - document.tex

Some of the most helpful document classes:

article - articles in scientific journals, presentations, shortreports, program documentation, invitations, etc.

report - for longer reports containing several chapters, smallbooks, thesis

book - for real books

memoir - for changing sensibly the output of the document. It isbased on the book class, but you can create any kind ofdocument with it.

Desislava Zhekova Text Formatting with LATEX, Eclipse and SVN

Page 38: Text Formatting with LaTeX, Eclipse and SVNhs/teach/13s/colloquium/... · 2013. 7. 1. · Text Editor vs. Word Processor What You See Is What You Get Text Editor vs. Word Processor

Formatting TextLATEX

DEMOLATEX beamer

Document ClassesDocument Class OptionsBasicsStyle Files/PackagesLATEX for Linguists

Document Class Options - document.tex

Some of the most helpful document class options:

10pt, 11pt, 12pt - Sets the size of the main font in the document.If no option is specified, 10pt is assumed.

onecolumn, twocolumn - Instructs LaTeX to typeset thedocument in one column or two columns.

landscape - Changes the layout of the document to print inlandscape mode.

Desislava Zhekova Text Formatting with LATEX, Eclipse and SVN

Page 39: Text Formatting with LaTeX, Eclipse and SVNhs/teach/13s/colloquium/... · 2013. 7. 1. · Text Editor vs. Word Processor What You See Is What You Get Text Editor vs. Word Processor

Formatting TextLATEX

DEMOLATEX beamer

Document ClassesDocument Class OptionsBasicsStyle Files/PackagesLATEX for Linguists

Math mode

LATEX provides a couple very easy ways for math typesetting:

the $$ environment

the amsmath package

some useful tipshttp://en.wikibooks.org/wiki/LaTeX/Advanced_Mathematics

Desislava Zhekova Text Formatting with LATEX, Eclipse and SVN

Page 40: Text Formatting with LaTeX, Eclipse and SVNhs/teach/13s/colloquium/... · 2013. 7. 1. · Text Editor vs. Word Processor What You See Is What You Get Text Editor vs. Word Processor

Formatting TextLATEX

DEMOLATEX beamer

Document ClassesDocument Class OptionsBasicsStyle Files/PackagesLATEX for Linguists

Tables

Tables are probably the only annoying aspect of LATEX. Let us look atsome http://en.wikibooks.org/wiki/LaTeX/Tables

Desislava Zhekova Text Formatting with LATEX, Eclipse and SVN

Page 41: Text Formatting with LaTeX, Eclipse and SVNhs/teach/13s/colloquium/... · 2013. 7. 1. · Text Editor vs. Word Processor What You See Is What You Get Text Editor vs. Word Processor

Formatting TextLATEX

DEMOLATEX beamer

Document ClassesDocument Class OptionsBasicsStyle Files/PackagesLATEX for Linguists

Tables

tabular vs. table

Desislava Zhekova Text Formatting with LATEX, Eclipse and SVN

Page 42: Text Formatting with LaTeX, Eclipse and SVNhs/teach/13s/colloquium/... · 2013. 7. 1. · Text Editor vs. Word Processor What You See Is What You Get Text Editor vs. Word Processor

Formatting TextLATEX

DEMOLATEX beamer

Document ClassesDocument Class OptionsBasicsStyle Files/PackagesLATEX for Linguists

Graphics

Graphics are a lot simpler than tables: http://en.wikibooks.org/wiki/LaTeX/Importing_Graphics

Desislava Zhekova Text Formatting with LATEX, Eclipse and SVN

Page 43: Text Formatting with LaTeX, Eclipse and SVNhs/teach/13s/colloquium/... · 2013. 7. 1. · Text Editor vs. Word Processor What You See Is What You Get Text Editor vs. Word Processor

Formatting TextLATEX

DEMOLATEX beamer

Document ClassesDocument Class OptionsBasicsStyle Files/PackagesLATEX for Linguists

Style Files/Packages

LATEX style files or packages can be used to define special formats andcommands. The information in a style file can be accessed by anyLATEX file using the command \usepackage{style_file}.

The CIS LATEX style for Bachelor/Master Thesis

The LMU LATEX style file for PhD Thesis

The ClassicThesis LATEX style for PhD Thesis

Desislava Zhekova Text Formatting with LATEX, Eclipse and SVN

Page 44: Text Formatting with LaTeX, Eclipse and SVNhs/teach/13s/colloquium/... · 2013. 7. 1. · Text Editor vs. Word Processor What You See Is What You Get Text Editor vs. Word Processor

Formatting TextLATEX

DEMOLATEX beamer

Document ClassesDocument Class OptionsBasicsStyle Files/PackagesLATEX for Linguists

Style Files/Packages

LATEX style files or packages can be used to define special formats andcommands. The information in a style file can be accessed by anyLATEX file using the command \usepackage{style_file}.

The CIS LATEX style for Bachelor/Master Thesis

The LMU LATEX style file for PhD Thesis

The ClassicThesis LATEX style for PhD Thesis

Desislava Zhekova Text Formatting with LATEX, Eclipse and SVN

Page 45: Text Formatting with LaTeX, Eclipse and SVNhs/teach/13s/colloquium/... · 2013. 7. 1. · Text Editor vs. Word Processor What You See Is What You Get Text Editor vs. Word Processor

Formatting TextLATEX

DEMOLATEX beamer

Document ClassesDocument Class OptionsBasicsStyle Files/PackagesLATEX for Linguists

Style Files/Packages

LATEX style files or packages can be used to define special formats andcommands. The information in a style file can be accessed by anyLATEX file using the command \usepackage{style_file}.

The CIS LATEX style for Bachelor/Master Thesis

The LMU LATEX style file for PhD Thesis

The ClassicThesis LATEX style for PhD Thesis

Desislava Zhekova Text Formatting with LATEX, Eclipse and SVN

Page 46: Text Formatting with LaTeX, Eclipse and SVNhs/teach/13s/colloquium/... · 2013. 7. 1. · Text Editor vs. Word Processor What You See Is What You Get Text Editor vs. Word Processor

Formatting TextLATEX

DEMOLATEX beamer

Document ClassesDocument Class OptionsBasicsStyle Files/PackagesLATEX for Linguists

Style Files/Packages

Some packages in LATEX can be compared to plugins or add-onfeatures. The initial LATEX distribution comes with dozens ofpreinstalled packages. However, a lot of supplementary ones can beused for additional, specific functionality. The Comprehensive TEXArchive Network (CTAN) (http://www.ctan.org) currently containsmore than 4500 packages. There are also many more that can beacquired from other sources.

amsmath - Advanced use of math typesettinghyperref - Extensive support for hypertext in LATEXtipa - Fonts and macros for IPA phonetic charactersparsetree - provides a very clean layout for trees (this packagesupports no more than ternary trees)avm - supports the production of sorted and unsortedattribute-value matrices

Desislava Zhekova Text Formatting with LATEX, Eclipse and SVN

Page 47: Text Formatting with LaTeX, Eclipse and SVNhs/teach/13s/colloquium/... · 2013. 7. 1. · Text Editor vs. Word Processor What You See Is What You Get Text Editor vs. Word Processor

Formatting TextLATEX

DEMOLATEX beamer

Document ClassesDocument Class OptionsBasicsStyle Files/PackagesLATEX for Linguists

LATEX for Linguists Links

There are several sites that try to sum up the most importantfunctionality of LATEX for lingsuists.

LaTeX for Linguistshttp://www.essex.ac.uk/linguistics/external/clmt/latex4ling

Wiki on the topichttp://en.wikibooks.org/wiki/LaTeX/Linguistics

Intro to LATEX for CL students at Saarbrückenhttp://www.coli.uni-saarland.de/~gparis/LaTeX/Colis

Markus Dickinson and Josh Herring at Indiana Universityhttp://cl.indiana.edu/~md7/08/latex/slides.pdf

Desislava Zhekova Text Formatting with LATEX, Eclipse and SVN

Page 48: Text Formatting with LaTeX, Eclipse and SVNhs/teach/13s/colloquium/... · 2013. 7. 1. · Text Editor vs. Word Processor What You See Is What You Get Text Editor vs. Word Processor

Formatting TextLATEX

DEMOLATEX beamer

Document ClassesDocument Class OptionsBasicsStyle Files/PackagesLATEX for Linguists

Page Numbering

\setcounter{page}{1}\pagenumbering{roman}

The command pagenumbering can take several arguments:

arabic - Arabic numerals

roman - Lowercase roman numerals

Roman - Uppercase roman numeral

alph - Lowercase letters

Alph - Uppercase letters

Desislava Zhekova Text Formatting with LATEX, Eclipse and SVN

Page 49: Text Formatting with LaTeX, Eclipse and SVNhs/teach/13s/colloquium/... · 2013. 7. 1. · Text Editor vs. Word Processor What You See Is What You Get Text Editor vs. Word Processor

Formatting TextLATEX

DEMOLATEX beamer

Document ClassesDocument Class OptionsBasicsStyle Files/PackagesLATEX for Linguists

Changing the Fontsize

Desislava Zhekova Text Formatting with LATEX, Eclipse and SVN

Page 50: Text Formatting with LaTeX, Eclipse and SVNhs/teach/13s/colloquium/... · 2013. 7. 1. · Text Editor vs. Word Processor What You See Is What You Get Text Editor vs. Word Processor

Formatting TextLATEX

DEMOLATEX beamer

Document ClassesDocument Class OptionsBasicsStyle Files/PackagesLATEX for Linguists

Bibliography

@inproceedings{DBLP:conf/coling/BykhM12,author = {Serhiy Bykh and Detmar Meurers},title = {{Native Language Identification using Recurring n-grams

- Investigating Abstraction and Domain Dependence}},booktitle = {COLING},year = {2012},pages = {425-440},ee = {http://aclweb.org/anthology/C/C12/C12-1027.pdf},crossref = {DBLP:conf/coling/2012},bibsource = {DBLP, http://dblp.uni-trier.de}

}

Desislava Zhekova Text Formatting with LATEX, Eclipse and SVN

Page 51: Text Formatting with LaTeX, Eclipse and SVNhs/teach/13s/colloquium/... · 2013. 7. 1. · Text Editor vs. Word Processor What You See Is What You Get Text Editor vs. Word Processor

Formatting TextLATEX

DEMOLATEX beamer

Document ClassesDocument Class OptionsBasicsStyle Files/PackagesLATEX for Linguists

Bibliography

Desislava Zhekova Text Formatting with LATEX, Eclipse and SVN

Page 52: Text Formatting with LaTeX, Eclipse and SVNhs/teach/13s/colloquium/... · 2013. 7. 1. · Text Editor vs. Word Processor What You See Is What You Get Text Editor vs. Word Processor

Formatting TextLATEX

DEMOLATEX beamer

Document ClassesDocument Class OptionsBasicsStyle Files/PackagesLATEX for Linguists

Bibliography

@inproceedings{Bykh:Meurers:12,author = {Serhiy Bykh and Detmar Meurers},title = {{Native Language Identification using Recurring n-grams

- Investigating Abstraction and Domain Dependence}},booktitle = {COLING},year = {2012},pages = {425-440},ee = {http://aclweb.org/anthology/C/C12/C12-1027.pdf},crossref = {DBLP:conf/coling/2012},bibsource = {DBLP, http://dblp.uni-trier.de}

}

Desislava Zhekova Text Formatting with LATEX, Eclipse and SVN

Page 53: Text Formatting with LaTeX, Eclipse and SVNhs/teach/13s/colloquium/... · 2013. 7. 1. · Text Editor vs. Word Processor What You See Is What You Get Text Editor vs. Word Processor

Formatting TextLATEX

DEMOLATEX beamer

Document ClassesDocument Class OptionsBasicsStyle Files/PackagesLATEX for Linguists

Bibliography

In case you did not manage to find the full BibTeX entry for thereference you would like to include, you can fill the template yourself:http://en.wikibooks.org/wiki/LaTeX/Bibliography_Management

Desislava Zhekova Text Formatting with LATEX, Eclipse and SVN

Page 54: Text Formatting with LaTeX, Eclipse and SVNhs/teach/13s/colloquium/... · 2013. 7. 1. · Text Editor vs. Word Processor What You See Is What You Get Text Editor vs. Word Processor

Formatting TextLATEX

DEMOLATEX beamer

Document ClassesDocument Class OptionsBasicsStyle Files/PackagesLATEX for Linguists

To Do Notes

The package todonotes is not existential, but it is very handy fordrafting the first version. Here is its manual:http://www.tex.ac.uk/tex-archive/macros/latex/

contrib/todonotes/todonotes.pdf

Desislava Zhekova Text Formatting with LATEX, Eclipse and SVN

Page 55: Text Formatting with LaTeX, Eclipse and SVNhs/teach/13s/colloquium/... · 2013. 7. 1. · Text Editor vs. Word Processor What You See Is What You Get Text Editor vs. Word Processor

Formatting TextLATEX

DEMOLATEX beamer

Document ClassesDocument Class OptionsBasicsStyle Files/PackagesLATEX for Linguists

External Tex Files

The command

\include{external_file}

allows you to include the content of a separate, external .tex file intoyour current document. Let us have a look at the classicthesispackage.

Desislava Zhekova Text Formatting with LATEX, Eclipse and SVN

Page 56: Text Formatting with LaTeX, Eclipse and SVNhs/teach/13s/colloquium/... · 2013. 7. 1. · Text Editor vs. Word Processor What You See Is What You Get Text Editor vs. Word Processor

Formatting TextLATEX

DEMOLATEX beamer

Document ClassesDocument Class OptionsBasicsStyle Files/PackagesLATEX for Linguists

Variables

\newcommand{<command name>}{<value>}

\newcommand{\mySys}{\textsc{my{\Huge system}name}}

MYSYSTEMNAME

Desislava Zhekova Text Formatting with LATEX, Eclipse and SVN

Page 57: Text Formatting with LaTeX, Eclipse and SVNhs/teach/13s/colloquium/... · 2013. 7. 1. · Text Editor vs. Word Processor What You See Is What You Get Text Editor vs. Word Processor

Formatting TextLATEX

DEMOLATEX beamer

Document ClassesDocument Class OptionsBasicsStyle Files/PackagesLATEX for Linguists

Therefore

The therefore package provides you with a macro to carefullyselect one of a multitude of choices for therefore. Below are someexamples of its use:

And verily, I will use this package.

It transpires that you will see its functionality.

It is trivial that you will be able to use it too.

Desislava Zhekova Text Formatting with LATEX, Eclipse and SVN

Page 58: Text Formatting with LaTeX, Eclipse and SVNhs/teach/13s/colloquium/... · 2013. 7. 1. · Text Editor vs. Word Processor What You See Is What You Get Text Editor vs. Word Processor

Formatting TextLATEX

DEMOLATEX beamer

Document ClassesDocument Class OptionsBasicsStyle Files/PackagesLATEX for Linguists

PDF page selection

\usepackage{pdfpages}\includepdf[pages={31,35-37}]{ClassicThesis.pdf}

Desislava Zhekova Text Formatting with LATEX, Eclipse and SVN

Page 59: Text Formatting with LaTeX, Eclipse and SVNhs/teach/13s/colloquium/... · 2013. 7. 1. · Text Editor vs. Word Processor What You See Is What You Get Text Editor vs. Word Processor

Formatting TextLATEX

DEMOLATEX beamer

Document ClassesDocument Class OptionsBasicsStyle Files/PackagesLATEX for Linguists

CVs

CVs can also be formatted in a nice and most importantly properlystructured way. There are multiple templates that can be used for thispurpose. Look at the following collection of templates for example:http://www.latextemplates.com/cat/curricula-vitae

Desislava Zhekova Text Formatting with LATEX, Eclipse and SVN

Page 60: Text Formatting with LaTeX, Eclipse and SVNhs/teach/13s/colloquium/... · 2013. 7. 1. · Text Editor vs. Word Processor What You See Is What You Get Text Editor vs. Word Processor

Formatting TextLATEX

DEMOLATEX beamer

Creating Slides with LATEX

Let us look at these slides!

Desislava Zhekova Text Formatting with LATEX, Eclipse and SVN

Page 61: Text Formatting with LaTeX, Eclipse and SVNhs/teach/13s/colloquium/... · 2013. 7. 1. · Text Editor vs. Word Processor What You See Is What You Get Text Editor vs. Word Processor

Formatting TextLATEX

DEMOLATEX beamer

Creating Slides with LATEX

Note!Beamer blocks can be often used to highlight text.

You can also use overlays in blocks.

Without the \setbeamercovered{invisible} you willpartially see the inactive items.

Desislava Zhekova Text Formatting with LATEX, Eclipse and SVN

Page 62: Text Formatting with LaTeX, Eclipse and SVNhs/teach/13s/colloquium/... · 2013. 7. 1. · Text Editor vs. Word Processor What You See Is What You Get Text Editor vs. Word Processor

Formatting TextLATEX

DEMOLATEX beamer

Creating Slides with LATEX

Note!Beamer blocks can be often used to highlight text.

You can also use overlays in blocks.

Without the \setbeamercovered{invisible} you willpartially see the inactive items.

Desislava Zhekova Text Formatting with LATEX, Eclipse and SVN

Page 63: Text Formatting with LaTeX, Eclipse and SVNhs/teach/13s/colloquium/... · 2013. 7. 1. · Text Editor vs. Word Processor What You See Is What You Get Text Editor vs. Word Processor

Formatting TextLATEX

DEMOLATEX beamer

Creating Slides with LATEX

Note!Beamer blocks can be often used to highlight text.

You can also use overlays in blocks.

Without the \setbeamercovered{invisible} you willpartially see the inactive items.

Desislava Zhekova Text Formatting with LATEX, Eclipse and SVN

Page 64: Text Formatting with LaTeX, Eclipse and SVNhs/teach/13s/colloquium/... · 2013. 7. 1. · Text Editor vs. Word Processor What You See Is What You Get Text Editor vs. Word Processor

Formatting TextLATEX

DEMOLATEX beamer

Creating Slides with LATEX

Useful links for the beamer package:

Beamer Guide http://faq.ktug.org/wiki/uploads/beamer_guide.pdf

Beamer Themes http://latex.simon04.net

Beamer Theme Matrixhttp://www.hartwork.org/beamer-theme-matrix

Desislava Zhekova Text Formatting with LATEX, Eclipse and SVN

Page 65: Text Formatting with LaTeX, Eclipse and SVNhs/teach/13s/colloquium/... · 2013. 7. 1. · Text Editor vs. Word Processor What You See Is What You Get Text Editor vs. Word Processor

Formatting TextLATEX

DEMOLATEX beamer

Thank you!

Thank you! Happy LATEX-ing!

Desislava Zhekova Text Formatting with LATEX, Eclipse and SVN