mirror of https://github.com/hearot/notes
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
189 lines
5.2 KiB
Plaintext
189 lines
5.2 KiB
Plaintext
2 years ago
|
\ProvidesPackage{personal_commands}
|
||
|
|
||
|
\usepackage{amsmath,amssymb}
|
||
|
\usepackage{amsfonts}
|
||
|
\usepackage{amsthm}
|
||
|
\usepackage{amssymb}
|
||
|
\usepackage{amsopn}
|
||
|
\usepackage{mathtools}
|
||
|
\usepackage{marvosym}
|
||
|
\usepackage{floatflt}
|
||
|
\usepackage{graphicx}
|
||
|
\usepackage{float}
|
||
|
|
||
|
\hfuzz=\maxdimen
|
||
|
\tolerance=10000
|
||
|
\hbadness=10000
|
||
|
|
||
|
\newcommand{\cororef}[1]{\textit{Corollario \ref{#1}}}
|
||
|
\newcommand{\exref}[1]{\textit{Esercizio \ref{#1}}}
|
||
|
\newcommand{\propref}[1]{\textit{Proposizione \ref{#1}}}
|
||
|
\newcommand{\lemmaref}[1]{\textit{Lemma \ref{#1}}}
|
||
|
\newcommand{\thref}[1]{\textit{Teorema \ref{#1}}}
|
||
|
\newcommand{\li}[0]{$\blacktriangleright\;\;$}
|
||
|
|
||
|
\newcommand{\tendsto}[1]{\xrightarrow[\text{$x \to #1$}]{}}
|
||
|
\newcommand{\tendston}[0]{\xrightarrow[\text{$n \to \infty$}]{}}
|
||
|
|
||
|
\setlength\parindent{0pt}
|
||
|
|
||
|
% Personal commands
|
||
|
\newcommand{\card}[1]{\left|#1\right|}
|
||
|
\newcommand{\nsqrt}[2]{\!\sqrt[#1]{#2}\,}
|
||
|
\newcommand{\zeroset}{\{0\}}
|
||
|
\newcommand{\setminuszero}{\setminus \{0\}}
|
||
|
|
||
|
\newenvironment{solution}
|
||
|
{\begin{proof}[Soluzione]}
|
||
|
{\end{proof}}
|
||
|
|
||
|
\theoremstyle{definition}
|
||
|
|
||
|
\let\abstract\undefined
|
||
|
|
||
|
\newtheorem*{abstract}{Abstract}
|
||
|
\newtheorem{corollary}{Corollario}
|
||
|
\newtheorem*{definition}{Definizione}
|
||
|
\newtheorem*{example}{Esempio}
|
||
|
\newtheorem{exercise}{Esercizio}
|
||
|
\newtheorem*{goal}{Obiettivo}
|
||
|
\newtheorem{lemma}{Lemma}
|
||
|
\newtheorem*{remark}{Osservazione}
|
||
|
\newtheorem*{proposition}{Proposizione}
|
||
|
\newtheorem{theorem}{Teorema}
|
||
|
|
||
|
\newcommand{\BB}{\mathcal{B}}
|
||
|
\newcommand{\HH}{\mathbb{H}}
|
||
|
\newcommand{\KK}{\mathbb{K}}
|
||
|
\newcommand{\ZZp}{\mathbb{Z}_p}
|
||
|
|
||
|
\newcommand{\CCx}{\mathbb{C}[x]}
|
||
|
\newcommand{\FFpp}{\mathbb{F}_p}
|
||
|
\newcommand{\FFpd}{\mathbb{F}_{p^d}}
|
||
|
\newcommand{\FFpm}{\mathbb{F}_{p^m}}
|
||
|
\newcommand{\FFpn}{\mathbb{F}_{p^n}}
|
||
|
\newcommand{\FFp}[1]{\mathbb{F}_{p^{#1}}}
|
||
|
\newcommand{\KKx}{\mathbb{K}[x]}
|
||
|
\newcommand{\QQx}{\mathbb{Q}[x]}
|
||
|
\newcommand{\RRx}{\mathbb{R}[x]}
|
||
|
\newcommand{\ZZi}{\mathbb{Z}[i]}
|
||
|
\newcommand{\ZZom}{\mathbb{Z}[\omega]}
|
||
|
\newcommand{\ZZpx}{\mathbb{Z}_p[x]}
|
||
|
\newcommand{\ZZsqrt}[1]{\mathbb{Z}[\sqrt{#1}]}
|
||
|
\newcommand{\ZZx}{\mathbb{Z}[x]}
|
||
|
|
||
|
\newcommand{\ii}{\mathbf{i}}
|
||
|
\newcommand{\jj}{\mathbf{j}}
|
||
|
\newcommand{\kk}{\mathbf{k}}
|
||
|
|
||
|
\newcommand{\valalpha}{\varphi_\alpha}
|
||
|
\newcommand{\Frob}{\mathcal{F}}
|
||
|
\newcommand{\Frobexp}{\mathcal{F}{\mkern 1.5mu}}
|
||
|
|
||
|
\newcommand{\dual}[1]{#1^{*}}
|
||
|
\newcommand{\LL}[2]{\mathcal{L} \left(#1, \, #2\right)}
|
||
|
\newcommand{\M}[1]{\mathcal{M}_{#1}\left(\KK\right)}
|
||
|
\newcommand{\nsg}{\mathrel{\unlhd}}
|
||
|
\renewcommand{\vec}[1]{\underline{#1}}
|
||
|
|
||
|
\newcommand{\hatpi}{\hat{\pi}}
|
||
|
\newcommand{\hatpip}{\hat{\pi}_p}
|
||
|
|
||
|
% evan.sty original commands
|
||
|
\newcommand{\cbrt}[1]{\sqrt[3]{#1}}
|
||
|
\newcommand{\floor}[1]{\left\lfloor #1 \right\rfloor}
|
||
|
\newcommand{\ceiling}[1]{\left\lceil #1 \right\rceil}
|
||
|
\newcommand{\mailto}[1]{\href{mailto:#1}{\texttt{#1}}}
|
||
|
\newcommand{\eps}{\varepsilon}
|
||
|
\newcommand{\vocab}[1]{\textbf{\color{blue}\sffamily #1}}
|
||
|
\providecommand{\alert}{\vocab}
|
||
|
\newcommand{\catname}{\mathsf}
|
||
|
\providecommand{\arc}[1]{\wideparen{#1}}
|
||
|
|
||
|
% From H113 "Introduction to Abstract Algebra" at UC Berkeley
|
||
|
\newcommand{\CC}{\mathbb C}
|
||
|
\newcommand{\FF}{\mathbb F}
|
||
|
\newcommand{\NN}{\mathbb N}
|
||
|
\newcommand{\QQ}{\mathbb Q}
|
||
|
\newcommand{\RR}{\mathbb R}
|
||
|
\newcommand{\ZZ}{\mathbb Z}
|
||
|
\DeclareMathOperator{\Aut}{Aut}
|
||
|
\DeclareMathOperator{\Inn}{Inn}
|
||
|
\DeclareMathOperator{\Syl}{Syl}
|
||
|
\DeclareMathOperator{\Gal}{Gal}
|
||
|
\DeclareMathOperator{\val}{val}
|
||
|
\DeclareMathOperator{\GL}{GL}
|
||
|
\DeclareMathOperator{\SL}{SL}
|
||
|
|
||
|
|
||
|
%From Kiran Kedlaya's "Geometry Unbound"
|
||
|
\newcommand{\abs}[1]{\left\lvert #1 \right\rvert}
|
||
|
\newcommand{\norm}[1]{\left\lVert #1 \right\rVert}
|
||
|
\newcommand{\dang}{\measuredangle} %% Directed angle
|
||
|
\newcommand{\ray}[1]{\overrightarrow{#1}}
|
||
|
\newcommand{\seg}[1]{\overline{#1}}
|
||
|
|
||
|
% From M275 "Topology" at SJSU
|
||
|
\newcommand{\id}{\mathrm{id}}
|
||
|
\newcommand{\taking}[1]{\xrightarrow{#1}}
|
||
|
\newcommand{\inv}{^{-1}}
|
||
|
|
||
|
\DeclareMathOperator{\ord}{ord}
|
||
|
\newcommand{\defeq}{\overset{\mathrm{def}}{=}}
|
||
|
\newcommand{\defiff}{\overset{\mathrm{def}}{\iff}}
|
||
|
|
||
|
% From the USAMO .tex files
|
||
|
\newcommand{\dg}{^\circ}
|
||
|
|
||
|
\newcommand{\liff}{\leftrightarrow}
|
||
|
\newcommand{\lthen}{\rightarrow}
|
||
|
\newcommand{\opname}{\operatorname}
|
||
|
\newcommand{\surjto}{\twoheadrightarrow}
|
||
|
\newcommand{\injto}{\hookrightarrow}
|
||
|
\DeclareMathOperator{\Char}{char}
|
||
|
\DeclareMathOperator{\Dom}{Dom}
|
||
|
\DeclareMathOperator{\Fix}{\textit{Fix}\,}
|
||
|
\DeclareMathOperator{\End}{End}
|
||
|
\DeclareMathOperator{\existsone}{\exists !}
|
||
|
\DeclareMathOperator{\Span}{Span}
|
||
|
\DeclareMathOperator{\Hom}{Hom}
|
||
|
\DeclareMathOperator{\Imm}{Imm}
|
||
|
\DeclareMathOperator{\Ker}{Ker}
|
||
|
\DeclareMathOperator{\rank}{rank}
|
||
|
\DeclareMathOperator{\MCD}{MCD}
|
||
|
\DeclareMathOperator{\Mor}{Mor}
|
||
|
\DeclareMathOperator{\mcm}{mcm}
|
||
|
\DeclareMathOperator{\Sym}{Sym}
|
||
|
\newcommand{\basis}{\mathcal{B}}
|
||
|
\DeclareMathOperator{\tr}{tr}
|
||
|
|
||
|
\let\oldemptyset\emptyset
|
||
|
\let\emptyset\varnothing
|
||
|
|
||
|
\let\oldcirc\circ
|
||
|
\let\circ\undefined
|
||
|
\DeclareMathOperator{\circ}{\oldcirc}
|
||
|
|
||
|
\let\oldexists\exists
|
||
|
\let\exists\undefined
|
||
|
\DeclareMathOperator{\exists}{\oldexists}
|
||
|
|
||
|
\let\oldforall\forall
|
||
|
\let\forall\undefined
|
||
|
\DeclareMathOperator{\forall}{\oldforall}
|
||
|
|
||
|
\let\oldnexists\nexists
|
||
|
\let\nexists\undefined
|
||
|
\DeclareMathOperator{\nexists}{\oldnexists}
|
||
|
|
||
|
\let\oldland\land
|
||
|
\let\land\undefined
|
||
|
\DeclareMathOperator{\land}{\oldland}
|
||
|
|
||
|
\let\oldlnot\lnot
|
||
|
\let\lnot\undefined
|
||
|
\DeclareMathOperator{\lnot}{\oldlnot}
|
||
|
|
||
|
\let\oldlor\lor
|
||
|
\let\lor\undefined
|
||
|
\DeclareMathOperator{\lor}{\oldlor}
|