Merge branch 'master' of https://gitea.typename.fr/mikael.capelle/unix-conf
This commit is contained in:
commit
e1ae2c8240
0
.emacs.d/snippets/latex-mode/.yas-make-groups
Normal file
0
.emacs.d/snippets/latex-mode/.yas-make-groups
Normal file
1
.emacs.d/snippets/latex-mode/.yas-parents
Normal file
1
.emacs.d/snippets/latex-mode/.yas-parents
Normal file
@ -0,0 +1 @@
|
|||||||
|
text-mode
|
9
.emacs.d/snippets/latex-mode/abstract.yasnippet
Normal file
9
.emacs.d/snippets/latex-mode/abstract.yasnippet
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# -*- mode: snippet -*-
|
||||||
|
# contributor : Mads D. Kristensen <madsdk@gmail.com>
|
||||||
|
# key : abs
|
||||||
|
# group: sections
|
||||||
|
# name : \abstract
|
||||||
|
# --
|
||||||
|
\begin{abstract}
|
||||||
|
$0
|
||||||
|
\end{abstract}
|
9
.emacs.d/snippets/latex-mode/align.yasnippet
Normal file
9
.emacs.d/snippets/latex-mode/align.yasnippet
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# -*- mode: snippet -*-
|
||||||
|
# contributor : Rasmus Borgsmidt <rasmus@borgsmidt.dk>
|
||||||
|
# key : align
|
||||||
|
# group: environments
|
||||||
|
# name : \begin{align} ... \end{align}
|
||||||
|
# --
|
||||||
|
\begin{align}
|
||||||
|
$0
|
||||||
|
\end{align}
|
9
.emacs.d/snippets/latex-mode/alignstar.yasnippet
Normal file
9
.emacs.d/snippets/latex-mode/alignstar.yasnippet
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# -*- mode: snippet -*-
|
||||||
|
# contributor : Rasmus Borgsmidt <rasmus@borgsmidt.dk>
|
||||||
|
# key : align*
|
||||||
|
# group: environments
|
||||||
|
# name : \begin{align*} ... \end{align*}
|
||||||
|
# --
|
||||||
|
\begin{align*}
|
||||||
|
$0
|
||||||
|
\end{align*}
|
9
.emacs.d/snippets/latex-mode/array.yasnippet
Normal file
9
.emacs.d/snippets/latex-mode/array.yasnippet
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# -*- mode: snippet -*-
|
||||||
|
# contributor : Peter Urbak <peter@dragonwasrobot.com>
|
||||||
|
# key : arr
|
||||||
|
# group: environments
|
||||||
|
# name : \begin{array} ... \end{array}
|
||||||
|
# --
|
||||||
|
\begin{array}{$1}
|
||||||
|
$0
|
||||||
|
\end{array}
|
28
.emacs.d/snippets/latex-mode/article.yasnippet
Normal file
28
.emacs.d/snippets/latex-mode/article.yasnippet
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
# -*- mode: snippet -*-
|
||||||
|
# contributor: Mads D. Kristensen <madsdk@gmail.com>
|
||||||
|
# contributor : Song Qiang <tsiangsung@gmail.com>
|
||||||
|
# key: article
|
||||||
|
# group: skeleton
|
||||||
|
# name: \documentclass{article} ...
|
||||||
|
# --
|
||||||
|
\documentclass[11pt]{article}
|
||||||
|
|
||||||
|
\usepackage{graphicx,amsmath,amssymb,subfigure,url,xspace}
|
||||||
|
\newcommand{\eg}{e.g.,\xspace}
|
||||||
|
\newcommand{\bigeg}{E.g.,\xspace}
|
||||||
|
\newcommand{\etal}{\textit{et~al.\xspace}}
|
||||||
|
\newcommand{\etc}{etc.\@\xspace}
|
||||||
|
\newcommand{\ie}{i.e.,\xspace}
|
||||||
|
\newcommand{\bigie}{I.e.,\xspace}
|
||||||
|
|
||||||
|
\title{${1:title}}
|
||||||
|
\author{${2:Author Name}}
|
||||||
|
|
||||||
|
\begin{document}
|
||||||
|
\maketitle
|
||||||
|
|
||||||
|
|
||||||
|
\bibliographystyle{${3:plain}}
|
||||||
|
\bibliography{${4:literature.bib}}
|
||||||
|
|
||||||
|
\end{document}
|
37
.emacs.d/snippets/latex-mode/beamer.yasnippet
Normal file
37
.emacs.d/snippets/latex-mode/beamer.yasnippet
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
# -*- mode: snippet -*-
|
||||||
|
# contributor: Claudio Marforio <marforio@gmail.com>
|
||||||
|
# key: beamer
|
||||||
|
# group: skeleton
|
||||||
|
# name: \documentclass{beamer} ...
|
||||||
|
# --
|
||||||
|
\documentclass[xcolor=dvipsnames]{beamer}
|
||||||
|
|
||||||
|
\usepackage{graphicx,subfigure,url}
|
||||||
|
|
||||||
|
% example themes
|
||||||
|
\usetheme{Frankfurt}
|
||||||
|
\usecolortheme{seahorse}
|
||||||
|
\usecolortheme{rose}
|
||||||
|
|
||||||
|
% put page numbers
|
||||||
|
% \setbeamertemplate{footline}[frame number]{}
|
||||||
|
% remove navigation symbols
|
||||||
|
% \setbeamertemplate{navigation symbols}{}
|
||||||
|
|
||||||
|
\title{${1:Presentation Title}}
|
||||||
|
\author{${2:Author Name}}
|
||||||
|
|
||||||
|
\begin{document}
|
||||||
|
|
||||||
|
\frame[plain]{\titlepage}
|
||||||
|
|
||||||
|
\begin{frame}[plain]{Outline}
|
||||||
|
\tableofcontents
|
||||||
|
\end{frame}
|
||||||
|
|
||||||
|
\section{${3:Example Section}}
|
||||||
|
\begin{frame}{${4:Frame Title}}
|
||||||
|
|
||||||
|
\end{frame}
|
||||||
|
|
||||||
|
\end{document}
|
10
.emacs.d/snippets/latex-mode/begin.yasnippet
Normal file
10
.emacs.d/snippets/latex-mode/begin.yasnippet
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# -*- mode: snippet -*-
|
||||||
|
# contributor: Mads D. Kristensen <madsdk@gmail.com>
|
||||||
|
# contributor : Bjorn Reese <breese@users.sourceforge.net>
|
||||||
|
# key: begin
|
||||||
|
# group: environments
|
||||||
|
# name: \begin{environment} ... \end{environment}
|
||||||
|
# --
|
||||||
|
\begin{${1:$$(yas/choose-value (mapcar 'car (LaTeX-environment-list)))}}
|
||||||
|
$0
|
||||||
|
\end{$1}
|
8
.emacs.d/snippets/latex-mode/bib.yasnippet
Normal file
8
.emacs.d/snippets/latex-mode/bib.yasnippet
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
# -*- mode: snippet -*-
|
||||||
|
# contributor: Mads D. Kristensen <madsdk@gmail.com>
|
||||||
|
# key: bib
|
||||||
|
# group: misc
|
||||||
|
# name: \bibliography
|
||||||
|
# --
|
||||||
|
\bibliographystyle{plain}
|
||||||
|
\bibliography{$1}$0
|
7
.emacs.d/snippets/latex-mode/big.yasnippet
Normal file
7
.emacs.d/snippets/latex-mode/big.yasnippet
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# -*- mode: snippet -*-
|
||||||
|
# contributor: Song Qiang <tsiangsung@gmail.com>
|
||||||
|
# key: big
|
||||||
|
# group: math
|
||||||
|
# name: \bigl( ... \bigr)
|
||||||
|
# --
|
||||||
|
\\${1:$$(yas/choose-value '("big" "Big" "bigg" "Bigg"))}l( $0 \\$1r)
|
7
.emacs.d/snippets/latex-mode/bigop.yasnippet
Normal file
7
.emacs.d/snippets/latex-mode/bigop.yasnippet
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# -*- mode: snippet -*-
|
||||||
|
# contributor: François Garillot <francois@garillot.net>
|
||||||
|
# key: bigop
|
||||||
|
# group: math
|
||||||
|
# name: \bigop_{n}^{}
|
||||||
|
# --
|
||||||
|
\\big${1:$$(yas/choose-value '("oplus" "otimes" "odot" "cup" "cap" "uplus" "sqcup" "vee" "wedge"))}_{$2}^{$3}$0
|
7
.emacs.d/snippets/latex-mode/binom.yasnippet
Normal file
7
.emacs.d/snippets/latex-mode/binom.yasnippet
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# -*- mode: snippet -*-
|
||||||
|
# contributor: Song Qiang <tsiangsung@gmail.com>
|
||||||
|
# key: binom
|
||||||
|
# group: math
|
||||||
|
# name: \binom{n}{k}
|
||||||
|
# --
|
||||||
|
\binom{${1:n}}{${2:k}}
|
9
.emacs.d/snippets/latex-mode/block.yasnippet
Normal file
9
.emacs.d/snippets/latex-mode/block.yasnippet
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# -*- mode: snippet -*-
|
||||||
|
# contributor: Claudio Marforio <marforio@gmail.com>
|
||||||
|
# key: block
|
||||||
|
# group: environments
|
||||||
|
# name : \begin{*block} ... \end{*block}
|
||||||
|
# --
|
||||||
|
\begin{${1:$$(yas/choose-value '("block" "exampleblock" "alertblock"))}}{${2:Block Title}}
|
||||||
|
|
||||||
|
\end{$1}
|
7
.emacs.d/snippets/latex-mode/bold.yasnippet
Normal file
7
.emacs.d/snippets/latex-mode/bold.yasnippet
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# -*- mode: snippet -*-
|
||||||
|
# contributor: Márcio M. Ribeiro <marcio.mr@gmail.com>
|
||||||
|
# key: bf
|
||||||
|
# group: font
|
||||||
|
# name: {\bf ... }
|
||||||
|
# --
|
||||||
|
{\bf $1}$0
|
9
.emacs.d/snippets/latex-mode/case.yasnippet
Normal file
9
.emacs.d/snippets/latex-mode/case.yasnippet
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# -*- mode: snippet -*-
|
||||||
|
# contributor: Mads D. Kristensen <madsdk@gmail.com>
|
||||||
|
# key: case
|
||||||
|
# group: math
|
||||||
|
# name: \begin{cases} ... \end{cases}
|
||||||
|
# --
|
||||||
|
\begin{cases}
|
||||||
|
$0 \\\\
|
||||||
|
\end{cases}
|
9
.emacs.d/snippets/latex-mode/cha.yasnippet
Normal file
9
.emacs.d/snippets/latex-mode/cha.yasnippet
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# -*- mode: snippet -*-
|
||||||
|
# contributor : Mads D. Kristensen <madsdk@gmail.com>
|
||||||
|
# key : cha
|
||||||
|
# group: sections
|
||||||
|
# name : \chapter
|
||||||
|
# --
|
||||||
|
\chapter{${1:name}}
|
||||||
|
\label{${2:"waiting for reftex-label call..."$(unless yas/modified-p (reftex-label nil 'dont-insert))}}
|
||||||
|
$0
|
8
.emacs.d/snippets/latex-mode/chastar.yasnippet
Normal file
8
.emacs.d/snippets/latex-mode/chastar.yasnippet
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
# -*- mode: snippet -*-
|
||||||
|
# contributor : Mads D. Kristensen <madsdk@gmail.com>
|
||||||
|
# key : cha*
|
||||||
|
# group: sections
|
||||||
|
# name : \chapter*
|
||||||
|
# --
|
||||||
|
\chapter*{${1:name}}
|
||||||
|
$0
|
7
.emacs.d/snippets/latex-mode/cite.yasnippet
Normal file
7
.emacs.d/snippets/latex-mode/cite.yasnippet
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# -*- mode: snippet -*-
|
||||||
|
# contributor : Marcio M. Ribeiro <marcio.mr@gmail.com>
|
||||||
|
# key: cite
|
||||||
|
# group: references
|
||||||
|
# name : \cite
|
||||||
|
# --
|
||||||
|
\cite{${1:label$(unless yas/modified-p (car (reftex-citation 't)))}}$0
|
7
.emacs.d/snippets/latex-mode/coprod.yasnippet
Normal file
7
.emacs.d/snippets/latex-mode/coprod.yasnippet
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# -*- mode: snippet -*-
|
||||||
|
# contributor: François Garillot <francois@garillot.net>
|
||||||
|
# key: coprod
|
||||||
|
# group: math
|
||||||
|
# name: \coprod_{n}^{}
|
||||||
|
# --
|
||||||
|
\coprod_{$1}^{$2}$0
|
9
.emacs.d/snippets/latex-mode/desc.yasnippet
Normal file
9
.emacs.d/snippets/latex-mode/desc.yasnippet
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# -*- mode: snippet -*-
|
||||||
|
# contributor : Mads D. Kristensen <madsdk@gmail.com>
|
||||||
|
# key : desc
|
||||||
|
# group: environments
|
||||||
|
# name : \begin{description} ... \end{description}
|
||||||
|
# --
|
||||||
|
\begin{description}
|
||||||
|
\item[${1:label}] $0
|
||||||
|
\end{description}
|
10
.emacs.d/snippets/latex-mode/doc.yasnippet
Normal file
10
.emacs.d/snippets/latex-mode/doc.yasnippet
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# -*- mode: snippet -*-
|
||||||
|
# contributor: Mads D. Kristensen <madsdk@gmail.com>
|
||||||
|
# key: doc
|
||||||
|
# name: \documentclass
|
||||||
|
# --
|
||||||
|
\documentclass[$2]{${1:$$(yas/choose-value '("article" "report" "book" "letter"))}}
|
||||||
|
|
||||||
|
\begin{document}
|
||||||
|
$0
|
||||||
|
\end{document}
|
7
.emacs.d/snippets/latex-mode/em.yasnippet
Normal file
7
.emacs.d/snippets/latex-mode/em.yasnippet
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# -*- mode: snippet -*-
|
||||||
|
# contributor: Márcio M. Ribeiro <marcio.mr@gmail.com>
|
||||||
|
# key: em
|
||||||
|
# group: font
|
||||||
|
# name: {\em ...}
|
||||||
|
# --
|
||||||
|
{\em $1}$0
|
9
.emacs.d/snippets/latex-mode/enum.yasnippet
Normal file
9
.emacs.d/snippets/latex-mode/enum.yasnippet
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# -*- mode: snippet -*-
|
||||||
|
# contributor : Mads D. Kristensen <madsdk@gmail.com>
|
||||||
|
# key: enum
|
||||||
|
# group: environments
|
||||||
|
# name : \begin{enumerate} ... \end{enumerate}
|
||||||
|
# --
|
||||||
|
\begin{enumerate}
|
||||||
|
\item $0
|
||||||
|
\end{enumerate}
|
10
.emacs.d/snippets/latex-mode/eq.yasnippet
Normal file
10
.emacs.d/snippets/latex-mode/eq.yasnippet
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# -*- mode: snippet -*-
|
||||||
|
# contributor: Mads D. Kristensen <madsdk@gmail.com>
|
||||||
|
# key: eq
|
||||||
|
# group: math
|
||||||
|
# name: \begin{equation} ... \end{equation}
|
||||||
|
# --
|
||||||
|
\begin{equation}
|
||||||
|
\label{${1:"waiting for reftex-label call..."$(unless yas/modified-p (reftex-label nil 'dont-insert))}}
|
||||||
|
$0
|
||||||
|
\end{equation}
|
10
.emacs.d/snippets/latex-mode/eqs.yasnippet
Normal file
10
.emacs.d/snippets/latex-mode/eqs.yasnippet
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# -*- mode: snippet -*-
|
||||||
|
# contributor: Mads D. Kristensen <madsdk@gmail.com>
|
||||||
|
# key: eqs
|
||||||
|
# group: math
|
||||||
|
# name: \begin{align} ... \end{align}
|
||||||
|
# --
|
||||||
|
\begin{${1:$$(yas/choose-value '("align" "align*" "multline" "gather" "subequations"))}}
|
||||||
|
\label{${2:"waiting for reftex-label call..."$(unless yas/modified-p (reftex-label nil 'dont-insert))}}
|
||||||
|
$0
|
||||||
|
\end{$1}
|
12
.emacs.d/snippets/latex-mode/fig.yasnippet
Normal file
12
.emacs.d/snippets/latex-mode/fig.yasnippet
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# -*- mode: snippet -*-
|
||||||
|
# contributor : Mads D. Kristensen <madsdk@gmail.com>
|
||||||
|
# key : fig
|
||||||
|
# group: environments
|
||||||
|
# name : \begin{figure} ... \end{figure}
|
||||||
|
# --
|
||||||
|
\begin{figure}[htbp]
|
||||||
|
\centering
|
||||||
|
$0
|
||||||
|
\caption{${1:caption}}
|
||||||
|
\label{${2:"waiting for reftex-label call..."$(unless yas/modified-p (reftex-label nil 'dont-insert))}}
|
||||||
|
\end{figure}
|
7
.emacs.d/snippets/latex-mode/frac.yasnippet
Normal file
7
.emacs.d/snippets/latex-mode/frac.yasnippet
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# -*- mode: snippet -*-
|
||||||
|
# contributor: Song Qiang <tsiangsung@gmail.com>
|
||||||
|
# key: frac
|
||||||
|
# group: math
|
||||||
|
# name: \frac{numerator}{denominator}
|
||||||
|
# --
|
||||||
|
\frac{${1:numerator}}{${2:denominator}}$0
|
9
.emacs.d/snippets/latex-mode/frame.yasnippet
Normal file
9
.emacs.d/snippets/latex-mode/frame.yasnippet
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# -*- mode: snippet -*-
|
||||||
|
# contributor: Claudio Marforio <marforio@gmail.com>
|
||||||
|
# key: frame
|
||||||
|
# group: environments
|
||||||
|
# name : \begin{frame} ... \end{frame}
|
||||||
|
# --
|
||||||
|
\begin{frame}{${1:Frame Title}}
|
||||||
|
|
||||||
|
\end{frame}
|
8
.emacs.d/snippets/latex-mode/gls.yasnippet
Normal file
8
.emacs.d/snippets/latex-mode/gls.yasnippet
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
# -*- mode: snippet -*-
|
||||||
|
# contributor : Peter Urbak <peter@dragonwasrobot.com>
|
||||||
|
# key : newgls
|
||||||
|
# group: misc
|
||||||
|
# name : \newglossaryentry{...}{...}
|
||||||
|
# --
|
||||||
|
\newglossaryentry{$1}{name={$1},
|
||||||
|
description={$2.}}
|
6
.emacs.d/snippets/latex-mode/graphics.yasnippet
Normal file
6
.emacs.d/snippets/latex-mode/graphics.yasnippet
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
# -*- mode: snippet -*-
|
||||||
|
# contributor : Mads D. Kristensen <madsdk@gmail.com>
|
||||||
|
# key : graphics
|
||||||
|
# name : \includegraphics
|
||||||
|
# --
|
||||||
|
\includegraphics[width=${1:\linewidth}]{${2:file}}
|
6
.emacs.d/snippets/latex-mode/href.yasnippet
Normal file
6
.emacs.d/snippets/latex-mode/href.yasnippet
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
# -*- mode: snippet -*-
|
||||||
|
# key: href
|
||||||
|
# group: environments
|
||||||
|
# name: \href{url}{text}
|
||||||
|
# --
|
||||||
|
\href{${1:url}}{${2:text}}$0
|
7
.emacs.d/snippets/latex-mode/int.yasnippet
Normal file
7
.emacs.d/snippets/latex-mode/int.yasnippet
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# -*- mode: snippet -*-
|
||||||
|
# contributor: Song Qiang <tsiangsung@gmail.com>
|
||||||
|
# key: int
|
||||||
|
# group: math
|
||||||
|
# name: \int_{n}^{}
|
||||||
|
# --
|
||||||
|
\\${1:$$(yas/choose-value '("int" "oint" "iint" "iiint" "iiiint" "idotsint"))}{$2}^{$3}$0
|
7
.emacs.d/snippets/latex-mode/it.yasnippet
Normal file
7
.emacs.d/snippets/latex-mode/it.yasnippet
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# -*- mode: snippet -*-
|
||||||
|
# contributor: Mads D. Kristensen <madsdk@gmail.com>
|
||||||
|
# key: it
|
||||||
|
# group: environments
|
||||||
|
# name: \item
|
||||||
|
# --
|
||||||
|
\item $0
|
7
.emacs.d/snippets/latex-mode/itd.yasnippet
Normal file
7
.emacs.d/snippets/latex-mode/itd.yasnippet
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# -*- mode: snippet -*-
|
||||||
|
# contributor: Rasmus Borgsmidt <rasmus@borgsmidt.dk>
|
||||||
|
# key: itd
|
||||||
|
# group: environments
|
||||||
|
# name: \item[] (description)
|
||||||
|
# --
|
||||||
|
\item[${1:label}] $0
|
9
.emacs.d/snippets/latex-mode/item.yasnippet
Normal file
9
.emacs.d/snippets/latex-mode/item.yasnippet
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# -*- mode: snippet -*-
|
||||||
|
# contributor : Mads D. Kristensen <madsdk@gmail.com>
|
||||||
|
# key : item
|
||||||
|
# group: environments
|
||||||
|
# name : \begin{itemize} ... \end{itemize}
|
||||||
|
# --
|
||||||
|
\begin{itemize}
|
||||||
|
\item $0
|
||||||
|
\end{itemize}
|
7
.emacs.d/snippets/latex-mode/label.yasnippet
Normal file
7
.emacs.d/snippets/latex-mode/label.yasnippet
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
-*- mode: snippet -*-
|
||||||
|
# contributor : Márcio M. Ribeiro <marcio.mr@gmail.com>
|
||||||
|
# key: lab
|
||||||
|
# group: references
|
||||||
|
# name : \label
|
||||||
|
# --
|
||||||
|
\label{${1:label$(unless yas/modified-p (reftex-label nil 'dont-insert))}}$0
|
27
.emacs.d/snippets/latex-mode/letter.yasnippet
Normal file
27
.emacs.d/snippets/latex-mode/letter.yasnippet
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
# -*- mode: snippet -*-
|
||||||
|
# contributor: Mads D. Kristensen <madsdk@gmail.com>
|
||||||
|
# contributor : Song Qiang <tsiangsung@gmail.com>
|
||||||
|
# key: letter
|
||||||
|
# group: skeleton
|
||||||
|
# name: \documentclass{letter} ...
|
||||||
|
# --
|
||||||
|
\documentclass{letter}
|
||||||
|
\signature{${1:Foo Bar}}
|
||||||
|
\address{${2:Address line 1 \\\\
|
||||||
|
Address line 2 \\\\
|
||||||
|
Address line 3}}
|
||||||
|
\begin{document}
|
||||||
|
|
||||||
|
\begin{letter}
|
||||||
|
{${3:Recipient's address}}
|
||||||
|
|
||||||
|
\opening{Dear ${4:Sir}:}
|
||||||
|
|
||||||
|
$0
|
||||||
|
|
||||||
|
\closing{Yours Sincerely,}
|
||||||
|
|
||||||
|
\end{letter}
|
||||||
|
|
||||||
|
\end{document}
|
||||||
|
|
7
.emacs.d/snippets/latex-mode/lim.yasnippet
Normal file
7
.emacs.d/snippets/latex-mode/lim.yasnippet
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# -*- mode: snippet -*-
|
||||||
|
# contributor: François Garillot <francois@garillot.net>
|
||||||
|
# key: lim
|
||||||
|
# group: math
|
||||||
|
# name: \lim_{n}
|
||||||
|
# --
|
||||||
|
\lim_{$1}$0
|
9
.emacs.d/snippets/latex-mode/math.yasnippet
Normal file
9
.emacs.d/snippets/latex-mode/math.yasnippet
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# -*- mode: snippet -*-
|
||||||
|
# contributor: Song Qiang <tsiangsung@gmail.com>
|
||||||
|
# key: math
|
||||||
|
# group: math
|
||||||
|
# name: displaymath \[ ... \]
|
||||||
|
# --
|
||||||
|
\[
|
||||||
|
$1
|
||||||
|
\]
|
11
.emacs.d/snippets/latex-mode/matrix.yasnippet
Normal file
11
.emacs.d/snippets/latex-mode/matrix.yasnippet
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# -*- mode: snippet -*-
|
||||||
|
# contributor: Song Qiang <tsiangsung@gmail.com>
|
||||||
|
# key: matrix
|
||||||
|
# group: math
|
||||||
|
# name: \begin{matrix} ... \end{}
|
||||||
|
# --
|
||||||
|
\begin{${1:$$(yas/choose-value '("pmatrix" "bmatrix" "Bmatrix" "vmatrix" "Vmatrix" "smallmatrix"))}}
|
||||||
|
\label{${2:"waiting for reftex-label call..."$(unless yas/modified-p (reftex-label nil 'dont-insert))}}
|
||||||
|
$0
|
||||||
|
\end{$1}
|
||||||
|
|
9
.emacs.d/snippets/latex-mode/minipage.yasnippet
Normal file
9
.emacs.d/snippets/latex-mode/minipage.yasnippet
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# -*- mode: snippet -*-
|
||||||
|
# contributor: Mads D. Kristensen <madsdk@gmail.com>
|
||||||
|
# key: minipage
|
||||||
|
# group: environments
|
||||||
|
# name: \begin{minipage}[position][width] ... \end{minipage}
|
||||||
|
# --
|
||||||
|
\begin{minipage}[${1:htbp}]{${2:1.0}${3:\linewidth}}
|
||||||
|
$0
|
||||||
|
\end{minipage}
|
9
.emacs.d/snippets/latex-mode/par.yasnippet
Normal file
9
.emacs.d/snippets/latex-mode/par.yasnippet
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# -*- mode: snippet -*-
|
||||||
|
# contributor : Mads D. Kristensen <madsdk@gmail.com>
|
||||||
|
# key: par
|
||||||
|
# group: sections
|
||||||
|
# name : \paragraph
|
||||||
|
# --
|
||||||
|
\paragraph{${1:name}}
|
||||||
|
\label{${2:"waiting for reftex-label call..."$(unless yas/modified-p (reftex-label nil 'dont-insert))}}
|
||||||
|
$0
|
7
.emacs.d/snippets/latex-mode/prod.yasnippet
Normal file
7
.emacs.d/snippets/latex-mode/prod.yasnippet
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# -*- mode: snippet -*-
|
||||||
|
# contributor: François Garillot <francois@garillot.net>
|
||||||
|
# key: prod
|
||||||
|
# group: math
|
||||||
|
# name: \prod_{n}^{}
|
||||||
|
# --
|
||||||
|
\prod_{$1}^{$2}$0
|
7
.emacs.d/snippets/latex-mode/ref.yasnippet
Normal file
7
.emacs.d/snippets/latex-mode/ref.yasnippet
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
-*- mode: snippet -*-
|
||||||
|
# contributor : Márcio M. Ribeiro <marcio.mr@gmail.com>
|
||||||
|
# key: ref
|
||||||
|
# group: references
|
||||||
|
# name : \ref
|
||||||
|
# --
|
||||||
|
\ref{${1:label$(unless yas/modified-p (reftex-reference nil 'dont-insert))}}$0
|
7
.emacs.d/snippets/latex-mode/sc.yasnippet
Normal file
7
.emacs.d/snippets/latex-mode/sc.yasnippet
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# -*- mode: snippet -*-
|
||||||
|
# contributor: Rasmus Borgsmidt <rasmus@borgsmidt.dk>
|
||||||
|
# key: sc
|
||||||
|
# group: font
|
||||||
|
# name: {\sc ...}
|
||||||
|
# --
|
||||||
|
{\scshape $1}$0
|
9
.emacs.d/snippets/latex-mode/sec.yasnippet
Normal file
9
.emacs.d/snippets/latex-mode/sec.yasnippet
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# -*- mode: snippet -*-
|
||||||
|
# contributor : Mads D. Kristensen <madsdk@gmail.com>
|
||||||
|
# key : sec
|
||||||
|
# group: sections
|
||||||
|
# name : \section
|
||||||
|
# --
|
||||||
|
\section{${1:name}}
|
||||||
|
\label{${2:"waiting for reftex-label call..."$(unless yas/modified-p (reftex-label nil 'dont-insert))}}
|
||||||
|
$0
|
8
.emacs.d/snippets/latex-mode/secstar.yasnippet
Normal file
8
.emacs.d/snippets/latex-mode/secstar.yasnippet
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
# -*- mode: snippet -*-
|
||||||
|
# contributor : Mads D. Kristensen <madsdk@gmail.com>
|
||||||
|
# key : sec*
|
||||||
|
# group: sections
|
||||||
|
# name : \section*
|
||||||
|
# --
|
||||||
|
\section*{${1:name}}
|
||||||
|
$0
|
9
.emacs.d/snippets/latex-mode/ssub.yasnippet
Normal file
9
.emacs.d/snippets/latex-mode/ssub.yasnippet
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# -*- mode: snippet -*-
|
||||||
|
# contributor : Mads D. Kristensen <madsdk@gmail.com>
|
||||||
|
# key: ssub
|
||||||
|
# group: sections
|
||||||
|
# name : \subsubsection
|
||||||
|
# --
|
||||||
|
\subsubsection{${1:name}}
|
||||||
|
\label{${2:"waiting for reftex-label call..."$(unless yas/modified-p (reftex-label nil 'dont-insert))}}
|
||||||
|
$0
|
8
.emacs.d/snippets/latex-mode/ssubstar.yasnippet
Normal file
8
.emacs.d/snippets/latex-mode/ssubstar.yasnippet
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
# -*- mode: snippet -*-
|
||||||
|
# contributor : Mads D. Kristensen <madsdk@gmail.com>
|
||||||
|
# key: ssub*
|
||||||
|
# group: sections
|
||||||
|
# name : \subsubsection*
|
||||||
|
# --
|
||||||
|
\subsubsection*{${1:name}}
|
||||||
|
$0
|
9
.emacs.d/snippets/latex-mode/sub.yasnippet
Normal file
9
.emacs.d/snippets/latex-mode/sub.yasnippet
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# -*- mode: snippet -*-
|
||||||
|
# contributor : Mads D. Kristensen <madsdk@gmail.com>
|
||||||
|
# key: sub
|
||||||
|
# group: sections
|
||||||
|
# name : \subsection
|
||||||
|
# --
|
||||||
|
\subsection{${1:name}}
|
||||||
|
\label{${2:"waiting for reftex-label call..."$(unless yas/modified-p (reftex-label nil 'dont-insert))}}
|
||||||
|
$0
|
10
.emacs.d/snippets/latex-mode/subfig.yasnippet
Normal file
10
.emacs.d/snippets/latex-mode/subfig.yasnippet
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# -*- mode: snippet -*-
|
||||||
|
# contributor : Mads D. Kristensen <madsdk@gmail.com>
|
||||||
|
# key: subfig
|
||||||
|
# group: environments
|
||||||
|
# name : \subfigure
|
||||||
|
# --
|
||||||
|
\subfigure[${1:caption}]{
|
||||||
|
\label{${2:"waiting for reftex-label call..."$(unless yas/modified-p (reftex-label nil 'dont-insert))}}
|
||||||
|
$0
|
||||||
|
}
|
8
.emacs.d/snippets/latex-mode/substar.yasnippet
Normal file
8
.emacs.d/snippets/latex-mode/substar.yasnippet
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
# -*- mode: snippet -*-
|
||||||
|
# contributor : Mads D. Kristensen <madsdk@gmail.com>
|
||||||
|
# key: sub*
|
||||||
|
# group: sections
|
||||||
|
# name : \subsection*
|
||||||
|
# --
|
||||||
|
\subsection*{${1:name}}
|
||||||
|
$0
|
7
.emacs.d/snippets/latex-mode/sum.yasnippet
Normal file
7
.emacs.d/snippets/latex-mode/sum.yasnippet
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# -*- mode: snippet -*-
|
||||||
|
# contributor: Song Qiang <tsiangsung@gmail.com>
|
||||||
|
# key: sum
|
||||||
|
# group: math
|
||||||
|
# name: \sum_{n}^{}
|
||||||
|
# --
|
||||||
|
\sum_{$1}^{$2}$0
|
14
.emacs.d/snippets/latex-mode/table.yasnippet
Normal file
14
.emacs.d/snippets/latex-mode/table.yasnippet
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
# -*- mode: snippet -*-
|
||||||
|
# contributor : Mads D. Kristensen <madsdk@gmail.com>
|
||||||
|
# key: table
|
||||||
|
# group: environments
|
||||||
|
# name : \begin{table} ... \end{table}
|
||||||
|
# --
|
||||||
|
\begin{table}[htbp]
|
||||||
|
\centering
|
||||||
|
\begin{tabular}{${3:format}}
|
||||||
|
$0
|
||||||
|
\end{tabular}
|
||||||
|
\caption{${1:caption}}
|
||||||
|
\label{${2:"waiting for reftex-label call..."$(unless yas/modified-p (reftex-label nil 'dont-insert))}}
|
||||||
|
\end{table}
|
7
.emacs.d/snippets/latex-mode/tt.yasnippet
Normal file
7
.emacs.d/snippets/latex-mode/tt.yasnippet
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# -*- mode: snippet -*-
|
||||||
|
# contributor: Rasmus Borgsmidt <rasmus@borgsmidt.dk>
|
||||||
|
# key: tt
|
||||||
|
# group: font
|
||||||
|
# name: {\tt ...}
|
||||||
|
# --
|
||||||
|
{\tt $1}$0
|
7
.emacs.d/snippets/latex-mode/url.yasnippet
Normal file
7
.emacs.d/snippets/latex-mode/url.yasnippet
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# -*- mode: snippet -*-
|
||||||
|
# contributor: Mads D. Kristensen <madsdk@gmail.com>
|
||||||
|
# key: url
|
||||||
|
# group: environments
|
||||||
|
# name: \url
|
||||||
|
# --
|
||||||
|
\url{${1:$$(yas/choose-value '("http" "ftp"))}://${2:address}}$0
|
7
.emacs.d/snippets/latex-mode/use.yasnippet
Normal file
7
.emacs.d/snippets/latex-mode/use.yasnippet
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# -*- mode: snippet -*-
|
||||||
|
# contributor: Mads D. Kristensen <madsdk@gmail.com>
|
||||||
|
# key: use
|
||||||
|
# group: misc
|
||||||
|
# name: \usepackage
|
||||||
|
# --
|
||||||
|
\usepackage[$2]{$1}$0
|
11
.emacs.d/snippets/latex-mode/verb.yasnippet
Normal file
11
.emacs.d/snippets/latex-mode/verb.yasnippet
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# -*- mode: snippet -*-
|
||||||
|
# contributor: Mads D. Kristensen <madsdk@gmail.com>
|
||||||
|
# contributor : Bjorn Reese <breese@users.sourceforge.net>
|
||||||
|
# contributor : Song Qiang <tsiangsung@gmail.com>
|
||||||
|
# key: verb
|
||||||
|
# group: environments
|
||||||
|
# name: \begin{verbatim} ... \end{verbatim}
|
||||||
|
# --
|
||||||
|
\begin{verbatim}
|
||||||
|
$0
|
||||||
|
\end{verbatim}
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -6,6 +6,7 @@
|
|||||||
.emacs.d/elpa
|
.emacs.d/elpa
|
||||||
.emacs.d/projectile-bookmarks.eld
|
.emacs.d/projectile-bookmarks.eld
|
||||||
.emacs.d/eshell/
|
.emacs.d/eshell/
|
||||||
|
.emacs.d/transient/
|
||||||
|
|
||||||
# Mac file
|
# Mac file
|
||||||
**/.DS_Store
|
**/.DS_Store
|
||||||
|
@ -32,6 +32,10 @@ if test -e {$HOME}/Dev/python/libs
|
|||||||
set -xg PYTHONPATH "$HOME/Dev/python/libs:$PYTHONPATH"
|
set -xg PYTHONPATH "$HOME/Dev/python/libs:$PYTHONPATH"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if test -e /usr/local/bin
|
||||||
|
set -xg PATH $PATH /usr/local/bin
|
||||||
|
end
|
||||||
|
|
||||||
if test -z "$MYSOFT_PATH"
|
if test -z "$MYSOFT_PATH"
|
||||||
|
|
||||||
set -xg MYSOFT_PATH {$HOME}/.softwares
|
set -xg MYSOFT_PATH {$HOME}/.softwares
|
||||||
|
35
fish/fish_variables
Normal file
35
fish/fish_variables
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
# This file contains fish universal variable definitions.
|
||||||
|
# VERSION: 3.0
|
||||||
|
SETUVAR __fish_init_1_22_0:\x1d
|
||||||
|
SETUVAR __fish_init_1_50_0:\x1d
|
||||||
|
SETUVAR __fish_init_2_39_8:\x1d
|
||||||
|
SETUVAR __fish_init_2_3_0:\x1d
|
||||||
|
SETUVAR __prompt_initialized_2:\x1d
|
||||||
|
SETUVAR fish_color_autosuggestion:555\x1eyellow
|
||||||
|
SETUVAR fish_color_cancel:\x2dr
|
||||||
|
SETUVAR fish_color_command:005fd7\x1epurple
|
||||||
|
SETUVAR fish_color_comment:ff5f5f
|
||||||
|
SETUVAR fish_color_cwd:green
|
||||||
|
SETUVAR fish_color_cwd_root:red
|
||||||
|
SETUVAR fish_color_end:brmagenta
|
||||||
|
SETUVAR fish_color_error:red\x1e\x2d\x2dbold
|
||||||
|
SETUVAR fish_color_escape:cyan
|
||||||
|
SETUVAR fish_color_history_current:cyan
|
||||||
|
SETUVAR fish_color_host:\x2do\x1ecyan
|
||||||
|
SETUVAR fish_color_match:cyan
|
||||||
|
SETUVAR fish_color_normal:normal
|
||||||
|
SETUVAR fish_color_operator:cyan
|
||||||
|
SETUVAR fish_color_param:00afff\x1ecyan
|
||||||
|
SETUVAR fish_color_quote:brown
|
||||||
|
SETUVAR fish_color_redirection:normal
|
||||||
|
SETUVAR fish_color_search_match:\x2d\x2dbackground\x3dpurple
|
||||||
|
SETUVAR fish_color_selection:white\x1e\x2d\x2dbold\x1e\x2d\x2dbackground\x3dbrblack
|
||||||
|
SETUVAR fish_color_status:red
|
||||||
|
SETUVAR fish_color_user:\x2do\x1egreen
|
||||||
|
SETUVAR fish_color_valid_path:\x2d\x2dunderline
|
||||||
|
SETUVAR fish_greeting:Welcome\x20to\x20fish\x2c\x20the\x20friendly\x20interactive\x20shell\x0aType\x20\x1b\x5b32mhelp\x1b\x5b30m\x1b\x28B\x1b\x5bm\x20for\x20instructions\x20on\x20how\x20to\x20use\x20fish
|
||||||
|
SETUVAR fish_key_bindings:fish_default_key_bindings
|
||||||
|
SETUVAR fish_pager_color_completion:normal
|
||||||
|
SETUVAR fish_pager_color_description:555\x1eyellow
|
||||||
|
SETUVAR fish_pager_color_prefix:cyan
|
||||||
|
SETUVAR fish_pager_color_progress:cyan
|
3
install-emacs-packages.sh
Executable file
3
install-emacs-packages.sh
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
emacs -nw -q --batch --load install-packages.el
|
Loading…
Reference in New Issue
Block a user