LaTeX Mathematical Symbol Examples & Cheatsheet (Markdown)

|

Basic Arithmetic Operations & Notations

[<> \leq \geq \neq]

$$<> \leq \geq \neq$$

[\times \div \pm \mp]

$$\times \div \pm \mp$$
[\frac{\sqrt{abc}}{\sqrt[3]{xyz}}\cdot\max(x)\times y \div{|\bar{x}|}\approx\theta \cup \alpha \cap \beta \oplus \lambda]
$$\frac{\sqrt{abc}}{\sqrt[3]{xyz}}+\max(x)\times
|y|\div{\|\bar{x}\|}}\approx\theta \cup \alpha \cap
\beta \oplus \lambda$$

[\pi, \chi, \epsilon, \eta, \gamma,\phi, \psi]

$$\pi, \chi, \epsilon, \eta, \gamma, \phi, \psi$$

[\rho, \sigma, \Phi, \Psi, \delta, \Delta, \tau]

$$\rho, \sigma, \Phi, \Psi, \delta, \Delta, \tau$$

[\hat{x}, \widehat{abc}, \overrightarrow{xyz}]

$$\hat{x}, \widehat{abc}, \overrightarrow{xyz}$$

Parentheses

[\Biggl(\biggl(\Bigl(\bigl((x)\bigr)\Bigr)\biggr)\Biggr)]

$$\Biggl(\biggl(\Bigl(\bigl((x)\bigr)\Bigr)\biggr)\Biggr)$$

[[ ] { }]

$$[ ] \{ \}$$

Subs & Sups

[x_i^2, \log_2 x, x_{i^2}, 10^{10}]

$$x_i^2, \log_2 x, x_{i^2}, 10^{10}$$

[{x^y}^z,x^{y^z}]

$${x^y}^z, x^{y^z}$$

Function names

[\sin(x), \tan(x), \arctan(y), \Pr(Y<=y_i), \ln(2), \log_2(8)]

$$\sin(x), \tan(x), \arctan(y), \Pr(Y<=y_i), \ln(2), \log_2(8)$$

Limits, derivatives & integrals

[\frac{d}{dx}f(x) = f’(x)]

$$\frac{d}{dx}f(x) = f'(x)$$

[\lim_{\Delta{x}\to0}\frac{f(x+\Delta{x})-f(x)}{\Delta{x}} = \frac{d}{dx}f(x)]

$$\lim_{\Delta{x}\to0}\frac{f(x+\Delta{x})-f(x)}
{\Delta{x}} = \frac{d}{dx}f(x)$$

[\int_a^b\int_\infty^{-\infty}f(x,y)dxdy]

$$\int_a^b\int_\infty^{-\infty}f(x,y)dxdy$$

[\iiint_{D}f(x,y,z)dxdydz]

$$\iiint_{D}f(x,y,z)dxdydz$$

[\frac{\partial}{\partial{x}}f(x,y)]

$$\frac{\partial}{\partial{x}}f(x,y)$$

Sets

[\cup \cap \setminus \subset \subseteq \subsetneq \supset \in \notin \emptyset \varnothing]

$$\cup \cap \setminus \subset \subseteq \subsetneq
\supset \in \notin \emptyset \varnothing$$

[{n+1 \choose 2k}]

$${n+1 \choose 2k}$$

Sums & prods

[f(x) = \sum_{i=0}^n x^{i} + \prod_{i=0}^n x^{i}]

$$f(x) = \sum_{i=0}^n x^{i} + \prod_{i=0}^n x^{i}$$

Matrix & vectors

[\left( \begin{array}{cc} 2\vec{\tau} & 7\phi-\frac{5}{12} \3\psi & \frac{\pi}8 \end{array} \right)]

$$\left( \begin{array}{cc} 2\vec{\tau} & 7\phi-\frac{5}{12}
\\3\psi & \frac{\pi}8 \end{array} \right)$$

[\left[ \begin{array}{lcr} \mbox{First number} & x & 8
\mbox{Second number} & y & 15
\mbox{Sum} & x + y & 23
\mbox{Difference} & x - y & -7
\mbox{Product} & xy & 120 \end{array}\right]]

$$\left[ \begin{array}{lcr}
\mbox{First number} & x & 8 \\
\mbox{Second number} & y & 15 \\
\mbox{Sum} & x + y & 23 \\
\mbox{Difference} & x - y & -7 \\
\mbox{Product} & xy & 120 \end{array}\right] $$

All the examples from the above are summarized from the following resources:

Here is a useful online markdown & LaTeX editor.

Online math geometry graphing tool from math10.com.

Introducing Lanyon

|

Lanyon is an unassuming Jekyll theme that places content first by tucking away navigation in a hidden drawer. It’s based on Poole, the Jekyll butler.

