Professor Kate Poirier | OL67 | Fall 2020

OpenLab assignment: typing math in LaTeX

Due Sunday, September 6, 11:59pm

What is \LaTeX?

Throughout the semester, you’ll be asked to submit complete written solutions in your own posts on the OpenLab. One way to do this is to upload a photo of work you wrote on paper and upload it as a picture to include in your post. You could also just type the work directly into your post. The regular keyboard can do a lot, but it won’t look that great and you’ll be missing useful math characters like \int and \frac{d}{dx}.

Instead, you can use the most commonly used math typesetting language, called \LaTeX (pronounced LAY-teck) right in your OpenLab posts. \LaTeX is a software system/markup language for typesetting math. It’s used widely to prepare research papers, technical reports, and other documents requiring mathematical symbols. A lot of you are planning on going into technical fields, and might find getting to know how to typeset math in \LaTeX to be useful. It takes a while to learn, but it’s waaaaaay better than Microsoft Word’s equation editor!

Our OpenLab page has a \latex plugin installed, so that’s why I can type beautiful things that look like this:

(1)   \begin{align*}u=& \int \frac{3-6t}{e^{-t}}dt \\=& \int \left(3e^t - 6te^t\right) dt \\=& 3e^t - 6(te^t-e^t)+C\\ =&9e^t -6te^t+C. \end{align*}

Instructions

For this assignment all you’re going to do is practice typing some \LaTeX code in the comments on this post. What you type doesn’t have to make any mathematical sense, just try to get it to compile some math symbols. Go ahead and play around and make a giant mess in these comments. If something doesn’t work at first, don’t worry just try again. 

Instructions for typing in \LaTeX on the OpenLab can be found here.

Two things to remember:

  1. Type [latexpage] at the top of your post/comment.
  2. Enclose your mathematical expression in dollar signs. (The instructions linked above use \begin{math} and \end{math} instead of dollar signs, but you can use either to enclose your expression.)

39 Comments

  1. Ryjll Morris

    \frac{1}{2}+\frac{1}{2}=1

  2. Sheyla Criollo

    \left( \frac{x^2 y^4} {y^2 x^5} \right)^5

  3. Carlos

    d’=d(t) -x^4

  4. Ariel Itshaik

    $ /sqrt x^2 $

    • Ariel Itshaik

      \begin{math} \sqrt{x/3} \end{math}

      • Kate Poirier

        Ariel, don’t forget to include [latexpage] in your comment; the code in your second attempt should compile if you do that.

        • Musharrat Chowdhury

          Professor is it possible to tell where is the plugin of LaTex . Should I do it in regular open-lab document .

  5. Brian Enriquez

    y=\int ce^{-\int p(x) dx}

  6. tshorma

    \begin{math} \frac{5x}{x} \end{math} = 5

  7. Shisir Rana

    \begin {math} \frac{x^2 y^2 z^3}{x y z} \end{math}

  8. julio dominguez

    \begin{math} x^{7} \frac{x^y } {23+12x} \end{math

  9. Sierra Morales

    \frac{x+1\sqrt{x}}{2}

  10. aron singh

    \frac{x+6}{x^4 + 9x}

  11. F.Gonzalez

    *** QuickLaTeX cannot compile formula:
    \frac{x+3}{x^3 + 3x
    
    *** Error message:
    File ended while scanning use of \frac .
    Emergency stop.
    
    
  12. Ariel Itshaik

    \sqrt{x/3}

  13. Jian Hui

    x+2/2

  14. Wilfrido V.

    \beging{math} x^3 \end{math}

  15. Wilfrido V.

    x^3

  16. Musharrat Chowdhury

    hi jui , can you tell me in OpenLab where is the plugin of Latex ?

  17. Omrit P

    (sqrt((x-2)))/(2)

  18. DennyC

    \frac{x^2}{\sqrt[2]{y+30}}=x^n

    • Dief

      Hey, did you get the app from openlab or from some other platform?

  19. Jason Zhu

    \left( \frac{x-4}{x+3} \right)^2

  20. Jason Zhu

    \left( \frac{x-4}{x-6} \right)

  21. Shisir Rana

    frac{x^2 +1}{x+1}

  22. Shisir Rana

    \frac{x^2 +1}{x+1}

  23. tfraser

    \sqrt{x^2+3^2}

  24. tfraser

    \sqrt{x^2+3^2}

  25. Jennifer Agudelo

    \sqrt{x+1}

  26. Jennifer Agudelo

    \sqrt{x+1}

  27. Musharrat Chowdhury

    x^2

  28. Oscar Pais

    \int_{0}^\infty x^2\,dx

    LaTeX Preview:
    http://www.tlhiv.org/ltxpreview/

Leave a Reply to Kate Poirier Cancel reply

Your email address will not be published. Required fields are marked *