
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
Sample for engineering computing
Typology: Cheat Sheet
1 / 1
This page cannot be seen from the preview
Don't miss anything!
Pat Q. Student AME 20214 15 September 2016
This is a sample file in the text formatter LATEX. I require you to use it for the following reasons:
Some basic instructions are given below. Put your text in here. You can be a little sloppy about spacing. It adjusts the text to look good. You can make the text smaller. You can make the text tiny. You can link to web sites Skip a line for a new paragraph. You can use italics (e.g. Computers are everywhere) or bold. Greek letters are a snap: Ψ, ψ, Φ, φ. Equations within text are easy— A well known equation for a line is y = mx + b. Here y is the dependent variable, x is the independent variable, m is the slope, and b is the intercept. You can also set aside equations like so:
d^2 θ dt^2
g ℓ
sin θ, Newton’s second law for pendulum motion, (1)
g ℓ
sin θ =
g ℓ
n=
(−1)n^
θ^2 n+ (2n + 1)!
g ℓ
θ −
θ^3 6
θ^5 120
θ^7 5040
Equation (1) is Newton’s second law for pendulum motion. Here θ is the angular position, t is time, g is gravitational acceleration, and ℓ is length. Equation (2) gives a series expansion relevant to Eq. (1). References^1 are available. If you have a postscript file, say sample.figure.eps, in the same local directory, you can insert the file as a figure. Figure 1, below, plots Bessel functions, three times repeated, so as to demonstrate how to insert multiple plots.
2 4 6 8 10 -0.
Jn ( x )
x
n = n =2 (^) n = n =
Bessel functions
0.0 (^2 4 6 8 )
-0.
Jn ( x )
x
n = n =2 (^) n = n =
Bessel functions
0.0 (^2 4 6 8 )
-0.
Jn ( x )
x
n = n =2 (^) n = n =
Bessel functions
Figure 1: Sample figure plotting Bessel functions, three times repeated.
Running LATEX
You can create a LATEX file with any text editor (vi, emacs, gedit, etc.). To get a document, you need to run the LATEX application on the text file. The text file must have the suffix “.tex”. On a Linux cluster machine, this is done via the command
latex2pdf file.tex
This generates file.pdf. You should execute this command at least twice to implement numbering correctly. Alternatively, you can use TeXShop on a Macintosh or MiKTeX/TeXnicCenter on a Windows-based machine. The .tex file must have a closing statement as below.
(^1) Lamport, L., 1986, LATEX: User’s Guide & Reference Manual, Addison-Wesley: Reading, Massachusetts.