Added three additional examples

This commit is contained in:
Kenneth John Odle 2021-11-26 19:58:41 -05:00
parent 711df303a7
commit c61e2de4cf
6 changed files with 74 additions and 0 deletions

BIN
build/glucose.pdf Normal file

Binary file not shown.

BIN
build/testosterone.pdf Normal file

Binary file not shown.

BIN
build/trees1.pdf Normal file

Binary file not shown.

14
glucose.tex Normal file
View File

@ -0,0 +1,14 @@
\documentclass{standalone}
\usepackage{chemfig}
\renewcommand*\printatom[1]{\ensuremath{\mathsf{#1}}}
\begin{document}
% \setcrambond{2pt}{}{}
% \setatomsep{2em}
\chemfig{
HO-[2,.5,2]?<[7,.7](-[2,.5]OH)-[,,,,line width=2.4pt](-[6,.5]OH)>[1,.7]
(-[:-65,.7]O-[:65,.7]?[b](-[2,.7]CH_2OH)<[:-60,.707](-[6,.5]OH)
-[,,,,line width=2.4pt](-[2,.5,,2]HO)>[:60,.707](-[6,.5]CH_2OH)-[:162,.9]O?[b])
-[3,.7]O-[4]?(-[2,.3]-[3,.5]HO)}
\end{document}

45
testosterone.tex Normal file
View File

@ -0,0 +1,45 @@
\documentclass{standalone}
\usepackage{chemfig}
\begin{document}
\begin{math}
\chemfig{
% 1
>[:54]% 2
-[:300]% 3
-% 4
>[:60]% 5
-[:120]% 6
(
-[:180]% 7
(
<[:132]% 8
-[:204]% 9
-[:276]% 10
(
<[:222,,,2]HO% 11
)
-[:348]% -> 2
)
-[:240]% -> 2
)
<:[:60]% 12
-% 13
-[:300]% 14
=_% 15
-[:300]% 16
(
=O% 17
)
-[:240]% 18
-[:180]% 19
-[:120]% 20
(
-[:180]% -> 5
)
(
-[:60]% -> 14
)
<[:240]% 21
}\end{math}
\end{document}

15
trees1.tex Normal file
View File

@ -0,0 +1,15 @@
\documentclass[border=0.5cm]{standalone}
\usepackage{tikz}
\usetikzlibrary{shapes.geometric, arrows}
\tikzstyle{block} = [rectangle, rounded corners, minimum width=3cm, minimum height=1cm,text centered, draw=red, fill=white]
\tikzstyle{arrow} = [thick,->,>=stealth]
\begin{document}
\begin{tikzpicture}[node distance=2cm]
\node (start) [block] {Start};
\node (stop) [block, below of=start] {Stop};
\node (other) [block, right of=stop, xshift=2cm] {Other};
\draw [arrow] (start) -- (stop);
\draw [arrow] (start) -- (other);
\end{tikzpicture}
\end{document}