Unstandardized brackets in matrix












5















I wonder how to solve my problem.
In 'normal' matrix we have a square brackets but I need to write a brackets like in photo
enter image description here



Could you help me?



I'm using usepackage{amsmath}.










share|improve this question

























  • You may use detexify to look for such brackets detexify.kirelabs.org/classify.html

    – sztruks
    1 hour ago
















5















I wonder how to solve my problem.
In 'normal' matrix we have a square brackets but I need to write a brackets like in photo
enter image description here



Could you help me?



I'm using usepackage{amsmath}.










share|improve this question

























  • You may use detexify to look for such brackets detexify.kirelabs.org/classify.html

    – sztruks
    1 hour ago














5












5








5








I wonder how to solve my problem.
In 'normal' matrix we have a square brackets but I need to write a brackets like in photo
enter image description here



Could you help me?



I'm using usepackage{amsmath}.










share|improve this question
















I wonder how to solve my problem.
In 'normal' matrix we have a square brackets but I need to write a brackets like in photo
enter image description here



Could you help me?



I'm using usepackage{amsmath}.







matrices brackets






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 9 mins ago









Tiuri

5,1621630




5,1621630










asked 1 hour ago









BlazejBlazej

1648




1648













  • You may use detexify to look for such brackets detexify.kirelabs.org/classify.html

    – sztruks
    1 hour ago



















  • You may use detexify to look for such brackets detexify.kirelabs.org/classify.html

    – sztruks
    1 hour ago

















You may use detexify to look for such brackets detexify.kirelabs.org/classify.html

– sztruks
1 hour ago





You may use detexify to look for such brackets detexify.kirelabs.org/classify.html

– sztruks
1 hour ago










2 Answers
2






active

oldest

votes


















4














I guess you're looking for leftlceil and rightrfloor.



enter image description here



documentclass{article}
usepackage{amsmath} % for 'matrix' environment
begin{document}
[
leftlceil
begin{matrix}
a_1 & a_2 & dots & a_n \
b_1 & b_2 & dots & b_n
end{matrix}
rightrfloor
]
end{document}





