Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
What is LATEX?
What is LATEX?
The short and simple answer is that LATEX is a typesetting program.
Word Processors
Word Processors
In most word processors all these operations are integrated into a single
application package.
But a typesetting program likeTEX is concerned only with the second stage
above.
So to typeset a document using TEX, we type the text of the document and the
necessary formatting commands in a text editor.
After that the document can be viewed using a previewer or printed using a
printer driver.
TEX is also a programming language, so that by learning this language, people
can write code for additional features.
Introduction
Introduction
TEX is a flexible, complete, and professional typesetting system.
It has been programmed to produce the same document on all machines.
The TEX formatting program is the creation of Donald Knuth of Stanford
University.
It has been implemented on nearly every general purpose computer and
produces exactly the same copy on all machines.
Environment
LATEX
TEX is a formatter.
A document format is controlled by commands embedded in its text.
The peculiar look to the names indicate that TEX is also a typesetting program.
Each character and rule on the page is precisely positioned.
LATEX is a special version of TEX preloaded with a volumnous set of macros that
simplify most formatting tasks.
Environment
MiKTEX
MiKTEX is a typesetting system for Microsoft Windows that is developed by
Christian Schenk.
It consists of an implementation of TEX and a set of related programs.
MiKTEX provides the tools necessary to prepare documents using the LATEX
markup language, as well a simple tex editor.
TEXnicCenter
TEXnicCenter is a free open source IDE for the LATEX typesetting language.
It uses the MiKTEX or TEX Live distributions.
It allows the user to type documents in LATEX and to compile them in PDF, DVI or
PS.
A menu gives access to precoded elements and environments (formulas,
symbols, sections).
It also allows for the creation of projects to organize and access the sections and
environments of documents, and to insert a bibliography (using BibTEX) and an
index (using MakeIndex).
Environment
MiKTEX
MiKTEX is a typesetting system for Microsoft Windows that is developed by
Christian Schenk.
It consists of an implementation of TEX and a set of related programs.
MiKTEX provides the tools necessary to prepare documents using the LATEX
markup language, as well a simple tex editor.
TEXnicCenter
TEXnicCenter is a free open source IDE for the LATEX typesetting language.
It uses the MiKTEX or TEX Live distributions.
It allows the user to type documents in LATEX and to compile them in PDF, DVI or
PS.
A menu gives access to precoded elements and environments (formulas,
symbols, sections).
It also allows for the creation of projects to organize and access the sections and
environments of documents, and to insert a bibliography (using BibTEX) and an
index (using MakeIndex).
Example
Example
\documentclass{article}
\title{Pooniyin Selvan}
\author{Kalki}
\begin{document}
\maketitle
This is my first \LaTeX\ document.
\end{document}
Steps
All LATEX files should begin by specifying the kind of document to be produced,
using the command
\documentclass{... }
We can select the size of the font for the normal text in the entire document with
one of the options.
\documentclass[11pt]{article}
The thesis is usually divided into chapters and chapters are divided into sections,
sections into subsections and so on.
LATEX provides the following hierarchy of sectioning commands:
\chapter
\section
\subsection
\subsubsection
\paragraph
\subparagraph
More
Tables
Distance from sun
Planet (million km)
Maximum Minimum
Mercury 69.4 46.8
Venus 109.0 107.6
Earth 152.6 147.4
Mars 249.2 207.3
Jupiter 817.4 741.6
Saturn 1512.0 1346.0
Uranus 3011.0 2740.0
Neptune 4543.0 4466.0
Pluto 7346.0 4461.0
Maths
Maths
Donal Knuth created TEX primarily to typeset Mathematics beautifully. LATEX
includes all the capabilities of TEX in Mathematics typesetting, sometimes with
easier user interfaces.
Then there are packages like amsmath which enhance and refine these
interfaces.
A mathematical expression occurring in running text (called in-text math) is
produced by enclosing it between dollar signs.
Equation
The equation representing a straight line in the Cartesian plane is of the form
ax + by + c = 0
Maths
Equation
(a + b)2 = (a + b)(a + b)
= a2 + ab + ba + b2 (1)
2 2
= a + 2ab + b
Maths
Aligned Equations
Equation
x if x 0
|x| =
x if x 0
More equation
(a + b + c + d + e + f )2 = a2 + b2 + c 2 + d 2 + e2 + f 2
+ 2ab + 2ac + 2ad + 2ae + 2af
+ 2bc + 2bd + 2be + 2bf
+ 2cd + 2ce + 2cf
+ 2de + 2df
+ 2ef
Maths
Sequence
The sequence
s r
q q
p p p
2 2, 22 2 2, 23 2 2+ 2, 24 2 2+ 2+ 2+ 2, ...
converge to .
Matrices
A general m n matrix is of the form
Maths
Sequence
For n-tuples of complex numbers (x1 , x2 , . . . , xn ) and (y1 , y2 , . . . , yn ) of complex
numbers X X X
n|xk yk | 2 n|xk | n|yk |
k =1 k =1 k =1
Integration
R
Thus lim x sinx x dx =
2
and so by definition,
x 0
Z
sin x
dx =
0
x 2
Float
Problem types
Problem types
A cellphone
A straightforward view of the phone casing might defeature the model by
removing the holes where the keypad goes.
Doing this would make it easier to ask the question: If someone steps on the
phone, will the resulting deflection of the cover damage the circuit board inside?
A harder question would be, If I remove the cover, will the closure tab break off?
A difficult question would be, If I drop the phone, what will happen?
This would also include questions like: Will the call get dropped? which would
entail a linkage between electronics analysis and the mechanical analysis.
A big question for something as small as a cell phone would have the phone
modeled without any defeaturing.
All the holes, fillets, etc., would be in the mesh model, and the mesh would be
very fine; then asking, If I drop it in a certain way, will the cover break?
And a question that would fit the category of automatable could be If I drop it, will
it break?
In this case, many different runs of the same analysis might be necessary, each
with some minor difference in the test conditions, such as the height from which
it fell; onto what type of surface; the phones rotation when it fell; what point on
the phone did it land on; etc.
Market map
Degree of Difficulty
../../Desktop/pictures/cyon2.jpg
Market map
Region of Automation
../../Desktop/pictures/cyon3.jpg
Market map
Degree of Automation
../../Desktop/pictures/cyon4.jpg
Market map
Workflow Vs Difficulty for FEA
../../Desktop/pictures/cyon5.jpg
Market map
Workflow Vs Difficulty for CFD
../../Desktop/pictures/cyon6.jpg
Conclusion
Once if we prioritized the analysis objectives and reorganized to achieve them, we will
be better equipped to evaluate new software technologies.
Thanks!