%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%		GROUPES CARACTERISTIQUES																			%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\GroupeAlcene}{
\chemfig{(-[::120])(-[::240])=[::0](-[::-60])(-[::60])}
}
\newcommand{\GroupeAlcool}{
\chemfig{-[::0]OH}
}
\newcommand{\GroupeAmineP}{
\chemfig{-[::0]NH_2}
}
\newcommand{\GroupeAmineS}{
\chemfig{-[::0]NH-[::0]}
}
\newcommand{\GroupeAmineT}{
\chemfig{-[::0]N(-[::0])(-[::-90])}
}
\newcommand{\GroupeCarbonyle}{
\chemfig{-[::0]C(=[::-90]O)(-[::0])}
}
\newcommand{\GroupeCarboxyle}{
\chemfig{-[::0]C(=[::-90]O)(-[::0]OH)}
}
\newcommand{\GroupeEster}{
\chemfig{-[::0]C(=[::-90]O)(-[::0]O-[::0])}
}
\newcommand{\GroupeHalogenoAlcane}{
\chemfig{-[::0]X}
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%		MOLECULES CLASSSES PAR GROUPES et ORDRE ALPHABETIQUE												%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%



%%%%%%%%%%%ACIDES CARBOXYLIQUES%%%%%%%%%%%%%%%%%%%
\newcommand{\AcideCarboxylique}{
\chemfig{CH_3-[::0]C(=[::60]O)(-[::-60]OH)}
}


%Acide butanoïque
\newcommand{\AcideButanoique}{
\chemfig{CH_3-CH_2-CH_2-C(=[::60]O)(-[::-60]OH)}
}
%Acide éthanoïque
\newcommand{\AcideEthanoique}{
\chemfig{CH_3-[::0]C(=[::60]O)(-[::-60]OH)}
}
%Acide méthanoïque
\newcommand{\AcideMethanoique}{
\chemfig{H-[::0]C(=[::60]O)(-[::-60]OH)}
}
%Acide propanoïque
\newcommand{\AcidePropanoique}{
\chemfig{CH_3-CH_2-C(=[::60]O)(-[::-60]OH)}
}
%Acide 2,2-diméthylpropanoïque
\newcommand{\AcideDeuxDeuxDiMethylPropanoique}{
\chemfig{CH_3-C(-[::90]CH_3)(-[::-90]CH_3)-C(=[::60]O)(-[::-60]OH)}
}
%Acide 2-ethylbutanoïque
\newcommand{\AcideDeuxEthylButanoique}{
\chemfig{CH_3-CH_2-CH(-[::90]CH_2(-[::90]CH_3))-C(=[::60]O)(-[::-60]OH)}
}

%%%%%%%%%%%ALCANES%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\AlcaneA}{
\chemfig{CH_3-CH_2-CH(-[:-90]CH_2-CH_3)-CH_2-C(-[:90]CH_3)(-[:-90]CH_3)-CH_3}}
\newcommand{\AlcaneB}{
\chemfig{CH_3-CH(-[:-90]CH_3)-CH(-[:-90]CH_3)-CH_3}}
\newcommand{\AlcaneC}{
\chemfig{CH_3-CH(-[:-90]CH_3)-CH_2-CH(-[:-90]CH_3)-CH_3}}
\newcommand{\AlcaneD}{
\chemfig{CH_3-CH(-[:-90]CH_3)-CH(-[:-90]CH_2-CH_3)-CH(-[:90]CH_3)-CH_3}}

