Developer Data Modeling Mistakes: From Postgres to NoSQL
Manit bhopal group_1_latex_assignment_part_2-1
1.
2. 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
3. OUTPUT FILES
1 Device independent output: <filename>.dvi
2 PostScript output, produced from dvi: <filename>.ps
3 PDF output, produced from dvi: <filename>.pdf
4. STRUCTURE OF A LATEX 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}
5. 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}
6.
7. 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 insidebegin{document}
author • For Adding Authors Detail.
{It is define before the documentclass}
maketitle • For adding Title within Document
{It define under the documentclass}
9. 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)
10. SECTION AND SUBSECTION
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}
11.
12. TEXT FORMATTING
The Following are some Text Formatting Commands
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}
13. SOME MORE TEXT STYLES
LATEX COMMAND OUTPUT
emph{emphasised text}
texttt{typewriter text}
textbf{bold text}
textit{italicized text}
textsl{slanted text}
textsc{small caps text}