mathsoftware

A course about LaTeX and SageMath
git clone https://git.tronto.net/mathsoftware
Download | Log | Files | Refs | README | LICENSE

1-Introduction.tex (3218B)


      1 \documentclass[11pt]{beamer}
      2 \usetheme{Madrid}
      3 \usepackage[utf8]{inputenc}
      4 \usepackage{amsmath}
      5 \usepackage{svg}
      6 
      7 \usepackage{tikz-cd}
      8 
      9 \author[\texttt{sebastiano.tronto@uni.lu}]{Sebastiano Tronto}
     10 \title{Mathematical Software - Introduction}
     11 \logo{\includegraphics[scale=0.1]{img/unilu.jpg}} 
     12 %\institute{University of Luxembourg} 
     13 
     14 \date{2021-02-19} 
     15 
     16 \begin{document}
     17 
     18 \begin{frame}
     19   \titlepage
     20 \end{frame}
     21 
     22 \begin{frame}
     23   \tableofcontents
     24 \end{frame}
     25 
     26 \section{What?}
     27 \begin{frame}{What}
     28   \begin{columns}
     29     \column{0.6\textwidth}
     30     \begin{itemize}
     31       \item {\bf Latex} for writing scientific text 
     32       \item {\bf Sage} for computations
     33     \end{itemize}
     34 
     35     \column{0.4\textwidth}
     36     \includegraphics[scale=0.1]{img/latex.png}
     37     \vspace{0.5cm}
     38 
     39     \includesvg[scale=0.215]{img/sage}
     40   \end{columns}
     41 \end{frame}
     42 
     43 \subsection{Latex}
     44 \begin{frame}{Latex}
     45   \includegraphics[scale=0.1]{img/latex.png}
     46   \begin{itemize}
     47     \item A typesetting system, has been around since the 1980s
     48     \item Currently the best way to write scientific texts (Math, Physics...)
     49     \item Can be used for lecture notes, homework, articles, books, graphics
     50           (with TikZ), this presentation...%, shopping list...
     51     \item ``What you get is what you \emph{mean}'', rather than what you
     52           \emph{see}
     53   \end{itemize}
     54 \end{frame}
     55 
     56 \begin{frame}[fragile]{Latex - Example}
     57   An equation like this:
     58   \begin{align*}
     59     e^x =& \sum_{n=0}^{\infty} \frac{x^n}{n!} \\
     60         =& 1 + x + \frac{x^2}{2} + \frac{x^3}{6} + \cdots
     61   \end{align*}
     62   is written in LaTeX as:
     63   \begin{verbatim}
     64     \begin{align*}
     65       e^x =& \sum_{n=0}^{\infty} \frac{x^n}{n!} \\
     66           =& 1 + x + \frac{x^2}{2} +
     67              \frac{x^3}{6} + \cdots
     68     \end{align*}
     69   \end{verbatim}
     70 \end{frame}
     71 
     72 \subsection{Sage}
     73 \begin{frame}{Sage}
     74   \includesvg[scale=0.215]{img/sage}
     75   \begin{itemize}
     76     \item Free and open source Mathematical software
     77     \item Basically python with a lot of Math libraries
     78     \item Builds up on existing software such a Pari/GP, NumPy, R...
     79     \item Popular for Computational Algebra (Number Theory, Cryptography...)
     80   \end{itemize}
     81 \end{frame}
     82 
     83 \section{When?}
     84 \begin{frame}{When}
     85   \begin{tabular}{r|c|c}
     86     %Date & Time & Topics \\
     87     %\hline
     88     February 19 & \texttt{14:00 - 17:30} & Introduction, LaTeX fundamentals  \\
     89     \hline
     90     March 12    & \texttt{14:00 - 17:30} & More advanced LaTeX topics        \\
     91     \hline
     92     March 26    & \texttt{14:00 - 17:30} & LaTeX: presentations, graphics    \\
     93     \hline
     94     April 2     & \texttt{14:00 - 17:30} & ??? (LaTeX or Sage)               \\
     95     \hline
     96     April 23    & \texttt{14:00 - 17:30} & Sage (???)                        \\
     97     \hline
     98     May 7       & \texttt{14:00 - {\bf 18:15}} & Sage (???)                  \\
     99     \hline
    100     May 21      & \texttt{14:00 - {\bf 18:15}} & Sage (???)
    101   \end{tabular}
    102 \end{frame}
    103 
    104 \section{How?}
    105 \begin{frame}{How}
    106   \begin{itemize}
    107     \item \textbf{Remote teaching} at least until April 2 included (probably
    108           always).
    109     \item \textbf{Learn by doing} graded homework (4-5 assignments), non-graded
    110           exercises, free practice. No final exam.
    111   \end{itemize}
    112 \end{frame}
    113 
    114 \end{document}
    115