Illustrating permutations as braided group - TiKZ-PGF
I would like to illustrate the permutation group using the braid
package in TikZ-PGF, such as this image (from Wikipedia):
In fact I would like to illustrate the permutation group for N = 3, which should have 6 total configurations. Having followed the example provided, I so far have:
documentclass[tikz]{standalone}
usepackage{pgfplots}
usepackage{braids}
pgfplotsset{compat=newest}
begin{document}
begin{tikzpicture}
braid[style strands={1}{red},style
strands={2}{blue},style strands={3}{green}] (TEST2) at (5,0) s_1
s_3^{-1} s_1 s_2^{−1} s_1 s_2^{−1};
end{tikzpicture}
end{document}
However, I am finding it difficult to understand how to change the ordering. Any help would be appreciated.
tikz-pgf braids
add a comment |
I would like to illustrate the permutation group using the braid
package in TikZ-PGF, such as this image (from Wikipedia):
In fact I would like to illustrate the permutation group for N = 3, which should have 6 total configurations. Having followed the example provided, I so far have:
documentclass[tikz]{standalone}
usepackage{pgfplots}
usepackage{braids}
pgfplotsset{compat=newest}
begin{document}
begin{tikzpicture}
braid[style strands={1}{red},style
strands={2}{blue},style strands={3}{green}] (TEST2) at (5,0) s_1
s_3^{-1} s_1 s_2^{−1} s_1 s_2^{−1};
end{tikzpicture}
end{document}
However, I am finding it difficult to understand how to change the ordering. Any help would be appreciated.
tikz-pgf braids
1
@marmot, there is a documentation forknots
(mirrors.ibiblio.org/CTAN/graphics/pgf/contrib/spath3/knots.pdf) written by the same author as the braids package (Andrew Stacey). The braids don't have any knots, but that's all I know. I'll update the MWE.
– Sid
Oct 17 '18 at 2:39
@marmot, alsopgfplots
is required
– Sid
Oct 17 '18 at 2:43
On my machine it runs withoutusepackage{pgfplots}
.
– marmot
Oct 17 '18 at 2:49
@Sid, maybe the answer and package from this question: (tex.stackexchange.com/questions/32125/braid-diagrams-in-tikz) could be useful
– Luis Turcio
Oct 18 '18 at 17:26
add a comment |
I would like to illustrate the permutation group using the braid
package in TikZ-PGF, such as this image (from Wikipedia):
In fact I would like to illustrate the permutation group for N = 3, which should have 6 total configurations. Having followed the example provided, I so far have:
documentclass[tikz]{standalone}
usepackage{pgfplots}
usepackage{braids}
pgfplotsset{compat=newest}
begin{document}
begin{tikzpicture}
braid[style strands={1}{red},style
strands={2}{blue},style strands={3}{green}] (TEST2) at (5,0) s_1
s_3^{-1} s_1 s_2^{−1} s_1 s_2^{−1};
end{tikzpicture}
end{document}
However, I am finding it difficult to understand how to change the ordering. Any help would be appreciated.
tikz-pgf braids
I would like to illustrate the permutation group using the braid
package in TikZ-PGF, such as this image (from Wikipedia):
In fact I would like to illustrate the permutation group for N = 3, which should have 6 total configurations. Having followed the example provided, I so far have:
documentclass[tikz]{standalone}
usepackage{pgfplots}
usepackage{braids}
pgfplotsset{compat=newest}
begin{document}
begin{tikzpicture}
braid[style strands={1}{red},style
strands={2}{blue},style strands={3}{green}] (TEST2) at (5,0) s_1
s_3^{-1} s_1 s_2^{−1} s_1 s_2^{−1};
end{tikzpicture}
end{document}
However, I am finding it difficult to understand how to change the ordering. Any help would be appreciated.
tikz-pgf braids
tikz-pgf braids
edited Oct 17 '18 at 2:43
Sid
asked Oct 17 '18 at 1:55
SidSid
694314
694314
1
@marmot, there is a documentation forknots
(mirrors.ibiblio.org/CTAN/graphics/pgf/contrib/spath3/knots.pdf) written by the same author as the braids package (Andrew Stacey). The braids don't have any knots, but that's all I know. I'll update the MWE.
– Sid
Oct 17 '18 at 2:39
@marmot, alsopgfplots
is required
– Sid
Oct 17 '18 at 2:43
On my machine it runs withoutusepackage{pgfplots}
.
– marmot
Oct 17 '18 at 2:49
@Sid, maybe the answer and package from this question: (tex.stackexchange.com/questions/32125/braid-diagrams-in-tikz) could be useful
– Luis Turcio
Oct 18 '18 at 17:26
add a comment |
1
@marmot, there is a documentation forknots
(mirrors.ibiblio.org/CTAN/graphics/pgf/contrib/spath3/knots.pdf) written by the same author as the braids package (Andrew Stacey). The braids don't have any knots, but that's all I know. I'll update the MWE.
– Sid
Oct 17 '18 at 2:39
@marmot, alsopgfplots
is required
– Sid
Oct 17 '18 at 2:43
On my machine it runs withoutusepackage{pgfplots}
.
– marmot
Oct 17 '18 at 2:49
@Sid, maybe the answer and package from this question: (tex.stackexchange.com/questions/32125/braid-diagrams-in-tikz) could be useful
– Luis Turcio
Oct 18 '18 at 17:26
1
1
@marmot, there is a documentation for
knots
(mirrors.ibiblio.org/CTAN/graphics/pgf/contrib/spath3/knots.pdf) written by the same author as the braids package (Andrew Stacey). The braids don't have any knots, but that's all I know. I'll update the MWE.– Sid
Oct 17 '18 at 2:39
@marmot, there is a documentation for
knots
(mirrors.ibiblio.org/CTAN/graphics/pgf/contrib/spath3/knots.pdf) written by the same author as the braids package (Andrew Stacey). The braids don't have any knots, but that's all I know. I'll update the MWE.– Sid
Oct 17 '18 at 2:39
@marmot, also
pgfplots
is required– Sid
Oct 17 '18 at 2:43
@marmot, also
pgfplots
is required– Sid
Oct 17 '18 at 2:43
On my machine it runs without
usepackage{pgfplots}
.– marmot
Oct 17 '18 at 2:49
On my machine it runs without
usepackage{pgfplots}
.– marmot
Oct 17 '18 at 2:49
@Sid, maybe the answer and package from this question: (tex.stackexchange.com/questions/32125/braid-diagrams-in-tikz) could be useful
– Luis Turcio
Oct 18 '18 at 17:26
@Sid, maybe the answer and package from this question: (tex.stackexchange.com/questions/32125/braid-diagrams-in-tikz) could be useful
– Luis Turcio
Oct 18 '18 at 17:26
add a comment |
1 Answer
1
active
oldest
votes
My apologies for being a bit late to the party, but here's the permutations of 3 objects represented as braids using the braids
package.
documentclass[tikz,border=1cm]{standalone}
%url{https://tex.stackexchange.com/q/455488/86}
usepackage{tikz}
usepackage{braids}
begin{document}
begin{tikzpicture}[
/pgf/braid/.cd,
style strands={1}{red},
style strands={2}{blue},
style strands={3}{green},
number of strands=3
]
braid (identity) at (0,0) 1 1 1;
node at ([yshift=-1cm]identity-rev-2-e) {Identity};
braid (123) at ([xshift=2cm]identity-3-s) 1 s_2^{-1} s_1;
node at ([yshift=-1cm]123-rev-2-e) {((123))};
braid (321) at ([xshift=2cm]123-3-s) 1 s_1^{-1} s_2;
node at ([yshift=-1cm]321-rev-2-e) {((321))};
braid (12) at ([yshift=-2cm]identity-rev-1-e) 1 s_1^{-1} 1;
node at ([yshift=-1cm]12-rev-2-e) {((12))};
braid (23) at ([yshift=-2cm]123-rev-1-e) 1 s_2 1;
node at ([yshift=-1cm]23-rev-2-e) {((23))};
braid (31) at ([yshift=-2cm]321-rev-1-e) s_1^{-1} s_2 s_1^{-1};
node at ([yshift=-1cm]31-rev-2-e) {((31))};
end{tikzpicture}
end{document}
Obviously, I had free choice on the over-under crossings.
Result:
I should note that this uses the more recent version of the braids package which isn't as yet available on CTAN (but is on github).
– Loop Space
Mar 9 at 10:27
Better late than never ;) Is there some user manual? I don't get the syntax for this but it's exactly what I wanted.
– Sid
Mar 14 at 3:06
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
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%2f455488%2fillustrating-permutations-as-braided-group-tikz-pgf%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
My apologies for being a bit late to the party, but here's the permutations of 3 objects represented as braids using the braids
package.
documentclass[tikz,border=1cm]{standalone}
%url{https://tex.stackexchange.com/q/455488/86}
usepackage{tikz}
usepackage{braids}
begin{document}
begin{tikzpicture}[
/pgf/braid/.cd,
style strands={1}{red},
style strands={2}{blue},
style strands={3}{green},
number of strands=3
]
braid (identity) at (0,0) 1 1 1;
node at ([yshift=-1cm]identity-rev-2-e) {Identity};
braid (123) at ([xshift=2cm]identity-3-s) 1 s_2^{-1} s_1;
node at ([yshift=-1cm]123-rev-2-e) {((123))};
braid (321) at ([xshift=2cm]123-3-s) 1 s_1^{-1} s_2;
node at ([yshift=-1cm]321-rev-2-e) {((321))};
braid (12) at ([yshift=-2cm]identity-rev-1-e) 1 s_1^{-1} 1;
node at ([yshift=-1cm]12-rev-2-e) {((12))};
braid (23) at ([yshift=-2cm]123-rev-1-e) 1 s_2 1;
node at ([yshift=-1cm]23-rev-2-e) {((23))};
braid (31) at ([yshift=-2cm]321-rev-1-e) s_1^{-1} s_2 s_1^{-1};
node at ([yshift=-1cm]31-rev-2-e) {((31))};
end{tikzpicture}
end{document}
Obviously, I had free choice on the over-under crossings.
Result:
I should note that this uses the more recent version of the braids package which isn't as yet available on CTAN (but is on github).
– Loop Space
Mar 9 at 10:27
Better late than never ;) Is there some user manual? I don't get the syntax for this but it's exactly what I wanted.
– Sid
Mar 14 at 3:06
add a comment |
My apologies for being a bit late to the party, but here's the permutations of 3 objects represented as braids using the braids
package.
documentclass[tikz,border=1cm]{standalone}
%url{https://tex.stackexchange.com/q/455488/86}
usepackage{tikz}
usepackage{braids}
begin{document}
begin{tikzpicture}[
/pgf/braid/.cd,
style strands={1}{red},
style strands={2}{blue},
style strands={3}{green},
number of strands=3
]
braid (identity) at (0,0) 1 1 1;
node at ([yshift=-1cm]identity-rev-2-e) {Identity};
braid (123) at ([xshift=2cm]identity-3-s) 1 s_2^{-1} s_1;
node at ([yshift=-1cm]123-rev-2-e) {((123))};
braid (321) at ([xshift=2cm]123-3-s) 1 s_1^{-1} s_2;
node at ([yshift=-1cm]321-rev-2-e) {((321))};
braid (12) at ([yshift=-2cm]identity-rev-1-e) 1 s_1^{-1} 1;
node at ([yshift=-1cm]12-rev-2-e) {((12))};
braid (23) at ([yshift=-2cm]123-rev-1-e) 1 s_2 1;
node at ([yshift=-1cm]23-rev-2-e) {((23))};
braid (31) at ([yshift=-2cm]321-rev-1-e) s_1^{-1} s_2 s_1^{-1};
node at ([yshift=-1cm]31-rev-2-e) {((31))};
end{tikzpicture}
end{document}
Obviously, I had free choice on the over-under crossings.
Result:
I should note that this uses the more recent version of the braids package which isn't as yet available on CTAN (but is on github).
– Loop Space
Mar 9 at 10:27
Better late than never ;) Is there some user manual? I don't get the syntax for this but it's exactly what I wanted.
– Sid
Mar 14 at 3:06
add a comment |
My apologies for being a bit late to the party, but here's the permutations of 3 objects represented as braids using the braids
package.
documentclass[tikz,border=1cm]{standalone}
%url{https://tex.stackexchange.com/q/455488/86}
usepackage{tikz}
usepackage{braids}
begin{document}
begin{tikzpicture}[
/pgf/braid/.cd,
style strands={1}{red},
style strands={2}{blue},
style strands={3}{green},
number of strands=3
]
braid (identity) at (0,0) 1 1 1;
node at ([yshift=-1cm]identity-rev-2-e) {Identity};
braid (123) at ([xshift=2cm]identity-3-s) 1 s_2^{-1} s_1;
node at ([yshift=-1cm]123-rev-2-e) {((123))};
braid (321) at ([xshift=2cm]123-3-s) 1 s_1^{-1} s_2;
node at ([yshift=-1cm]321-rev-2-e) {((321))};
braid (12) at ([yshift=-2cm]identity-rev-1-e) 1 s_1^{-1} 1;
node at ([yshift=-1cm]12-rev-2-e) {((12))};
braid (23) at ([yshift=-2cm]123-rev-1-e) 1 s_2 1;
node at ([yshift=-1cm]23-rev-2-e) {((23))};
braid (31) at ([yshift=-2cm]321-rev-1-e) s_1^{-1} s_2 s_1^{-1};
node at ([yshift=-1cm]31-rev-2-e) {((31))};
end{tikzpicture}
end{document}
Obviously, I had free choice on the over-under crossings.
Result:
My apologies for being a bit late to the party, but here's the permutations of 3 objects represented as braids using the braids
package.
documentclass[tikz,border=1cm]{standalone}
%url{https://tex.stackexchange.com/q/455488/86}
usepackage{tikz}
usepackage{braids}
begin{document}
begin{tikzpicture}[
/pgf/braid/.cd,
style strands={1}{red},
style strands={2}{blue},
style strands={3}{green},
number of strands=3
]
braid (identity) at (0,0) 1 1 1;
node at ([yshift=-1cm]identity-rev-2-e) {Identity};
braid (123) at ([xshift=2cm]identity-3-s) 1 s_2^{-1} s_1;
node at ([yshift=-1cm]123-rev-2-e) {((123))};
braid (321) at ([xshift=2cm]123-3-s) 1 s_1^{-1} s_2;
node at ([yshift=-1cm]321-rev-2-e) {((321))};
braid (12) at ([yshift=-2cm]identity-rev-1-e) 1 s_1^{-1} 1;
node at ([yshift=-1cm]12-rev-2-e) {((12))};
braid (23) at ([yshift=-2cm]123-rev-1-e) 1 s_2 1;
node at ([yshift=-1cm]23-rev-2-e) {((23))};
braid (31) at ([yshift=-2cm]321-rev-1-e) s_1^{-1} s_2 s_1^{-1};
node at ([yshift=-1cm]31-rev-2-e) {((31))};
end{tikzpicture}
end{document}
Obviously, I had free choice on the over-under crossings.
Result:
answered Mar 9 at 10:19
Loop SpaceLoop Space
113k29306609
113k29306609
I should note that this uses the more recent version of the braids package which isn't as yet available on CTAN (but is on github).
– Loop Space
Mar 9 at 10:27
Better late than never ;) Is there some user manual? I don't get the syntax for this but it's exactly what I wanted.
– Sid
Mar 14 at 3:06
add a comment |
I should note that this uses the more recent version of the braids package which isn't as yet available on CTAN (but is on github).
– Loop Space
Mar 9 at 10:27
Better late than never ;) Is there some user manual? I don't get the syntax for this but it's exactly what I wanted.
– Sid
Mar 14 at 3:06
I should note that this uses the more recent version of the braids package which isn't as yet available on CTAN (but is on github).
– Loop Space
Mar 9 at 10:27
I should note that this uses the more recent version of the braids package which isn't as yet available on CTAN (but is on github).
– Loop Space
Mar 9 at 10:27
Better late than never ;) Is there some user manual? I don't get the syntax for this but it's exactly what I wanted.
– Sid
Mar 14 at 3:06
Better late than never ;) Is there some user manual? I don't get the syntax for this but it's exactly what I wanted.
– Sid
Mar 14 at 3:06
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.
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%2f455488%2fillustrating-permutations-as-braided-group-tikz-pgf%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
1
@marmot, there is a documentation for
knots
(mirrors.ibiblio.org/CTAN/graphics/pgf/contrib/spath3/knots.pdf) written by the same author as the braids package (Andrew Stacey). The braids don't have any knots, but that's all I know. I'll update the MWE.– Sid
Oct 17 '18 at 2:39
@marmot, also
pgfplots
is required– Sid
Oct 17 '18 at 2:43
On my machine it runs without
usepackage{pgfplots}
.– marmot
Oct 17 '18 at 2:49
@Sid, maybe the answer and package from this question: (tex.stackexchange.com/questions/32125/braid-diagrams-in-tikz) could be useful
– Luis Turcio
Oct 18 '18 at 17:26