%Méthane
\newcommand{\Methane}{
\chemfig{CH_4}}
%Ethane
\newcommand{\Ethane}{
\chemfig{CH_3-CH_3}}
%Propane
\newcommand{\Propane}{
\chemfig{CH_2-CH_3-CH_4}}
%Butane
\newcommand{\Butane}{
\chemfig{CH_3-CH_2-CH_2-CH_3}
}
%Pentane
\newcommand{\Pentane}{
\chemfig{CH_3-CH_2-CH_2-CH_2-CH_3}
}
%%%%%%%%%%%ALCENES%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\Alcene}{
\chemfig{CH_3-[::0]CH=[::0]CH-[::0]CH_3}
}
%%%%%%%%%%%ALCOOLS%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\AlcoolPrimaire}{
\chemfig{CH_3-[::0]CH_2-[::0]OH}
}
\newcommand{\AlcoolSecondaire}{
\chemfig{CH_3-[::0]CH(-[::-90]OH)(-[::0]CH_3)}
}
\newcommand{\AlcoolTertiaire}{
\chemfig{CH_3-[::0]C(-[::-90]OH)(-[::0]CH_3)(-[::90]CH_3)}
}
%Ethanol
\newcommand{\Ethanol}{
\chemfig{CH_3-CH_2-OH}}
%3-méthylbutan-2-ol
\newcommand{\TroisMethylButanDeuxOl}{
\chemfig{CH_3-CH(-[::-90]OH)-CH(-[::-90]CH_3)-CH_3}
}
%Propanol
\newcommand{\Propanol}{
\chemfig{CH_3-CH_2-CH_2-OH}
}
%Propan-2-ol
\newcommand{\PropanDeuxOl}{
\chemfig{CH_3-[::0]CH(-[::-90]OH)(-[::0]CH_3)}
}
%2-méthylpropan-2-ol
\newcommand{\DeuxMethylPropanDeuxOl}{
\chemfig{CH_3-[::0]C(-[::-90]OH)(-[::0]CH_3)(-[::90]CH_3)}
}
%2-éthylbutan-1-ol
\newcommand{\DeuxEthylButanUnOl}{
\chemfig{CH3-CH_2-CH(-[::-90]CH_2(-[::90]OH))-CH_2-CH_3}
}
%3,4-diméthylhexandeuxol
\newcommand{\TroisQuatreDiMethylHexanDeuxOl}{
\chemfig{CH_3-CH(-[::90]CH_2(-[::-90]CH_3))-CH(-[::-90]CH_3)-CH(-[::-90]OH)-CH_3}
}
%2,3,3-triméthylbutan-2-ol
\newcommand{\DeuxTroisTroisTriMethylButanDeuxOl}{
\chemfig{CH_3-C(-[::90]CH_3)(-[::-90]CH_3)-C(-[::90]CH_3)(-[::-90]OH)-CH_3}
}
%%%%%%%%%%%ALDEHYDES%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\Aldehyde}{
\chemfig{CH_3-[::0]C(=[::60]O)(-[::-60]H)}
}
%Ethanal
\newcommand{\Ethanal}{
\chemfig{CH_3-[::0]C(=[::60]O)(-[::-60]H)}
}
%Méthanal
\newcommand{\Methanal}{
\chemfig{H-[::0]C(=[::60]O)(-[::-60]H)}
}
%Propanal
\newcommand{\Propanal}{
\chemfig{CH_3-CH_2-C(=[::60]O)(-[::-60]H)}
}
%3-méthylbutanal
\newcommand{\TroisMethylButanal}{
\chemfig{CH_3-CH(-[::-90]CH_3)-CH_2-C(=[::60]O)(-[::-60]H)}
}

%%%%%%%%%%%AMINES%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\AminePrimaire}{
\chemfig{CH_3-[::0]C(-[::0]CH_3)(-[::-90]NH_2)}
}
\newcommand{\AmineSecondaire}{
\chemfig{CH_3-[::0]NH-[::0]CH_2-[::-0]CH_3}
}
\newcommand{\AmineTertiaire}{
\chemfig{CH_3-[::0]N(-[::-90]CH_3)-[::0]CH_2-[::-0]CH_3}
}
%%%%%%%%%%%CETONES%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\Cetone}{
\chemfig{CH_3-[::0]C(=[::-90]O)(-[::0]CH_3)}
}
%Propanone
\newcommand{\Propanone}{
\chemfig{CH_3-[::0]C(=[::-90]O)(-[::0]CH_3)}
}
%Butan-2-one
\newcommand{\ButanDeuxOne}{
\chemfig{CH_3-C(=[::-90]O)-CH_2-CH_3}
}
%3,4-dimethylpentan-2-one
\newcommand{\TroisQuatreDiMethylPentanDeuxOne}{
\chemfig{CH_3-CH(-[::90]CH_3)-CH(-[::-90]CH_3)-C(=[::90]O)-CH_3}
}
%%%%%%%%%%%ESTERS%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\Ester}{
\chemfig{CH_3-[::0]C(=[::60]O)(-[::-60]O-[::60]CH_3)}
}
%%%%%%%%%%%HALOGENO ALCANES%%%%%%%%%%%%%%%%%%%%
\newcommand{\BromoAlcane}{
\chemfig{CH_3-[::0]CH_2-[::0]Cl}
}
\newcommand{\ChloroAlcane}{
\chemfig{CH_3-[::0]Cl}
}
\newcommand{\IodoAlcane}{
\chemfig{CH_3-[::0]I}
}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%		MOLECULES CLASSIQUES classées par ORDRE ALPHABETIQUE												%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%Acide Lactique
\newcommand{\AcideLactique}{\chemfig{CH_3-[:0]CH(-[:-90]OH)(-[:0]C(=[:-90]O)(-[:0]OH))}}
%CitralA
\newcommand{\CitralA}{
\chemfig{[:-90]-[::30](=[::60](-[::60](-[::-60](-[::-60](-[::60])(=[::-60]-[::60]=[::60]O)))))(-[::-60])}
}
%CitralB
\newcommand{\CitralB}{
\chemfig{[:-90]-[::30](=[::60](-[::60](-[::-60](-[::-60](-[::60])(=[::-60]-[::-60]=[::60]O)))))(-[::-60])}
}
%Glucose
\newcommand{\Glucose}{
\chemfig{HO-[:-30](-[:30](-[:90]OH)(-[:-30](-[:270]OH)(-[:30](-[:90]OH)(-[:-30](-[:270]OH)(-[:30](=[:90]O)(-[:-30]H))))))}}
%Glycine
\newcommand{\Glycine}{
\chemfig{C(-[:90]NH_2)(-[:200]H)(<[:290]H)<:[:330]CO_2H}}
%Ibuprofène
\newcommand{\Ibuprofene}{
\chemfig{*6(([:210]-([:-90]-)([:150]-([:90]-OH)([:210]=O)))-=-([::-60]-([::60]-)([::-60]-))=-=)}}



