Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- commands = {
- it = '\\textit{$1} ';
- bf = '\\textbf{$1} ';
- tt = '\\texttt{$1} ';
- sf = '\\textsf{$1} ';
- sc = '\\textsc{$1} ';
- em = '\\emph{$1} ';
- fc = '\\footcite{$1} ';
- fn = '\\footnote{$1} ';
- cli = '\\lstinline{$1} ';
- ds = '\\displaystyle';
- displaystyle = '\\displaystyle';
- sec = '\\section{$1}';
- sub = '\\subsection{$1}';
- ssub = '\\subsubsection{$1}';
- cha = '\\chapter{$1}';
- par = '\\part{$1}';
- dc = '\\documentclass{${1:article}}';
- nc = '\\newcommand{$1}{$2}';
- rnc = '\\renewcommand{$1}{$2}';
- fr = '\\frac{${1:num}}{$0}';
- frac = '\\frac{${1:num}}{$0}';
- l = '\\lim_{$1} $0';
- lim = '\\lim_{$1} $0';
- s = '\\sum_\{${1:bot}\}^{$2} $0';
- sum = '\\sum_\{${1:bot}\}^{$2} $0';
- p = "\\prod_\{${1:bot}\}^{$2} $0";
- prod = "\\prod_\{${1:bot}\}^{$2} $0";
- put = "\\put(${1:0},${2:0}){$0}";
- mp = "\\multiput(${1:0},${2:0})(${3:5},${4:0}){${5:2}}{$0}";
- mput = "\\multiput(${1:0},${2:0})(${3:5},${4:0}){${5:2}}{$0}";
- multiput = "\\multiput(${1:0},${2:0})(${3:5},${4:0}){${5:2}}{$0}";
- line = "\\line(${1:0},${2:0}){${3:0}}{$0}";
- cir = "\\circle${1:[*]}{$0}";
- circle = "\\circle${1:[*]}{$0}";
- };
- commands_beamer = {
- un = "\\uncover<${1:+-}>{$2} ";
- uncover = "\\uncover<${1:+-}>{$2} ";
- o = "\\only<${1:+-}>{$2} ";
- only = "\\only<${1:+-}>{$2} ";
- };
- environments = {
- itemize = {
- triggers = ( 'it', 'item', 'itemize');
- content = '\\item ';
- };
- enumerate = {
- triggers = ( 'en', 'enum', 'enumerate');
- content = '\\item ';
- };
- description = {
- triggers = ( 'desc', 'description');
- content = '\\item[$1] $2';
- };
- document = {
- triggers = ( doc, document );
- };
- equation = {
- triggers = ( eq, eqn, equation );
- };
- eqnarray = {
- triggers = ( eqa, equation );
- };
- theorem = {
- triggers = ( thm, theorem );
- zero_line = "\\label{thm:$1}";
- };
- lemma = {
- triggers = ( lem, lemma );
- zero_line = "\\label{lem:$1}";
- };
- corollary = {
- triggers = ( cor, corollary );
- zero_line = "\\label{cor:$1}";
- };
- proposition = {
- triggers = ( pro, proposition );
- zero_line = "\\label{pro:$1}";
- };
- definition = {
- triggers = ( def, definition );
- zero_line = "\\label{def:$1}";
- };
- proof = {
- triggers = ( pf, proof );
- zero_line = "${1:\\label{pf:$2\\}}";
- };
- questions = {
- triggers = ( q, que, questions );
- content = "\\question ";
- };
- parts = {
- triggers = ( p, par, parts );
- content = "\\part ";
- };
- lstlisting = {
- triggers = ( lst, lstlisting);
- zero_line = "[caption=${1:cap},label=lst:${2:lab},float=htbp]";
- };
- figure = {
- triggers = ( fig, figure);
- zero_line = "[${1:htbp}]";
- content = " \\begin{center}
- \\includegraphics[scale=${2:1}]{${3:file}}
- \\end{center}
- \\caption{${4:caption}}
- \\label{fig:${5:label}}";
- };
- picture = {
- triggers = ( pic, picture);
- zero_line = "(${1:100},${2:100})${3:(${4:0},${5:0})}";
- };
- table = {
- triggers = ( tbl, table);
- content = "
- \\begin{center}
- \\begin{tabular}{${3:c}}
- ${4}
- \\end{tabular}
- \\end{center}
- \\caption{${1:caption}}
- \\label{${2:label}}"
- ;
- };
- };
- environments_beamer = {
- itemize = {
- triggers = ( 'it', 'item', 'itemize');
- content = '\\item<${1:+-}> $2';
- };
- enumerate = {
- triggers = ( 'en', 'enum', 'enumerate');
- content = '\\item<${1:+-}> $2';
- };
- description = {
- triggers = ( 'desc', 'description');
- content = '\\item<${1:+-}>[$2] $3';
- };
- frame = {
- triggers = ( fr, frame);
- zero_line = "[${1:t}]\\frametitle{${2:title}}";
- };
- columns = {
- triggers = ( cols, columns);
- content = "\\begin{column}{${1:0.${2:5}\\textwidth}}
- $3
- \\end{column}";
- };
- column = {
- triggers = ( col, column);
- zero_line = "{${1:0.${2:5}\\textwidth}}";
- };
- block = {
- triggers = ( bl, block);
- zero_line = "{$1}";
- };
- };
- }
Add Comment
Please, Sign In to add comment