You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
1.6 KiB
Markdown

8 years ago
# latex-helper package
Extra LaTeX functionality in Atom
Commands:
* (cmd-l ,) "latex-helper:mathify-comma-list"
Split a comma list, wrapping each element in $ $.
* (cmd-l m) "latex-helper:convert-to-display-math"
Wrap selected text in display math \[ \] tags,
removing all $ from the selection.
* (cmd-l a") "latex-helper:convert-to-abs"
Wrap selected text in a \abs{} tag, removing any |, \mid
commands from the selection. (Written for editing Beta.)
* (, ,): "latex-helper:insert-backslash-comma"
Inserts \, when user types ,,
Snippets:
* m -- \[ .. \]
* n -- $ .. $
* ba -- \begin{align} .. \end{align}
* bal -- \begin{aligned} .. \end{aligned}
* be -- \begin{equation} .. \end{equation}
* tabu -- Beta table template
* tikz -- \begin{tikzpicture} .. \end{tikzpicture}
* marginfigure -- \begin{marginfigure} .. \end{marginfigure}
* axis -- Std TikZ axis drawing commands
* theorem -- \begin{theorem} .. \end{theorem}
* remark -- \begin{remark} .. \end{remark}
* definition -- \begin{definition} .. \end{definition}
* figure -- \begin{figure} .. \end{figure}
* frac -- \frac{}{}
* sum -- \sum_{}^{}
* prod -- \prod_{}^{}
* matrix -- \begin{<b>matrix} .. \end{<b>matrix}
* binom -- \binom{}{}
* chap -- \chapter{}\label{chap:}
* s -- \section{}\label{sec:}
* ss -- \subsection{}\label{ssec:}
* partial -- \frac{\partial }{\partial }
* set -- \set{ \where }
* labelled -- \begin{labelled} \item[] \end{labelled}
* item -- \item[]
* node -- \node at () { $$ };
* big( -- \big( \big)
* Big( -- \Big( \Big)
* bigg( -- \bigg( \bigg)
* big[ -- \big[ \big]
* Big[ -- \Big[ \Big]
* bigg[ -- \bigg( \bigg]