%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%		MODELES MOLECULAIRES CLASSIQUES classés par ORDRE ALPHABETIQUE												%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%Ammoniac 
\newcommand{\AmmoniaqueMm}{
\begin{tikzpicture}[scale=0.5]
\draw [rounded corners=4pt,color=white,ball color=gray!10,smooth] (0,0) circle (0.4) ; 
\draw [rounded corners=4pt,color=white,ball color=gray!10,smooth] (3,0) circle (0.4) ; 
\draw[color=gray!30,line width=5pt,cap=round](0.3,0.1) -- (1,0.3); 
\draw[color=gray!30,line width=5pt,cap=round](2.1,0.3) -- (2.7,0.1); 
\draw [rounded corners=4pt,color=white,ball color=blue!80,smooth] (1.5,0.5) circle (0.75) ; 
\draw[color=gray!30,line width=5pt,cap=round](1.8,0) -- (2.1,-0.5); 
\draw [rounded corners=4pt,color=white,ball color=gray!10,smooth] (2.3,-0.8) circle (0.4) ; 
\end{tikzpicture}
}
%Eau 
\newcommand{\EauMm}{
\begin{tikzpicture}[scale=0.5]
\draw [rounded corners=4pt,color=white,ball color=gray!10,smooth] (0,0) circle (0.4) ; 
\draw[color=gray!30,line width=5pt,cap=round](0.3,0.1) -- (1,0.3); 
\draw [rounded corners=4pt,color=white,ball color=red!80,smooth] (1.5,0.5) circle (0.8) ; 
\draw[color=gray!30,line width=5pt,cap=round](1.5,1.7) -- (1.5,1.1); 
\draw [rounded corners=4pt,color=white,ball color=gray!10,smooth] (1.5,2) circle (0.4) ; 
\end{tikzpicture}
}
%Méthanal 
\newcommand{\MethanalMm}{
\begin{tikzpicture}[scale=0.5]
\draw [rounded corners=4pt,color=white,ball color=red!80,smooth] (0,0) circle (0.8) ; 
\draw [rounded corners=4pt,color=white,ball color=gray!80,smooth] (2.5,0) circle (0.7) ; 
\draw[color=gray!30,line width=5pt,cap=round](0.7,0.2) --++ (1.1,0); 
\draw[color=gray!30,line width=5pt,cap=round](0.7,-0.2) --++ (1.1,0); 
\draw [rounded corners=4pt,color=white,ball color=gray!80,smooth] (2.5,0) circle (0.7) ; 
\draw[color=gray!30,line width=5pt,cap=round](3,-0.5) --++ (0.4,-0.4); 
\draw[color=gray!30,line width=5pt,cap=round](3,0.5) --++ (0.4,0.4); 
\draw [rounded corners=4pt,color=white,ball color=gray!10,smooth] (3.7,-1.2) circle (0.4) ; 
\draw [rounded corners=4pt,color=white,ball color=gray!10,smooth] (3.7,1.2) circle (0.4) ; 
\end{tikzpicture}
}
%Méthane 
\newcommand{\MethaneMm}{
\begin{tikzpicture}[scale=0.5]
\draw [rounded corners=4pt,color=white,ball color=gray!10,smooth] (0,0) circle (0.4) ; 
\draw [rounded corners=4pt,color=white,ball color=gray!10,smooth] (3,0) circle (0.4) ; 
\draw[color=gray!30,line width=5pt,cap=round](0.3,0.1) -- (1,0.3); 
\draw[color=gray!30,line width=5pt,cap=round](2.1,0.3) -- (2.7,0.1); 
\draw [rounded corners=4pt,color=white,ball color=gray!80,smooth] (1.5,0.5) circle (0.7) ; 
\draw[color=gray!30,line width=5pt,cap=round](1.5,1.7) -- (1.5,1.1); 
\draw [rounded corners=4pt,color=white,ball color=gray!10,smooth] (1.5,2) circle (0.4) ; 
\draw[color=gray!30,line width=5pt,cap=round](1.8,0) -- (2.1,-0.5); 
\draw [rounded corners=4pt,color=white,ball color=gray!10,smooth] (2.3,-0.8) circle (0.4) ; 
\end{tikzpicture}
}





