Warning: this is an htmlized version!
The original is here, and
the conversion rules are here.
% (find-angg "LATEX/edrxgac2.tex")
% edrxgac2: defs para Geometria Analítica e Cálculo 2
% 2022jul14
% Usage:
%   \input edrxgac2.tex           % (find-angg "LATEX/edrxgac2.tex")
% See:                            % (find-angg "LATEX/edrxdefs.tex")

% «.GA»			(to "GA")
% «.matrices»		(to "matrices")
% «.C2»			(to "C2")
% «.C2-substnames»	(to "C2-substnames")
% «.pict2e»		(to "pict2e")
% «.beginpicture»	(to "beginpicture")
% «.pict-Vector»	(to "pict-Vector")
% «.verteq»		(to "verteq")



\def\R{\mathbb{R}}

\def\Rq{\ColorRed{?}}


%   ____    _    
%  / ___|  / \   
% | |  _  / _ \  
% | |_| |/ ___ \ 
%  \____/_/   \_\
%                
% «GA» (to ".GA")

% (find-LATEXfile "2015-2-GA-P1-gab.tex" "setofxyst")
% (find-LATEXfile "2015-1-GA-P2-gabarito.tex" "setxyst")
\def\nip{\par\noindent}
\def\uu{{\vec u}}
\def\vv{{\vec v}}
\def\ww{{\vec w}}
\def\Vec#1{\overrightarrow{#1}}
\def\VEC#1{{\overrightarrow{(#1)}}}
\def\Pr{{\text{Pr}}}
\def\Pru{\Pr_\uu}
\def\Prv{\Pr_\vv}
\def\Prw{\Pr_\ww}
\def\setofPst  #1{\setofst{P∈\R^2}{#1}}
\def\setofxyst #1{\setofst{(x,y)∈\R^2}{#1}}
\def\setofxyzst#1{\setofst{(x,y,z)∈\R^3}{#1}}
\def\setofexpron#1#2{\setofst{#1}{#2∈\R}}
\def\setofexprt#1{\setofst{#1}{t∈\R}}
\def\setofexpru#1{\setofst{#1}{u∈\R}}

\def\ii{{\vec i}}
\def\jj{{\vec j}}
\def\kk{{\vec k}}
\def\nn{{\vec n}}

% «matrices»  (to ".matrices")
% Shorthands for matrices
% (find-LATEXfile "2015planar-has.tex" "shorthand for matrices")
\def\mat #1{\begin       {matrix}#1\end{matrix}}
\def\pmat#1{\left (\begin{matrix}#1\end{matrix}\right )}
\def\bmat#1{\left [\begin{matrix}#1\end{matrix}\right ]}
\def\vmat#1{\left |\begin{matrix}#1\end{matrix}\right |}
\def\cmat#1{\left\{\begin{matrix}#1\end{matrix}\right\}}
\def\sm #1{\begin       {smallmatrix}#1\end{smallmatrix}}
\def\psm#1{\left (\begin{smallmatrix}#1\end{smallmatrix}\right )}
\def\bsm#1{\left [\begin{smallmatrix}#1\end{smallmatrix}\right ]}
\def\vsm#1{\left |\begin{smallmatrix}#1\end{smallmatrix}\right |}
\def\csm#1{\left\{\begin{smallmatrix}#1\end{smallmatrix}\right\}}

\def\mysubst#1{\bsm{#1}}

\def\area{\textsf{área}}
\def\Area{\textsf{Área}}
\def\Vol {\textsf{Vol}}



%   ____ ____  
%  / ___|___ \ 
% | |     __) |
% | |___ / __/ 
%  \____|_____|
%              
% «C2» (to ".C2")

\def\dydx{\frac{dy}{dx}}
\def\ddx {\frac{d}{dx}}
\def\ddth{\frac{d}{d\theta}}
\def\arcsen{\operatorname{arcsen}}
\def\sen{\operatorname{sen}}
\def\sec{\operatorname{sec}}
\def\ln{\operatorname{ln}}
%\def\ang{\operatorname{ang}}
\def\cosang{\operatorname{cos\ ang}}

