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?

What is ?
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
Instead, you can use the most commonly used math typesetting language, called
Our OpenLab page has a
(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
- Instructions for typing in
on the OpenLab can be found here. - The comprehensive
symbol list is here (the OpenLab does not support all of the packages, )
One thing to remember:
- 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.)
!
\documentclass{article}
\usepackage{amssymb} % for \lgwhtsquare
\usepackage{amsmath}
\begin{math} Let be a square with side length .\
Let triangle be an isosceles triangle with two angles measuring .
\end{math}
\begin{math}
Let be a square with side length .\
Let triangle ABC 45^\circ$.
\end{math}
\begin{math}
Let ABCD s$.\
Let triangle ABC 45^\circ$.
\end{math}
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.
\documentclass{article}
\usepackage{amssymb} % for \lgwhtsquare
\usepackage{amsmath} % for align environments
\begin{document}
Let be a square with side length .\
Let be an isosceles triangle with two angles measuring .
\end{document}
\documentclass{article}
\usepackage{amsmath}
\begin{document}
Triangle is congruent to triangle .
\end{document}
\documentclass{article}
\begin{document}
\section{Examples of Mathematical Formulas}
Indefinite integral formula: .
Definite integral formula: .
Matrix: \(\begin{pmatrix}
1&2&3\
4&5&6\
7&8&9
\end{pmatrix}\).
Limit formula: .
\end{document}
\documentclass{article}
\begin{document}
\section{Examples of Mathematical Formulas}
\(\begin{pmatrix}
1&2&3\
4&5&6\
7&8&9
\documentclass{article}
\usepackage{amsmath}
\begin{document}
Triangle is congruent to triangle :
\[
\triangle ABC \cong \triangle DEF
\]
\end{document}
\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}
\end{document}
looks like this in Overleaf:
\documentclass{article}
\usepackage{graphicx} % Required for inserting images
\title{homework}
\author{Momana Sheikh}
\date{April 2025}
\begin{document}
\maketitle
\section{Latex}
\end{document}
\documentclass{article}
\usepackage{graphicx} % Required for inserting images
\title{homework}
\author{Momana Sheikh}
\date{April 2025}
\begin{document}
\maketitle
\section{Latex}
\end{document}
\documentclass{article}
\usepackage{graphicx} % Required for inserting images
\title{homework}
\author{Momana Sheikh}
\date{April 2025}
\begin{document}
\maketitle
\section{Latex}
\end{document}
Hey! You got it!