add lisp packages

This commit is contained in:
2020-12-05 21:29:49 +01:00
parent 85e20365ae
commit a6e2395755
7272 changed files with 1363243 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: acronym
# key: ac
# --
\newacronym{${1:label}}{${1:$(upcase yas-text)}}{${2:Name}}

View File

@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# name: alertblock
# key: al
# --
\begin{alertblock}{$2}
$0
\end{alertblock}

View File

@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# name: alg
# key: alg
# --
\begin{algorithmic}
$0
\end{algorithmic}

View File

@@ -0,0 +1,8 @@
# -*- mode: snippet -*-
# name: align
# key: ali
# --
\begin{align}
\label{$0}
$1
\end{align}

View File

@@ -0,0 +1,11 @@
# -*- mode: snippet -*-
# name: full template of article class
# key: article
# --
\documentclass[${1:options}]{article}
\author{$3}
\begin{document}
$0
\end{document}

View File

@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# name: begin
# key: begin
# --
\begin{${1:environment}}
$0
\end{$1}

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: bigcap
# key: bigcap
# --
\bigcap${1:\limits}_{$2}^{$3}$0

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: bigcup
# key: bigcup
# --
\bigcup${1:\limits}_{$2}^{$3}$0

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: binom
# key: binom
# --
\binom{${1:n}}{${2:k}}$0

View File

@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# name: block
# key: bl
# --
\begin{block}{$1}
$0
\end{block}

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: Gls
# key: G
# --
\Gls{${1:label}}

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: caption
# key: ca
# --
\caption{$0}

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: cite
# key: c
# --
\cite{$1} $0

View File

@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# name: code
# key: code
# --
\begin{lstlisting}
$0
\end{lstlisting}

View File

@@ -0,0 +1,13 @@
# -*- mode: snippet -*-
# name: columns
# key: cols
# --
\begin{columns}
\begin{column}{.${1:5}\textwidth}
$0
\end{column}
\begin{column}{.${2:5}\textwidth}
\end{column}
\end{columns}

View File

@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# name: description
# key: desc
# --
\begin{description}
\item[$1] $0
\end{description}

View File

@@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# name: documentclass
# key: doc
# --
\documentclass[${1:options}]{$2}
$0

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: emph
# key: e
# --
\emph{$1}$0

View File

@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# name: enumerate
# key: enum
# --
\begin{enumerate}
\item $0
\end{enumerate}

View File

@@ -0,0 +1,8 @@
# -*- mode: snippet -*-
# name: equation
# key: eq
# --
\begin{equation}
\label{$0}
$1
\end{equation}

View File

@@ -0,0 +1,9 @@
# -*- mode: snippet -*-
# name: figure
# key: fig
# --
\begin{figure}[ht]
\centering
\includegraphics[${1:options}]{figures/${2:path.pdf}}
\caption{\label{fig:${3:label}} $0}
\end{figure}

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: frac
# key: frac
# --
\frac{${1:numerator}}{${2:denominator}}$0

View File

@@ -0,0 +1,8 @@
# -*- mode: snippet -*-
# name: frame
# key: fr
# --
\begin{frame}${1:[$2]}
${3:\frametitle{$4}}
$0
\end{frame}

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: German quotes
# key: gqq
# --
\glqq{}$0\grqq{}

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: German single quotes
# key: gq
# --
\glq{}$0\grq{}

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: gls
# key: g
# --
\gls{${1:label}}

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: glspl
# key: gp
# --
\glspl{${1:label}}

View File

@@ -0,0 +1,8 @@
# -*- mode: snippet -*-
# name: if
# key: if
# --
\IF {$${1:cond}$}
$0
\ELSE
\ENDIF

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: includegraphics
# key: ig
# --
\includegraphics${1:[$2]}{$0}

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: int
# key: int
# --
\int_{$1}^{$2}$0

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: item
# key: -
# --
\item $0

View File

@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# name: itemize
# key: it
# --
\begin{itemize}
\item $0
\end{itemize}

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: label
# key: lab
# --
\label{$0}

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: labelcref
# key: lref
# --
\labelcref{$0}

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: left and right
# key: lr
# --
\left( $0 \right)

