Manit bhopal group_1_latex_assignment_part_2-1
-
Upload
krishna-mohbey -
Category
Technology
-
view
327 -
download
1
description
Transcript of Manit bhopal group_1_latex_assignment_part_2-1
PHASES OF WORKING IN LATEX
2. Compilation
and Output
For Compilation
and Output
we select Build
and Output
under Build Menu
OR
Press Ctrl+Shift+F5
1 Device independent output: <filename>.dvi
2 PostScript output, produced from dvi: <filename>.ps
3 PDF output, produced from dvi: <filename>.pdf
OUTPUT FILES
STRUCTURE OF A STRUCTURE OF A STRUCTURE OF A STRUCTURE OF A LATEXLATEXLATEXLATEX DOCUMENT DOCUMENT DOCUMENT DOCUMENT
The general syntax of a LaTeX file is as follows:
\documentclass[options]{class}
Further optional global commands and options, such as
\usepackage{packagename}
\begin{document} text mixed with typesetting commands
\end{document}
TITLE AND AUTHOR
Under LaTeX We Can define Title and Authors
Information in following way-
\title{Our First \LaTeXe{} Document}
\author{
Mrs. Aarti Kumar\\
Department of Computer Applications\\
MANIT Bhopal\\
Mrs. Dipti Chauhan\\
Department of Computer Applications\\
MANIT Bhopal\\
Mr. Dharmendra Singh Rajput\\
Department of Computer Applications\\
MANIT Bhopal\\
Mr. Krishna K. Mohbey\\
Department of Computer Applications\\
MANIT Bhopal\\
}
\date{\today}
\documentclass[12pt]{article}
\begin{document}
\maketitle
\end{document}
TITLE AND AUTHOR
\title • It is used to define the Title of Article of Document
{It is defined before \documentclass but to print
the title we have to use \maketitle command which is
defined inside\begin{document}
\author • For Adding Authors Detail.
{It is define before the \documentclass}
\maketitle • For adding Title within Document
{It define under the \documentclass}
ABSTRACT
\documentclass[12pt]{article}
\begin{abstract}
This is the paper's abstract.
\end{abstract}
\end{document}
SECTION AND SUBSECTION
Sectioning commands provide the means to structure your text into units.
•\part
•\chapter (report style only)
•\section
•\subsection
•\subsubsection
•\paragraph
•\subparagraph
•\subsubparagraph (milstd and book-form styles only)
•\subsubsubparagraph (milstd and book-form styles only)
\documentclass[12pt]{article}
\section{Section Headings}
We explain in this section how to obtain headings
for the various sections and subsections of our
document.
\subsection{Headings in the `article' Document Style}
In the `article' style, the document may be divided up
into sections, subsections and subsubsections, and each
can be given a title, printed in a boldface font,
simply by issuing the appropriate command.
\end{document}
SECTION AND SUBSECTION
TEXT FORMATTING
\documentstyle[11pt]{article}
\setlength{\topmargin}{-.5in}
\setlength{\textheight}{9in}
\setlength{\oddsidemargin}{.125in}
\setlength{\textwidth}{6.25in}
\begin{document}
\title{LaTeX Typesetting By Example}
\author{Mrs. Aarti Kumar\\
Department of Computer Applications}
\renewcommand{\today}{July 5, 2012}
\maketitle
This article demonstrates a basic set of LaTeX
formatting commands.
Compare the typeset output side-by-side with
the input document.
\end{document}
The Following are some Text Formatting Commands
SOME MORE TEXT STYLES
\emph{emphasised text}\\
\texttt{typewriter text}\\
\textbf{bold text}\\
\textit{italicized text}\\
\textsl{slanted text}\\
\textsc{small caps text}\\
LATEXLATEXLATEXLATEX COMMANDCOMMANDCOMMANDCOMMAND OUTPUT OUTPUT OUTPUT OUTPUT
Continued in Part-3