author | amit@thunder |
Tue, 02 Mar 2010 18:43:02 +0530 | |
changeset 0 | 27e1f5bd2774 |
permissions | -rw-r--r-- |
0
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
1 |
%hello.tex - First LaTeX document |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
2 |
\documentclass[11pt,a4paper,twoside]{article} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
3 |
|
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
4 |
\usepackage{graphicx} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
5 |
\usepackage{listings} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
6 |
\usepackage{amsmath} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
7 |
|
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
8 |
\lstset{language=Python, showstringspaces=false} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
9 |
\bibliographystyle{plain} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
10 |
|
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
11 |
\title{LaTeX - A Two Hour Introduction} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
12 |
\author{The FOSSEE Team} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
13 |
\date{August 2009} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
14 |
|
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
15 |
|
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
16 |
\begin{document} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
17 |
\maketitle |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
18 |
\tableofcontents |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
19 |
\listoftables |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
20 |
\listoffigures |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
21 |
\begin{abstract} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
22 |
This is a sample document to be used in the STTP course for a quick introduction to \LaTeX |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
23 |
\end{abstract} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
24 |
\section{Introduction} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
25 |
LaTeX is a typesetting program used to produce excellently typeset documents. It is extensively used for producing high quality scientific and mathematical documents. It may also be used for producing other kinds of documents, ranging from simple one page articles or letters |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
26 |
\section{Structural Elements} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
27 |
Let us now look at giving a better structure to our document. |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
28 |
\subsection{documentclass} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
29 |
The \verb+documentclass+ variable tells \LaTeX, the type of document we wish to prepare. |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
30 |
|
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
31 |
\subsection{Sections, Chapters and Parts} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
32 |
We shall first look at how to divide the document into Sections, Chapters and Parts. |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
33 |
|
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
34 |
\subsubsection{Appendices} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
35 |
I can't tell you how to add an appendix, in the main document. Refer Appendix \ref{append} to see how to do it. |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
36 |
|
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
37 |
\section{Text Typesetting} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
38 |
\begin{itemize} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
39 |
\item Now we move onto some elementary \emph{Text Typesetting}. |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
40 |
|
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
41 |
\item How do we get \emph{emphasized or italic text}? |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
42 |
|
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
43 |
\item \emph{Did you wonder what happens when we try \emph{emphasizing text} within \emph{emphasized text}}? |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
44 |
|
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
45 |
\item ``Beautiful is better than ugly.'' |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
46 |
|
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
47 |
\item `In the face of ambiguity, refuse the temptation to guess.' |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
48 |
|
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
49 |
\item LaTeX has 4 different types of dashes. The names of these dashes are: `-' hyphen, `--' en-dash, `---' em-dash and `$-$' minus sign. \footnote{We shall look at how to do math in a later section} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
50 |
|
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
51 |
\item \LaTeX has \verb+enumerate+, \verb+itemize+ and \verb+description+ commands to generate lists. |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
52 |
|
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
53 |
\end{itemize} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
54 |
|
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
55 |
\begin{flushleft}This is left flushed text. \LaTeX normally produces text with no white space at the end of the line. But, this text isn't so, if you can see.\end{flushleft} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
56 |
\begin{flushright}Similarly, Right-aligned Text here\end{flushright} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
57 |
\begin{center} and centered text here.\end{center} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
58 |
|
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
59 |
\begin{description} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
60 |
\item[Description] This list is a description list. |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
61 |
\item[Enumerate] Numbered lists are often useful. |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
62 |
\begin{enumerate} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
63 |
\item First |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
64 |
\item Second |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
65 |
\item Third |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
66 |
\item \ldots |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
67 |
\end{enumerate} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
68 |
\item[Itemize] The list above this description list is an itemize list. |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
69 |
\end{description} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
70 |
|
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
71 |
\subsection{Quotes \& Verbatim Text} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
72 |
Since the \emph{Zen of Python} instructs that, |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
73 |
\begin{quote} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
74 |
Readability counts. |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
75 |
\end{quote} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
76 |
we use the \verb+quote+ environment to include quotes. |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
77 |
|
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
78 |
\begin{verbatim} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
79 |
def signum( r ): |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
80 |
"""returns 0 if r is zero |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
81 |
-1 if r is negative |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
82 |
+1 if r is positive""" |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
83 |
if r < 0: |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
84 |
return -1 |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
85 |
elif r > 0: |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
86 |
return 1 |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
87 |
else: |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
88 |
return 0 |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
89 |
\end{verbatim} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
90 |
|
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
91 |
\section{Tables \& Figures} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
92 |
|
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
93 |
\begin{table}[h] |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
94 |
\caption{A simple table, on making tables} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
95 |
\centering |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
96 |
\begin{tabular}{|c|c|} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
97 |
\hline |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
98 |
\verb+l+ & left justified column content\\ |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
99 |
\hline |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
100 |
\verb+r+ & right justified column content\\ |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
101 |
\hline |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
102 |
\verb+c+ & centered column content\\ |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
103 |
\hline |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
104 |
\verb+*{n}{col}+ & produces \verb+n+ columns with the\\ |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
105 |
& \verb+col+ type of formatting\\ |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
106 |
\cline{2-2} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
107 |
&\verb+*{3}{c}+ is the same as \verb+{c c c}+ \\ |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
108 |
\hline |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
109 |
\verb+|+ & produces a vertical line\\ |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
110 |
\hline |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
111 |
\end{tabular} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
112 |
\end{table} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
113 |
|
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
114 |
\begin{figure} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
115 |
\centering |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
116 |
\caption[CTAN Lion]{CTAN lion drawing by Duane Bibby; thanks to www.ctan.org} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
117 |
\label{fig:lion} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
118 |
\includegraphics[scale=0.8, angle=30]{lion_orig.png} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
119 |
\end{figure} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
120 |
|
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
121 |
List of Tables and List of figures can be autogenerated suigng the \verb+\listoftables+ and \verb+\listoffigures+ commands. Let's insert them after the table of contents. |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
122 |
|
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
123 |
Cross referencing is one of the best features of \LaTeX. The CTAN lion has the figure number \ref{fig:lion} and is on page number \pageref{fig:lion} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
124 |
|
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
125 |
It was drawn by Duane Bibby, a well-known commercial artist. He used this lion in the illustrations for Donald Knuth's original TeXbook\cite{Knuth84}, for Leslie Lamport's LaTeX book\cite{Lamport94}, and for other books having to do with TeX, so his work is familiar to everyone in the community. |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
126 |
|
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
127 |
%% \begin{thebibliography}{99} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
128 |
%% \bibitem{Knuth84} Donald E. Knuth (1984). \emph{The TeXbook} (Computers and Typesetting, Volume A). Reading, Massachusetts: Addison-Wesley. ISBN 0-201-13448-9. |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
129 |
|
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
130 |
%% \bibitem{Lamport94} Lamport, Leslie (1994). \emph{LaTeX: A document preparation system: User's guide and reference}. |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
131 |
%% illustrations by Duane Bibby (2nd ed.). Reading, Mass: Addison-Wesley Professional. |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
132 |
%% \end{thebibliography} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
133 |
|
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
134 |
\section{Typesetting Math} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
135 |
The equation $F=m \cdot a$ is an equation, that has been set inline. |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
136 |
Equation \eqref{force} is the same equation typeset in the display style. Note, that it is also numbered. |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
137 |
\begin{equation} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
138 |
\label{force} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
139 |
F=m\cdot a |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
140 |
%%\tag{Fore-acceleration} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
141 |
\end{equation} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
142 |
More equations --- vertically aligned. |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
143 |
|
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
144 |
\begin{align} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
145 |
\alpha^2 + \beta^2 &= \gamma^2 \\ |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
146 |
\sum_{i=1}^ni &= \frac{n(n+1)}{2}\\ |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
147 |
\sqrt{-1} &= \pm1 \nonumber \\ |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
148 |
y &= \frac{r_1^2-r_3^2-x^2+(x-i)^2+j^2}{2j} \nonumber \\ |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
149 |
&= \frac{r_1^2-r_3^2+i^2+j^2}{2j}-\frac{i}{j}x \\ |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
150 |
\end{align} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
151 |
|
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
152 |
\begin{equation*} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
153 |
s(t) = \left\{ |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
154 |
\begin{array}{rl} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
155 |
0 & \text{if } t \le 0\\ |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
156 |
1 & \text{if } t > 0 |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
157 |
\end{array} \right. |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
158 |
\end{equation*} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
159 |
|
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
160 |
\begin{equation*} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
161 |
\mathbf{X} = \left( |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
162 |
\begin{array}{ccc} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
163 |
a_1 & a_2 & \ldots \\ |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
164 |
b_1 & b_2 & \ldots \\ |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
165 |
\vdots & \vdots & \ddots |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
166 |
\end{array} \right) |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
167 |
\end{equation*} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
168 |
|
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
169 |
\begin{equation} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
170 |
\begin{matrix} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
171 |
1 & 2 \\ |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
172 |
3 & 4 |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
173 |
\end{matrix} \qquad \& \qquad |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
174 |
\begin{bmatrix} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
175 |
1 & 2 & 3 \\ |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
176 |
4 & 5 & 6 \\ |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
177 |
7 & 8 & 9 |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
178 |
\end{bmatrix} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
179 |
\end{equation} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
180 |
|
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
181 |
\section{Miscellaneous} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
182 |
\subsection{Presentations} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
183 |
\subsection{Including Code} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
184 |
\begin{lstlisting} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
185 |
string="Hello, World! " |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
186 |
for i in range(10): |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
187 |
print string*i |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
188 |
\end{lstlisting} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
189 |
\subsection{Including files} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
190 |
\input{final-include} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
191 |
|
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
192 |
\bibliography{final} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
193 |
|
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
194 |
\appendix |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
195 |
\section{Appendices - How to} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
196 |
\label{append} |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
197 |
Every Part, Chapter or Section that follows the \verb+\appendix+ command is included in the appendix. Appendices have auto numbering too. The numbering begins freshly in the appendices. |
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
198 |
|
27e1f5bd2774
Using test review as the test directory for testing sees.hook for the review app
amit@thunder
parents:
diff
changeset
|
199 |
\end{document} |