\def\subst#1{\left[\sm{#1}\right]}

\def\veq{\rotatebox{90}{$=$}}
\def\mcc#1{\multicolumn{1}{c}{#1}}

\def\eqnpfull#1{\overset{\scriptscriptstyle(#1)}{=}}
\def\eqnpbare#1{=}
\def\eqnp      {\eqnpbare}
\def\qeqnp   #1{`$\eqnpfull{#1}$'}

\def\prims #1{∫#1\,ds}
\def\primth#1{∫#1\,dθ}


% Indefinite integrals
\def\ints    #1{∫#1\,ds}
\def\intc    #1{∫#1\,dc}
\def\intt    #1{∫#1\,dt}
\def\intu    #1{∫#1\,du}
\def\intv    #1{∫#1\,dv}
\def\intw    #1{∫#1\,dw}
\def\intx    #1{∫#1\,dx}
\def\inty    #1{∫#1\,dy}
\def\intz    #1{∫#1\,dz}
\def\intth   #1{∫#1\,dθ}
\def\intvar#1#2{∫#2\,d#1}

% Definite integrals
\def\Intr    #1#2#3{∫_{r=#1}^{r=#2}#3\,dr}
\def\Ints    #1#2#3{∫_{s=#1}^{s=#2}#3\,ds}
\def\Intt    #1#2#3{∫_{t=#1}^{t=#2}#3\,dt}
\def\Intu    #1#2#3{∫_{u=#1}^{u=#2}#3\,du}
\def\Intx    #1#2#3{∫_{x=#1}^{x=#2}#3\,dx}
\def\Inty    #1#2#3{∫_{y=#1}^{y=#2}#3\,dy}
\def\Intz    #1#2#3{∫_{z=#1}^{z=#2}#3\,dz}
\def\Intth   #1#2#3{∫_{θ=#1}^{θ=#2}#3\,dθ}
\def\Intvar#1#2#3#4{∫_{#1=#2}^{#1=#3}#4\,d#1}

% Difference
\def\difr    #1#2#3{\left. #3 \right|_{r=#1}^{r=#2}}
\def\difs    #1#2#3{\left. #3 \right|_{s=#1}^{s=#2}}
\def\dift    #1#2#3{\left. #3 \right|_{t=#1}^{t=#2}}
\def\difu    #1#2#3{\left. #3 \right|_{u=#1}^{u=#2}}
\def\difx    #1#2#3{\left. #3 \right|_{x=#1}^{x=#2}}
\def\difth   #1#2#3{\left. #3 \right|_{θ=#1}^{θ=#2}}
\def\difvar#1#2#3#4{\left. #4 \right|_{#1=#2}^{#1=#3}}

\def\Difs    #1#2#3{\left. #3 \right|_{s=#1}^{s=#2}}
\def\Difu    #1#2#3{\left. #3 \right|_{u=#1}^{u=#2}}
\def\Difx    #1#2#3{\left. #3 \right|_{x=#1}^{x=#2}}
\def\Difth   #1#2#3{\left. #3 \right|_{θ=#1}^{θ=#2}}
\def\Difvar#1#2#3#4{\left. #4 \right|_{#1=#2}^{#1=#3}}

% «C2-substnames»  (to ".C2-substnames")
% \CSname{mainname}{addons}: color substitution name
% \CFname{mainname}{addons}: color formula name
% See: (c2m221dp1p 2 "introducao")
%      (c2m221dp1a   "introducao")
%      (find-es "tex" "xcolor" "green!40!yellow")
%      (find-xcolorpage 39 "4.4   Colors via x11names option")
%      (find-xcolortext 39 "4.4   Colors via x11names option")
\def\Sname #1#2{\ensuremath[\text{#1}#2]}
\def\CSname#1#2{{\color{Orange!80!red}\Sname{#1}{#2}}}
\def\CFname#1#2{{\ColorViolet{\Sname{#1}{#2}}}}
\def\CFname#1#2{{\color{SpringGreenDark}\Sname{#1}{#2}}}
\def\CFname#1#2{{\color{purple}\Sname{#1}{#2}}}
\def\CFname#1#2{{\color{Blue3}\Sname{#1}{#2}}}
\def\CFname#1#2{{\color{Red4}\Sname{#1}{#2}}}
\def\CFname#1#2{{\color{Red3}\Sname{#1}{#2}}}


