Intro_LaTeX
-
Upload
jaspreet-sarao -
Category
Technology
-
view
248 -
download
0
description
Transcript of Intro_LaTeX
LATEXDocument Preparing Sytem
Jaspreet [email protected]
Dept. of Computer Science
August 25, 2012
Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
Report
Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
Poster
Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
Shaping a text
Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
Souvenir
Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
Automated diary
Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
Automated Certificates
Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
Visiting cards
Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
Document in html
Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
Mathematics Assignment
Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
Periodic table
A dynamic periodic table in Portuguese.
Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
What is LATEX ?
Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
What is LATEX ?
LATEX is a document preparation system
It is used for high-quality typesetting
Just concentrate on text, don’t worry about output.
With it, you can create beautiful, professional lookingdocuments
Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
What is LATEX ?
LATEX is a document preparation system
It is used for high-quality typesetting
Just concentrate on text, don’t worry about output.
With it, you can create beautiful, professional lookingdocuments
Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
What is LATEX ?
LATEX is a document preparation system
It is used for high-quality typesetting
Just concentrate on text, don’t worry about output.
With it, you can create beautiful, professional lookingdocuments
Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
What is LATEX ?
LATEX is a document preparation system
It is used for high-quality typesetting
Just concentrate on text, don’t worry about output.
With it, you can create beautiful, professional lookingdocuments
Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
Who developed it ?
It was dicovered by Donald Knuth.
Professor of “The Art of ComputerProgramming” at Stanford University.
He is a father of algorithm analysis.
Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
Story behind it ?
When Donald Ervin Knuth was working on his book“The Art of Programming” was not happy with thetype-setting for his book. So he created a type-settingsystem that would let him concentrate on the content ofthe book rather than getting the type-setting softwaredistracting and getting him worried about formattingthe output. Thats why He designed TEX.
Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
Why we should use LATEX !!
How is it best?
Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
Why we should use LATEX !!
How is it best?
Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
Features
Output Quality
It has the best output.
It knows typesetting.
Superior Engineering
It’s fast.
It’s stable.
It’s not rigid(extensible).
Plain text input.
Many output types.
Freedom
It’s free.
It runs anywhere.
Popularity
It’s the standard (inacademia and science).
Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
Features
Output Quality
It has the best output.
It knows typesetting.
Superior Engineering
It’s fast.
It’s stable.
It’s not rigid(extensible).
Plain text input.
Many output types.
Freedom
It’s free.
It runs anywhere.
Popularity
It’s the standard (inacademia and science).
Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
Features
Output Quality
It has the best output.
It knows typesetting.
Superior Engineering
It’s fast.
It’s stable.
It’s not rigid(extensible).
Plain text input.
Many output types.
Freedom
It’s free.
It runs anywhere.
Popularity
It’s the standard (inacademia and science).
Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
Features
Output Quality
It has the best output.
It knows typesetting.
Superior Engineering
It’s fast.
It’s stable.
It’s not rigid(extensible).
Plain text input.
Many output types.
Freedom
It’s free.
It runs anywhere.
Popularity
It’s the standard (inacademia and science).
Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
Now Are you interested to learn it ?
Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
Installation
Installation of LATEX is quite easy.Go to terminal and type the following commands one by one.
$ sudo apt-get update
$ sudo apt-get install texlive-full
Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
Installation
Installation of LATEX is quite easy.Go to terminal and type the following commands one by one.
$ sudo apt-get update
$ sudo apt-get install texlive-full
Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
Installation
Installation of LATEX is quite easy.Go to terminal and type the following commands one by one.
$ sudo apt-get update
$ sudo apt-get install texlive-full
Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
Simple document
Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
Simple document
Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
Simple document
Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
Example
Source:
\documentclass{article}
\begin{document}
Hello World
\end{document}
Output:Hello World
Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
Example
Source:
\documentclass{article}
\begin{document}
Hello World
\end{document}
Output:Hello World
Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
Title page
Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
Title page
Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
Title page
Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
Table of contents
Use: \tableofcontents
Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
List of figures
Use: \listoffigures
Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
Include images
To include image do following steps:
Include
\usepackage{graphicx} in preamble
Include following code in body
\begin{figure}[placement specifier]
\includegraphics[scale=o.1]{figure.png}
\caption{Example}
\end{figure}
Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
Include images
To include image do following steps:
Include
\usepackage{graphicx} in preamble
Include following code in body
\begin{figure}[placement specifier]
\includegraphics[scale=o.1]{figure.png}
\caption{Example}
\end{figure}
Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
Specifier
Specifier Descriptionh Place the float heret At top of the pageb At the bottom of the page
Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
Insert code
\usepackage{verbatim} in preamble
Following code in body:
\begin{verbatim}
write code here ...
\end{verbatim
}
Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
Insert code
\usepackage{verbatim} in preamble
Following code in body:
\begin{verbatim}
write code here ...
\end{verbatim
}
Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
Ordered lists
Numbered list:
\begin{enumerate}
\item The labels consists of sequential numbers.
\item The numbers starts at 1 with every call to the
enumerate environment.
\end{enumerate}
Output:
1 The labels consists of sequential numbers.
2 The numbers starts at 1 with every call to theenumerate environment.
Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
Ordered lists
Numbered list:
\begin{enumerate}
\item The labels consists of sequential numbers.
\item The numbers starts at 1 with every call to the
enumerate environment.
\end{enumerate}
Output:
1 The labels consists of sequential numbers.
2 The numbers starts at 1 with every call to theenumerate environment.
Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
Ordered lists
Bulleted list:
\begin{itemize}
\item The individual entries are indicated with a
black dot, a so-called bullet.
\item The text in the entries may be of any length.
\end{itemize}
Output:
The individual entries are indicated with a black dot, aso-called bullet.
The text in the entries may be of any length.
Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
Ordered lists
Bulleted list:
\begin{itemize}
\item The individual entries are indicated with a
black dot, a so-called bullet.
\item The text in the entries may be of any length.
\end{itemize}
Output:
The individual entries are indicated with a black dot, aso-called bullet.
The text in the entries may be of any length.
Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
Ordered lists
Nested list:
\begin{itemize}
\item First level item
\begin{enumerate}
\item Second level item
\item Third level item
\end{enumerate}
\end{itemize}
Output:
First level item1 Second level item2 Third level item
Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
Ordered lists
Nested list:
\begin{itemize}
\item First level item
\begin{enumerate}
\item Second level item
\item Third level item
\end{enumerate}
\end{itemize}
Output:
First level item1 Second level item2 Third level item
Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
Table
\begin{tabular}{|l|c|r|}
\hline \multicolumn{3}{|c|}{Sample Tabular} \\
\hline Left & centered & right \\
\hline Left items & centered & right aligned \\
\hline
\end{tabular}
Output:Sample Tabular
Left centered rightLeft items centered right aligned
Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
Table
\begin{tabular}{|l|c|r|}
\hline \multicolumn{3}{|c|}{Sample Tabular} \\
\hline Left & centered & right \\
\hline Left items & centered & right aligned \\
\hline
\end{tabular}
Output:Sample Tabular
Left centered rightLeft items centered right aligned
Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
Table
If you want table with caption and label and specify theplacing of table then use:
\begin{table}[h]
\begin{tabular}{|l|c|r|}
\hline \multicolumn{3}{|c|}{Sample Tabular} \\
\hline Left items & centered & right aligned \\
\hline
\end{tabular}
\caption{example}
\end{table}
Output:
Sample TabularLeft items centered right aligned
Table: example
Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
Table
If you want table with caption and label and specify theplacing of table then use:
\begin{table}[h]
\begin{tabular}{|l|c|r|}
\hline \multicolumn{3}{|c|}{Sample Tabular} \\
\hline Left items & centered & right aligned \\
\hline
\end{tabular}
\caption{example}
\end{table}
Output:
Sample TabularLeft items centered right aligned
Table: example
Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
Specifier
Specifier Descriptionl left justified columnec centered column| vertical line|| double vertical line& column seperator
Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
Headings
\section*{\LaTeX{}}
\section{\LaTeX{}}
\subsection{Features}
\subsubsection{Report}
\subsubsection{Presentation}
\subsection{Advantages}
\paragraph{My name is jaspreet kaur doing B-tech in
computer science and engineering from GNDEC ludhiana.}
\subparagraph{My name is jaspreet kaur doing B-tech in
computer science and engineering from GNDEC ludhiana.}
Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
Headings:Output
Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
How LATEX Works ?
Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
Editors of LATEX
Editors of LATEX
Texmaker
texworks
Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
Printing industry of LATEX
Shiping industry named ‘River Valley’ in kerala.
Founded by CV Radhakrishnan.
Aim of industry
For over twenty years they haveworked to perfect our text processingsystemThey get the dirty documents(madein Ms office or in any otherprocessors) and convert intobeautiful documents.
Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
Printing industry of LATEX
Shiping industry named ‘River Valley’ in kerala.
Founded by CV Radhakrishnan.
Aim of industry
For over twenty years they haveworked to perfect our text processingsystemThey get the dirty documents(madein Ms office or in any otherprocessors) and convert intobeautiful documents.
Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
In the end I would like to say:
“If you care about creating polished and stylish documents,and if you have a sense of aesthetics, try LaTeX! Believe me,you’ll fall in love with it and use it for the rest of your life!”
Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
Get in touch
Any question ?
Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
Get in touch
Thank you
Jaspreet KaurGNDEC, Ludhiana
Blog: jaspreetsarao.wordpress.comemail: [email protected]
Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com