Advertisement
Guest User

Untitled

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