CoCalc Public Filestmp / overleaf.tex
Author: William A. Stein
1\documentclass[a4paper]{article}
2
3\usepackage[english]{babel}
4\usepackage[utf8x]{inputenc}
5\usepackage{amsmath}
6\usepackage{graphicx}
7\usepackage[colorinlistoftodos]{todonotes}
8
10\author{You}
11
12\begin{document}
13\maketitle
14
15\begin{abstract}
17\end{abstract}
18
19\section{Introduction}
20
21xlkjsf
22
23asldkfjtrick
24
25Your introduction goes here! Some examples of commonly used commands and features are listed below, to help you get started. If you have a question, please use the help menu (?'') on the top bar to search for help or ask us a question.
26
27\section{Some examples to get started}
28
29Your introduction goes here! Some examples of commonly used commands and features are listed below, to help you get started. If you have a question, please use the help menu (?'') on the top bar to search for help or ask us a question.
30
31\subsection{How to include Figures}
32
33First you have to upload the image file from your computer using the upload link the project menu. Then use the includegraphics command to include it in your document. Use the figure environment and the caption command to add a number and a caption to your figure. See the code for Figure \ref{fig:frog} in this section for an example.
34
35\begin{figure}
36\centering
37\includegraphics[width=0.3\textwidth]{frog.png}
39\end{figure}
40
42
43\d kj Comments can be added to your project by clicking on the comment icon in the toolbar above. % * <[email protected]> 2016-07-03T09:54:16.211Z:
44%
45% Here's an example comment!
46%
47To reply to a comment, simply click the reply button in the lower right corner of the comment, and you can close them when you're done.
48
49Comments can also be added to the margins of the compiled PDF using the todo command, \todo{Here's a comment in the margin!} as shown in the example on the right. You can also add inline comments:
50
51\todo[inline, color=green!40]{This is an inline comment.}
52
54
55Use the table and tabular commands for basic tables --- see Table~\ref{tab:widgets}, for example.
56
57\begin{table}
58\centering
59\begin{tabular}{l|r}
60Item & Quantity \\\hline
61Widgets & 42 \\
63\end{tabular}
64\caption{\label{tab:widgets}An example table.}
65\end{table}
66
67\subsection{How to write Mathematics}
68
69\LaTeX{} is great at typesetting mathematics. Let $X_1, X_2, \ldots, X_n$ be a sequence of independent and identically distributed random variables with $\text{E}[X_i] = \mu$ and $\text{Var}[X_i] = \sigma^2 < \infty$, and let
70$S_n = \frac{X_1 + X_2 + \cdots + X_n}{n} 71 = \frac{1}{n}\sum_{i}^{n} X_i$
72denote their mean. Then as $n$ approaches infinity, the random variables $\sqrt{n}(S_n - \mu)$ converge in distribution to a normal $\mathcal{N}(0, \sigma^2)$.
73
74
75\subsection{How to create Sections and Subsections}
76
77Use section and subsections to organize your document. Simply use the section and subsection buttons in the toolbar to create them, and we'll handle all the formatting and numbering automatically.
78
80
81You can make lists with automatic numbering \dots
82
83\begin{enumerate}
84\item Like this,
85\item and like this.
86\end{enumerate}
87\dots or bullet points \dots
88\begin{itemize}
89\item Like this,
90\item and like this.
91\end{itemize}
92
93We hope you find Overleaf useful, and please let us know if you have any feedback using the help menu above.
94
95\end{document}