share|improve this answer































    2














    It makes sense to define new environments for this task:



    documentclass{article}
    usepackage{amsmath}

    makeatletter
    newcommand{newmatrix}[3]{% #1 = prefix, #2/#3 = left/right delimiters
    newenvironment{#1matrix}{left#2env@matrix}{endmatrixright#3}%
    }
    makeatother

    newmatrix{cf}{lceil}{rfloor}
    newmatrix{fc}{lfloor}{rceil}

    begin{document}

    [
    begin{cfmatrix}
    a_1 & a_2 & dots & a_n \
    b_1 & b_2 & dots & b_n
    end{cfmatrix}
    ne
    begin{fcmatrix}
    a_1 & a_2 & dots & a_n \
    b_1 & b_2 & dots & b_n
    end{fcmatrix}
    ]

    end{document}


    enter image description here



    The “prefix” can be any string not already in use.



    With a bit more work it can support defining the *-variant in the mathtools style, that is, accepting an optional argument to set the column alignment, and the “small” variant all in one swoop.



    documentclass{article}
    usepackage{amsmath,mathtools}

    MHInternalSyntaxOn
    makeatletter
    newcommand{newmatrix}[3]{%
    % #1 = prefix, #2/#3 = left/right delimiters
    newenvironment{#1matrix}
    {left#2env@matrix}
    {endmatrixright#3}%
    newenvironment{#1matrix*}[1][c]
    {left#2MT_matrix_begin:N ##1}
    {MT_matrix_end:right#3}
    MT_fenced_sm_generator:nnn{#1smallmatrix}{#2}{#3}
    }
    makeatother
    MHInternalSyntaxOff

    newmatrix{cf}{lceil}{rfloor}

    newmatrix{fc}{lfloor}{rceil}

    begin{document}

    begin{gather*}
    begin{cfmatrix}
    a_1 & a_2 & dots & a_n \
    b_1 & b_2 & dots & b_n
    end{cfmatrix}
    ne
    begin{fcmatrix}
    a_1 & a_2 & dots & a_n \
    b_1 & b_2 & dots & b_n
    end{fcmatrix}
    \
    begin{cfmatrix}
    a_1 & a_2 & dots & a_n \
    b_1 & b_2 & dots & b_n
    end{cfmatrix}
    ne
    begin{fcmatrix*}[r]
    111 & 44 & dots & -2 \
    2 & 333 & dots & 5
    end{fcmatrix*}
    \
    begin{cfsmallmatrix}
    a_1 & a_2 & dots & a_n \
    b_1 & b_2 & dots & b_n
    end{cfsmallmatrix}
    ne
    begin{fcsmallmatrix}
    a_1 & a_2 & dots & a_n \
    b_1 & b_2 & dots & b_n
    end{fcsmallmatrix}
    end{gather*}

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


      }
      });














      draft saved

      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f471604%2funstandardized-brackets-in-matrix%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









      4














      I guess you're looking for leftlceil and rightrfloor.



      enter image description here



      documentclass{article}
      usepackage{amsmath} % for 'matrix' environment
      begin{document}
      [
      leftlceil
      begin{matrix}
      a_1 & a_2 & dots & a_n \
      b_1 & b_2 & dots & b_n
      end{matrix}
      rightrfloor
      ]
      end{document}





      share|improve this answer




























        4














        I guess you're looking for leftlceil and rightrfloor.



        enter image description here



        documentclass{article}
        usepackage{amsmath} % for 'matrix' environment
        begin{document}
        [
        leftlceil
        begin{matrix}
        a_1 & a_2 & dots & a_n \
        b_1 & b_2 & dots & b_n
        end{matrix}
        rightrfloor
        ]
        end{document}





        share|improve this answer


























          4












          4








          4







          I guess you're looking for leftlceil and rightrfloor.



          enter image description here



          documentclass{article}
          usepackage{amsmath} % for 'matrix' environment
          begin{document}
          [
          leftlceil
          begin{matrix}
          a_1 & a_2 & dots & a_n \
          b_1 & b_2 & dots & b_n
          end{matrix}
          rightrfloor
          ]
          end{document}





          share|improve this answer













          I guess you're looking for leftlceil and rightrfloor.



          enter image description here



          documentclass{article}
          usepackage{amsmath} % for 'matrix' environment
          begin{document}
          [
          leftlceil
          begin{matrix}
          a_1 & a_2 & dots & a_n \
          b_1 & b_2 & dots & b_n
          end{matrix}
          rightrfloor
          ]
          end{document}






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered 1 hour ago









          MicoMico

          276k30374763




          276k30374763























              2














              It makes sense to define new environments for this task:



              documentclass{article}
              usepackage{amsmath}

              makeatletter
              newcommand{newmatrix}[3]{% #1 = prefix, #2/#3 = left/right delimiters
              newenvironment{#1matrix}{left#2env@matrix}{endmatrixright#3}%
              }
              makeatother

              newmatrix{cf}{lceil}{rfloor}
              newmatrix{fc}{lfloor}{rceil}

              begin{document}

              [
              begin{cfmatrix}
              a_1 & a_2 & dots & a_n \
              b_1 & b_2 & dots & b_n
              end{cfmatrix}
              ne
              begin{fcmatrix}
              a_1 & a_2 & dots & a_n \
              b_1 & b_2 & dots & b_n
              end{fcmatrix}
              ]

              end{document}


              enter image description here



              The “prefix” can be any string not already in use.



              With a bit more work it can support defining the *-variant in the mathtools style, that is, accepting an optional argument to set the column alignment, and the “small” variant all in one swoop.



              documentclass{article}
              usepackage{amsmath,mathtools}

              MHInternalSyntaxOn
              makeatletter
              newcommand{newmatrix}[3]{%
              % #1 = prefix, #2/#3 = left/right delimiters
              newenvironment{#1matrix}
              {left#2env@matrix}
              {endmatrixright#3}%
              newenvironment{#1matrix*}[1][c]
              {left#2MT_matrix_begin:N ##1}
              {MT_matrix_end:right#3}
              MT_fenced_sm_generator:nnn{#1smallmatrix}{#2}{#3}
              }
              makeatother
              MHInternalSyntaxOff

              newmatrix{cf}{lceil}{rfloor}

              newmatrix{fc}{lfloor}{rceil}

              begin{document}

              begin{gather*}
              begin{cfmatrix}
              a_1 & a_2 & dots & a_n \
              b_1 & b_2 & dots & b_n
              end{cfmatrix}
              ne
              begin{fcmatrix}
              a_1 & a_2 & dots & a_n \
              b_1 & b_2 & dots & b_n
              end{fcmatrix}
              \
              begin{cfmatrix}
              a_1 & a_2 & dots & a_n \
              b_1 & b_2 & dots & b_n
              end{cfmatrix}
              ne
              begin{fcmatrix*}[r]
              111 & 44 & dots & -2 \
              2 & 333 & dots & 5
              end{fcmatrix*}
              \
              begin{cfsmallmatrix}
              a_1 & a_2 & dots & a_n \
              b_1 & b_2 & dots & b_n
              end{cfsmallmatrix}
              ne
              begin{fcsmallmatrix}
              a_1 & a_2 & dots & a_n \
              b_1 & b_2 & dots & b_n
              end{fcsmallmatrix}
              end{gather*}

              end{document}


              enter image description here






              share|improve this answer




























                2














                It makes sense to define new environments for this task:



                documentclass{article}
                usepackage{amsmath}

                makeatletter
                newcommand{newmatrix}[3]{% #1 = prefix, #2/#3 = left/right delimiters
                newenvironment{#1matrix}{left#2env@matrix}{endmatrixright#3}%
                }
                makeatother

                newmatrix{cf}{lceil}{rfloor}
                newmatrix{fc}{lfloor}{rceil}

                begin{document}

                [
                begin{cfmatrix}
                a_1 & a_2 & dots & a_n \
                b_1 & b_2 & dots & b_n
                end{cfmatrix}
                ne
                begin{fcmatrix}
                a_1 & a_2 & dots & a_n \
                b_1 & b_2 & dots & b_n
                end{fcmatrix}
                ]

                end{document}


                enter image description here



                The “prefix” can be any string not already in use.



                With a bit more work it can support defining the *-variant in the mathtools style, that is, accepting an optional argument to set the column alignment, and the “small” variant all in one swoop.



                documentclass{article}
                usepackage{amsmath,mathtools}

                MHInternalSyntaxOn
                makeatletter
                newcommand{newmatrix}[3]{%
                % #1 = prefix, #2/#3 = left/right delimiters
                newenvironment{#1matrix}
                {left#2env@matrix}
                {endmatrixright#3}%
                newenvironment{#1matrix*}[1][c]
                {left#2MT_matrix_begin:N ##1}
                {MT_matrix_end:right#3}
                MT_fenced_sm_generator:nnn{#1smallmatrix}{#2}{#3}
                }
                makeatother
                MHInternalSyntaxOff

                newmatrix{cf}{lceil}{rfloor}

                newmatrix{fc}{lfloor}{rceil}

                begin{document}

                begin{gather*}
                begin{cfmatrix}
                a_1 & a_2 & dots & a_n \
                b_1 & b_2 & dots & b_n
                end{cfmatrix}
                ne
                begin{fcmatrix}
                a_1 & a_2 & dots & a_n \
                b_1 & b_2 & dots & b_n
                end{fcmatrix}
                \
                begin{cfmatrix}
                a_1 & a_2 & dots & a_n \
                b_1 & b_2 & dots & b_n
                end{cfmatrix}
                ne
                begin{fcmatrix*}[r]
                111 & 44 & dots & -2 \
                2 & 333 & dots & 5
                end{fcmatrix*}
                \
                begin{cfsmallmatrix}
                a_1 & a_2 & dots & a_n \
                b_1 & b_2 & dots & b_n
                end{cfsmallmatrix}
                ne
                begin{fcsmallmatrix}
                a_1 & a_2 & dots & a_n \
                b_1 & b_2 & dots & b_n
                end{fcsmallmatrix}
                end{gather*}

                end{document}


                enter image description here






                share|improve this answer


























                  2












                  2








                  2







                  It makes sense to define new environments for this task:



                  documentclass{article}
                  usepackage{amsmath}

                  makeatletter
                  newcommand{newmatrix}[3]{% #1 = prefix, #2/#3 = left/right delimiters
                  newenvironment{#1matrix}{left#2env@matrix}{endmatrixright#3}%
                  }
                  makeatother

                  newmatrix{cf}{lceil}{rfloor}
                  newmatrix{fc}{lfloor}{rceil}

                  begin{document}

                  [
                  begin{cfmatrix}
                  a_1 & a_2 & dots & a_n \
                  b_1 & b_2 & dots & b_n
                  end{cfmatrix}
                  ne
                  begin{fcmatrix}
                  a_1 & a_2 & dots & a_n \
                  b_1 & b_2 & dots & b_n
                  end{fcmatrix}
                  ]

                  end{document}


                  enter image description here



                  The “prefix” can be any string not already in use.



                  With a bit more work it can support defining the *-variant in the mathtools style, that is, accepting an optional argument to set the column alignment, and the “small” variant all in one swoop.



                  documentclass{article}
                  usepackage{amsmath,mathtools}

                  MHInternalSyntaxOn
                  makeatletter
                  newcommand{newmatrix}[3]{%
                  % #1 = prefix, #2/#3 = left/right delimiters
                  newenvironment{#1matrix}
                  {left#2env@matrix}
                  {endmatrixright#3}%
                  newenvironment{#1matrix*}[1][c]
                  {left#2MT_matrix_begin:N ##1}
                  {MT_matrix_end:right#3}
                  MT_fenced_sm_generator:nnn{#1smallmatrix}{#2}{#3}
                  }
                  makeatother
                  MHInternalSyntaxOff

                  newmatrix{cf}{lceil}{rfloor}

                  newmatrix{fc}{lfloor}{rceil}

                  begin{document}

                  begin{gather*}
                  begin{cfmatrix}
                  a_1 & a_2 & dots & a_n \
                  b_1 & b_2 & dots & b_n
                  end{cfmatrix}
                  ne
                  begin{fcmatrix}
                  a_1 & a_2 & dots & a_n \
                  b_1 & b_2 & dots & b_n
                  end{fcmatrix}
                  \
                  begin{cfmatrix}
                  a_1 & a_2 & dots & a_n \
                  b_1 & b_2 & dots & b_n
                  end{cfmatrix}
                  ne
                  begin{fcmatrix*}[r]
                  111 & 44 & dots & -2 \
                  2 & 333 & dots & 5
                  end{fcmatrix*}
                  \
                  begin{cfsmallmatrix}
                  a_1 & a_2 & dots & a_n \
                  b_1 & b_2 & dots & b_n
                  end{cfsmallmatrix}
                  ne
                  begin{fcsmallmatrix}
                  a_1 & a_2 & dots & a_n \
                  b_1 & b_2 & dots & b_n
                  end{fcsmallmatrix}
                  end{gather*}

                  end{document}


                  enter image description here






                  share|improve this answer













                  It makes sense to define new environments for this task:



                  documentclass{article}
                  usepackage{amsmath}

                  makeatletter
                  newcommand{newmatrix}[3]{% #1 = prefix, #2/#3 = left/right delimiters
                  newenvironment{#1matrix}{left#2env@matrix}{endmatrixright#3}%
                  }
                  makeatother

                  newmatrix{cf}{lceil}{rfloor}
                  newmatrix{fc}{lfloor}{rceil}

                  begin{document}

                  [
                  begin{cfmatrix}
                  a_1 & a_2 & dots & a_n \
                  b_1 & b_2 & dots & b_n
                  end{cfmatrix}
                  ne
                  begin{fcmatrix}
                  a_1 & a_2 & dots & a_n \
                  b_1 & b_2 & dots & b_n
                  end{fcmatrix}
                  ]

                  end{document}


                  enter image description here



                  The “prefix” can be any string not already in use.



                  With a bit more work it can support defining the *-variant in the mathtools style, that is, accepting an optional argument to set the column alignment, and the “small” variant all in one swoop.



                  documentclass{article}
                  usepackage{amsmath,mathtools}

                  MHInternalSyntaxOn
                  makeatletter
                  newcommand{newmatrix}[3]{%
                  % #1 = prefix, #2/#3 = left/right delimiters
                  newenvironment{#1matrix}
                  {left#2env@matrix}
                  {endmatrixright#3}%
                  newenvironment{#1matrix*}[1][c]
                  {left#2MT_matrix_begin:N ##1}
                  {MT_matrix_end:right#3}
                  MT_fenced_sm_generator:nnn{#1smallmatrix}{#2}{#3}
                  }
                  makeatother
                  MHInternalSyntaxOff

                  newmatrix{cf}{lceil}{rfloor}

                  newmatrix{fc}{lfloor}{rceil}

                  begin{document}

                  begin{gather*}
                  begin{cfmatrix}
                  a_1 & a_2 & dots & a_n \
                  b_1 & b_2 & dots & b_n
                  end{cfmatrix}
                  ne
                  begin{fcmatrix}
                  a_1 & a_2 & dots & a_n \
                  b_1 & b_2 & dots & b_n
                  end{fcmatrix}
                  \
                  begin{cfmatrix}
                  a_1 & a_2 & dots & a_n \
                  b_1 & b_2 & dots & b_n
                  end{cfmatrix}
                  ne
                  begin{fcmatrix*}[r]
                  111 & 44 & dots & -2 \
                  2 & 333 & dots & 5
                  end{fcmatrix*}
                  \
                  begin{cfsmallmatrix}
                  a_1 & a_2 & dots & a_n \
                  b_1 & b_2 & dots & b_n
                  end{cfsmallmatrix}
                  ne
                  begin{fcsmallmatrix}
                  a_1 & a_2 & dots & a_n \
                  b_1 & b_2 & dots & b_n
                  end{fcsmallmatrix}
                  end{gather*}

                  end{document}


                  enter image description here







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered 11 mins ago









                  egregegreg

                  714k8618983184




                  714k8618983184






























                      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.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f471604%2funstandardized-brackets-in-matrix%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

                      How to label and detect the document text images

                      Vallis Paradisi

                      Tabula Rosettana