SlideShare a Scribd company logo
What is LaTeX?
• LaTeX is pronounced “lay-tech” or “lah-tech,”
not “la-teks.”
What is LaTeX?
• LaTeX is a document markup language used to
create documents in TeX.
• LATEX is the standard mathematical
typesetting program
• A computer language that consists of easily
understood keywords, names, or tags that
help format the overall view of a page and the
data it contains.
• Some examples of a markup
language are HTML and XML.
Typesetting can be defined as the process
of preparing and arranging text and
images for printing
Latex was created by the American computer scientist named
Leslie Lamport in 1983
Why Use LaTeX?
• Mathematical symbols and equations are easily integrated.
• Even complex structures such as footnotes, references, table
of contents, and bibliographies can be generated easily.
• Creates more beautiful documents.
• Portable, compatible, flexible, and cheap (or free)!
Images from Dario Taraborelli’s
Blog
latex document for IT workshop Lab . B.Tech
Markup versus WYSIWYG
To someone familiar with MS Word /Open Office Writer ….Latex is that you do not
interact with a graphical user interface (GUI), and you do not immediately see how
your document will be typeset.
Consider a typical WYSIWYG ("what you see is what you get") word processor, such
as Open Office Writer, shown in the screenshot below:
• https://www.ieee.org/conferences/publishing
/templates.html
Installing LaTeX
• In Windows
• MiKTeX
– MiKTeX is a typesetting system for the Windows.
– Download from www.miktex.org for free
– It is generally recommended to install MiKTeX first,
then WinEdt.
• WinEdt
– WinEdt is a text editor.
– WinEdt creates the source file (.tex and others).
– Download from www.winedt.com for free for 30 days.
– WinEdt costs $30.
Installing LaTeX
• Other text editors
– There are other text editors.
– Winshell for free (http://www.winshell.de/)
– Scientific Workplace
• Combination of LaTeX and Mathematics program
• Does a good job of calculating and graphing, very user friendly, but
expensive
• In Mac
• TexShop
– Download for free
http://www.uoregon.edu/~koch/texshop/
– Includes everything!
https://www.overleaf.com/
Source code of your
first LaTeX document
(test.tex)
documentclass{article}
begin{document}
This is my first Latex
end{document}
documentclass{article}, declares the
document type known as its class, which
controls the overall appearance of the
document.
begin{document} and end{document},
Body of the document, is written between the
begin and end tags.
Font Size: The point size can be described in the way [10pt]. The
other font sizes are 8pt, 9pt, 10pt, 11pt, 12pt, 14pt, 17pt, 20pt.
The default font size for Latex is 10pt.
The paper types with their dimensions are given below:
o letterpaper (11 x 8.5 in)
o legalpaper (14 x 8.5 in)
o a5paper (5.8 x 8.3 in)
o a4paper (8.3 x 11.7 in)
o executivepaper (10.5 x 7.25 in)
o b5paper (25 x 17.6 cm)
Command Type Size
{tiny} size text
{scriptsize} size text
{footnotesize} size text
{small} size text
{normalsize} size text
{large} size text
{Large} size text
{LARGE} size text
{huge} size text
Font Styles:
Style Command
Roman textrm{roman}
Typewriter texttt{typewriter}
Sans serif textsf{sans serif}
Style Command
boldface textbf{boldface}
medium textmd{medium}
italic textit{italic}
slanted textsl{slanted}
upright textup{upright}
SMALL CAP textsc{small cap}
latex document for IT workshop Lab . B.Tech
documentclass[12pt]{article}
begin{document}
textit{textbf{ Latex}}
textrm{textsl{ IT Workshop}}
end{document}
latex document for IT workshop Lab . B.Tech
latex document for IT workshop Lab . B.Tech
latex document for IT workshop Lab . B.Tech
latex document for IT workshop Lab . B.Tech
The basic requirements to insert an image are:
o Including the graphicx package. The command will be written
as usepackage{graphicx}.
o You need to download the particular image from the browser and save that image
in the same folder where the Latex files are present.
o Example:
documentclass[12pt]{article}
usepackage{graphicx}
begin{document}
includegraphics{computer.jpg}
end{document}
documentclass{article}
usepackage{graphicx}
begin{document}
begin{figure}
includegraphics {boat.jpg}
caption{A boat.}
end{figure}
end{document}
documentclass[12pt]{article}
usepackage{mathtools}
begin{document}
begin{equation}
x + y = 4 % there should be no gap between any of the two
rows
end{equation}
end{document}
documentclass[12pt]{article}
usepackage{mathtools}
begin{document}
begin{equation}
x^2 +2x+ 6 = 0
end{equation}
end{document}
documentclass[12pt]{article}
usepackage{mathtools}
begin{document}
begin{equation}
1, 2, 3, 4, 5, 6........... infty
end{equation}
end{document}
documentclass[12pt]{standalone}
usepackage{pgfplots}
pgfplotsset{width=6.6cm,compat=1.7}
begin{document}
begin{tikzpicture}
begin{axis}
[
ybar,
enlargelimits=0.15,
ylabel={#Average Marks}, % the ylabel must precede a # symbol.
xlabel={ Students Name},
symbolic x coords={Tom, Jack, Hary, Liza, Henry}, % these are the specification of
coordinates on the x-axis.
xtick=data,
nodes near coords, % this command is used to mention the y-axis points on the top
of the particular bar.
nodes near coords align={vertical},
]
addplot coordinates {(Tom,50) (Jack,90) (Hary,70) (Liza,80) (Henry,60) };
end{axis}
end{tikzpicture}
end{document}
Three Ways to Insert CSS
•External CSS
•Internal CSS
•Inline CSS
Inline CSS
<!DOCTYPE html>
<html>
<body>
<h1 style="color:blue;text-align:center;">This
is a heading</h1>
<p style="color:red;">This is a paragraph.</p>
</body>
</html>
An inline style may be used to apply a unique style for a
single element.
Internal CSS
<!DOCTYPE html>
<html>
<head>
<style>
body {
background-color: blue;
}
h1 {
color: maroon;
}
</style>
</head>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph.</p>
</body>
</html>
An internal style sheet may be used if
one single HTML page
External CSS
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="my
style.css">
</head>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph.</p>
</body>
</html>
mystyle.css
body {
background-
color: lightblue;
}
h1 {
color: navy;
margin-left: 20px;
}
With an external style sheet, you can change the look of an entire
website by changing just one file!
Each HTML page must include a reference to the external style sheet file
inside the <link> element, inside the head section.
Ad

More Related Content

Similar to latex document for IT workshop Lab . B.Tech (20)

Learn Latex
Learn LatexLearn Latex
Learn Latex
Haitham El-Ghareeb
 
LaTeX for B.Sc. Mathematics,an introduction
LaTeX for B.Sc. Mathematics,an introductionLaTeX for B.Sc. Mathematics,an introduction
LaTeX for B.Sc. Mathematics,an introduction
jayakumarc9
 
TEXMAKER Overview research plagrism check
TEXMAKER Overview research plagrism checkTEXMAKER Overview research plagrism check
TEXMAKER Overview research plagrism check
RamaKrishnaErroju
 
LaTeX Survival Guide
LaTeX Survival Guide LaTeX Survival Guide
LaTeX Survival Guide
Dylan Seychell
 
Inroduction to Latex
Inroduction to LatexInroduction to Latex
Inroduction to Latex
Swati Srivastava
 
Introduction to LaTeX
Introduction to LaTeXIntroduction to LaTeX
Introduction to LaTeX
sahirbhatnagar
 
LaTeX로 문서 작성하자
LaTeX로 문서 작성하자LaTeX로 문서 작성하자
LaTeX로 문서 작성하자
Kangjun Heo
 
Introduction to LaTeX
Introduction to LaTeXIntroduction to LaTeX
Introduction to LaTeX
Ashesh Timilsina
 
Write effectlively in late x
Write effectlively in late xWrite effectlively in late x
Write effectlively in late x
C-CORE
 
LaTex tutorial with Texstudio
LaTex tutorial with TexstudioLaTex tutorial with Texstudio
LaTex tutorial with Texstudio
Hossein Babashah
 
14 Late X
14 Late X14 Late X
14 Late X
Ganesh Samarthyam
 
Installation guide for Latex and MOODLE
Installation guide for Latex and MOODLEInstallation guide for Latex and MOODLE
Installation guide for Latex and MOODLE
abigail4894
 
LaTeX_tutorial_Syed_Jan09.ppt
LaTeX_tutorial_Syed_Jan09.pptLaTeX_tutorial_Syed_Jan09.ppt
LaTeX_tutorial_Syed_Jan09.ppt
Michalis33
 
Introduction to Latex
Introduction to LatexIntroduction to Latex
Introduction to Latex
Mohamed Alrshah
 
latex-workshop Dr: Mohamed A. Alrshah
latex-workshop Dr: Mohamed A. Alrshahlatex-workshop Dr: Mohamed A. Alrshah
latex-workshop Dr: Mohamed A. Alrshah
Abdulazim N.Elaati
 
documents writing with LATEX
documents writing with LATEXdocuments writing with LATEX
documents writing with LATEX
Anusha Vajrapu
 
SJCIT-Workshop-Latex-Introduction-7-5-2024-6am.ppt
SJCIT-Workshop-Latex-Introduction-7-5-2024-6am.pptSJCIT-Workshop-Latex-Introduction-7-5-2024-6am.ppt
SJCIT-Workshop-Latex-Introduction-7-5-2024-6am.ppt
neelima64
 
Latex workshop
Latex workshopLatex workshop
Latex workshop
Aisha Abdullahi
 
Head first latex
Head first latexHead first latex
Head first latex
Chung-Hsiang Ofa Hsueh
 
Link. LaTeX
  Link. LaTeX  Link. LaTeX
Link. LaTeX
santi caltabiano
 
LaTeX for B.Sc. Mathematics,an introduction
LaTeX for B.Sc. Mathematics,an introductionLaTeX for B.Sc. Mathematics,an introduction
LaTeX for B.Sc. Mathematics,an introduction
jayakumarc9
 
TEXMAKER Overview research plagrism check
TEXMAKER Overview research plagrism checkTEXMAKER Overview research plagrism check
TEXMAKER Overview research plagrism check
RamaKrishnaErroju
 
LaTeX로 문서 작성하자
LaTeX로 문서 작성하자LaTeX로 문서 작성하자
LaTeX로 문서 작성하자
Kangjun Heo
 
Write effectlively in late x
Write effectlively in late xWrite effectlively in late x
Write effectlively in late x
C-CORE
 
LaTex tutorial with Texstudio
LaTex tutorial with TexstudioLaTex tutorial with Texstudio
LaTex tutorial with Texstudio
Hossein Babashah
 
Installation guide for Latex and MOODLE
Installation guide for Latex and MOODLEInstallation guide for Latex and MOODLE
Installation guide for Latex and MOODLE
abigail4894
 
LaTeX_tutorial_Syed_Jan09.ppt
LaTeX_tutorial_Syed_Jan09.pptLaTeX_tutorial_Syed_Jan09.ppt
LaTeX_tutorial_Syed_Jan09.ppt
Michalis33
 
latex-workshop Dr: Mohamed A. Alrshah
latex-workshop Dr: Mohamed A. Alrshahlatex-workshop Dr: Mohamed A. Alrshah
latex-workshop Dr: Mohamed A. Alrshah
Abdulazim N.Elaati
 
documents writing with LATEX
documents writing with LATEXdocuments writing with LATEX
documents writing with LATEX
Anusha Vajrapu
 
SJCIT-Workshop-Latex-Introduction-7-5-2024-6am.ppt
SJCIT-Workshop-Latex-Introduction-7-5-2024-6am.pptSJCIT-Workshop-Latex-Introduction-7-5-2024-6am.ppt
SJCIT-Workshop-Latex-Introduction-7-5-2024-6am.ppt
neelima64
 

Recently uploaded (20)

The ever evoilving world of science /7th class science curiosity /samyans aca...
The ever evoilving world of science /7th class science curiosity /samyans aca...The ever evoilving world of science /7th class science curiosity /samyans aca...
The ever evoilving world of science /7th class science curiosity /samyans aca...
Sandeep Swamy
 
One Hot encoding a revolution in Machine learning
One Hot encoding a revolution in Machine learningOne Hot encoding a revolution in Machine learning
One Hot encoding a revolution in Machine learning
momer9505
 
P-glycoprotein pamphlet: iteration 4 of 4 final
P-glycoprotein pamphlet: iteration 4 of 4 finalP-glycoprotein pamphlet: iteration 4 of 4 final
P-glycoprotein pamphlet: iteration 4 of 4 final
bs22n2s
 
How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...
How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...
How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...
Celine George
 
Ultimate VMware 2V0-11.25 Exam Dumps for Exam Success
Ultimate VMware 2V0-11.25 Exam Dumps for Exam SuccessUltimate VMware 2V0-11.25 Exam Dumps for Exam Success
Ultimate VMware 2V0-11.25 Exam Dumps for Exam Success
Mark Soia
 
Geography Sem II Unit 1C Correlation of Geography with other school subjects
Geography Sem II Unit 1C Correlation of Geography with other school subjectsGeography Sem II Unit 1C Correlation of Geography with other school subjects
Geography Sem II Unit 1C Correlation of Geography with other school subjects
ProfDrShaikhImran
 
Social Problem-Unemployment .pptx notes for Physiotherapy Students
Social Problem-Unemployment .pptx notes for Physiotherapy StudentsSocial Problem-Unemployment .pptx notes for Physiotherapy Students
Social Problem-Unemployment .pptx notes for Physiotherapy Students
DrNidhiAgarwal
 
Understanding P–N Junction Semiconductors: A Beginner’s Guide
Understanding P–N Junction Semiconductors: A Beginner’s GuideUnderstanding P–N Junction Semiconductors: A Beginner’s Guide
Understanding P–N Junction Semiconductors: A Beginner’s Guide
GS Virdi
 
Michelle Rumley & Mairéad Mooney, Boole Library, University College Cork. Tra...
Michelle Rumley & Mairéad Mooney, Boole Library, University College Cork. Tra...Michelle Rumley & Mairéad Mooney, Boole Library, University College Cork. Tra...
Michelle Rumley & Mairéad Mooney, Boole Library, University College Cork. Tra...
Library Association of Ireland
 
World war-1(Causes & impacts at a glance) PPT by Simanchala Sarab(BABed,sem-4...
World war-1(Causes & impacts at a glance) PPT by Simanchala Sarab(BABed,sem-4...World war-1(Causes & impacts at a glance) PPT by Simanchala Sarab(BABed,sem-4...
World war-1(Causes & impacts at a glance) PPT by Simanchala Sarab(BABed,sem-4...
larencebapu132
 
YSPH VMOC Special Report - Measles Outbreak Southwest US 5-3-2025.pptx
YSPH VMOC Special Report - Measles Outbreak  Southwest US 5-3-2025.pptxYSPH VMOC Special Report - Measles Outbreak  Southwest US 5-3-2025.pptx
YSPH VMOC Special Report - Measles Outbreak Southwest US 5-3-2025.pptx
Yale School of Public Health - The Virtual Medical Operations Center (VMOC)
 
New Microsoft PowerPoint Presentation.pptx
New Microsoft PowerPoint Presentation.pptxNew Microsoft PowerPoint Presentation.pptx
New Microsoft PowerPoint Presentation.pptx
milanasargsyan5
 
SPRING FESTIVITIES - UK AND USA -
SPRING FESTIVITIES - UK AND USA            -SPRING FESTIVITIES - UK AND USA            -
SPRING FESTIVITIES - UK AND USA -
Colégio Santa Teresinha
 
K12 Tableau Tuesday - Algebra Equity and Access in Atlanta Public Schools
K12 Tableau Tuesday  - Algebra Equity and Access in Atlanta Public SchoolsK12 Tableau Tuesday  - Algebra Equity and Access in Atlanta Public Schools
K12 Tableau Tuesday - Algebra Equity and Access in Atlanta Public Schools
dogden2
 
Operations Management (Dr. Abdulfatah Salem).pdf
Operations Management (Dr. Abdulfatah Salem).pdfOperations Management (Dr. Abdulfatah Salem).pdf
Operations Management (Dr. Abdulfatah Salem).pdf
Arab Academy for Science, Technology and Maritime Transport
 
Quality Contril Analysis of Containers.pdf
Quality Contril Analysis of Containers.pdfQuality Contril Analysis of Containers.pdf
Quality Contril Analysis of Containers.pdf
Dr. Bindiya Chauhan
 
Introduction to Vibe Coding and Vibe Engineering
Introduction to Vibe Coding and Vibe EngineeringIntroduction to Vibe Coding and Vibe Engineering
Introduction to Vibe Coding and Vibe Engineering
Damian T. Gordon
 
Phoenix – A Collaborative Renewal of Children’s and Young People’s Services C...
Phoenix – A Collaborative Renewal of Children’s and Young People’s Services C...Phoenix – A Collaborative Renewal of Children’s and Young People’s Services C...
Phoenix – A Collaborative Renewal of Children’s and Young People’s Services C...
Library Association of Ireland
 
SCI BIZ TECH QUIZ (OPEN) PRELIMS XTASY 2025.pptx
SCI BIZ TECH QUIZ (OPEN) PRELIMS XTASY 2025.pptxSCI BIZ TECH QUIZ (OPEN) PRELIMS XTASY 2025.pptx
SCI BIZ TECH QUIZ (OPEN) PRELIMS XTASY 2025.pptx
Ronisha Das
 
GDGLSPGCOER - Git and GitHub Workshop.pptx
GDGLSPGCOER - Git and GitHub Workshop.pptxGDGLSPGCOER - Git and GitHub Workshop.pptx
GDGLSPGCOER - Git and GitHub Workshop.pptx
azeenhodekar
 
The ever evoilving world of science /7th class science curiosity /samyans aca...
The ever evoilving world of science /7th class science curiosity /samyans aca...The ever evoilving world of science /7th class science curiosity /samyans aca...
The ever evoilving world of science /7th class science curiosity /samyans aca...
Sandeep Swamy
 
One Hot encoding a revolution in Machine learning
One Hot encoding a revolution in Machine learningOne Hot encoding a revolution in Machine learning
One Hot encoding a revolution in Machine learning
momer9505
 
P-glycoprotein pamphlet: iteration 4 of 4 final
P-glycoprotein pamphlet: iteration 4 of 4 finalP-glycoprotein pamphlet: iteration 4 of 4 final
P-glycoprotein pamphlet: iteration 4 of 4 final
bs22n2s
 
How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...
How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...
How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...
Celine George
 
Ultimate VMware 2V0-11.25 Exam Dumps for Exam Success
Ultimate VMware 2V0-11.25 Exam Dumps for Exam SuccessUltimate VMware 2V0-11.25 Exam Dumps for Exam Success
Ultimate VMware 2V0-11.25 Exam Dumps for Exam Success
Mark Soia
 
Geography Sem II Unit 1C Correlation of Geography with other school subjects
Geography Sem II Unit 1C Correlation of Geography with other school subjectsGeography Sem II Unit 1C Correlation of Geography with other school subjects
Geography Sem II Unit 1C Correlation of Geography with other school subjects
ProfDrShaikhImran
 
Social Problem-Unemployment .pptx notes for Physiotherapy Students
Social Problem-Unemployment .pptx notes for Physiotherapy StudentsSocial Problem-Unemployment .pptx notes for Physiotherapy Students
Social Problem-Unemployment .pptx notes for Physiotherapy Students
DrNidhiAgarwal
 
Understanding P–N Junction Semiconductors: A Beginner’s Guide
Understanding P–N Junction Semiconductors: A Beginner’s GuideUnderstanding P–N Junction Semiconductors: A Beginner’s Guide
Understanding P–N Junction Semiconductors: A Beginner’s Guide
GS Virdi
 
Michelle Rumley & Mairéad Mooney, Boole Library, University College Cork. Tra...
Michelle Rumley & Mairéad Mooney, Boole Library, University College Cork. Tra...Michelle Rumley & Mairéad Mooney, Boole Library, University College Cork. Tra...
Michelle Rumley & Mairéad Mooney, Boole Library, University College Cork. Tra...
Library Association of Ireland
 
World war-1(Causes & impacts at a glance) PPT by Simanchala Sarab(BABed,sem-4...
World war-1(Causes & impacts at a glance) PPT by Simanchala Sarab(BABed,sem-4...World war-1(Causes & impacts at a glance) PPT by Simanchala Sarab(BABed,sem-4...
World war-1(Causes & impacts at a glance) PPT by Simanchala Sarab(BABed,sem-4...
larencebapu132
 
New Microsoft PowerPoint Presentation.pptx
New Microsoft PowerPoint Presentation.pptxNew Microsoft PowerPoint Presentation.pptx
New Microsoft PowerPoint Presentation.pptx
milanasargsyan5
 
K12 Tableau Tuesday - Algebra Equity and Access in Atlanta Public Schools
K12 Tableau Tuesday  - Algebra Equity and Access in Atlanta Public SchoolsK12 Tableau Tuesday  - Algebra Equity and Access in Atlanta Public Schools
K12 Tableau Tuesday - Algebra Equity and Access in Atlanta Public Schools
dogden2
 
Quality Contril Analysis of Containers.pdf
Quality Contril Analysis of Containers.pdfQuality Contril Analysis of Containers.pdf
Quality Contril Analysis of Containers.pdf
Dr. Bindiya Chauhan
 
Introduction to Vibe Coding and Vibe Engineering
Introduction to Vibe Coding and Vibe EngineeringIntroduction to Vibe Coding and Vibe Engineering
Introduction to Vibe Coding and Vibe Engineering
Damian T. Gordon
 
Phoenix – A Collaborative Renewal of Children’s and Young People’s Services C...
Phoenix – A Collaborative Renewal of Children’s and Young People’s Services C...Phoenix – A Collaborative Renewal of Children’s and Young People’s Services C...
Phoenix – A Collaborative Renewal of Children’s and Young People’s Services C...
Library Association of Ireland
 
SCI BIZ TECH QUIZ (OPEN) PRELIMS XTASY 2025.pptx
SCI BIZ TECH QUIZ (OPEN) PRELIMS XTASY 2025.pptxSCI BIZ TECH QUIZ (OPEN) PRELIMS XTASY 2025.pptx
SCI BIZ TECH QUIZ (OPEN) PRELIMS XTASY 2025.pptx
Ronisha Das
 
GDGLSPGCOER - Git and GitHub Workshop.pptx
GDGLSPGCOER - Git and GitHub Workshop.pptxGDGLSPGCOER - Git and GitHub Workshop.pptx
GDGLSPGCOER - Git and GitHub Workshop.pptx
azeenhodekar
 
Ad

latex document for IT workshop Lab . B.Tech