How to typset/draw conjugate acids and bases
up vote
5
down vote
favorite
Hello I need help drawing/typesetting an acid base reaction showing the conjugate pairs:
Here is what I have so far:
documentclass{article}
usepackage{chemfig}
usepackage{endiagram}
usepackage{booktabs}
begin{document}
setchemfig{cram width=3pt}
schemestart
chemname{chemfig{H_{3}C-C(=[:45]O)-[:-45]O-[:0]H}}{Acetic Acid}
+
chemname{chemfig{H_{3}C-Lewis{2:,N}(<:[:-15]H)<[:-40]H}}{Methylamine}
arrow{<=>}
chemname{chemfig{H_{3}C-C(=[:45]O)-[:-45]Orlap{${}^-$}}}{Acetate Ion}
+
chemname{chemfig{H_{3}C-Nrlap{${}^+$}(-[:45]H)(<:[:-15]H)<[:-40]H}}{Mathylammonium Ion}
schemestop
end{document}
Which produces the reaction and the lewis structures I am interested in. I do not need the colours nor the dots around the oxygen atoms, I only require assistance with the bottom section of the figure. My code currently produces this:
I know it might be possible to use tikz[overlay,remember picture]{}
, but I do not know how to label the text below the chemicals.
tikz-pgf chemfig
add a comment |
up vote
5
down vote
favorite
Hello I need help drawing/typesetting an acid base reaction showing the conjugate pairs:
Here is what I have so far:
documentclass{article}
usepackage{chemfig}
usepackage{endiagram}
usepackage{booktabs}
begin{document}
setchemfig{cram width=3pt}
schemestart
chemname{chemfig{H_{3}C-C(=[:45]O)-[:-45]O-[:0]H}}{Acetic Acid}
+
chemname{chemfig{H_{3}C-Lewis{2:,N}(<:[:-15]H)<[:-40]H}}{Methylamine}
arrow{<=>}
chemname{chemfig{H_{3}C-C(=[:45]O)-[:-45]Orlap{${}^-$}}}{Acetate Ion}
+
chemname{chemfig{H_{3}C-Nrlap{${}^+$}(-[:45]H)(<:[:-15]H)<[:-40]H}}{Mathylammonium Ion}
schemestop
end{document}
Which produces the reaction and the lewis structures I am interested in. I do not need the colours nor the dots around the oxygen atoms, I only require assistance with the bottom section of the figure. My code currently produces this:
I know it might be possible to use tikz[overlay,remember picture]{}
, but I do not know how to label the text below the chemicals.
tikz-pgf chemfig
add a comment |
up vote
5
down vote
favorite
up vote
5
down vote
favorite
Hello I need help drawing/typesetting an acid base reaction showing the conjugate pairs:
Here is what I have so far:
documentclass{article}
usepackage{chemfig}
usepackage{endiagram}
usepackage{booktabs}
begin{document}
setchemfig{cram width=3pt}
schemestart
chemname{chemfig{H_{3}C-C(=[:45]O)-[:-45]O-[:0]H}}{Acetic Acid}
+
chemname{chemfig{H_{3}C-Lewis{2:,N}(<:[:-15]H)<[:-40]H}}{Methylamine}
arrow{<=>}
chemname{chemfig{H_{3}C-C(=[:45]O)-[:-45]Orlap{${}^-$}}}{Acetate Ion}
+
chemname{chemfig{H_{3}C-Nrlap{${}^+$}(-[:45]H)(<:[:-15]H)<[:-40]H}}{Mathylammonium Ion}
schemestop
end{document}
Which produces the reaction and the lewis structures I am interested in. I do not need the colours nor the dots around the oxygen atoms, I only require assistance with the bottom section of the figure. My code currently produces this:
I know it might be possible to use tikz[overlay,remember picture]{}
, but I do not know how to label the text below the chemicals.
tikz-pgf chemfig
Hello I need help drawing/typesetting an acid base reaction showing the conjugate pairs:
Here is what I have so far:
documentclass{article}
usepackage{chemfig}
usepackage{endiagram}
usepackage{booktabs}
begin{document}
setchemfig{cram width=3pt}
schemestart
chemname{chemfig{H_{3}C-C(=[:45]O)-[:-45]O-[:0]H}}{Acetic Acid}
+
chemname{chemfig{H_{3}C-Lewis{2:,N}(<:[:-15]H)<[:-40]H}}{Methylamine}
arrow{<=>}
chemname{chemfig{H_{3}C-C(=[:45]O)-[:-45]Orlap{${}^-$}}}{Acetate Ion}
+
chemname{chemfig{H_{3}C-Nrlap{${}^+$}(-[:45]H)(<:[:-15]H)<[:-40]H}}{Mathylammonium Ion}
schemestop
end{document}
Which produces the reaction and the lewis structures I am interested in. I do not need the colours nor the dots around the oxygen atoms, I only require assistance with the bottom section of the figure. My code currently produces this:
I know it might be possible to use tikz[overlay,remember picture]{}
, but I do not know how to label the text below the chemicals.
tikz-pgf chemfig
tikz-pgf chemfig
asked Nov 30 at 7:24
sab hoque
1,208318
1,208318
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
3
down vote
accepted
Something like this?
documentclass{article}
usepackage{chemfig}
usepackage{endiagram}
usepackage{booktabs}
usetikzlibrary{tikzmark,positioning,shapes.geometric}
definecolor{dullblue}{RGB}{178,201,231}
begin{document}
setchemfig{cram width=3pt}
schemestart
chemname{chemfig{H_{3}C-C(=[:45]O)-[:-45]O-[:0]H}}{tikzmarknode{A}{Acetic
Acid}}
+
chemname{chemfig{H_{3}C-Lewis{2:,N}(<:[:-15]H)<[:-40]H}}{tikzmarknode{B}{Methylamine}}
arrow{<=>}
chemname{chemfig{H_{3}C-C(=[:45]O)-[:-45]Orlap{${}^-$}}}{tikzmarknode{C}{Acetate
Ion}}
+
chemname{chemfig{H_{3}C-Nrlap{${}^+$}(-[:45]H)(<:[:-15]H)<[:-40]H}}{tikzmarknode{D}{Mathylammonium
Ion}}
schemestop
begin{tikzpicture}[overlay,remember picture]
node[below=3mm of A,fill=dullblue,draw,ellipse] (Acid1) {Acid};
node[below=3mm of B,draw,ellipse] (Base1) {Base};
node[below=3mm of C,fill=dullblue,draw,ellipse] (Base2) {Base};
node[below=3mm of D,draw,ellipse] (Acid2) {Acid};
draw[blue!50] (Acid1) -- ++ (0,-1.5) coordinate(aux) -| (Base2);
draw (Base1) -- ++ (0,-2) -| (Acid2);
node[anchor=south,blue!50,fill=white,outer sep=1pt] at (aux-|Base1) {Conjugate pair};
end{tikzpicture}
end{document}
That's exactly what I wanted, but one question what doesaux-|Base1
do for the position of the conjugate pair node
– sab hoque
Nov 30 at 22:05
1
@sabhoque The coordinate(aux-|Base1)
is the point with the y-coordinate ofaux
and the x-coordinate ofBase1
, as explained very nicely in this answer.
– marmot
Nov 30 at 22:11
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
3
down vote
accepted
Something like this?
documentclass{article}
usepackage{chemfig}
usepackage{endiagram}
usepackage{booktabs}
usetikzlibrary{tikzmark,positioning,shapes.geometric}
definecolor{dullblue}{RGB}{178,201,231}
begin{document}
setchemfig{cram width=3pt}
schemestart
chemname{chemfig{H_{3}C-C(=[:45]O)-[:-45]O-[:0]H}}{tikzmarknode{A}{Acetic
Acid}}
+
chemname{chemfig{H_{3}C-Lewis{2:,N}(<:[:-15]H)<[:-40]H}}{tikzmarknode{B}{Methylamine}}
arrow{<=>}
chemname{chemfig{H_{3}C-C(=[:45]O)-[:-45]Orlap{${}^-$}}}{tikzmarknode{C}{Acetate
Ion}}
+
chemname{chemfig{H_{3}C-Nrlap{${}^+$}(-[:45]H)(<:[:-15]H)<[:-40]H}}{tikzmarknode{D}{Mathylammonium
Ion}}
schemestop
begin{tikzpicture}[overlay,remember picture]
node[below=3mm of A,fill=dullblue,draw,ellipse] (Acid1) {Acid};
node[below=3mm of B,draw,ellipse] (Base1) {Base};
node[below=3mm of C,fill=dullblue,draw,ellipse] (Base2) {Base};
node[below=3mm of D,draw,ellipse] (Acid2) {Acid};
draw[blue!50] (Acid1) -- ++ (0,-1.5) coordinate(aux) -| (Base2);
draw (Base1) -- ++ (0,-2) -| (Acid2);
node[anchor=south,blue!50,fill=white,outer sep=1pt] at (aux-|Base1) {Conjugate pair};
end{tikzpicture}
end{document}
That's exactly what I wanted, but one question what doesaux-|Base1
do for the position of the conjugate pair node
– sab hoque
Nov 30 at 22:05
1
@sabhoque The coordinate(aux-|Base1)
is the point with the y-coordinate ofaux
and the x-coordinate ofBase1
, as explained very nicely in this answer.
– marmot
Nov 30 at 22:11
add a comment |
up vote
3
down vote
accepted
Something like this?
documentclass{article}
usepackage{chemfig}
usepackage{endiagram}
usepackage{booktabs}
usetikzlibrary{tikzmark,positioning,shapes.geometric}
definecolor{dullblue}{RGB}{178,201,231}
begin{document}
setchemfig{cram width=3pt}
schemestart
chemname{chemfig{H_{3}C-C(=[:45]O)-[:-45]O-[:0]H}}{tikzmarknode{A}{Acetic
Acid}}
+
chemname{chemfig{H_{3}C-Lewis{2:,N}(<:[:-15]H)<[:-40]H}}{tikzmarknode{B}{Methylamine}}
arrow{<=>}
chemname{chemfig{H_{3}C-C(=[:45]O)-[:-45]Orlap{${}^-$}}}{tikzmarknode{C}{Acetate
Ion}}
+
chemname{chemfig{H_{3}C-Nrlap{${}^+$}(-[:45]H)(<:[:-15]H)<[:-40]H}}{tikzmarknode{D}{Mathylammonium
Ion}}
schemestop
begin{tikzpicture}[overlay,remember picture]
node[below=3mm of A,fill=dullblue,draw,ellipse] (Acid1) {Acid};
node[below=3mm of B,draw,ellipse] (Base1) {Base};
node[below=3mm of C,fill=dullblue,draw,ellipse] (Base2) {Base};
node[below=3mm of D,draw,ellipse] (Acid2) {Acid};
draw[blue!50] (Acid1) -- ++ (0,-1.5) coordinate(aux) -| (Base2);
draw (Base1) -- ++ (0,-2) -| (Acid2);
node[anchor=south,blue!50,fill=white,outer sep=1pt] at (aux-|Base1) {Conjugate pair};
end{tikzpicture}
end{document}
That's exactly what I wanted, but one question what doesaux-|Base1
do for the position of the conjugate pair node
– sab hoque
Nov 30 at 22:05
1
@sabhoque The coordinate(aux-|Base1)
is the point with the y-coordinate ofaux
and the x-coordinate ofBase1
, as explained very nicely in this answer.
– marmot
Nov 30 at 22:11
add a comment |
up vote
3
down vote
accepted
up vote
3
down vote
accepted
Something like this?
documentclass{article}
usepackage{chemfig}
usepackage{endiagram}
usepackage{booktabs}
usetikzlibrary{tikzmark,positioning,shapes.geometric}
definecolor{dullblue}{RGB}{178,201,231}
begin{document}
setchemfig{cram width=3pt}
schemestart
chemname{chemfig{H_{3}C-C(=[:45]O)-[:-45]O-[:0]H}}{tikzmarknode{A}{Acetic
Acid}}
+
chemname{chemfig{H_{3}C-Lewis{2:,N}(<:[:-15]H)<[:-40]H}}{tikzmarknode{B}{Methylamine}}
arrow{<=>}
chemname{chemfig{H_{3}C-C(=[:45]O)-[:-45]Orlap{${}^-$}}}{tikzmarknode{C}{Acetate
Ion}}
+
chemname{chemfig{H_{3}C-Nrlap{${}^+$}(-[:45]H)(<:[:-15]H)<[:-40]H}}{tikzmarknode{D}{Mathylammonium
Ion}}
schemestop
begin{tikzpicture}[overlay,remember picture]
node[below=3mm of A,fill=dullblue,draw,ellipse] (Acid1) {Acid};
node[below=3mm of B,draw,ellipse] (Base1) {Base};
node[below=3mm of C,fill=dullblue,draw,ellipse] (Base2) {Base};
node[below=3mm of D,draw,ellipse] (Acid2) {Acid};
draw[blue!50] (Acid1) -- ++ (0,-1.5) coordinate(aux) -| (Base2);
draw (Base1) -- ++ (0,-2) -| (Acid2);
node[anchor=south,blue!50,fill=white,outer sep=1pt] at (aux-|Base1) {Conjugate pair};
end{tikzpicture}
end{document}
Something like this?
documentclass{article}
usepackage{chemfig}
usepackage{endiagram}
usepackage{booktabs}
usetikzlibrary{tikzmark,positioning,shapes.geometric}
definecolor{dullblue}{RGB}{178,201,231}
begin{document}
setchemfig{cram width=3pt}
schemestart
chemname{chemfig{H_{3}C-C(=[:45]O)-[:-45]O-[:0]H}}{tikzmarknode{A}{Acetic
Acid}}
+
chemname{chemfig{H_{3}C-Lewis{2:,N}(<:[:-15]H)<[:-40]H}}{tikzmarknode{B}{Methylamine}}
arrow{<=>}
chemname{chemfig{H_{3}C-C(=[:45]O)-[:-45]Orlap{${}^-$}}}{tikzmarknode{C}{Acetate
Ion}}
+
chemname{chemfig{H_{3}C-Nrlap{${}^+$}(-[:45]H)(<:[:-15]H)<[:-40]H}}{tikzmarknode{D}{Mathylammonium
Ion}}
schemestop
begin{tikzpicture}[overlay,remember picture]
node[below=3mm of A,fill=dullblue,draw,ellipse] (Acid1) {Acid};
node[below=3mm of B,draw,ellipse] (Base1) {Base};
node[below=3mm of C,fill=dullblue,draw,ellipse] (Base2) {Base};
node[below=3mm of D,draw,ellipse] (Acid2) {Acid};
draw[blue!50] (Acid1) -- ++ (0,-1.5) coordinate(aux) -| (Base2);
draw (Base1) -- ++ (0,-2) -| (Acid2);
node[anchor=south,blue!50,fill=white,outer sep=1pt] at (aux-|Base1) {Conjugate pair};
end{tikzpicture}
end{document}
answered Nov 30 at 15:58
marmot
81.4k491173
81.4k491173
That's exactly what I wanted, but one question what doesaux-|Base1
do for the position of the conjugate pair node
– sab hoque
Nov 30 at 22:05
1
@sabhoque The coordinate(aux-|Base1)
is the point with the y-coordinate ofaux
and the x-coordinate ofBase1
, as explained very nicely in this answer.
– marmot
Nov 30 at 22:11
add a comment |
That's exactly what I wanted, but one question what doesaux-|Base1
do for the position of the conjugate pair node
– sab hoque
Nov 30 at 22:05
1
@sabhoque The coordinate(aux-|Base1)
is the point with the y-coordinate ofaux
and the x-coordinate ofBase1
, as explained very nicely in this answer.
– marmot
Nov 30 at 22:11
That's exactly what I wanted, but one question what does
aux-|Base1
do for the position of the conjugate pair node– sab hoque
Nov 30 at 22:05
That's exactly what I wanted, but one question what does
aux-|Base1
do for the position of the conjugate pair node– sab hoque
Nov 30 at 22:05
1
1
@sabhoque The coordinate
(aux-|Base1)
is the point with the y-coordinate of aux
and the x-coordinate of Base1
, as explained very nicely in this answer.– marmot
Nov 30 at 22:11
@sabhoque The coordinate
(aux-|Base1)
is the point with the y-coordinate of aux
and the x-coordinate of Base1
, as explained very nicely in this answer.– marmot
Nov 30 at 22:11
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f462525%2fhow-to-typset-draw-conjugate-acids-and-bases%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown