Your SlideShare is downloading. ×
0
Motivation Installation Typeset Compile

A
Document design in L TEX

The motivation
Suddhasheel Ghosh
1 Department of Civi...
Motivation Installation Typeset Compile

Outline
1

Motivation

2

Getting ready with our machinery
Installing it on Windo...
Motivation Installation Typeset Compile

Outline
1

Motivation

2

Getting ready with our machinery
Installing it on Windo...
Motivation Installation Typeset Compile

A brief history

shudh

Mathematics
Motivation Installation Typeset Compile

Why should I use LaTeX

I do not wish to use “commercial” software
I am not happy...
Motivation Installation Typeset Compile

Windows Linux

Outline
1

Motivation

2

Getting ready with our machinery
Install...
Motivation Installation Typeset Compile

Windows Linux

Our requirements
The basic tools
A LaTeX distribution
A LaTeX docu...
Motivation Installation Typeset Compile

Windows Linux

Our requirements
The basic tools
A LaTeX distribution
A LaTeX docu...
Motivation Installation Typeset Compile

Windows Linux

Our requirements
The basic tools
A LaTeX distribution
A LaTeX docu...
Motivation Installation Typeset Compile

Windows Linux

Our requirements
The basic tools
A LaTeX distribution
A LaTeX docu...
Motivation Installation Typeset Compile

Windows Linux

Getting our machinery ready
On Microsoft Windows

LaTeX distributi...
Motivation Installation Typeset Compile

Windows Linux

Getting our machinery ready
On Linux

LaTeX distribution: TexLive
...
Motivation Installation Typeset Compile

Preamble The body Math Tables

Outline
1

Motivation

2

Getting ready with our m...
Motivation Installation Typeset Compile

Preamble The body Math Tables

Dissecting a LaTeX file
Properties

File extension:...
Motivation Installation Typeset Compile

Preamble The body Math Tables

The preamble
Contents

Announcement of the class t...
Motivation Installation Typeset Compile

Preamble The body Math Tables

The body
Contents

Sections, subsections and subsu...
Motivation Installation Typeset Compile

Preamble The body Math Tables

Typesetting mathematics
Inline, display and equati...
Motivation Installation Typeset Compile

Preamble The body Math Tables

Setting up tables
begin{table}
centering
begin{tab...
Motivation Installation Typeset Compile

Preamble The body Math Tables

Setting up images
This requires
usepackage{graphic...
Motivation Installation Typeset Compile

Outline
1

Motivation

2

Getting ready with our machinery
Installing it on Windo...
Motivation Installation Typeset Compile

Compiling the LaTeX code
The compilation can be done with
latex - produces DVI fil...
Upcoming SlideShare
Loading in...5
×

The LaTeX Workshop: Document design in LaTeX: Invocation

695

Published on

These slides are the first amongst the series of documents made by me as a part of a LaTeX workshop. Provided for free as a help for researchers and document makers.

Published in: Education, Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
695
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
35
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "The LaTeX Workshop: Document design in LaTeX: Invocation"

  1. 1. Motivation Installation Typeset Compile A Document design in L TEX The motivation Suddhasheel Ghosh 1 Department of Civil Engineering MGM’s Jawaharlal Nehru Engineering College, Aurangabad, MH 2 MGM - Institute of Biosciences and Technology Aurangabad, MH The LaTeX workshop shudh Mathematics
  2. 2. Motivation Installation Typeset Compile Outline 1 Motivation 2 Getting ready with our machinery Installing it on Windows Installing it on Linux 3 Fundas of document typesetting The preamble The body Typesetting mathematics Tables 4 Compiling a LaTeX file shudh Mathematics
  3. 3. Motivation Installation Typeset Compile Outline 1 Motivation 2 Getting ready with our machinery Installing it on Windows Installing it on Linux 3 Fundas of document typesetting The preamble The body Typesetting mathematics Tables 4 Compiling a LaTeX file shudh Mathematics
  4. 4. Motivation Installation Typeset Compile A brief history shudh Mathematics
  5. 5. Motivation Installation Typeset Compile Why should I use LaTeX I do not wish to use “commercial” software I am not happy with the mathematical rendering of the “Commercial software” Too much mathematical content in my documents and I am tired of the click-find-click-type-repeat Math makes my documents look badly formatted I like typing more than clicking I would like to explore shudh Mathematics
  6. 6. Motivation Installation Typeset Compile Windows Linux Outline 1 Motivation 2 Getting ready with our machinery Installing it on Windows Installing it on Linux 3 Fundas of document typesetting The preamble The body Typesetting mathematics Tables 4 Compiling a LaTeX file shudh Mathematics
  7. 7. Motivation Installation Typeset Compile Windows Linux Our requirements The basic tools A LaTeX distribution A LaTeX document editor: preferably one which can edit LaTeX documents and compile them too. A document visualizer: preferably a PDF viewer The advanced tools A bibliography management software A WYSIWYG editor A GUI environment for drawing plots / graphs of functions Image editing software In this session, we present the basic tools for design. shudh Mathematics
  8. 8. Motivation Installation Typeset Compile Windows Linux Our requirements The basic tools A LaTeX distribution A LaTeX document editor: preferably one which can edit LaTeX documents and compile them too. A document visualizer: preferably a PDF viewer The advanced tools A bibliography management software A WYSIWYG editor A GUI environment for drawing plots / graphs of functions Image editing software In this session, we present the basic tools for design. shudh Mathematics
  9. 9. Motivation Installation Typeset Compile Windows Linux Our requirements The basic tools A LaTeX distribution A LaTeX document editor: preferably one which can edit LaTeX documents and compile them too. A document visualizer: preferably a PDF viewer The advanced tools A bibliography management software A WYSIWYG editor A GUI environment for drawing plots / graphs of functions Image editing software In this session, we present the basic tools for design. shudh Mathematics
  10. 10. Motivation Installation Typeset Compile Windows Linux Our requirements The basic tools A LaTeX distribution A LaTeX document editor: preferably one which can edit LaTeX documents and compile them too. A document visualizer: preferably a PDF viewer The advanced tools A bibliography management software A WYSIWYG editor A GUI environment for drawing plots / graphs of functions Image editing software In this session, we present the basic tools for design. shudh Mathematics
  11. 11. Motivation Installation Typeset Compile Windows Linux Getting our machinery ready On Microsoft Windows LaTeX distribution: MikTeX (www.miktex.org). Download the basic installer. Installs required packages ‘on-the-fly’. LaTeX Editor: Open Source: TeXnicCenter (www.texniccenter.org) Commercial: WinEdt With the distribution: TeXWorks recommended PDF Viewer: Adobe Acrobat Reader (freely downloadable) shudh Mathematics
  12. 12. Motivation Installation Typeset Compile Windows Linux Getting our machinery ready On Linux LaTeX distribution: TexLive Debian based: sudo apt-get install texlive Red Hat based: sudo yum install texlive LaTeX Editor: TeXworks TeXStudio GEdit with the LaTeX plugins PDF Viewer: Evince, Okular Linux Systems Debian based: Debian, Ubuntu, Mint, Pinguy, ... Red Hat based: RHEL, Febora, Suse, ... shudh Mathematics
  13. 13. Motivation Installation Typeset Compile Preamble The body Math Tables Outline 1 Motivation 2 Getting ready with our machinery Installing it on Windows Installing it on Linux 3 Fundas of document typesetting The preamble The body Typesetting mathematics Tables 4 Compiling a LaTeX file shudh Mathematics
  14. 14. Motivation Installation Typeset Compile Preamble The body Math Tables Dissecting a LaTeX file Properties File extension: .tex File parts The preamble The body shudh Mathematics
  15. 15. Motivation Installation Typeset Compile Preamble The body Math Tables The preamble Contents Announcement of the class template: Typically documentclass[a4paper,10pt]{article} Optional: List of packages to be used. Looks like usepackage{...} Optional: Font face specifications Optional: Definitions and other macros shudh Mathematics
  16. 16. Motivation Installation Typeset Compile Preamble The body Math Tables The body Contents Sections, subsections and subsubsections Math: Inline, Display and equations Figures Tables Typical body layout begin{document} section{My first section} subsection{My sub section} subsubsection{More details} subsection{Another sub section} subsubsection{Some more details} ... end{document} shudh Mathematics
  17. 17. Motivation Installation Typeset Compile Preamble The body Math Tables Typesetting mathematics Inline, display and equations All inline math have to be surrounded by $, display math by $$, and equations by begin{equation} . . . end{equation} Output Source The second order algebraic polynomial is given by $x^2 + x + 1$. This can be written in the display mode as $$ x^2 + x + 1. $$ The equation of the circle with radius $a$ is given as begin{equation} x^2 + y^2 = a^2 end{equation} The second order algebraic polynomial is given by x2 + x + 1. This can be written in the display mode as x2 + x + 1 The equation of the circle with radius a is given as: x2 + y2 = a2 More details on mathematical typesetting are in my presentation: Typesetting Mathematics in LaTeX: Getting your hands dirty shudh Mathematics (1)
  18. 18. Motivation Installation Typeset Compile Preamble The body Math Tables Setting up tables begin{table} centering begin{tabular}{|l|c|r|c|} hline Clothing & Quantity & Rate & Place hline Paithani & 1 & 1135.00 & Marathwada hline Baluchari &2 &1345.00 &Orissa hline Banarasi & 5 & 923.00 &Uttar Pradesh hline end{tabular} end{table} Clothing Paithani Baluchari Banarasi Quantity 1 2 5 Rate 1135.00 1345.00 923.00 Place Marathwada Orissa Uttar Pradesh l - indicates left justified column, r - indicates right justified column and c - indicates center justified column. More details are covered in Writing Journal papers in LaTeX: A complete tour shudh Mathematics
  19. 19. Motivation Installation Typeset Compile Preamble The body Math Tables Setting up images This requires usepackage{graphicx} in the preamble begin{figure} centering includegraphics[width=0.8textwidth]{dumbledore.jpg} caption{Dumbledore passes away} end{figure} Figure : Dumbledore passes away This image has been taken from http://harrypotter.wikia.com. shudh Mathematics
  20. 20. Motivation Installation Typeset Compile Outline 1 Motivation 2 Getting ready with our machinery Installing it on Windows Installing it on Linux 3 Fundas of document typesetting The preamble The body Typesetting mathematics Tables 4 Compiling a LaTeX file shudh Mathematics
  21. 21. Motivation Installation Typeset Compile Compiling the LaTeX code The compilation can be done with latex - produces DVI files pslatex - produces PS files pdflatex - produces PDF files If the name of the file is mypaper.tex the command lines are: latex mypaper.tex pslatex mypaper.tex pdflatex mypaper.tex LaTeX editors like TeXnicCenter, WinEdt, TeXworks, Kile, TeXStudio automatically run these commands based on the preferences set. shudh Mathematics
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×