Skip to content

Instantly share code, notes, and snippets.

@rocarvaj
Created April 27, 2012 19:05
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rocarvaj/2511917 to your computer and use it in GitHub Desktop.
Save rocarvaj/2511917 to your computer and use it in GitHub Desktop.
LaTeX tricks (or stuff I forget)
% A website
@misc{exoplanetwebsite,
Author = {Jean Schneider},
Title = {The Extrasolar Planets Encyclopaedia},
howpublished = {\url{http://exoplanet.eu/catalog.php}}
}
%% Numbered equations inside brackets
$$\left\{x\in \rr^n\,:\,\begin{minipage}{0.5\linewidth}
\begin{equation}
a^2 + b^2 = c^2
\end{equation}
\begin{equation}
a^3 + b^3 = c^3
\end{equation}
\end{minipage}\right\}$$
%% Multiple subscripts
\[\sum_{\substack{a\\ b}}\]
%% Highlight
\usepackage{color}
\usepackage{soul}
\hl{This is important}
%% Landscape
\usepackage{lscape}
%With
\begin{landscape}
This is landscape
\end{landscape}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment