Created
September 23, 2018 18:28
-
-
Save Dagothig/3ecda8b6df28d2e4ea82948762c8c984 to your computer and use it in GitHub Desktop.
Custom package pour prendre des notes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\ProvidesPackage{dagnotes} | |
\RequirePackage[T1]{fontenc} | |
\RequirePackage[utf8]{inputenc} | |
\RequirePackage[francais]{babel} | |
\RequirePackage{amsmath, amssymb} | |
\RequirePackage{setspace} | |
\RequirePackage[margin=1in]{geometry} | |
\newcommand{\formatdoc}{ | |
\setlength{\parindent}{0pt} | |
\onehalfspacing | |
\renewcommand{\labelitemi}{$\bullet$} | |
\renewcommand{\labelitemii}{$\circ$} | |
} | |
\newcommand\ra\rightarrow | |
\newcommand\la\leftarrow | |
\newcommand\lra\leftrightarrow | |
\newcommand\ua\uparrow | |
\newcommand\da\downarrow | |
\newcommand\uda\updownarrow | |
\newcommand\nea\nearrow | |
\newcommand\Ra\Rightarrow | |
\newcommand\La\Leftarrow | |
\newcommand\Lra\Leftrightarrow | |
\newcommand\mat[1]{\begin{bmatrix} #1 \end{bmatrix}} | |
\newcommand\smat[1]{\setstretch{1}{\ensuremath{\scalefont{0.8}\mat{#1}}}} | |
\newcommand{\bra}[1]{\ensuremath{\left\langle#1\right|}} | |
\newcommand{\ket}[1]{\ensuremath{\left|#1\right\rangle}} | |
\newcommand{\bracket}[2]{\ensuremath{\left\langle #1 \middle| #2 \right\rangle}} | |
\newcommand{\matrixel}[3]{\ensuremath{\left\langle #1 \middle| #2 \middle| #3 \right\rangle}} | |
\newenvironment{eq*}{\begin{equation*}\begin{gathered}}{\end{gathered}\end{equation*}} | |
\newenvironment{eqs*}{\begin{equation*}\begin{aligned}}{\end{aligned}\end{equation*}} | |
\endinput |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment