Professor Kate Poirier | D800 | Spring 2025

OpenLab assignment: typesetting math using LaTeX

Due with Homework #5, Wednesday, April 2

For this assignment, you will submit a comment on this post.

Have you ever wondered how mathematicians type beautiful math like this?

abf(x)dxi=1nf(xi)Δx.

What is LATEX?

Throughout the semester, you’re sometimes asked to submit 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 , and .

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…like Geogebra textboxes. You 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 gorgeous things that look like this:


u=36tetdt
=(3et6tet)dt
=3et6(tetet)+C

=9et6tet+C.

(For the first line, for example, I typed $u=\int\frac{3-6t}{e^{-t}}dt$.)

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. Since this is a Geometry class, include a few geometry symbols like or ◻ or or . 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. Keep submitting comments until you get your code to compile.

  • Instructions for typing in LATEX on the OpenLab can be found here.
  • The comprehensive LATEX symbol list is here (the OpenLab does not support all of the packages, )

One thing to remember:

  1. Enclose your mathematical expression in dollar signs. (The instructions linked above use \begin{math} and \end{math} instead of dollar signs, this doesn’t work anymore, so use dollar signs like in the example above.)

21 Comments

  1. Rachel J Dawidowicz

    !

    \documentclass{article}

    \usepackage{amssymb} % for \lgwhtsquare

    \usepackage{amsmath}

    \begin{math} Let \lgwhtsquareABCD be a square with side length s.\

    Let triangle ABC be an isosceles triangle with two angles measuring 45.

    \end{math}

    • Rachel J Dawidowicz

      \begin{math}

      Let \lgwhtsquareABCD be a square with side length s.\

      Let triangle ABCbeanisoscelestrianglewithtwoanglesmeasuring45^\circ$.

      \end{math}

      • Rachel J Dawidowicz

        \begin{math}

        Let \enclosesquareABCDbeasquarewithsidelengths$.\

        Let triangle ABCbeanisoscelestrianglewithtwoanglesmeasuring45^\circ$.

        \end{math}

        • Kate Poirier

          Hey Rachel, nice attempts!

          I’ve just updated the instructions, which were indeed out of date. Now, we just need to enclose our LaTeX code in dollar signs; the \begin{math} (and corresponding \end command) doesn’t work anymore.

        • Rachel J Dawidowicz

          \documentclass{article}

          \usepackage{amssymb} % for \lgwhtsquare

          \usepackage{amsmath} % for align environments

          \begin{document}

          Let \lgwhtsquareABCD be a square with side length s.\

          Let ABC be an isosceles triangle with two angles measuring 45.

          \end{document}

  2. Kate Poirier

    ex+x2

    • Kate Poirier

      Unknown environment 'math'

  3. Sherly Gonzalez

    \documentclass{article}

    \usepackage{amsmath}

    \begin{document}

    Triangle ABC is congruent to triangle RST.

    \end{document}

  4. Z.J.

    \documentclass{article}

    \begin{document}

    \section{Examples of Mathematical Formulas}

    Indefinite integral formula: x2lnx dx.

    Definite integral formula: 01(3x2+2x+1) dx.

    Matrix: \(\begin{pmatrix}

    1&2&3\

    4&5&6\

    7&8&9

    \end{pmatrix}\).

    Limit formula: limx0sinxx=1.

    \end{document}

    • Z.J.

      \documentclass{article}

      \begin{document}

      \section{Examples of Mathematical Formulas}

      x2lnx dx.

      01(3x2+2x+1) dx.

      \(\begin{pmatrix}

      1&2&3\

      4&5&6\

      7&8&9

      limx0sinxx=1.

  5. Alpha Barry

    ABC+BCA+CAB=180

  6. Taspia Jannat

    \documentclass{article}

    \usepackage{amsmath}

    \begin{document}

    Triangle ABC is congruent to triangle DEF:

    \[

    \triangle ABC \cong \triangle DEF

    \]

    \end{document}

  7. gele

    A+\B=180

  8. MS

    \documentclass{article}

    \usepackage{graphicx} % Required for inserting images

    \title{homework}

    \author{Momana Sheikh}

    \date{April 2025}

    \begin{document}

    \maketitle

    \section{Typing something here in Latex bcz I’m not sure how 2do it on OpenLab}

    Unknown environment 'math',

     u=0(88vx)ewxdwx.

     

    \end{document}

    looks like this in Overleaf:

  9. gele

    A+B=180

  10. MS

    \documentclass{article}

    \usepackage{graphicx} % Required for inserting images

    \title{homework}

    \author{Momana Sheikh}

    \date{April 2025}

    \begin{document}

    \maketitle

    \section{Latex}

    Unknown environment 'math'

    \end{document}

  11. MS

    \documentclass{article}

    \usepackage{graphicx} % Required for inserting images

    \title{homework}

    \author{Momana Sheikh}

    \date{April 2025}

    \begin{document}

    \maketitle

    \section{Latex}

    Unknown environment 'math'

    \end{document}

  12. MS

    \documentclass{article}

    \usepackage{graphicx} % Required for inserting images

    \title{homework}

    \author{Momana Sheikh}

    \date{April 2025}

    \begin{document}

    \maketitle

    \section{Latex}

    Unknown environment 'math'

    \end{document}

  13. MS

    u=90+25x2exdx

  14. Taspia Jannat

    ABCDEF

Leave a Reply

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


© 2025 MAT 3050 Geometry

Theme by Anders NorenUp ↑