summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2015-06-01 11:50:02 +0100
committerUrbain Vaes <urbain@vaes.uk>2015-06-01 11:50:02 +0100
commitc7365f1bc50845037387ecff266408a99cf26879 (patch)
tree0e79a04cb40d18ef8d81762715612d6496d4a111
parent74a10839a8f4b09bcd8dbc49ae783e357cca46b6 (diff)
added header.sty in tex
-rw-r--r--notes/Personal notes26
-rw-r--r--nvimrc11
-rw-r--r--tex/header.sty90
-rw-r--r--tex/report_default.tex121
-rw-r--r--zshrc17
5 files changed, 132 insertions, 133 deletions
diff --git a/notes/Personal notes b/notes/Personal notes
new file mode 100644
index 0000000..f129738
--- /dev/null
+++ b/notes/Personal notes
@@ -0,0 +1,26 @@
+Personal notes
+
+# Personal TODO list
+ • Message_Victor
+ • Prepare speech wedding
+ • Repay Arnaud
+
+ * * *
+
+# PhD TODO list
+ • 9 months report
+ • Article by Virginie
+
+ * * *
+
+# Admin
+ • Expense claims
+ ◦ Distribution textbook
+ ◦ Flight to Spain
+ ◦ Flight to Switzerland
+ • Invigilation
+
+ * * *
+
+# Useful info
+ • Bank number: 930630876
diff --git a/nvimrc b/nvimrc
index d5c11ce..d128048 100644
--- a/nvimrc
+++ b/nvimrc
@@ -1,4 +1,4 @@
-" Plugins
+"" Plugins
call plug#begin('~/.nvim/plugged')
Plug 'airblade/vim-gitgutter', { 'on' : 'GitGutterToggle' }
Plug 'altercation/vim-colors-solarized'
@@ -8,7 +8,7 @@ Plug 'bling/vim-airline'
Plug 'christoomey/vim-tmux-navigator'
Plug 'edkolev/tmuxline.vim'
Plug 'freeo/vim-kalisi'
-Plug 'godlygeek/tabular'
+Plug 'godlygeek/tabular' , { 'on' : 'Tab' }
Plug 'gregsexton/gitv', { 'on' : 'Gitv' }
Plug 'honza/vim-snippets'
Plug 'jamessan/vim-gnupg', { 'for' : 'asc' }
@@ -180,10 +180,10 @@ set lazyredraw
set hidden
" Colorscheme
-try | colorscheme solarized | catch | endtry
+silent! colo solarized
highlight Comment cterm=italic
set t_ZH=
-set t_ZR=
+set t_ZR=[23m
"" Maps
@@ -277,3 +277,6 @@ augroup nvimrc
\ exe "normal! g`\"" |
\ endif
augroup END
+
+"" Experimental
+let g:notes_directories = ['~/dotfiles/notes']
diff --git a/tex/header.sty b/tex/header.sty
new file mode 100644
index 0000000..9eeae8f
--- /dev/null
+++ b/tex/header.sty
@@ -0,0 +1,90 @@
+% Compilation options
+\synctex=1
+
+% Packages
+\usepackage[T1]{fontenc}
+\usepackage[utf8]{inputenx}
+\usepackage[english]{babel}
+\usepackage{microtype}
+\usepackage{fancyhdr}
+\usepackage{listings}
+\usepackage{appendix}
+\usepackage{vmargin}
+\usepackage{setspace}
+\usepackage{mathrsfs}
+\usepackage{mathenv}
+\usepackage{amsmath}
+\usepackage{amsfonts}
+\usepackage{amssymb}
+\usepackage{amscd}
+\usepackage{amsthm}
+\usepackage{mathrsfs}
+\usepackage{graphicx}
+\usepackage{epstopdf}
+\usepackage{subfigure}
+\usepackage{color}
+\usepackage{todonotes}
+\usepackage{caption}
+\usepackage[numbers]{natbib}
+\usepackage{hyperref}
+\usepackage{cleveref}
+
+% Packages options
+\hypersetup{citecolor=blue, colorlinks=true, linkcolor=[rgb]{0.,0.,0.7}}
+\graphicspath{{figures/}}
+
+% Macros
+\definecolor{darkred}{rgb}{.7,0,0}
+\newcommand{\real}[0]{\mathbf{R}}
+\newcommand{\nat}[0]{\mathbf{N}}
+\newcommand{\op}[0]{\mathcal}
+\newcommand{\grad}[0]{\nabla}
+\newcommand{\dive}[0] {\,\nabla\,\cdot\,}
+\newcommand{\ip}[2]{\left\langle{#1,#2}\right\rangle}
+\newcommand{\norm}[1]{\left\| #1 \right\|}
+\newcommand{\pard}[2]{\partial_{#2} #1}
+\newcommand{\pardl}[2]{\frac{\partial{#1}}{\partial{#2}}}
+\newcommand{\pardd}[2]{\partial_{#2}^2 #1}
+\newcommand{\parddl}[2]{\frac{\partial^2{#1}}{\partial{#2}^2}}
+\newcommand{\hermite}[0]{\mathcal}
+\newcommand{\gaussian}[1]{g_{#1}}
+\newcommand{\stdgaussian}[0]{g}
+\newcommand{\test}[1]{C^\infty_c (#1)}
+\newcommand{\flp}[2]{L^{#1} (#2)}
+\newcommand{\wlp}[3]{L^{#1} (#2,#3)}
+\newcommand{\sobolev}[2]{H^{#1} (#2)}
+\newcommand{\wsobolev}[3]{H^{#1} (#2, #3)}
+\newcommand{\red}[1]{\textcolor{darkred}{#1}}
+\newcommand{\HRule}{\rule{\linewidth}{0.5mm}}
+\newcommand{\smooth}[1]{C^\infty(#1)}
+\newcommand{\cont}[2]{C^{#1} (#2)}
+\newcommand{\contb}[2]{C_b^{#1} (#2)}
+\newcommand{\Space}[0]{\mathscr}
+\newcommand{\expect}[0]{\mathbb{E}}
+\newcommand{\dotx}[0]{\,\cdot\,}
+\newcommand{\abs}[1]{\left| #1 \right|}
+
+% Redefinitions
+\renewcommand{\d}[0]{\,\mathrm{d}}
+
+% Layout options
+\setlength{\parskip}{6pt}
+\setstretch{1.3}
+
+% Setting for the table of contents
+\setcounter{secnumdepth}{1}
+\setcounter{tocdepth}{1}
+
+% Theorems
+\theoremstyle{plain}
+\newtheorem{assumption}{Assumption}[section]
+\newtheorem{example}{Example}[section]
+\newtheorem{theorem}{Theorem}[section]
+\newtheorem{corollary}[theorem]{Corollary}
+\newtheorem{lemma}[theorem]{Lemma}
+\newtheorem{proposition}[theorem]{Proposition}
+\newtheorem{axiom}[theorem]{Axiom}
+\theoremstyle{definition}
+\newtheorem{definition}[theorem]{Definition}
+\theoremstyle{remark}
+\newtheorem{remark}[theorem]{Remark}
diff --git a/tex/report_default.tex b/tex/report_default.tex
deleted file mode 100644
index e9eb94f..0000000
--- a/tex/report_default.tex
+++ /dev/null
@@ -1,121 +0,0 @@
-\documentclass[10pt,twoside]{report}
-
-% Files to include
-\includeonly{
- preamble/title,
- preamble/authorship,
- preamble/abstract,
- preamble/acknowledgements,
- chapters/introduction,
- chapters/chap1,
- chapters/chap2,
- chapters/chap3,
- chapters/conclusion,
-}
-
-% Boolean variables
-\newif \ifcontents \contentsfalse
-\newif \ifbib \bibtrue
-\newif \iflong \longtrue
-
-% Packages
-\usepackage[utf8]{inputenx}
-\usepackage[english]{babel}
-\usepackage{microtype}
-\usepackage{fancyhdr}
-\usepackage{listings}
-\usepackage{appendix}
-\usepackage{vmargin}
-\usepackage{setspace}
-\usepackage{mathenv}
-\usepackage{amsmath}
-\usepackage{amsfonts}
-\usepackage{amssymb}
-\usepackage{amscd}
-\usepackage{amsthm}
-\usepackage{hyperref}
-\usepackage{cleveref}
-\usepackage{graphicx}
-\usepackage{epstopdf}
-\usepackage{subfigure}
-\usepackage{color}
-
-% Packages with options
-\usepackage[labelfont=sc]{caption}
-\usepackage[square, numbers, comma, sort&compress]{natbib}
-
-% Layout options
-\setlength{\parskip}{6pt}
-
-% Compilation options
-\synctex=1
-
-% Setting for the table of contents
-\setcounter{secnumdepth}{3}
-\setcounter{tocdepth}{3}
-
-% Macros
-\definecolor{darkred}{rgb}{.7,0,0}
-\newcommand{\real}[0]{\mathbf R}
-\newcommand{\nat}[0]{\mathbf N}
-\newcommand{\op}[0]{\mathcal}
-\newcommand{\grad}[0]{\,\nabla\,}
-\newcommand{\dive}[0] {\,\nabla\,\cdot\,}
-\newcommand{\ip}[2]{\left \langle #1,#2 \right\rangle}
-\newcommand{\norm}[1]{\,\| #1 \|\,}
-\newcommand{\pard}[2]{\partial_{#2} #1}
-\newcommand{\pardl}[2]{\frac{\partial #1}{\partial #2}}
-\newcommand{\pardd}[2]{\partial_{#2}^2 #1}
-\newcommand{\parddl}[2]{\frac{\partial^2 #1}{\partial #2^2}}
-\newcommand{\dx}[0]{\mathrm d}
-\newcommand{\hermite}[0]{\mathcal}
-\newcommand{\gaussian}[1]{g_{#1}}
-\newcommand{\stdgaussian}[0]{g}
-\newcommand{\test}[1]{C^\infty_c(#1)}
-\newcommand{\flp}[2]{L^{#1}(#2)}
-\newcommand{\wlp}[3]{L^{#1}(#2, #3)}
-\newcommand{\sobolev}[2]{H^{#1}(#2)}
-\newcommand{\wsobolev}[3]{H^{#1}(#2, #3)}
-\newcommand{\red}[1]{\textcolor{darkred}{#1}}
-\newcommand{\HRule}{\rule{\linewidth}{0.5mm}}
-
-% Theorems
-\theoremstyle{plain}
-\newtheorem{assumption}{Assumption}[section]
-\newtheorem{example}{Example}[section]
-\newtheorem{theorem}{Theorem}[section]
-\newtheorem{corollary}[theorem]{Corollary}
-\newtheorem{lemma}[theorem]{Lemma}
-\newtheorem{proposition}[theorem]{Proposition}
-\newtheorem{axiom}[theorem]{Axiom}
-\theoremstyle{definition}
-\newtheorem{definition}[theorem]{Definition}
-\theoremstyle{remark}
-\newtheorem{remark}[theorem]{Remark}
-
-\begin{document}
-
-\pagestyle{empty}
-
-\setstretch{1.3}
-\include{preamble/title} \cleardoublepage
-\include{preamble/authorship} \cleardoublepage
-\include{preamble/abstract} \cleardoublepage
-\include{preamble/acknowledgements} \cleardoublepage
-\ifcontents \tableofcontents \fi
-
-\pagestyle{plain}
-
-
-\include{chapters/introduction} \cleardoublepage
-\include{chapters/chap1} \cleardoublepage
-\include{chapters/chap2} \cleardoublepage
-\include{chapters/chap3} \cleardoublepage
-\include{chapters/conclusion} \cleardoublepage
-
-\nocite*
-\bibliographystyle{unsrtnat}
-\bibliography{Bibliography}
-
-\end{document}
-
diff --git a/zshrc b/zshrc
index aacf09b..1692cfd 100644
--- a/zshrc
+++ b/zshrc
@@ -33,14 +33,15 @@ alias -s tex=$EDITOR
alias -s pdf=zathura
# Directories
+alias books='cd ~/Dropbox/phd/books'
+alias cdd='cd ~/dotfiles'
+alias papers='cd ~/Dropbox/phd/papers'
+alias report='cd ~/Dropbox/phd/reports/9\ months'
alias u='cd ~/Dropbox/phd/papers/spectral/code/finite'
alias uc='cd ~/Dropbox/phd/programs'
alias ul='cd ~/Dropbox/phd/literature'
-alias ur='cd ~/Dropbox/phd/reports'
alias up='cd ~/Dropbox/phd/presentations'
-alias papers='cd ~/Dropbox/phd/papers'
-alias books='cd ~/Dropbox/phd/books'
-alias cdd='cd ~/dotfiles'
+alias ur='cd ~/Dropbox/phd/reports'
# Commands
alias a='vifm'
@@ -69,15 +70,15 @@ alias v='vim'
alias x='sh ~/.xmodmap'
# Configuration
-alias ez="$EDITOR ~/.zshrc"
alias em="$EDITOR ~/.mutt/muttrc"
-alias ev="$EDITOR ~/.vimrc"
alias en="$EDITOR ~/.nvimrc"
-alias eza="$EDITOR ~/.zathurarc"
+alias eo="$EDITOR ~/.offlineimaprc"
alias et="$EDITOR ~/.tmux.conf"
+alias ev="$EDITOR ~/.vimrc"
alias evi="$EDITOR ~/.vifm/vifmrc"
-alias eo="$EDITOR ~/.offlineimaprc"
alias ex="$EDITOR ~/.xmodmap"
+alias ez="$EDITOR ~/.zshrc"
+alias eza="$EDITOR ~/.zathurarc"
# Fix smart search history
bindkey -a 'k' history-beginning-search-backward