[methods] add CAS instructions for tangent function
[notes.git] / chem / organic-2.md
index 8543168458cca4fc35b27a1f213bfeab056d9b22..40a4de8369841b5ab33754962c2dce9a85116126 100644 (file)
@@ -37,13 +37,18 @@ Alkynes: \ce{C_{$n$} H_{$2n-2$}}
 
 ## Functional groups
 
-\begin{tabularx}{\textwidth}{rX}
-  Alcohols & \ce{-OH} \\
-  Aldehydes & \ce{-CHO} \\
-  Ketones & \ce{-CO-} \\
-  Carboxylic acids & \ce{-COOH} \\
-  Amines & \ce{-NH2} \\
-  Amides & \ce{-CONH2} \\
+\setchemfig{atom sep=2em}
+\renewcommand{\arraystretch}{3}
+\begin{tabularx}{0.5\textwidth}{rlX}
+  \hline
+  Alcohols & \ce{-OH} & \chemfig{{\color{blue}R}-OH}\\\hline
+  Esters & \ce{-OCO-} & \chemfig{{\color{blue}R}-C(=[:-30]O)-[:30]O-{\color{blue}R}}\\\hline
+  Aldehydes & \ce{-CHO} & \chemfig{{\color{blue}R}-C(-[:-30]H)=[:30]O}\\\hline
+  Ketones & \ce{-CO-} & \chemfig{C(-[:150]{\color{blue}R})(-[:-150]{\color{blue}R})=O}\\\hline
+  Carboxylic acids & \ce{-COOH} & \chemfig{{\color{blue}R}-C(=[:-30]O)-[:30]O-H}\\\hline
+  Ethers & \ce{-O-} & \chemfig{{\color{blue}R}-[:210]O-[:-30]{\color{blue}R}}\\\hline
+  Amines & \ce{-NH2} & \chemfig{{\color{blue}R}-N(-[:-30]H)(-[:30]H)}\\\hline
+  Amides & \ce{-CONH2} & \chemfig{{\color{blue}R}-[:30]C(=[:90]O)-[:-30]N(-[:30]H)(-[:-30]H)}\\\hline
 \end{tabularx}
 
 
@@ -56,10 +61,10 @@ Alkynes: \ce{C_{$n$} H_{$2n-2$}}
     + **Cis** - same horizontal plane
     + **Trans** - diagonal
 
-\setlength\tabcolsep{1cm}
-\begin{tabularx}{\textwidth}{cc}
+\begin{center}\setlength\tabcolsep{1cm}
+\begin{tabularx}{0.5\textwidth}{cc}
   cis & trans \\
   \chemfig{[:60]{\text{\color{blue}R$^\prime$}}-C(-[:120]{\text{\color{red}R}})=[0]C(-[:-60]{\text{\color{blue}R$^\prime$}})-[:60]{\text{\color{red}R}}} &
   \chemfig{[:60]{\text{\color{blue}R$^\prime$}}-C(-[:120]{\text{\color{red}R}})=[0]C(-[:-60]{\text{\color{red}R}})-[:60]{\text{\color{blue}R$^\prime$}}}
-\end{tabularx}
+\end{tabularx}\end{center}