Appendix 6 - \(\LaTeX\) & Markdown #

Like the kink? #

\(\LaTeX\) , pronounced Lay-Tech, is a document writing and formatting ’language’ that acts pretty different from MS Word. It’s primarily used for writing fancy math equations, academic, journal, or conference papers, as such, you might have to use it at some point to conform to one standard or another (like IEEE).

As an example of what \(\LaTeX\) formatting looks like, check this equation out:

x = a_0 + \cfrac{1}{a_1+ \cfrac{1}{a_2 + \cfrac{1}{a_3 + \cfrac{1}{a_4} } } }
\(x = a_0 + \cfrac{1}{a_1+ \cfrac{1}{a_2 + \cfrac{1}{a_3 + \cfrac{1}{a_4} } } }\)

Of course, it can both be much simpler and much more complex than this. On the simple side, basic \(\LaTeX\) supports just writing a paragraph with no special symbols or commands, just basic text, and this will be rendered normally. On the ‘middling’ side, you’ll see \(\LaTeX\) figures, tables, and citations, which allow you to do things like easily make a figure add \label{fig:my_thing}to it, then reference in the text with code like \ref{fig:my_thing}, making it so if you add a figure later you don’t have to go back and increment all following figure references by one. The syntax can get a bit brutal, though, so using tools like and detexify can be a lifesaver. There’s also (or pix2tex (GitHub) if you have the skill to set it up) Related, normcap is pretty useful too

You’ll probably end up googling how to do most things in \(\LaTeX\) , find that a lot of things don’t really sit where you want them to (“Why is this figure in the wrong spot?”), and end up using a lot of packages to write it. Frustratingly, most of the desktop \(\LaTeX\) clients suck, so it seems most people just use Overleaf now, which does have a free tier, but is a paid web-app. Fortunately, it actually works incredibly well and has very nice Google-docs like multi-user features.

While writing can be hard, it’s worth doing it right: I particularly like using annotated equations (or like this) and using margin notes though it’s likely that neither would be accepted in all academic contexts. Generally, just keep in mind, your goal is to convey as much information as clearly as you can in as few words as possible.

You’ll likely use Bibtex for citing sources in your document, fortunately, a lot of papers have built in Bibtex citations you can download and import and your sources document. Litmaps(1) is an awesome tool for building up research on a topic, exploring related tools, and exporting bibtex sources as well - though it is probably only free while in early access.

You may also want to check out if you’re more interested in the research side, and one of the links listed for each paper does still usually have the bibtex available.

Keep in mind if you need the full text of a paper, Sci-Hub is an option

Markdown? #

Markdown is what most of this website is written in, though there are various additional features this site uses that are not part of the common markdown standard. In general, markdown is just a stupid fast way to spit out formatted text that can still be interpreted as plain text. If you’re thinking “Formatted Plain text? What the fuck?” Yeah, that’s a valid response. Let me show you:

This is a title #

here are some words.

This word is bold.

italics too.

  • here’s a list
  • item two

here’s a separator line

  • here’s a task list
  • with an item checked

heading #

if foo:
    do bar()

smaller heading #

Quote block

This is a link.

# This is a title

here are some words.
This **word** is bold.
*italics* too.

* here's a list
* item two

here's a separator line


- [ ] here's a task list
- [x] with an item checked

## heading

if foo:
    do bar()

### smaller heading

> Quote block

This is a [link](

As you can see, it’s pretty simple to read and write. With a markdown render, it will look pretty and formatted like it does on this page, but if you have to view it as raw, plain text, it’s still totally human-readable, and syntax highlighting for Markdown is common.

Some things in Markdown are a bit less obvious though, for example, images and tables:

This is a Table
1 2 3
4 5 6
7 8 9

this description helps for blind people

| This | is a | Table |
| ---- | ---- | ----- |
| 1    | 2    | 3     |
| 4    | 5    | 6     |
| 7    | 8    | 9     |

![this description helps for blind people](/box.png)

Weirder yet, a lot of Markdown supports mixed in HTML, CSS, and sometimes \(\LaTeX\) , although support for all of these is not always available. When this is available though, it’s a pretty awesome way to make custom document templates and hammer out shareable HTML pages with embedded YouTube videos or Tweets, or make a PDF with a HTML header or other elements (letting you do things like centering, custom text sizes, etc. which markdown doesn’t normally support) while still hammering out the body in pure text, which is super fast to type.

You’ll find a lot of the web actually supports markdown input, including GitHub, Reddit, Disquis forums, a lot of chat clients, etc. Unfortunately, the extent to which they support the more advanced features varies.

For writing Markdown, I generally use Typora, which is not FOSS. It’s listed as ‘Free during beta’ but it’s been in beta for a very long time now, and I suspect the old builds would still work even if it does go paid, so I’m comfortable recommending it.

This page really is just to inform you of the existence of Markdown and \(\LaTeX\) , though honestly I’m not sure how you could have gotten this far without writing a on GitHub. Regardless, the internet really does have a lot of good sources on both.

For S&Gs, check out this StackExchange question: “How do I make my document look like it was written by a Cthulhu-worshipping madman?

If you would like to practice with at least one flavor of Markdown (with Hugo ‘Shortcodes’, \(\LaTeX\) , HTML, CSS, and more baked in poorly), feel free to find a page in need of love on this website and submit a pull request on GitHub.

If you would like to support my development of OpGuides, please consider supporting me on GitHub Sponsors or dropping me some spare change on Venmo @vegadeftwing - every little bit helps ❤️