cgal/Jet_fitting_3/doc_tex/macro_perso.sty

63 lines
2.1 KiB
TeX

\newcommand{\calA}[0]{\mathcal A} \newcommand{\calB}[0]{\mathcal B}
\newcommand{\calC}[0]{\mathcal C} \newcommand{\calD}[0]{\mathcal D}
\newcommand{\calE}[0]{\mathcal E} \newcommand{\calF}[0]{\mathcal F}
\newcommand{\calG}[0]{\mathcal G} \newcommand{\calH}[0]{\mathcal H}
\newcommand{\calI}[0]{\mathcal I} \newcommand{\calJ}[0]{\mathcal J}
\newcommand{\calK}[0]{\mathcal K} \newcommand{\calL}[0]{\mathcal L}
\newcommand{\calM}[0]{\mathcal M} \newcommand{\calN}[0]{\mathcal N}
\newcommand{\calO}[0]{\mathcal O} \newcommand{\calP}[0]{\mathcal P}
\newcommand{\calQ}[0]{\mathcal Q} \newcommand{\calR}[0]{\mathcal R}
\newcommand{\calS}[0]{\mathcal S} \newcommand{\calT}[0]{\mathcal T}
\newcommand{\calU}[0]{\mathcal U} \newcommand{\calV}[0]{\mathcal V}
\newcommand{\calW}[0]{\mathcal W} \newcommand{\calX}[0]{\mathcal X}
\newcommand{\calY}[0]{\mathcal Y} \newcommand{\calZ}[0]{\mathcal Z}
\newcommand{\Rn}[0]{\mathbb{R}}
%scalar product
\newcommand{\dotp}[2]{\langle \, #1, #2 \, \rangle}
%% Version w/o marginpars
\newcommand{\makeremark}[2]{
\newcommand{#1}[1]
{$\longrightarrow$\textsc{#2: ##1}$\leftarrow$\\}}
\makeremark{\FC}{Fr\'ed\'eric says}
\makeremark{\FR}{Fabrice says}
\makeremark{\MP}{Marc says}
%%usual shortcuts
\newcommand{\eps}[0]{\varepsilon}
%%Theorems and stuff
\newtheorem{definition}{Definition.}
\newtheorem{theorem}{Theorem.}
\newtheorem{lemma}{Lemma.}
\newtheorem{example}{\noindent Example}{}
\newtheorem{exercise}{\noindent Exercise}{}
\newtheorem{problem}{Problem.}
\newtheorem{observation}{Observation.}
\newtheorem{corollary}{Corollary.}
\newtheorem{proposition}{Proposition.}
\newtheorem{condition}{Condition.}
\newtheorem{model}{Model.}
\newtheorem{hypothesis}{Hypothesis.}
\newenvironment{proof}{\noindent \emph{Proof.}}{$\Box$\par\medskip}
\newenvironment{proof-app}[1]
{\noindent \emph{Proof. [#1]}}{$\Box$\par\medskip}
\newcommand{\grad}[1]{d{#1}}
%%coeffs inolved in eqs acoeff bcoeff
\newcommand{\fa}[2]{{#1}(#2)}
%\newcommand{\aco}[1]{a(#1)}
%\newcommand{\bco}[1]{b(#1)}
\newcommand{\detI}[0]{\det I}
\newcommand{\detsI}[0]{\sqrt{\det I}}
\newcommand{\detII}[0]{(\det I)^2}
\newcommand{\hot}[0]{h.o.t}