View File

@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# name: listing
# key: lst
# --
\begin{lstlisting}[float,label=lst:${1:label},caption=nextHopInfo: ${2:caption}]
$0
\end{lstlisting}

View File

@@ -0,0 +1,15 @@
# -*- mode: snippet -*-
# name: full template of moderncv class
# key: moderncv
# --
\documentclass[${1:options}]{moderncv}
\firstname{$3}
\familyname{$4}
\moderncvstyle{${5:casual}}
\moderncvcolor{${6:blue}}
\begin{document}
$0
\end{document}

View File

@@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# name: moderncv-cvcomputer
# key: cvcomp
# --
\cvcomputer{${1:category}}{${2:programs}}{${3:category}}{${3:programs}}
$0

View File

@@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# name: moderncv-cventry
# key: cventry
# --
\cventry{${1:year}}{${2:job}}{${3:employer}}{${4:city}}{${5:description}}
$0

View File

@@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# name: moderncv-cvlanguage
# key: cvlang
# --
\cvlanguage{${1:language}}{${2:skill-level}}{${3:comment}}
$0

View File

@@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# name: moderncv-cvline
# key: cvline
# --
\cvline{${1:hobby}}{${2:Description}}
$0

View File

@@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# name: moderncv-cvlistdoubleitem
# key: cvditem
# --
\cvlistdoubleitem{${1:item}}{${2:item}}
$0

View File

@@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# name: moderncv-cvlistitem
# key: cvitem
# --
\cvlistitem{${1:item}}
$0

View File

@@ -0,0 +1,15 @@
# -*- mode: snippet -*-
# name: movie
# key: movie
# --
\begin{center}
\includemovie[
label=test,
controls=false,
text={\includegraphics[width=4in]{${1:image.pdf}}}
]{4in}{4in}{${2:video file}}
\movieref[rate=3]{test}{Play Fast}
\movieref[rate=1]{test}{Play Normal Speed}
\movieref[rate=0.2]{test}{Play Slow}
\movieref[resume]{test}{Pause/Resume}

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: newcommand
# key: cmd
# --
\newcommand{\\${1:name}}${2:[${3:0}]}{$0}

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: newglossaryentry
# key: gl
# --
\newglossaryentry{${1:AC}}{name=${2:Andrea Crotti}${3:, description=${4:description}}}

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: note
# key: no
# --
\note{$0}

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: prod
# key: prod
# --
\prod_{$1}^{$2}$0

View File

@@ -0,0 +1,8 @@
# -*- mode: snippet -*-
# name: python
# key: py
# --
\lstset{language=python}
\begin[language=python]{lstlisting}
$0
\end{lstlisting}

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: question
# key: q
# --
\question{$0}

View File

@@ -0,0 +1,8 @@
# -*- mode: snippet -*-
# name: section
# key: sec
# --
\section{${1:name}}
\label{sec:${2:label}}
$0

View File

@@ -0,0 +1,8 @@
# -*- mode: snippet -*-
# name: subf
# key: sf
# --
\subfigure[${1:caption}]{
\label{fig:${2:label}}
\includegraphics[width=.${3:3}\textwidth]{${4:path}}}
$0

View File

@@ -0,0 +1,13 @@
# -*- mode: snippet -*-
# name: subfigure
# key: subfig
# --
\begin{figure}[ht]
\centering
\subfigure[$1]
{\label{fig:${2:label}}
\includegraphics[width=.${3:5}\textwidth]{${4:path}}}
\caption{${5:caption}}
\label{fig:${6:label}}
\end{figure}

View File

@@ -0,0 +1,8 @@
# -*- mode: snippet -*-
# name: subsec
# key: sub
# --
\subsection{${1:name}}
\label{subsec:${2:label}}
$0

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: sum
# key: sum
# --
\sum_{$1}^{$2}$0

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: textbf
# key: b
# --
\textbf{$1}$0

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: usepackage
# key: pkg
# --
\usepackage{$0}