Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
| Download
Project: math480-2016
Views: 3147\documentclass{beamer}1\usepackage{graphicx}2\usepackage{url}34\mode<presentation> {5\usetheme{Madrid}6}78\title[LaTeX day 1]{Using \LaTeX{} in SageMathCloud (day 1 of 3)}9\author{William Stein}10\institute[UW]{University of Washington}11\date{April 18, 2016}1213\begin{document}1415\begin{frame}16\titlepage17\end{frame}18192021\begin{frame}22\frametitle{Today's Plan}23\begin{block}{What we will do today}24\begin{enumerate}25\item Remind me to turn on the screencast; also, peer grading and new homework!26\item DDoS of SageMathCloud on Friday.27\item SageMathCloud \LaTeX{} Tutorial28\end{enumerate}29\end{block}30\end{frame}3132\begin{frame}[fragile]33\frametitle{Distributed Denial of Service Attack on Friday}34\begin{block}{DDoS}35\begin{enumerate}36\item Wordpress pingback attack. Wrecked our class. Wrecked my weekend.37\item Now SMC uses \url{https://www.cloudflare.com/}.38\end{enumerate}39\end{block}40\begin{center}41\includegraphics[width=.5\textwidth]{chart-NETWORK-542068901}42\end{center}43\end{frame}4445\begin{frame}46\frametitle{General Remarks about \LaTeX{}}47\begin{block}{\LaTeX{}...}48\begin{enumerate}49\item Create professional quality documents involving mathematics.50\item Completely open source and free. You can install it anywhere.51\item SageMathCloud is one (of many) ways to use it.52\end{enumerate}53\end{block}54\end{frame}5556\begin{frame}57\frametitle{\LaTeX{} Tutorial: first steps}58\begin{block}{Do the following}59\begin{enumerate}60\item Create a new blank latex document.61\item Edit it, changing the title and your name, and seeing the result to the right.62\item Find a random math-related wikipedia article, and copy/paste a paragraph of text into your document (this shouldn't work too well, but gives you some math to play with).63\item Try out forward and inverse search.64\item Make errors and see them listed under issues.65\item Download the PDF.66\item Click build, then latex to see the output.67\item Change preview zoom and resolution.68\end{enumerate}69\end{block}7071\end{frame}7273\begin{frame}[fragile]74\frametitle{\LaTeX{} Tutorial: next steps}75\begin{block}{Do the following}76\begin{enumerate}77\item In your document, type some formulas surrounded by dollar signs. Try each of the following and some variations on them:78\item \verb|$x^3$|79\item \verb|$\sin(x^\pi)$|80\item \verb|$e^{2\pi i}$|81\item \verb|$\frac{2}{3 + x}$|82\item \verb|$1 + 2 + \cdots + n$|83\item \verb|$\sum_{i=1}^{n} i$|84\item \verb|$\int_{0}^{\pi} \sin(x)$|85\item \verb|$\sqrt{x^3 + 2}$|86\end{enumerate}87\end{block}88\end{frame}899091\begin{frame}[fragile]92\frametitle{\LaTeX{} Tutorial: sagetex}93\begin{block}{Do the following}94\begin{enumerate}95\item Put \verb|\usepackage{sagetex}| in the {\bf preamble} of your96latex document. This means put it after \verb|\documentclass...| and before \verb|\begin{document}|.9798\item Try typing this formula in: \verb|$2018 = \sage{factor(2018)}$|.99100\item Once that works, try101some things from \url{http://mirrors.ibiblio.org/CTAN/macros/latex/contrib/sagetex/sagetexpackage.pdf}102103\item \verb|\sageplot[width=.7\textwidth]{plot(sin,0,1)}|104105\end{enumerate}106\end{block}107\end{frame}108109110\end{document}111112113114