\sa   {(*)}{\ensuremath{({*})}}
\sa  {(**)}{\ensuremath{({*}{*})}}
\sa {(***)}{\ensuremath{({*}{*}{*})}}
\sa{(****)}{\ensuremath{({*}{*}{*}{*})}}




% «pict2e» (to ".pict2e")
% (find-LATEX "2016-2-C2-integral.tex" "pict2e")
% (find-LATEX "edrxpict.lua" "Piecewise")
% (find-LATEX "edrxpict.lua" "pictgrid")
% (find-LATEX "edrxpict.lua" "pictaxes")
% (find-LATEX "edrxpict.lua" "pictdots")

% «beginpicture» (to ".beginpicture")
% (find-LATEX "edrxpict.lua" "beginpicture")
% (find-es "tex" "begin-picture")
% (find-es "tex" "beginpicture")
\def\beginpicture (#1,#2)(#3,#4){\expr{beginpicture(v(#1,#2),v(#3,#4))}}
\def\beginpictureb(#1,#2)(#3,#4)#5{\expr{beginpicture(v(#1,#2),v(#3,#4),#5)}}

\def\pictaxes{\expr{pictaxes()}}
\def\pictaxes{{\linethickness{0.6pt}\expr{pictaxes()}}}
\def\pictaxes{{\linethickness{0.5pt}\expr{pictaxes()}}}
\def\pictgrid{{\color{GrayPale}\expr{pictgrid()}}}
\def\pictgrid{{\color{GrayPale}\linethickness{0.3pt}\expr{pictgrid()}}}
\def\pictdots#1{\expr{pictdots("#1")}}
\def\pictpiecewise#1{\expr{pictpiecewise("#1")}}
\def\pictpiecewise#1{{\linethickness{1pt}\expr{pictpiecewise("#1")}}}
\def\picturedots(#1,#2)(#3,#4)#5{%
  \vcenter{\hbox{%
  \beginpicture(#1,#2)(#3,#4)%
  \pictaxes%
  \pictdots{#5}%
  \end{picture}%
  }}%
}
\def\picturepiecewise(#1,#2)(#3,#4)#5{%
  \vcenter{\hbox{%
  \beginpicture(#1,#2)(#3,#4)%
  \pictgrid%
  \pictaxes%
  \pictpiecewise{#5}%
  \end{picture}%
  }}%
}

% \unitlength=9pt
\def\closeddot{\circle*{0.3}}
\def\opendot  {\circle*{0.3}\color{white}\circle*{0.2}}

% «pict-Vector» (to ".pict-Vector")
% (find-LATEX "edrxpict.lua" "pict2evector")
% (find-dn6 "picture.lua" "pict2e" "pict2evector =")
\def\Vector(#1,#2)(#3,#4){\expr{pict2evector(#1, #2, #3, #4)}}




% «verteq» (to ".verteq")
\def\verteq{
 \vcenter{\hbox{%
 \unitlength=1pt%
 \linethickness{0.4pt}%
 \beginpicture(0,0)(5,6)
   \roundcap
   \Line(1,0)(1,6)
   \Line(3,0)(3,6)
 \end{picture}%
 }}%
}



% (find-kopkadaly4page (+ 12 126) "\\parallel")
% (find-kopkadaly4text (+ 12 126) "\\parallel")
\def\myparallel{\mathop{{/}\!\!{/}}}







% Local Variables:
% ee-anchor-format: "«%s»"
% coding: utf-8-unix
% End: