Matteo Cantiello edited untitled.tex  about 9 years ago

Commit id: bdbb1b6cda03b4d7a5ce6888fb0f8e477abafdd7

deletions | additions      

       

\textit{Oh, an empty article!} \section{What is \LaTeX?}  Authorea supports \LaTeX, a powerful typesetting program that renders beautiful math notation.  You can get started \section{Symbols (in \emph{math} mode)}  \subsection{The basics}  \begin{tabular}{lll}  \emph{description} & \emph{command} & \emph{output}\\  addition & \verb!+! & $+$\\  subtraction & \verb!-! & $-$\\  plus or minus & \verb!\pm! & $\pm$\\  multiplication (times) & \verb!\times! & $\times$\\  multiplication (dot) & \verb!\cdot! & $\cdot$\\  division symbol & \verb!\div! & $\div$\\  division (slash) & \verb!/! & $/$\\  circle plus & \verb!\oplus! & $\oplus$\\  circle times & \verb!\otimes! & $\otimes$\\  equal & \verb!=! & $=$\\  not equal & \verb!\ne! & $\ne$\\  less than & \verb!  greater than & \verb!>! & replace_contentgt;$\\  less than or equal to & \verb!\le! & $\le$\\  greater than or equal to & \verb!\ge! & $\ge$\\  approximately equal to & \verb!\approx! & $\approx$\\  infinity & \verb!\infty! & $\infty$\\  dots & \verb!1,2,3,\ldots! & $1,2,3,\ldots$\\  dots & \verb!1+2+3+\cdots! & $1+2+3+\cdots$\\  fraction & \verb!\frac{a}{b}! & $\frac{a}{b}$\\  square root & \verb!\sqrt{x}! & $\sqrt{x}$\\  $n$th root & \verb!\sqrt[n]{x}! & $\sqrt[n]{x}$\\  exponentiation & \verb!a^b! & $a^{b}$\\  subscript & \verb!a_b! & $a_{b}$\\  absolute value & \verb!|x|! & $|x|$\\  natural log & \verb!\ln(x)! & $\ln(x)$\\  logarithms & \verb!\log_{a}b! & $\log_{a}b$\\  exponential function & \verb!e^x=\exp(x)! & $e^{x}=\exp(x)$\\  degree & \verb!\deg(f)! & $\deg(f)$\\  \end{tabular}  \newpage  \subsection{Functions}  \begin{tabular}{lll}  \emph{description} & \emph{command} & \emph{output}\\  maps to & \verb!\to! & $\to$\\  composition& \verb!\circ! & $\circ$\\  piecewise& \verb!|x|=! & \multirow{5}{*}{$\displaystyle |x|=\begin{cases}x&x\ge 0\\-x&x<0\end{cases}$}\\  function&\verb!\begin{cases}!&\\   &\verb!x & x\ge 0\\!&\\   &\verb!-x & x<0!&\\   &\verb!\end{cases}!&  \end{tabular}  \subsection{Greek and Hebrew letters}  \begin{tabular}{llll}  \emph{command} & \emph{output}&\emph{command} & \emph{output}\\  \verb!\alpha! & $\alphareplace_content\verb!\tau! & $\tau$\\  \verb!\beta! & $\betareplace_content\verb!\theta! & $\theta$\\  \verb!\chi! & $\chireplace_content\verb!\upsilon! & $\upsilon$\\  \verb!\delta! & $\deltareplace_content\verb!\xi! & $\xi$\\  \verb!\epsilon! & $\epsilonreplace_content\verb!\zeta! & $\zeta$\\  \verb!\varepsilon! & $\varepsilonreplace_content\verb!\Delta! & $\Delta$\\  \verb!\eta! & $\etareplace_content\verb!\Gamma! & $\Gamma$\\  \verb!\gamma! & $\gammareplace_content\verb!\Lambda! & $\Lambda$\\  \verb!\iota! & $\iotareplace_content\verb!\Omega! & $\Omega$\\  \verb!\kappa! & $\kappareplace_content\verb!\Phi! & $\Phi$\\  \verb!\lambda! & $\lambdareplace_content\verb!\Pi! & $\Pi$\\  \verb!\mu! & $\mureplace_content\verb!\Psi! & $\Psi$\\  \verb!\nu! & $\nureplace_content\verb!\Sigma! & $\Sigma$\\  \verb!\omega! & $\omegareplace_content\verb!\Theta! & $\Theta$\\  \verb!\phi! & $\phireplace_content\verb!\Upsilon! & $\Upsilon$\\  \verb!\varphi! & $\varphireplace_content\verb!\Xi! & $\Xi$\\  \verb!\pi! & $\pireplace_content\verb!\aleph! & $\aleph$\\  \verb!\psi! & $\psireplace_content\verb!\beth! & $\beth$\\  \verb!\rho! & $\rhoreplace_content\verb!\daleth! & $\daleth$\\  \verb!\sigma! & $\sigmareplace_content\verb!\gimel! & $\gimel$  \end{tabular}  \subsection{Set theory}  \begin{tabular}{lll}  \emph{description} & \emph{command} & \emph{output}\\  set brackets & \verb!\{1,2,3\}! & $\{1,2,3\}$\\  element of & \verb!\in! & $\in$\\  not an element of & \verb!\not\in! & $\not\in$\\  subset of & \verb!\subset! & $\subset$\\  subset of & \verb!\subseteq! & $\subseteq$\\  not a subset of & \verb!\not\subset! & $\not\subset$\\  contains & \verb!\supset! & $\supset$\\  contains & \verb!\supseteq! & $\supseteq$\\  union & \verb!\cup! & $\cup$\\  intersection & \verb!\cap! & $\cap$\\  big union &   \verb!\bigcup_{n=1}^{10}A_n! &  $\displaystyle \bigcup_{n=1}^{10}A_{n}$\\  big intersection & \verb!\bigcap_{n=1}^{10}A_n! &$\displaystyle \bigcap_{n=1}^{10}A_{n}$\\  empty set & \verb!\emptyset! & $\emptyset$\\  power set & \verb!\mathcal{P}! & $\mathcal{P}$\\  minimum & \verb!\min! & $\min$\\  maximum & \verb!\max! & $\max$\\  supremum & \verb!\sup! & $\sup$\\  infimum & \verb!\inf! & $\inf$\\  limit superior & \verb!\limsup! & $\limsup$\\  limit inferior & \verb!\liminf! & $\liminf$\\  closure & \verb!\overline{A}! & $\overline{A}$  \end{tabular}  \subsection{Calculus}  \begin{tabular}{lll}  \emph{description} & \emph{command} & \emph{output}\\  derivative & \verb!\frac{df}{dx}! & $\displaystyle \frac{df}{dx}$\\  derivative & \verb!\f'! & $f'$\\  partial derivative &   \begin{tabular}{l}  \verb!\frac{\partial f}!\\ \verb!{\partial x}!   \end{tabular}& $\displaystyle \frac{\partial f}{\partial x}$\\  integral & \verb!\int! & $\displaystyle\int$\\  double integral & \verb!\iint! & $\displaystyle\iint$\\  triple integral & \verb!\iiint! & $\displaystyle\iiint$\\  limits & \verb!\lim_{x\to \infty}! & $\displaystyle \lim_{x\to \infty}$\\  summation &   \verb!\sum_{n=1}^{\infty}a_n! &  $\displaystyle \sum_{n=1}^{\infty}a_n$\\  product &   \verb!\prod_{n=1}^{\infty}a_n! &  $\displaystyle \prod_{n=1}^{\infty}a_n$  \end{tabular}  \subsection{Logic}  \begin{tabular}{lll}  \emph{description} & \emph{command} & \emph{output}\\  not & \verb!\sim! & $\sim$\\  and & \verb!\land! & $\land$\\  or & \verb!\lor! & $\lor$\\  if...then & \verb!\to! & $\to$\\  if and only if & \verb!\leftrightarrow! & $\leftrightarrow$\\  logical equivalence & \verb!\equiv! & $\equiv$\\  therefore & \verb!\therefore! & $\therefore$\\  there exists & \verb!\exists! & $\exists$\\  for all & \verb!\forall! & $\forall$\\  implies & \verb!\Rightarrow! & $\Rightarrow$\\  equivalent & \verb!\Leftrightarrow! & $\Leftrightarrow$  \end{tabular}  \subsection{Linear algebra}  \begin{tabular}{lll}  \emph{description} & \emph{command} & \emph{output}\\  vector & \verb!\vec{v}! & $\vec{v}$\\  vector & \verb!\mathbf{v}! & $\mathbf{v}$\\  norm & \verb!||\vec{v}||! & $||\vec{v}||$\\  matrix&  \begin{tabular}{l}  \verb!\left[!\\  \verb!\begin{array}{ccc}!\\  \verb!1 & 2 & 3 \\!\\  \verb!4 & 5 & 6\\!\\  \verb!7 & 8 & 0!\\  \verb!\end{array}!\\  \verb!\right]!\end{tabular}&  $\displaystyle \left[\begin{array}{ccc}1 & 2 & 3 \\4 & 5 & 6 \\7 & 8 & 0\end{array}\right]$\\  \\determinant&  \begin{tabular}{l}  \verb!\left|!\\  \verb!\begin{array}{ccc}!\\  \verb!1 & 2 & 3 \\!\\  \verb!4 & 5 & 6 \\!\\  \verb!7 & 8 & 0!\\  \verb!\end{array}!\\  \verb!\right|!  \end{tabular}&  $\displaystyle \left|\begin{array}{ccc}1 & 2 & 3 \\4 & 5 & 6 \\7 & 8 & 0\end{array}\right|$\\  determinant & \verb!\det(A)! & $ \det(A)$\\  trace & \verb!\operatorname{tr}(A)! & $\operatorname{tr}(A)$\\  dimension & \verb!\dim(V)! & $\dim(V)$\\  \end{tabular}  \subsection{Number theory}  \begin{tabular}{lll}  \emph{description} & \emph{command} & \emph{output}\\  divides & \verb!|! & $|$\\  does not divide & \verb!\not |! & $\not |$\\  div & \verb!\operatorname{div}! & $\operatorname{div}$\\  mod & \verb!\mod! & $\operatorname{mod}$\\  greatest common divisor & \verb!\gcd! & $\gcd$\\  ceiling & \verb!\lceil x \rceil! & $\lceil x\rceil$\\  floor & \verb!\lfloor x \rfloor! & $\lfloor x \rfloor$\\  \end{tabular}  \subsection{Geometry and trigonometry}  \begin{tabular}{lll}  \emph{description} & \emph{command} & \emph{output}\\  angle& \verb!\angle ABC! & $\angle ABC$\\  degree& \verb!90^{\circ}! & $90^{\circ}$\\  triangle& \verb!\triangle ABC! & $\triangle ABC$\\  segment& \verb!\overline{AB}! & $\overline{AB}$\\  sine& \verb!\sin! & $\sin$\\  cosine& \verb!\cos! & $\cos$\\  tangent& \verb!\tan! & $\tan$\\  cotangent& \verb!\cot! & $\cot$\\  secant& \verb!\sec! & $\sec$\\  cosecant& \verb!\csc! & $\csc$\\  inverse sine& \verb!\arcsin! & $\arcsin$\\  inverse cosine& \verb!\arccos! & $\arccos$\\  inverse tangent& \verb!\arctan! & $\arctan$\\  \end{tabular}  \section{Symbols (in \emph{text} mode)}  The followign symbols do \textbf{not} have to be surrounded  by \textbf{double clicking} this dollar signs.  \begin{tabular}{lll}  \emph{description} & \emph{command} & \emph{output}\\  dollar sign & \verb!\$! & \$ \\  percent & \verb!\%! & \% \\  ampersand & \verb!\&! & \& \\  pound & \verb!\#! & \# \\  backslash & \verb!\textbackslash! & \textbackslash \\  left quote marks & \verb!``! & `` \\  right quote marks & \verb!''! & '' \\  single left quote & \verb!`! & ` \\  single right quote & \verb!'! & ' \\  hyphen & \verb!X-ray! & X-ray\\  en-dash & \verb!pp. 5--15! & pp. 5--15 \\  em-dash & \verb!Yes---or no?! & Yes---or no?   \end{tabular}  \section{Math vs.  text block and begin editing. You can also click the \textbf{Insert} button below to add new block elements. Or you can \textbf{drag and drop vs. functions}  In properly typeset mathematics variables appear in italics (e.g., $f(x)=x^{2}+2x-3$). The exception to this rule is predefined functions (e.g., $\sin (x)$). Thus it is important to \textbf{always} treat text, variables, and functions correctly. See the difference between $x$ and x, -1 and $-1$, and $sin(x)$ and $\sin(x)$.   There are two ways to present a mathematical expression--- \emph{inline} or as  an image} right onto \emph{equation}.  \subsection{Inline mathematical expressions}  Inline expressions occur in the middle of a sentence. To produce an inline expression, place the math expression between dollar signs (\verb!$!). For example, typing \verb!$90^{\circ}$ is the same as $\frac{\pi}{2}$ radians! yields $90^{\circ}$ is the same as $\frac{\pi}{2}$ radians.  \subsection{Equations}  Equations are mathematical expressions that are given their own line and are centered on the page. These are usually used for important equations that deserve to be showcased on their own line or for large equations that cannot fit inline. To produce an inline expression, place the mathematical expression between the symbols \verb!\[! and \verb!\]!. Typing \verb!\[x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}\]! yields \[x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}.\]    \subsection{Displaystyle}   To get full-sized inline mathematical expressions use \verb!\displaystyle!. Use this sparingly. Typing \verb!I want this $\displaystyle \sum_{n=1}^{\infty}! \verb!\frac{1}{n}$, not this $\sum_{n=1}^{\infty}! \verb!\frac{1}{n}$.! yields\\ I want this $\displaystyle \sum_{n=1}^{\infty}\frac{1}{n}$, not  this text. Happy writing! $\sum_{n=1}^{\infty}\frac{1}{n}.$