Built on Poole

Poole is the Jekyll Butler, serving as an upstanding and effective foundation for Jekyll themes by @mdo. Poole, and every theme built on it (like Lanyon here) includes the following:

  • Complete Jekyll setup included (layouts, config, 404, RSS feed, posts, and example page)
  • Mobile friendly design and development
  • Easily scalable text and component sizing with rem units in the CSS
  • Support for a wide gamut of HTML elements
  • Related posts (time-based, because Jekyll) below each post
  • Syntax highlighting, courtesy Pygments (the Python-based code snippet highlighter)

Lanyon features

In addition to the features of Poole, Lanyon adds the following:

  • Toggleable sliding sidebar (built with only CSS) via link in top corner
  • Sidebar includes support for textual modules and a dynamically generated navigation with active link support
  • Two orientations for content and sidebar, default (left sidebar) and reverse (right sidebar), available via <body> classes
  • Eight optional color schemes, available via <body> classes

Head to the readme to learn more.

Browser support

Lanyon is by preference a forward-thinking project. In addition to the latest versions of Chrome, Safari (mobile and desktop), and Firefox, it is only compatible with Internet Explorer 9 and above.

Download

Lanyon is developed on and hosted with GitHub. Head to the GitHub repository for downloads, bug reports, and features requests.

Thanks!

Example content

|
Howdy! This is an example blog post that shows several types of HTML content supported in this theme.

Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Sed posuere consectetur est at lobortis. Cras mattis consectetur purus sit amet fermentum.

Curabitur blandit tempus porttitor. Nullam quis risus eget urna mollis ornare vel eu leo. Nullam id dolor id nibh ultricies vehicula ut id elit.

Etiam porta sem malesuada magna mollis euismod. Cras mattis consectetur purus sit amet fermentum. Aenean lacinia bibendum nulla sed consectetur.

Inline HTML elements

HTML defines a long list of available inline tags, a complete list of which can be found on the Mozilla Developer Network.

  • To bold text, use <strong>.
  • To italicize text, use <em>.
  • Abbreviations, like HTML should use <abbr>, with an optional title attribute for the full phrase.
  • Citations, like — Mark otto, should use <cite>.
  • Deleted text should use <del> and inserted text should use <ins>.
  • Superscript text uses <sup> and subscript text uses <sub>.

Most of these elements are styled by browsers with few modifications on our part.

Heading

Vivamus sagittis lacus vel augue rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.

Code

Cum sociis natoque penatibus et magnis dis code element montes, nascetur ridiculus mus.

// Example can be run directly in your JavaScript console

// Create a function that takes two arguments and returns the sum of those arguments
var adder = new Function("a", "b", "return a + b");

// Call the function
adder(2, 6);
// > 8

Aenean lacinia bibendum nulla sed consectetur. Etiam porta sem malesuada magna mollis euismod. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa.

Lists

Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Aenean lacinia bibendum nulla sed consectetur. Etiam porta sem malesuada magna mollis euismod. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.

  • Praesent commodo cursus magna, vel scelerisque nisl consectetur et.
  • Donec id elit non mi porta gravida at eget metus.
  • Nulla vitae elit libero, a pharetra augue.

Donec ullamcorper nulla non metus auctor fringilla. Nulla vitae elit libero, a pharetra augue.

  1. Vestibulum id ligula porta felis euismod semper.
  2. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.
  3. Maecenas sed diam eget risus varius blandit sit amet non magna.

Cras mattis consectetur purus sit amet fermentum. Sed posuere consectetur est at lobortis.

HyperText Markup Language (HTML)
The language used to describe and define the content of a Web page
Cascading Style Sheets (CSS)
Used to describe the appearance of Web content
JavaScript (JS)
The programming language used to build advanced Web sites and applications

Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Nullam quis risus eget urna mollis ornare vel eu leo.

Tables

Aenean lacinia bibendum nulla sed consectetur. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Name Upvotes Downvotes
Totals 21 23
Alice 10 11
Bob 4 3
Charlie 7 9

Nullam id dolor id nibh ultricies vehicula ut id elit. Sed posuere consectetur est at lobortis. Nullam quis risus eget urna mollis ornare vel eu leo.


Want to see something else added? Open an issue.

What's Jekyll?

|

Jekyll is a static site generator, an open-source tool for creating simple yet powerful websites of all shapes and sizes. From the project’s readme:

Jekyll is a simple, blog aware, static site generator. It takes a template directory […] and spits out a complete, static website suitable for serving with Apache or your favorite web server. This is also the engine behind GitHub Pages, which you can use to host your project’s page or blog right here from GitHub.

It’s an immensely useful tool and one we encourage you to use here with Lanyon.

Find out more by visiting the project on GitHub.