summaryrefslogtreecommitdiffhomepage
path: root/latex.html.markdown
diff options
context:
space:
mode:
Diffstat (limited to 'latex.html.markdown')
-rw-r--r--latex.html.markdown6
1 files changed, 6 insertions, 0 deletions
diff --git a/latex.html.markdown b/latex.html.markdown
index e180e622..31231a70 100644
--- a/latex.html.markdown
+++ b/latex.html.markdown
@@ -6,6 +6,8 @@ contributors:
- ["Sricharan Chiruvolu", "http://sricharan.xyz"]
filename: learn-latex.tex
---
+
+```tex
% All comment lines start with %
% There are no multi-line comments
@@ -104,6 +106,9 @@ Here's how you state all y that belong to X, $\forall$ x $\in$ X. \\
% However, the math symbols only exist in math-mode.
% We can enter math-mode from text mode with the $ signs.
% The opposite also holds true. Variable can also be rendered in math-mode.
+% We can also enter math mode with \[\]
+
+\[a^2 + b^2 = c^2 \]
My favorite Greek letter is $\xi$. I also like $\beta$, $\gamma$ and $\sigma$.
I haven't found a Greek letter that yet that LaTeX doesn't know about!
@@ -225,6 +230,7 @@ That's all for now!
% end the document
\end{document}
```
+
## More on LaTeX
* The amazing LaTeX wikibook: [https://en.wikibooks.org/wiki/LaTeX](https://en.wikibooks.org/wiki/LaTeX)