Symmetrization and antisymmetrization of tensor products











up vote
4
down vote

favorite
1












How do I achieve something like



enter image description here



or



enter image description here



in LaTeX? The curved lines indicate symmetrization with respect to the indices they join, and the straight lines indicate antisymmetrization.










share|improve this question


























    up vote
    4
    down vote

    favorite
    1












    How do I achieve something like



    enter image description here



    or



    enter image description here



    in LaTeX? The curved lines indicate symmetrization with respect to the indices they join, and the straight lines indicate antisymmetrization.










    share|improve this question
























      up vote
      4
      down vote

      favorite
      1









      up vote
      4
      down vote

      favorite
      1






      1





      How do I achieve something like



      enter image description here



      or



      enter image description here



      in LaTeX? The curved lines indicate symmetrization with respect to the indices they join, and the straight lines indicate antisymmetrization.










      share|improve this question













      How do I achieve something like



      enter image description here



      or



      enter image description here



      in LaTeX? The curved lines indicate symmetrization with respect to the indices they join, and the straight lines indicate antisymmetrization.







      math-mode tensor






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked yesterday









      leastaction

      203111




      203111






















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          4
          down vote



          accepted










          Here is a simpleminded proposal.



          documentclass{article}
          usepackage{tikz}
          usetikzlibrary{tikzmark}
          begin{document}
          $u^{tikzmarknode{i1}{i}tikzmarknode{j1}{j}}
          tikzmarknode{v1}{v}^{tikzmarknode{k1}{k}tikzmarknode{l1}{ell}}$
          begin{tikzpicture}[overlay,remember picture]
          draw[blue,thick] (i1.north east) to[out=30,in=150] (l1.north west);
          draw[blue,thick] (j1) -- ++(0,-1.5ex) -| (k1);
          end{tikzpicture}
          end{document}


          enter image description here



          As for your comments:



          documentclass{article}
          usepackage{tikz}
          usetikzlibrary{tikzmark}
          begin{document}
          $u^{tikzmarknode{i1}{i}tikzmarknode{j1}{j}}
          tikzmarknode{v1}{v}^{tikzmarknode{k1}{k}tikzmarknode{l1}{ell}}$
          begin{tikzpicture}[overlay,remember picture]
          draw[blue,thick] (i1.north east) to[out=30,in=150] (l1.north west);
          draw[blue,thick] (j1) -- ([yshift=-2pt]v1.south -| j1) -| (k1);
          end{tikzpicture}
          quad
          $u^{tikzmarknode{i2}{i}tikzmarknode{j2}{j}}
          tikzmarknode{v2}{v}^{tikzmarknode{k2}{k}tikzmarknode{l2}{ell}}$
          begin{tikzpicture}[overlay,remember picture]
          draw[blue,thick] (j2.north east) to[out=30,in=150] (k2.north west);
          draw[blue,thick] (i2) -- ([yshift=-2pt]v2.south -| i2) -| (l2);
          end{tikzpicture}
          quad
          $u^{tikzmarknode{i3}{i}tikzmarknode{j3}{j}}
          tikzmarknode{v3}{v}^{tikzmarknode{k3}{k}tikzmarknode{l3}{ell}}$
          begin{tikzpicture}[overlay,remember picture]
          draw[blue,thick,rounded corners=2pt] (j3) --
          ([yshift=-2pt]v3.south -| j3) -| (k3);
          draw[blue,thick] (i3.north) -- ++(0,3pt) -| (l3);
          end{tikzpicture}
          end{document}


          enter image description here






          share|improve this answer



















          • 1




            Thanks! In your code, I suppose v1 isn’t being used.
            – leastaction
            yesterday










          • Can you perhaps edit your answer to include the symmetrization below and antisymmetrization above as well? I couldn't get them to work in spite of using something like "draw[red,thick] (j1.south west) to [out=300,in=225] (k1.south west);"
            – leastaction
            yesterday






          • 1




            @leastaction Sorry, was hibernating. Added some more options.
            – marmot
            yesterday










          • Thanks. I meant to ask if it is possible to swap the curve with the |__| (i.e. the curve below, and the |---| above).
            – leastaction
            yesterday






          • 1




            @leastaction I added a proposal. If you want things to be like in the last example, one may actually use Wick contractions for that, i.e. one may modify the package commands to give you that as well.
            – marmot
            yesterday


















          up vote
          2
          down vote













          Also with pstricks (compile with xelatex):



          documentclass{article}
          usepackage{pst-node}

          begin{document}

          $u^{rnode{i}{i}rnode{j}{j}} v^{rnode{k}{k}rnode{l}{ell}}$
          ncarc[linecolor=blue,nodesep=1pt,arcangle=60]{i}{l}
          ncbar[linecolor=blue,nodesep=1pt,arm=3pt,angle=-90]{j}{k}

          end{document}



          enter image description here







          share|improve this answer























            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',
            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
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f464042%2fsymmetrization-and-antisymmetrization-of-tensor-products%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            4
            down vote



            accepted










            Here is a simpleminded proposal.



            documentclass{article}
            usepackage{tikz}
            usetikzlibrary{tikzmark}
            begin{document}
            $u^{tikzmarknode{i1}{i}tikzmarknode{j1}{j}}
            tikzmarknode{v1}{v}^{tikzmarknode{k1}{k}tikzmarknode{l1}{ell}}$
            begin{tikzpicture}[overlay,remember picture]
            draw[blue,thick] (i1.north east) to[out=30,in=150] (l1.north west);
            draw[blue,thick] (j1) -- ++(0,-1.5ex) -| (k1);
            end{tikzpicture}
            end{document}


            enter image description here



            As for your comments:



            documentclass{article}
            usepackage{tikz}
            usetikzlibrary{tikzmark}
            begin{document}
            $u^{tikzmarknode{i1}{i}tikzmarknode{j1}{j}}
            tikzmarknode{v1}{v}^{tikzmarknode{k1}{k}tikzmarknode{l1}{ell}}$
            begin{tikzpicture}[overlay,remember picture]
            draw[blue,thick] (i1.north east) to[out=30,in=150] (l1.north west);
            draw[blue,thick] (j1) -- ([yshift=-2pt]v1.south -| j1) -| (k1);
            end{tikzpicture}
            quad
            $u^{tikzmarknode{i2}{i}tikzmarknode{j2}{j}}
            tikzmarknode{v2}{v}^{tikzmarknode{k2}{k}tikzmarknode{l2}{ell}}$
            begin{tikzpicture}[overlay,remember picture]
            draw[blue,thick] (j2.north east) to[out=30,in=150] (k2.north west);
            draw[blue,thick] (i2) -- ([yshift=-2pt]v2.south -| i2) -| (l2);
            end{tikzpicture}
            quad
            $u^{tikzmarknode{i3}{i}tikzmarknode{j3}{j}}
            tikzmarknode{v3}{v}^{tikzmarknode{k3}{k}tikzmarknode{l3}{ell}}$
            begin{tikzpicture}[overlay,remember picture]
            draw[blue,thick,rounded corners=2pt] (j3) --
            ([yshift=-2pt]v3.south -| j3) -| (k3);
            draw[blue,thick] (i3.north) -- ++(0,3pt) -| (l3);
            end{tikzpicture}
            end{document}


            enter image description here






            share|improve this answer



















            • 1




              Thanks! In your code, I suppose v1 isn’t being used.
              – leastaction
              yesterday










            • Can you perhaps edit your answer to include the symmetrization below and antisymmetrization above as well? I couldn't get them to work in spite of using something like "draw[red,thick] (j1.south west) to [out=300,in=225] (k1.south west);"
              – leastaction
              yesterday






            • 1




              @leastaction Sorry, was hibernating. Added some more options.
              – marmot
              yesterday










            • Thanks. I meant to ask if it is possible to swap the curve with the |__| (i.e. the curve below, and the |---| above).
              – leastaction
              yesterday






            • 1




              @leastaction I added a proposal. If you want things to be like in the last example, one may actually use Wick contractions for that, i.e. one may modify the package commands to give you that as well.
              – marmot
              yesterday















            up vote
            4
            down vote



            accepted










            Here is a simpleminded proposal.



            documentclass{article}
            usepackage{tikz}
            usetikzlibrary{tikzmark}
            begin{document}
            $u^{tikzmarknode{i1}{i}tikzmarknode{j1}{j}}
            tikzmarknode{v1}{v}^{tikzmarknode{k1}{k}tikzmarknode{l1}{ell}}$
            begin{tikzpicture}[overlay,remember picture]
            draw[blue,thick] (i1.north east) to[out=30,in=150] (l1.north west);
            draw[blue,thick] (j1) -- ++(0,-1.5ex) -| (k1);
            end{tikzpicture}
            end{document}


            enter image description here



            As for your comments:



            documentclass{article}
            usepackage{tikz}
            usetikzlibrary{tikzmark}
            begin{document}
            $u^{tikzmarknode{i1}{i}tikzmarknode{j1}{j}}
            tikzmarknode{v1}{v}^{tikzmarknode{k1}{k}tikzmarknode{l1}{ell}}$
            begin{tikzpicture}[overlay,remember picture]
            draw[blue,thick] (i1.north east) to[out=30,in=150] (l1.north west);
            draw[blue,thick] (j1) -- ([yshift=-2pt]v1.south -| j1) -| (k1);
            end{tikzpicture}
            quad
            $u^{tikzmarknode{i2}{i}tikzmarknode{j2}{j}}
            tikzmarknode{v2}{v}^{tikzmarknode{k2}{k}tikzmarknode{l2}{ell}}$
            begin{tikzpicture}[overlay,remember picture]
            draw[blue,thick] (j2.north east) to[out=30,in=150] (k2.north west);
            draw[blue,thick] (i2) -- ([yshift=-2pt]v2.south -| i2) -| (l2);
            end{tikzpicture}
            quad
            $u^{tikzmarknode{i3}{i}tikzmarknode{j3}{j}}
            tikzmarknode{v3}{v}^{tikzmarknode{k3}{k}tikzmarknode{l3}{ell}}$
            begin{tikzpicture}[overlay,remember picture]
            draw[blue,thick,rounded corners=2pt] (j3) --
            ([yshift=-2pt]v3.south -| j3) -| (k3);
            draw[blue,thick] (i3.north) -- ++(0,3pt) -| (l3);
            end{tikzpicture}
            end{document}


            enter image description here






            share|improve this answer



















            • 1




              Thanks! In your code, I suppose v1 isn’t being used.
              – leastaction
              yesterday










            • Can you perhaps edit your answer to include the symmetrization below and antisymmetrization above as well? I couldn't get them to work in spite of using something like "draw[red,thick] (j1.south west) to [out=300,in=225] (k1.south west);"
              – leastaction
              yesterday






            • 1




              @leastaction Sorry, was hibernating. Added some more options.
              – marmot
              yesterday










            • Thanks. I meant to ask if it is possible to swap the curve with the |__| (i.e. the curve below, and the |---| above).
              – leastaction
              yesterday






            • 1




              @leastaction I added a proposal. If you want things to be like in the last example, one may actually use Wick contractions for that, i.e. one may modify the package commands to give you that as well.
              – marmot
              yesterday













            up vote
            4
            down vote



            accepted







            up vote
            4
            down vote



            accepted






            Here is a simpleminded proposal.



            documentclass{article}
            usepackage{tikz}
            usetikzlibrary{tikzmark}
            begin{document}
            $u^{tikzmarknode{i1}{i}tikzmarknode{j1}{j}}
            tikzmarknode{v1}{v}^{tikzmarknode{k1}{k}tikzmarknode{l1}{ell}}$
            begin{tikzpicture}[overlay,remember picture]
            draw[blue,thick] (i1.north east) to[out=30,in=150] (l1.north west);
            draw[blue,thick] (j1) -- ++(0,-1.5ex) -| (k1);
            end{tikzpicture}
            end{document}


            enter image description here



            As for your comments:



            documentclass{article}
            usepackage{tikz}
            usetikzlibrary{tikzmark}
            begin{document}
            $u^{tikzmarknode{i1}{i}tikzmarknode{j1}{j}}
            tikzmarknode{v1}{v}^{tikzmarknode{k1}{k}tikzmarknode{l1}{ell}}$
            begin{tikzpicture}[overlay,remember picture]
            draw[blue,thick] (i1.north east) to[out=30,in=150] (l1.north west);
            draw[blue,thick] (j1) -- ([yshift=-2pt]v1.south -| j1) -| (k1);
            end{tikzpicture}
            quad
            $u^{tikzmarknode{i2}{i}tikzmarknode{j2}{j}}
            tikzmarknode{v2}{v}^{tikzmarknode{k2}{k}tikzmarknode{l2}{ell}}$
            begin{tikzpicture}[overlay,remember picture]
            draw[blue,thick] (j2.north east) to[out=30,in=150] (k2.north west);
            draw[blue,thick] (i2) -- ([yshift=-2pt]v2.south -| i2) -| (l2);
            end{tikzpicture}
            quad
            $u^{tikzmarknode{i3}{i}tikzmarknode{j3}{j}}
            tikzmarknode{v3}{v}^{tikzmarknode{k3}{k}tikzmarknode{l3}{ell}}$
            begin{tikzpicture}[overlay,remember picture]
            draw[blue,thick,rounded corners=2pt] (j3) --
            ([yshift=-2pt]v3.south -| j3) -| (k3);
            draw[blue,thick] (i3.north) -- ++(0,3pt) -| (l3);
            end{tikzpicture}
            end{document}


            enter image description here






            share|improve this answer














            Here is a simpleminded proposal.



            documentclass{article}
            usepackage{tikz}
            usetikzlibrary{tikzmark}
            begin{document}
            $u^{tikzmarknode{i1}{i}tikzmarknode{j1}{j}}
            tikzmarknode{v1}{v}^{tikzmarknode{k1}{k}tikzmarknode{l1}{ell}}$
            begin{tikzpicture}[overlay,remember picture]
            draw[blue,thick] (i1.north east) to[out=30,in=150] (l1.north west);
            draw[blue,thick] (j1) -- ++(0,-1.5ex) -| (k1);
            end{tikzpicture}
            end{document}


            enter image description here



            As for your comments:



            documentclass{article}
            usepackage{tikz}
            usetikzlibrary{tikzmark}
            begin{document}
            $u^{tikzmarknode{i1}{i}tikzmarknode{j1}{j}}
            tikzmarknode{v1}{v}^{tikzmarknode{k1}{k}tikzmarknode{l1}{ell}}$
            begin{tikzpicture}[overlay,remember picture]
            draw[blue,thick] (i1.north east) to[out=30,in=150] (l1.north west);
            draw[blue,thick] (j1) -- ([yshift=-2pt]v1.south -| j1) -| (k1);
            end{tikzpicture}
            quad
            $u^{tikzmarknode{i2}{i}tikzmarknode{j2}{j}}
            tikzmarknode{v2}{v}^{tikzmarknode{k2}{k}tikzmarknode{l2}{ell}}$
            begin{tikzpicture}[overlay,remember picture]
            draw[blue,thick] (j2.north east) to[out=30,in=150] (k2.north west);
            draw[blue,thick] (i2) -- ([yshift=-2pt]v2.south -| i2) -| (l2);
            end{tikzpicture}
            quad
            $u^{tikzmarknode{i3}{i}tikzmarknode{j3}{j}}
            tikzmarknode{v3}{v}^{tikzmarknode{k3}{k}tikzmarknode{l3}{ell}}$
            begin{tikzpicture}[overlay,remember picture]
            draw[blue,thick,rounded corners=2pt] (j3) --
            ([yshift=-2pt]v3.south -| j3) -| (k3);
            draw[blue,thick] (i3.north) -- ++(0,3pt) -| (l3);
            end{tikzpicture}
            end{document}


            enter image description here







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited yesterday

























            answered yesterday









            marmot

            82.3k492175




            82.3k492175








            • 1




              Thanks! In your code, I suppose v1 isn’t being used.
              – leastaction
              yesterday










            • Can you perhaps edit your answer to include the symmetrization below and antisymmetrization above as well? I couldn't get them to work in spite of using something like "draw[red,thick] (j1.south west) to [out=300,in=225] (k1.south west);"
              – leastaction
              yesterday






            • 1




              @leastaction Sorry, was hibernating. Added some more options.
              – marmot
              yesterday










            • Thanks. I meant to ask if it is possible to swap the curve with the |__| (i.e. the curve below, and the |---| above).
              – leastaction
              yesterday






            • 1




              @leastaction I added a proposal. If you want things to be like in the last example, one may actually use Wick contractions for that, i.e. one may modify the package commands to give you that as well.
              – marmot
              yesterday














            • 1




              Thanks! In your code, I suppose v1 isn’t being used.
              – leastaction
              yesterday










            • Can you perhaps edit your answer to include the symmetrization below and antisymmetrization above as well? I couldn't get them to work in spite of using something like "draw[red,thick] (j1.south west) to [out=300,in=225] (k1.south west);"
              – leastaction
              yesterday






            • 1




              @leastaction Sorry, was hibernating. Added some more options.
              – marmot
              yesterday










            • Thanks. I meant to ask if it is possible to swap the curve with the |__| (i.e. the curve below, and the |---| above).
              – leastaction
              yesterday






            • 1




              @leastaction I added a proposal. If you want things to be like in the last example, one may actually use Wick contractions for that, i.e. one may modify the package commands to give you that as well.
              – marmot
              yesterday








            1




            1




            Thanks! In your code, I suppose v1 isn’t being used.
            – leastaction
            yesterday




            Thanks! In your code, I suppose v1 isn’t being used.
            – leastaction
            yesterday












            Can you perhaps edit your answer to include the symmetrization below and antisymmetrization above as well? I couldn't get them to work in spite of using something like "draw[red,thick] (j1.south west) to [out=300,in=225] (k1.south west);"
            – leastaction
            yesterday




            Can you perhaps edit your answer to include the symmetrization below and antisymmetrization above as well? I couldn't get them to work in spite of using something like "draw[red,thick] (j1.south west) to [out=300,in=225] (k1.south west);"
            – leastaction
            yesterday




            1




            1




            @leastaction Sorry, was hibernating. Added some more options.
            – marmot
            yesterday




            @leastaction Sorry, was hibernating. Added some more options.
            – marmot
            yesterday












            Thanks. I meant to ask if it is possible to swap the curve with the |__| (i.e. the curve below, and the |---| above).
            – leastaction
            yesterday




            Thanks. I meant to ask if it is possible to swap the curve with the |__| (i.e. the curve below, and the |---| above).
            – leastaction
            yesterday




            1




            1




            @leastaction I added a proposal. If you want things to be like in the last example, one may actually use Wick contractions for that, i.e. one may modify the package commands to give you that as well.
            – marmot
            yesterday




            @leastaction I added a proposal. If you want things to be like in the last example, one may actually use Wick contractions for that, i.e. one may modify the package commands to give you that as well.
            – marmot
            yesterday










            up vote
            2
            down vote













            Also with pstricks (compile with xelatex):



            documentclass{article}
            usepackage{pst-node}

            begin{document}

            $u^{rnode{i}{i}rnode{j}{j}} v^{rnode{k}{k}rnode{l}{ell}}$
            ncarc[linecolor=blue,nodesep=1pt,arcangle=60]{i}{l}
            ncbar[linecolor=blue,nodesep=1pt,arm=3pt,angle=-90]{j}{k}

            end{document}



            enter image description here







            share|improve this answer



























              up vote
              2
              down vote













              Also with pstricks (compile with xelatex):



              documentclass{article}
              usepackage{pst-node}

              begin{document}

              $u^{rnode{i}{i}rnode{j}{j}} v^{rnode{k}{k}rnode{l}{ell}}$
              ncarc[linecolor=blue,nodesep=1pt,arcangle=60]{i}{l}
              ncbar[linecolor=blue,nodesep=1pt,arm=3pt,angle=-90]{j}{k}

              end{document}



              enter image description here







              share|improve this answer

























                up vote
                2
                down vote










                up vote
                2
                down vote









                Also with pstricks (compile with xelatex):



                documentclass{article}
                usepackage{pst-node}

                begin{document}

                $u^{rnode{i}{i}rnode{j}{j}} v^{rnode{k}{k}rnode{l}{ell}}$
                ncarc[linecolor=blue,nodesep=1pt,arcangle=60]{i}{l}
                ncbar[linecolor=blue,nodesep=1pt,arm=3pt,angle=-90]{j}{k}

                end{document}



                enter image description here







                share|improve this answer














                Also with pstricks (compile with xelatex):



                documentclass{article}
                usepackage{pst-node}

                begin{document}

                $u^{rnode{i}{i}rnode{j}{j}} v^{rnode{k}{k}rnode{l}{ell}}$
                ncarc[linecolor=blue,nodesep=1pt,arcangle=60]{i}{l}
                ncbar[linecolor=blue,nodesep=1pt,arm=3pt,angle=-90]{j}{k}

                end{document}



                enter image description here








                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited yesterday

























                answered yesterday









                AboAmmar

                31.9k22781




                31.9k22781






























                    draft saved

                    draft discarded




















































                    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.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f464042%2fsymmetrization-and-antisymmetrization-of-tensor-products%23new-answer', 'question_page');
                    }
                    );

                    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







                    Popular posts from this blog

                    Plaza Victoria

                    Brian Clough

                    Cáceres