This document provides an overview of using LaTeX for text editing. It begins with an outline of topics covered, which includes writing the first document, text formatting, figures, tables, bibliography, and references. It then discusses what LaTeX is, how to install it, and some advantages of using LaTeX such as separation of formatting and content. The document demonstrates how to write a basic "Hello World" document in LaTeX. It also covers various LaTeX document elements and commands for formatting text, creating lists, inserting figures and tables, and generating a bibliography.
Introduction to latex. Write your first document in latex
To Download latex for windows (163 MB)
http://miktex.org/download
To Download texmaker editor (53 MB)
http://www.xm1math.net/texmaker/download.html#windows
Here you can find a good latex templates
http://www.latextemplates.com/
https://www.sharelatex.com/templates/
https://www.writelatex.com/templates
Try sharelatex or writelatex for online editing
https://www.sharelatex.com/
https://www.writelatex.com/
Introduction to latex. Write your first document in latex
To Download latex for windows (163 MB)
http://miktex.org/download
To Download texmaker editor (53 MB)
http://www.xm1math.net/texmaker/download.html#windows
Here you can find a good latex templates
http://www.latextemplates.com/
https://www.sharelatex.com/templates/
https://www.writelatex.com/templates
Try sharelatex or writelatex for online editing
https://www.sharelatex.com/
https://www.writelatex.com/
A simplified introduction and guide for getting started with LaTeX typesetting. LaTeX is a document preparation system for high-quality typesetting. It is most often used for medium-to-large technical or scientific documents but it can be used for almost any form of publishing.
Research 101 - Paper Writing with LaTeXJia-Bin Huang
Paper Writing with LaTeX
PDF: https://filebox.ece.vt.edu/~jbhuang/slides/Research%20101%20-%20Paper%20Writing%20with%20LaTeX.pdf
PPTX: https://filebox.ece.vt.edu/~jbhuang/slides/Research%20101%20-%20Paper%20Writing%20with%20LaTeX.pptx
"LaTeX for beginners" is a course for a first approach towards the wonderful world of LaTeX, a document markup language and document preparation system.
How to use LaTeX and Beamer to prepare presentation for SlideshareVesa Linja-aho
LaTeX and Beamer are great tools when preparing slides which contain mathematical formulas, circuit diagrams and that kind of stuff. However, to eliminate some nasty characteristics, few simple tricks are necessary.
A simplified introduction and guide for getting started with LaTeX typesetting. LaTeX is a document preparation system for high-quality typesetting. It is most often used for medium-to-large technical or scientific documents but it can be used for almost any form of publishing.
Research 101 - Paper Writing with LaTeXJia-Bin Huang
Paper Writing with LaTeX
PDF: https://filebox.ece.vt.edu/~jbhuang/slides/Research%20101%20-%20Paper%20Writing%20with%20LaTeX.pdf
PPTX: https://filebox.ece.vt.edu/~jbhuang/slides/Research%20101%20-%20Paper%20Writing%20with%20LaTeX.pptx
"LaTeX for beginners" is a course for a first approach towards the wonderful world of LaTeX, a document markup language and document preparation system.
How to use LaTeX and Beamer to prepare presentation for SlideshareVesa Linja-aho
LaTeX and Beamer are great tools when preparing slides which contain mathematical formulas, circuit diagrams and that kind of stuff. However, to eliminate some nasty characteristics, few simple tricks are necessary.
Material utilizado em um minicurso sobre Latex ministrado para um grupo de alunos do curso de Engenharia de Controle Automação da UFSC (Outubro de 2012).
Corso LaTeX - Lezione Quattro: Beamer - Presentazioni in LaTeXValentina Ferro
Latex è un potente mezzo per la composizione tipografica, particolarmente utile per la stesura di testi scientifici.
Il corso esplora sia le funzionalità di base sia qualche funzione leggermente più avanzata nelle seguenti lezioni:
Lezione Uno - Cos'è Latex?
Introduzione a Latex, sintassi, layout di un documento, editor di testo.
Lezione Due - Ambienti Latex
Funzioni matematiche, tabelle e figure
Lezione Tre - Personalizzazione
Template di documenti, comandi personali, alcune funzioni avanzate
Lezione Quattro - Il Pacchetto Beamer [QUESTA PRESENTAZIONE]
Fare presentazioni con Latex: nozioni di base
Lezione Cinque - Presentazioni personalizzate (e animate)
Template per beamer, alcune funzioni avanzate
Steampunk + Latex: Do Steampunk aesthetics influence other alternative lifest...Decimononic
Does it seem to you that there is any kind of relationship between Steampunk and the latex fetish scene? Have a look at this slides presentation and judge for yourself!
Learn more: http://www.decimononic.com/blog/steampunk-latex
This document for reference material to SPPU course on Latex. Latex is a universally used software for preparing quality documents. It is not a word processor. This document has been compiled by taking examples and references from various texts available on the subject. It is not meant to serve as beginner's guide to latex. History, Features and Applications of Latex along with basic Latex features such as how to form tables, how to write equations, how to enumerate data items etc are discussed.
Operation “Blue Star” is the only event in the history of Independent India where the state went into war with its own people. Even after about 40 years it is not clear if it was culmination of states anger over people of the region, a political game of power or start of dictatorial chapter in the democratic setup.
The people of Punjab felt alienated from main stream due to denial of their just demands during a long democratic struggle since independence. As it happen all over the word, it led to militant struggle with great loss of lives of military, police and civilian personnel. Killing of Indira Gandhi and massacre of innocent Sikhs in Delhi and other India cities was also associated with this movement.
We all have good and bad thoughts from time to time and situation to situation. We are bombarded daily with spiraling thoughts(both negative and positive) creating all-consuming feel , making us difficult to manage with associated suffering. Good thoughts are like our Mob Signal (Positive thought) amidst noise(negative thought) in the atmosphere. Negative thoughts like noise outweigh positive thoughts. These thoughts often create unwanted confusion, trouble, stress and frustration in our mind as well as chaos in our physical world. Negative thoughts are also known as “distorted thinking”.
How to Make a Field invisible in Odoo 17Celine George
It is possible to hide or invisible some fields in odoo. Commonly using “invisible” attribute in the field definition to invisible the fields. This slide will show how to make a field invisible in odoo 17.
Read| The latest issue of The Challenger is here! We are thrilled to announce that our school paper has qualified for the NATIONAL SCHOOLS PRESS CONFERENCE (NSPC) 2024. Thank you for your unwavering support and trust. Dive into the stories that made us stand out!
The Roman Empire A Historical Colossus.pdfkaushalkr1407
The Roman Empire, a vast and enduring power, stands as one of history's most remarkable civilizations, leaving an indelible imprint on the world. It emerged from the Roman Republic, transitioning into an imperial powerhouse under the leadership of Augustus Caesar in 27 BCE. This transformation marked the beginning of an era defined by unprecedented territorial expansion, architectural marvels, and profound cultural influence.
The empire's roots lie in the city of Rome, founded, according to legend, by Romulus in 753 BCE. Over centuries, Rome evolved from a small settlement to a formidable republic, characterized by a complex political system with elected officials and checks on power. However, internal strife, class conflicts, and military ambitions paved the way for the end of the Republic. Julius Caesar’s dictatorship and subsequent assassination in 44 BCE created a power vacuum, leading to a civil war. Octavian, later Augustus, emerged victorious, heralding the Roman Empire’s birth.
Under Augustus, the empire experienced the Pax Romana, a 200-year period of relative peace and stability. Augustus reformed the military, established efficient administrative systems, and initiated grand construction projects. The empire's borders expanded, encompassing territories from Britain to Egypt and from Spain to the Euphrates. Roman legions, renowned for their discipline and engineering prowess, secured and maintained these vast territories, building roads, fortifications, and cities that facilitated control and integration.
The Roman Empire’s society was hierarchical, with a rigid class system. At the top were the patricians, wealthy elites who held significant political power. Below them were the plebeians, free citizens with limited political influence, and the vast numbers of slaves who formed the backbone of the economy. The family unit was central, governed by the paterfamilias, the male head who held absolute authority.
Culturally, the Romans were eclectic, absorbing and adapting elements from the civilizations they encountered, particularly the Greeks. Roman art, literature, and philosophy reflected this synthesis, creating a rich cultural tapestry. Latin, the Roman language, became the lingua franca of the Western world, influencing numerous modern languages.
Roman architecture and engineering achievements were monumental. They perfected the arch, vault, and dome, constructing enduring structures like the Colosseum, Pantheon, and aqueducts. These engineering marvels not only showcased Roman ingenuity but also served practical purposes, from public entertainment to water supply.
The Indian economy is classified into different sectors to simplify the analysis and understanding of economic activities. For Class 10, it's essential to grasp the sectors of the Indian economy, understand their characteristics, and recognize their importance. This guide will provide detailed notes on the Sectors of the Indian Economy Class 10, using specific long-tail keywords to enhance comprehension.
For more information, visit-www.vavaclasses.com
Synthetic Fiber Construction in lab .pptxPavel ( NSTU)
Synthetic fiber production is a fascinating and complex field that blends chemistry, engineering, and environmental science. By understanding these aspects, students can gain a comprehensive view of synthetic fiber production, its impact on society and the environment, and the potential for future innovations. Synthetic fibers play a crucial role in modern society, impacting various aspects of daily life, industry, and the environment. ynthetic fibers are integral to modern life, offering a range of benefits from cost-effectiveness and versatility to innovative applications and performance characteristics. While they pose environmental challenges, ongoing research and development aim to create more sustainable and eco-friendly alternatives. Understanding the importance of synthetic fibers helps in appreciating their role in the economy, industry, and daily life, while also emphasizing the need for sustainable practices and innovation.
Ethnobotany and Ethnopharmacology:
Ethnobotany in herbal drug evaluation,
Impact of Ethnobotany in traditional medicine,
New development in herbals,
Bio-prospecting tools for drug discovery,
Role of Ethnopharmacology in drug evaluation,
Reverse Pharmacology.
The French Revolution, which began in 1789, was a period of radical social and political upheaval in France. It marked the decline of absolute monarchies, the rise of secular and democratic republics, and the eventual rise of Napoleon Bonaparte. This revolutionary period is crucial in understanding the transition from feudalism to modernity in Europe.
For more information, visit-www.vavaclasses.com
How to Create Map Views in the Odoo 17 ERPCeline George
The map views are useful for providing a geographical representation of data. They allow users to visualize and analyze the data in a more intuitive manner.
Instructions for Submissions thorugh G- Classroom.pptxJheel Barad
This presentation provides a briefing on how to upload submissions and documents in Google Classroom. It was prepared as part of an orientation for new Sainik School in-service teacher trainees. As a training officer, my goal is to ensure that you are comfortable and proficient with this essential tool for managing assignments and fostering student engagement.
2. Outlines
■ Introduction
■ Writing the First Document
■ Text Formatting
■ Figures
■ Tables
■ Bibliography
■ Arabic Text
■ References
12/20/2016 2
3. What is LaTeX?
■ TeX is a computer program created by Donald E. Knuth, 1979.
■ Last update was released on 12/01/2014, version number =
3.14159265 ≈ 𝜋
■ ‘Technology’ stems from a Greek root Tex; and this same
Greek word means art as well as technology.
12/20/2016 3
4. What is LaTeX?
■ LaTeX is a macro package that enables authors to typeset
and print their work at the highest typographical quality,
using a predefined, professional layout using TeX engine.
■ Originally written by Leslie Lamport.
■ LaTeX is pronounced in English as “Lay-tek” or “Lah-
tek”.
12/20/2016 4
5. Installing LaTeX
■ LaTeX-Core, in windows MiKTeX is one of the most commonly used.
http://ctan.mirror.garr.it/mirrors/CTAN/systems/win32/miktex/setup/basic-
miktex-2.9.6161-x64.exe
■ Basic installation, you need to install packages as you go (e.g. the above link).
■ Complete installations, installs everything, all at once.
■ The editor, where you write your document
we will use, TeXstudio
https://sourceforge.net/projects/texstudio/files/texstudio/TeXstudio%202.11.2/texs
tudio-2.11.2-osx-qt5.6.zip/download
■ There are similar software for Mac, and Linux based OS.
12/20/2016 5
6. Why LaTeX? Advantages
■ Separation of formatting and content
■ Free, and Open Source
■ Made for scientists
■ Built-in referencing capability
■ Speed
■ Portable
■ Reliability
12/20/2016 6
7. First Document in LaTeX
12/20/2016 7
documentclass{article}
begin{document}
Hello World! Hello LaTeX.
end{document}
Latex Output
8. Files in LaTeX
Input
.tex Latex input file. Can be compiled with latex
.sty
Style Macros in LaTeX, can be loaded using
usepackage
System
.log Gives a detailed account of the last compiler run.
.aux
Transports information from one compiler run to the
next, and stores cross-references information.
Output
.dvi Device Independent File, viewed DVI previewer
.ps .pdf
12/20/2016 8
10. LaTeX Document Structure
documentclass To define the document type
preamble
author{},title{},date{} To store the author, the title, and the date
usepackage To extend latex beyond its basic functionality.
New command To write document
begin{document}
frontmatter Before the real content, Latin numbering
mainmatter The content, and in Arabic numbering
backmatter Contains appendices, bibliography, letter
numbering,
end{document}
12/20/2016 10
11. article
For articles in scientific journals, presentations, short reports, program
documentation, invitations, ...
IEEEtran For articles with the IEEE Transactions format.
proc A class for proceedings based on the article class.
report For longer reports containing several chapters, small books, thesis, ...
book For real books.
slides For slides. The class uses big sans serif letters.
memoir
For changing sensibly the output of the document. It is based on the book
class, but you can create any kind of document with it.
letter For writing letters.
beamer For writing presentations.
12/20/2016 11
documentclass[options]{class}
12. 12/20/2016 12
documentclass[options]{class}
10pt, 11pt, 12pt size of the main font, default is 10pt.
a4paper,.. Defines the paper size.
twocolumn two columns instead of one.
twoside, oneside
Specifies whether double or single sided output should be
generated.
landscape Changes the layout of the document to print in landscape mode.
Example
documentclass[12pt,a4paper,oneside, lanscape]{report}
14. Packages
■ usepackage[options]{package}
■ Options are additional information to the package
12/20/2016 14
Package Usage
graphicx Allows you to insert graphic files within a document.
xcolor Adds support for colored text.
listings To insert programming code within the document.
arabtex,
babel
For Arabic language support.
15. Parts, Chapters, Sections, and the Table
of Contents
section{…} Heading 1
subsection{…} Heading 1.1
subsubsection{…} Heading 1.1.1
parts{…}
To split the document in parts without
influencing the section or chapter numbering
chapter{…}
With the report or book document classes,
adds additional top-level sectioning.
12/20/2016 15
To generate the Table of Contents, use tableofcontents command!
17. Units in LaTeX
Unit Description
pt
A point, is the default length unit. About
0.3515mm
mm a millimetre
cm a centimetre
in an inch
ex the height of an x in the current font
em the width of an m in the current font
12/20/2016 17
18. Units in LaTeX - Relative
Relative Unit Description
columnwidth width of the column
linewidth width of the line in the current environment
paperwidth width of the page
paperheight height of the page
textwidth width of the text
textheight height of the text
12/20/2016 18
19. Font Sizes
tiny{text} normalsize{text} huge{text}
scriptsize{text} large{text} Huge{text}
footnotesize{text} Large{text}
small{text} LARGE{text}
12/20/2016 19
Latex chooses the appropriate font and font size
based on the logical structure. In some cases, you
may want to set fonts and sizes by hand.
20. Font Families
12/20/2016 20
Font Family Command
Serif (roman) textrm{text}
Sans Serif textsf{text}
Typewriter texttt{text}
Serif (Left), Sans (Right), while
typewriter is the font similar to code
fonts and typewriters.
22. Paragraph
■ A paragraph is specified in LaTeX using
– Blank line
– par
– begin{paragaraph}
paragraph text
end{paragraph}
12/20/2016 22
23. Paragraph Formatting –Line Spacing
■ baselineskip
minimum space between two
successive lines in a paragraph;
may be changed (in the preamble)
using
setlength{baselineskip}{value}
■ linespread{value}
12/20/2016 23
Value Line spacing
1.0 single spacing
1.3
one-and-a-half
spacing
1.6 double spacing
27. Footnotes
■ footnote{text in the footnote}
■ To change the default number
– footnote[10]{text in the footnote}
■ To separate the footnote mark, and the text
– footnotemark
– footnotetext{text}
■ Multiple references for the same footnote
– footnotemark[value{footnote}]
12/20/2016 27
28. Footnotes – Numbering Style
■ renewcommand{thefootnote}{roman{footnote}}
12/20/2016 28
Style Description
arabic Arabic numerals.
roman Upper case Roman numerals.
alph Alphabetic lower case.
Alph Alph Alphabetic upper case.
fnsymbol A set of 9 special symbols.
29. Page Header/Footer
■ It is mostly used in documentclass{book}
■ To change the style
pagestyle{myheadings}
12/20/2016 29
plain Both the header and footer are cleared (blank) in this page
style.
myheadings footer is empty, header contains the page number on right
side (on even pages) or on left side (on odd pages) + user-
supplied information; first page of each chapter, footer
contains centred page number, header is blank.
empty This is the default style. The header is empty and the
footer contains page numbers in the centre.
30. Page Header/Footer
■ usepackage{fancyhdr}
12/20/2016 30
pagestyle{fancy} Sets the fancy header style.
fancyhf{} clears the header and footer.
rhead, chead, lhead Prints the text included inside
the braces on the (right, center,
left) side of the header.
rfoot, cfoot, lfoot Prints the text included inside
the braces on the (right, center,
left) side of the footer.
31. Figures in LaTeX
■ usepackage{graphicx}
■ For a separate images directory
graphicspath{ {images/} }
makes referencing easier.
■ More than one path graphicspath{{images1/}{images2/}}
■ If no path is set LATEX will look for pictures in the folder where the
.tex file is saved.
12/20/2016 31
32. Figures in LaTeX
■ includegraphics[options]{imagefile}
12/20/2016 32
width=xx width of the imported image to xx.
height=xx height of the imported image to xx.
keepaspectratio
scale the image according to both height and width
[true/false]
scale=xx Scales the image by the desired factor.
angle=xx rotates the image by xx degrees
trim=l b r t crops the image [left, bottom, right, top]
resolution=x Specify image resolution in dpi
33. Figure Caption & Position
■ To add a caption to the figure or to change the alignment
begin{figure}[h]
includegraphics[options]{image filename}
caption{text}
end{figure}
■ To specify the alignment of the image use centering,
raggedright, raggedleft
12/20/2016 33
34. Wrapping a Figure
■ To insert your figure within the text, usepackage{wrapfig}
begin{wrapfigure}{x}{y}
includegraphics[options]{logo}
caption{text}
end{wrapfigure}
■ x: defines the alignment of the figure, (l: left, r: right, etc.)
■ y: the width of the figure box. It's not the width of the image itself!
12/20/2016 34
35. Referencing Figures, List of Figures
■ Add label{fig:figurename} to the
previous figure command.
■ ref{fig:figurename} within the referring
text.
■ Finally, to generate the list of figures, use
listoffigures.
12/20/2016 35
36. Tables in LaTeX
begin{tabular}{||c c c c||}
hline
Col1 & Col2 & Col2 & Col3 [0.5ex]
hlinehline
1 & 6 & 87837 & 787
2 & 7 & 78 & 5415
5 & 88 & 788 & 6344 [1ex]
hline
end{tabular}
12/20/2016 36
No of columns, and
Vertical borders
Horizontal Borders
Cell height
37. Table Caption, Referencing, and List of
Tables
begin{table}[h]
<Table Design>
caption{text}
end{table}
■ Add label{table:1} to the previous command.
■ ref{table:1}, within the referring text.
■ listoftables command to generate the list of table for the
document.
12/20/2016 37
41. Subscript & Superscript
■ The underscore, _, is
used to indicate a
subscripted text.
■ ^ is used to indicate a
superscripted text.
■ If the expression is of
more than one letter,
use {} to enclose it.
12/20/2016 41
43. Fractions and Bionomials
■ frac{numerator}{denominator}
for fractions
■ bionom{n}{k}, for bionomials
■ You need to
usepackages{amsmath}
■ Example
[
binom{n}{k} = frac{n!}{k!(n-k)!}
]
12/20/2016 43
44. Bibliography in LaTeX
■ Embedded System
Writing few documents
Not planning to write more on the same subject.
No need then to create a database of references you are never
going to use.
■ BibTex
best way to manage references in LaTeX
12/20/2016 44
45. Embedded System
■ The bibliography environment
bibliographystyle{plain}
begin{thebibliography}[n]
bibitem{citekey}
the list of information
end{thebibliography}
N: pattern for no. of references, [9] means 9 references or less.
■ There are many other styles in latex, see the next Table.
12/20/2016 45
46. Bibliography Styles in LaTeX
Style Name Author Name
Format
Reference Format Sorting
unsrt Homer Jay Simpson #ID# as referenced
plain Homer Jay Simpson #ID# by author
alpha Homer Jay Simpson Sim95 by author
acm Simpson, H. J. #ID#
abbrv H. J. Simpson #ID# by author
12/20/2016 46
There other styles in BibTex, and with NatBib package
47. Bibliography Styles in LaTeX
■ To cite a reference use cite{citekey}
citekey has to be unique
■ Usually set to the author's surname, followed by
the year of publication
■ nocite, nocite{*}
12/20/2016 47
48. Embedded System
12/20/2016 48
Citation
Instead of WYSIWYG editors, typesetting systems like TeX or LaTeX cite{lamport94}
can be used.
Bibliography
bibliographystyle{plain}
begin{thebibliography}{9}
bibitem{lamport94}
Leslie Lamport,
Document preparation system, Addison Wesley,
Massachusetts,
2nd edition,
1994.
end{thebibliography}
Latex
50. BibTeX
Book Conference Paper Journal Article
@book{Xbook,
author = "",
title = "",
publisher = "",
volume = "",
number = "",
series = "",
address = "",
edition = "",
year = "XXXX",
month = "",
note = "",
}
@conference{Xconference,
author = "",
title = "",
booktitle = "",
editor = "",
volume = "",
pages = "",
address = "",
year = "XXXX",
month = "",
publisher= "",
note = "",
}
@article{Xarticle,
author = "",
title = "",
journal = "",
volume = "",
number = "",
pages = "",
year = "XXXX",
month = "",
note = "",
}
There are other standard templates such as, @phdthesis, @misc., and others
Refer to https://en.wikibooks.org/wiki/LaTeX/Bibliography_Management
12/20/2016 50
51. Using the .bib File
■ For a bib file named: file.bib
■ Use bibliography{file, file2, …}
■ You shouldn’t include the file extension
■ If it is in different folder use:
use bibliography{/some/where/file}
or bibliography{../file} if it is in the parent directory.
■ Adding the bib file adds an extra complexity to the latex document,
now you need to clean the directory, and execute the code twice.
12/20/2016 51
52. BibTeX Referencing Software
■ There are many applications that simplify the work of
BibTeX, such as JabRef.
■ You can download it from here
https://www.fosshub.com/JabRef.html
■ Tutorial for using JabRef
http://www.cs.rpi.edu/~tayloj/JABREF.TUTORIAL/
12/20/2016 52
53. Arabic Text in LaTeX
usepackage[utf8]{inputenc} Input encoding, allows for many
different languages.
usepackage[LFE,LAE]{fontenc} Supports specific characters for
Arabic language.
usepackage{arabtex} Supports right-to-left writing.
usepackage[arabic]{babel} Proper hyphenation and translating
the names of the document
elements.
12/20/2016 53
55. A Published Paper – An Example
■ Show the different document classes
– documentclass{article}
– documentclass{report}
– documentclass{proc}
■ References, styles
12/20/2016 55
56. References
■ https://en.wikibooks.org/wiki/LaTeX
An ebook that is featured on Wikibooks because it
contains substantial content, it is well-formatted, and it
is regularly updated.
■ https://www.sharelatex.com/learn
A great LaTeX knowledge base, the website is home
for a great online editor.
12/20/2016 56