74 lines
2.6 KiB
Markdown
74 lines
2.6 KiB
Markdown
# LaTeX
|
|
|
|
LaTex is an extremely high quality document creator and type-setting software and programming language. You can produce sophisticated ``articles``, ``reports``, ``books``, ``letters``, and ``slides`` this way for presentation of information to the scientific community.
|
|
|
|
Make sure to read the README.md file upon installation also found [here](https://www.tug.org/mactex/READ_ME_FIRST.pdf).
|
|
|
|
You can learn more at[ learnlatex.org. ](https://www.learnlatex.org/en/lesson-05) Or watch this [amazing youtube video]([https://youtu.be/DOtM1mrWjUo](https://youtu.be/DOtM1mrWjUo)) preparing math notes in LaTeX using vim and terminal!
|
|
|
|
---
|
|
## Some really great extra features
|
|
- it is possible to create/write books and publish them directly to github with BookDown
|
|
- the example is able to view [here](https://xiangyunhuang.github.io/ElegantBookdown/).
|
|
- the git repo is [here](https://github.com/ElegantLaTeX/ElegantBook/blob/6ab10beda81252f0b478e05fa926199301347e4a/elegantbook.cls#L884)
|
|
- for elegantPaper instead of Book, the repo is [here](https://github.com/ElegantLaTeX/ElegantPaper/releases)
|
|
- your ElegantBook latex project is [here](https://www.overleaf.com/project/63923bb753a90a7b78bb2f09)
|
|
- all the available "elegant" projects are [here](https://github.com/ElegantLaTeX/)
|
|
|
|
For a ``letter`` for instance, a document class will look like this:
|
|
|
|
```
|
|
\documentclass{letter}
|
|
\usepackage[T1]{fontenc}
|
|
\begin{document}
|
|
|
|
\begin{letter}{Some Address\\Some Street\\Some City}
|
|
|
|
\opening{Dear Sir or Madam,}
|
|
|
|
This is an example of a highly sophisticated & educated correspondence.
|
|
|
|
\closing{Yours,}
|
|
|
|
\end{letter}
|
|
|
|
\end{document}
|
|
```
|
|
|
|
|
|
In another example, we may see an ``article`` document may be written:
|
|
|
|
```
|
|
\documentclass{article} % Change the class here
|
|
\usepackage[T1]{fontenc}
|
|
|
|
\begin{document}
|
|
|
|
\section{Introduction}
|
|
|
|
This is a sample document with some dummy
|
|
text\footnote{and a footnote}. This paragraph is quite
|
|
long as we might want to see the effect of making the
|
|
document have two columns.
|
|
|
|
\end{document}
|
|
```
|
|
|
|
---
|
|
|
|
### LaTeX Presentations
|
|
|
|
- some examples and templates can be found [here](atextemplates.com/template/beamer-presentation)
|
|
- They are very clean and academic-looking
|
|
- How to create your own LaTeX Presentation!
|
|
- follow [this](https://texblog.org/2008/01/21/create-your-slides-presentations-with-latex/) tutorial to get started :)
|
|
|
|
We start by defining the document-class
|
|
|
|
```
|
|
\documentclass[landscape]{slides}
|
|
```
|
|
|
|
But you may be better off editing a document simply through [Overleaf](https://www.overleaf.com/project/6306feb35a99fd317a79ec3a) as well.
|
|
|
|
![[Pasted image 20220825004820.png]] |