sahwar

example3.tex

Sep 16th, 2014
358
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.34 KB | None | 0 0
  1. \begin{document}
  2. \documentclass[a4paper,10pt]{article}
  3. \usepackage{amsmath,amsthm,amssymb}
  4. \usepackage{mathtext}
  5.  
  6. \usepackage[T1,T2A]{fontenc}
  7. \usepackage[utf8]{inputenc}
  8. \usepackage[english]{babel}
  9.  
  10. \usepackage{graphicx}
  11. \usepackage[colorinlistoftodos]{todonotes}
  12. \usepackage{lmodern}
  13.  
  14. \title{Text.}
  15.  
  16. \author{sahwar}
  17.  
  18. \date{\today}, v1.0
  19.  
  20. \begin{document}
  21. \maketitle
  22.  
  23. \begin{abstract}
  24. Text.
  25. \end{abstract}
  26.  
  27. \tableofcontents
  28.  
  29. \section{Text.}
  30.  
  31. Your 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.
  32.  
  33. \section{Some \LaTeX{} Examples}
  34. \label{sec:examples}
  35.  
  36. \subsection{Text.}
  37.  
  38. Comments can be added to the margins of the document using the \todo{Here's a comment in the margin!} todo command, as shown in the example on the right. You can also add inline comments:
  39.  
  40. \todo[inline, color=green!40]{This is an inline comment.}
  41.  
  42. \subsection{How to Include Figures}
  43.  
  44. First you have to upload the image file (JPEG, PNG or PDF) from your computer to writeLaTeX 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:cosmology1} in this section for an example.
  45.  
  46. \begin{figure}
  47. \centering
  48. \includegraphics[width=0.3\textwidth]{cosmology1}
  49. \caption{\label{fig:cosmology1}This image was uploaded to writeLaTeX via the project menu.}
  50. \end{figure}
  51.  
  52. \subsection{Text.}
  53.  
  54. Use the table and tabular commands for basic tables --- see Table~\ref{tab:widgets}, for example.
  55.  
  56. \begin{table}
  57. \centering
  58. \begin{tabular}{l|r}
  59. Item & Quantity \\\hline
  60. Widgets & 42 \\
  61. Gadgets & 13
  62. \end{tabular}
  63. \caption{\label{tab:widgets}An example table.}
  64. \end{table}
  65.  
  66. \subsection{The 5 types of beings in the Universe according to (sahwar's) syntheso-integrativism}
  67.  
  68. \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
  69. $$S_n = \frac{X_1 + X_2 + \cdots + X_n}{n}
  70. = \frac{1}{n}\sum_{i}^{n} X_i$$
  71. denote 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)$.
  72.  
  73. \subsection{How to Make Sections and Subsections}
  74.  
  75. Use section and subsection commands to organize your document. \LaTeX{} handles all the formatting and numbering automatically. Use ref and label commands for cross-references.
  76.  
  77. \subsection{How to Make Lists}
  78.  
  79. You can make lists with automatic numbering \dots
  80.  
  81. \begin{enumerate}
  82. \item Like this,
  83. \item and like this.
  84. \end{enumerate}
  85. \dots or bullet points \dots
  86. \begin{itemize}
  87. \item Like this,
  88. \item and like this.
  89. \end{itemize}
  90. \dots or with words and descriptions \dots
  91. \begin{description}
  92. \item[Word] Definition
  93. \item[Concept] Explanation
  94. \item[Idea] Text
  95. \end{description}
  96.  
  97. We hope you find write\LaTeX\ useful, and please let us know if you have any feedback using the help menu above.
  98.  
  99. \section{Text}
  100. Text.
  101.  
  102. \section{Text}
  103. Text.
  104.  
  105. \section{Text}
  106. Text.
  107.  
  108. \section{Text}
  109. Text.
  110.  
  111. \end{document}
Advertisement
Add Comment
Please, Sign In to add comment