Browse Source

Added three additional examples

main
Kenneth John Odle 1 year ago
parent
commit
c61e2de4cf
  1. BIN
      build/glucose.pdf
  2. BIN
      build/testosterone.pdf
  3. BIN
      build/trees1.pdf
  4. 14
      glucose.tex
  5. 45
      testosterone.tex
  6. 15
      trees1.tex

BIN
build/glucose.pdf

BIN
build/testosterone.pdf

BIN
build/trees1.pdf

14
glucose.tex

@ -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

@ -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

@ -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}
Loading…
Cancel
Save