Resize vertical bars (absolute-value symbols) Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)How to automatically scale `mid` within delimitersApplying breqn in bulk to typeset a math book for my kindle?Absolute Value SymbolsWhy does widehat behave differently if I insert hspace0pt?How to automatically scale `mid` within delimitersAnki - LaTeX, Math Font Size, & DeclareMathSizesHow to add braces automatically after hat (or tilde, bar) in emacs auctex math modeBig forward slash in mathIs there a way to put two labelled equations into one beginequation and align both of them at the beginning?Difference between symbols for absolute value?Using printeranswers environment, how to print solutions in the box without the title “Solutions”

NIntegrate on a solution of a matrix ODE

What are some likely causes to domain member PC losing contact to domain controller?

As a dual citizen, my US passport will expire one day after traveling to the US. Will this work?

Keep at all times, the minus sign above aligned with minus sign below

Noise in Eigenvalues plot

What is a more techy Technical Writer job title that isn't cutesy or confusing?

Does a random sequence of vectors span a Hilbert space?

How do I say "this must not happen"?

Determine whether an integer is a palindrome

Why are current probes so expensive?

Should man-made satellites feature an intelligent inverted "cow catcher"?

Table formatting with tabularx?

Flight departed from the gate 5 min before scheduled departure time. Refund options

How to achieve cat-like agility?

A question about the degree of an extension field

newbie Q : How to read an output file in one command line

.bashrc alias for a command with fixed second parameter

How do you write "wild blueberries flavored"?

The test team as an enemy of development? And how can this be avoided?

Can two people see the same photon?

Where did Ptolemy compare the Earth to the distance of fixed stars?

Why is there so little support for joining EFTA in the British parliament?

Where and when has Thucydides been studied?

"Destructive power" carried by a B-52?



Resize vertical bars (absolute-value symbols)



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)How to automatically scale `mid` within delimitersApplying breqn in bulk to typeset a math book for my kindle?Absolute Value SymbolsWhy does widehat behave differently if I insert hspace0pt?How to automatically scale `mid` within delimitersAnki - LaTeX, Math Font Size, & DeclareMathSizesHow to add braces automatically after hat (or tilde, bar) in emacs auctex math modeBig forward slash in mathIs there a way to put two labelled equations into one beginequation and align both of them at the beginning?Difference between symbols for absolute value?Using printeranswers environment, how to print solutions in the box without the title “Solutions”










3















I tried that middle, ,middle|, and mathrelBig. I read How to automatically scale `mid` within delimiters and



usepackagemleftright
usepackageamsmath

begindocument

beginequation
MASE = frac1n mathrelBig sum_i = 1^n hatSigma^-1/2beginpmatrix
y_ci - haty_ci\
y_ri - haty_ri
endpmatrix mathrelBig,
labeleq:mase
endequation

enddocument









share|improve this question




























    3















    I tried that middle, ,middle|, and mathrelBig. I read How to automatically scale `mid` within delimiters and



    usepackagemleftright
    usepackageamsmath

    begindocument

    beginequation
    MASE = frac1n mathrelBig sum_i = 1^n hatSigma^-1/2beginpmatrix
    y_ci - haty_ci\
    y_ri - haty_ri
    endpmatrix mathrelBig,
    labeleq:mase
    endequation

    enddocument









    share|improve this question


























      3












      3








      3








      I tried that middle, ,middle|, and mathrelBig. I read How to automatically scale `mid` within delimiters and



      usepackagemleftright
      usepackageamsmath

      begindocument

      beginequation
      MASE = frac1n mathrelBig sum_i = 1^n hatSigma^-1/2beginpmatrix
      y_ci - haty_ci\
      y_ri - haty_ri
      endpmatrix mathrelBig,
      labeleq:mase
      endequation

      enddocument









      share|improve this question
















      I tried that middle, ,middle|, and mathrelBig. I read How to automatically scale `mid` within delimiters and



      usepackagemleftright
      usepackageamsmath

      begindocument

      beginequation
      MASE = frac1n mathrelBig sum_i = 1^n hatSigma^-1/2beginpmatrix
      y_ci - haty_ci\
      y_ri - haty_ri
      endpmatrix mathrelBig,
      labeleq:mase
      endequation

      enddocument






      math-mode symbols






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited yesterday









      Mico

      288k32394781




      288k32394781










      asked yesterday









      Wagner JorgeWagner Jorge

      317210




      317210




















          2 Answers
          2






          active

          oldest

          votes


















          8














          I believe you want the absolute value:



          documentclassarticle
          usepackageamsmath

          begindocument

          beginequation
          mathitMASE = frac1n
          left|
          sum_i = 1^n hatSigma^-1/2
          beginpmatrix
          y_ci - haty_ci\
          y_ri - haty_ri
          endpmatrix
          right|,
          labeleq:mase
          endequation

          enddocument


          enter image description here



          I've often seen mid misused as vertical bar; it indeed typesets a vertical bar, but considered as a binary relation.



          For the absolute value you should use lvert and rvert, which can be abbreviated as left| and right| when automatic sizing is desired.






          share|improve this answer























          • Great answer!! "mid is considered as a binary relation" ok, for example $2mid 5$, but would you include it on for example $fcolon mathbbRtomathbbRmid f(x)=x+5$? Or would you go for "such that" (text)?

            – manooooh
            yesterday







          • 3





            @manooooh I'd use two formulas: The function $fcolonmathbbRtomathbbR$ defined by $f(x)=x+5$.

            – egreg
            yesterday


















          7














          Here's a solution that employs the macro DeclarePairedDelimiter (provided by the mathtools package) to generate absolute-value "fences" around the summation. I would use abs[bigg] rather than abs*, to keep the vertical bars from becoming needlessly large. I would also write widehatSigma rather than hatSigma, to make the "hat" symbol a bit easier to spot. And, do write either mathrmMASE or mathitMASE, to inform TeX that it's dealing with an entire word rather than a product of the variables named M, A, S, and E.



          enter image description here



          documentclassarticle
          usepackagemathtools
          DeclarePairedDelimiterabslvertrvert

          begindocument

          beginequationlabeleq:mase
          mathrmMASE = frac1n
          abs[bigg] sum_i = 1^n widehatSigma^-1/2
          beginpmatrix
          y_ci - haty_ci\
          y_ri - haty_ri
          endpmatrix
          endequation

          enddocument





          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%2f485750%2fresize-vertical-bars-absolute-value-symbols%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









            8














            I believe you want the absolute value:



            documentclassarticle
            usepackageamsmath

            begindocument

            beginequation
            mathitMASE = frac1n
            left|
            sum_i = 1^n hatSigma^-1/2
            beginpmatrix
            y_ci - haty_ci\
            y_ri - haty_ri
            endpmatrix
            right|,
            labeleq:mase
            endequation

            enddocument


            enter image description here



            I've often seen mid misused as vertical bar; it indeed typesets a vertical bar, but considered as a binary relation.



            For the absolute value you should use lvert and rvert, which can be abbreviated as left| and right| when automatic sizing is desired.






            share|improve this answer























            • Great answer!! "mid is considered as a binary relation" ok, for example $2mid 5$, but would you include it on for example $fcolon mathbbRtomathbbRmid f(x)=x+5$? Or would you go for "such that" (text)?

              – manooooh
              yesterday







            • 3





              @manooooh I'd use two formulas: The function $fcolonmathbbRtomathbbR$ defined by $f(x)=x+5$.

              – egreg
              yesterday















            8














            I believe you want the absolute value:



            documentclassarticle
            usepackageamsmath

            begindocument

            beginequation
            mathitMASE = frac1n
            left|
            sum_i = 1^n hatSigma^-1/2
            beginpmatrix
            y_ci - haty_ci\
            y_ri - haty_ri
            endpmatrix
            right|,
            labeleq:mase
            endequation

            enddocument


            enter image description here



            I've often seen mid misused as vertical bar; it indeed typesets a vertical bar, but considered as a binary relation.



            For the absolute value you should use lvert and rvert, which can be abbreviated as left| and right| when automatic sizing is desired.






            share|improve this answer























            • Great answer!! "mid is considered as a binary relation" ok, for example $2mid 5$, but would you include it on for example $fcolon mathbbRtomathbbRmid f(x)=x+5$? Or would you go for "such that" (text)?

              – manooooh
              yesterday







            • 3





              @manooooh I'd use two formulas: The function $fcolonmathbbRtomathbbR$ defined by $f(x)=x+5$.

              – egreg
              yesterday













            8












            8








            8







            I believe you want the absolute value:



            documentclassarticle
            usepackageamsmath

            begindocument

            beginequation
            mathitMASE = frac1n
            left|
            sum_i = 1^n hatSigma^-1/2
            beginpmatrix
            y_ci - haty_ci\
            y_ri - haty_ri
            endpmatrix
            right|,
            labeleq:mase
            endequation

            enddocument


            enter image description here



            I've often seen mid misused as vertical bar; it indeed typesets a vertical bar, but considered as a binary relation.



            For the absolute value you should use lvert and rvert, which can be abbreviated as left| and right| when automatic sizing is desired.






            share|improve this answer













            I believe you want the absolute value:



            documentclassarticle
            usepackageamsmath

            begindocument

            beginequation
            mathitMASE = frac1n
            left|
            sum_i = 1^n hatSigma^-1/2
            beginpmatrix
            y_ci - haty_ci\
            y_ri - haty_ri
            endpmatrix
            right|,
            labeleq:mase
            endequation

            enddocument


            enter image description here



            I've often seen mid misused as vertical bar; it indeed typesets a vertical bar, but considered as a binary relation.



            For the absolute value you should use lvert and rvert, which can be abbreviated as left| and right| when automatic sizing is desired.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered yesterday









            egregegreg

            736k8919353261




            736k8919353261












            • Great answer!! "mid is considered as a binary relation" ok, for example $2mid 5$, but would you include it on for example $fcolon mathbbRtomathbbRmid f(x)=x+5$? Or would you go for "such that" (text)?

              – manooooh
              yesterday







            • 3





              @manooooh I'd use two formulas: The function $fcolonmathbbRtomathbbR$ defined by $f(x)=x+5$.

              – egreg
              yesterday

















            • Great answer!! "mid is considered as a binary relation" ok, for example $2mid 5$, but would you include it on for example $fcolon mathbbRtomathbbRmid f(x)=x+5$? Or would you go for "such that" (text)?

              – manooooh
              yesterday







            • 3





              @manooooh I'd use two formulas: The function $fcolonmathbbRtomathbbR$ defined by $f(x)=x+5$.

              – egreg
              yesterday
















            Great answer!! "mid is considered as a binary relation" ok, for example $2mid 5$, but would you include it on for example $fcolon mathbbRtomathbbRmid f(x)=x+5$? Or would you go for "such that" (text)?

            – manooooh
            yesterday






            Great answer!! "mid is considered as a binary relation" ok, for example $2mid 5$, but would you include it on for example $fcolon mathbbRtomathbbRmid f(x)=x+5$? Or would you go for "such that" (text)?

            – manooooh
            yesterday





            3




            3





            @manooooh I'd use two formulas: The function $fcolonmathbbRtomathbbR$ defined by $f(x)=x+5$.

            – egreg
            yesterday





            @manooooh I'd use two formulas: The function $fcolonmathbbRtomathbbR$ defined by $f(x)=x+5$.

            – egreg
            yesterday











            7














            Here's a solution that employs the macro DeclarePairedDelimiter (provided by the mathtools package) to generate absolute-value "fences" around the summation. I would use abs[bigg] rather than abs*, to keep the vertical bars from becoming needlessly large. I would also write widehatSigma rather than hatSigma, to make the "hat" symbol a bit easier to spot. And, do write either mathrmMASE or mathitMASE, to inform TeX that it's dealing with an entire word rather than a product of the variables named M, A, S, and E.



            enter image description here



            documentclassarticle
            usepackagemathtools
            DeclarePairedDelimiterabslvertrvert

            begindocument

            beginequationlabeleq:mase
            mathrmMASE = frac1n
            abs[bigg] sum_i = 1^n widehatSigma^-1/2
            beginpmatrix
            y_ci - haty_ci\
            y_ri - haty_ri
            endpmatrix
            endequation

            enddocument





            share|improve this answer



























              7














              Here's a solution that employs the macro DeclarePairedDelimiter (provided by the mathtools package) to generate absolute-value "fences" around the summation. I would use abs[bigg] rather than abs*, to keep the vertical bars from becoming needlessly large. I would also write widehatSigma rather than hatSigma, to make the "hat" symbol a bit easier to spot. And, do write either mathrmMASE or mathitMASE, to inform TeX that it's dealing with an entire word rather than a product of the variables named M, A, S, and E.



              enter image description here



              documentclassarticle
              usepackagemathtools
              DeclarePairedDelimiterabslvertrvert

              begindocument

              beginequationlabeleq:mase
              mathrmMASE = frac1n
              abs[bigg] sum_i = 1^n widehatSigma^-1/2
              beginpmatrix
              y_ci - haty_ci\
              y_ri - haty_ri
              endpmatrix
              endequation

              enddocument





              share|improve this answer

























                7












                7








                7







                Here's a solution that employs the macro DeclarePairedDelimiter (provided by the mathtools package) to generate absolute-value "fences" around the summation. I would use abs[bigg] rather than abs*, to keep the vertical bars from becoming needlessly large. I would also write widehatSigma rather than hatSigma, to make the "hat" symbol a bit easier to spot. And, do write either mathrmMASE or mathitMASE, to inform TeX that it's dealing with an entire word rather than a product of the variables named M, A, S, and E.



                enter image description here



                documentclassarticle
                usepackagemathtools
                DeclarePairedDelimiterabslvertrvert

                begindocument

                beginequationlabeleq:mase
                mathrmMASE = frac1n
                abs[bigg] sum_i = 1^n widehatSigma^-1/2
                beginpmatrix
                y_ci - haty_ci\
                y_ri - haty_ri
                endpmatrix
                endequation

                enddocument





                share|improve this answer













                Here's a solution that employs the macro DeclarePairedDelimiter (provided by the mathtools package) to generate absolute-value "fences" around the summation. I would use abs[bigg] rather than abs*, to keep the vertical bars from becoming needlessly large. I would also write widehatSigma rather than hatSigma, to make the "hat" symbol a bit easier to spot. And, do write either mathrmMASE or mathitMASE, to inform TeX that it's dealing with an entire word rather than a product of the variables named M, A, S, and E.



                enter image description here



                documentclassarticle
                usepackagemathtools
                DeclarePairedDelimiterabslvertrvert

                begindocument

                beginequationlabeleq:mase
                mathrmMASE = frac1n
                abs[bigg] sum_i = 1^n widehatSigma^-1/2
                beginpmatrix
                y_ci - haty_ci\
                y_ri - haty_ri
                endpmatrix
                endequation

                enddocument






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered yesterday









                MicoMico

                288k32394781




                288k32394781



























                    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%2f485750%2fresize-vertical-bars-absolute-value-symbols%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 does Billy Russo acquire his 'Jigsaw' mask? Unicorn Meta Zoo #1: Why another podcast? Announcing the arrival of Valued Associate #679: Cesar Manara Favourite questions and answers from the 1st quarter of 2019Why does Bane wear the mask?Why does Kylo Ren wear a mask?Why did Captain America remove his mask while fighting Batroc the Leaper?How did the OA acquire her wisdom?Is Billy Breckenridge gay?How does Adrian Toomes hide his earnings from the IRS?What is the state of affairs on Nootka Sound by the end of season 1?How did Tia Dalma acquire Captain Barbossa's body?How is one “Deemed Worthy”, to acquire the Greatsword “Dawn”?How did Karen acquire the handgun?

                    Личност Атрибути на личността | Литература и източници | НавигацияРаждането на личносттаредактиратередактирате

                    A sequel to Domino's tragic life Why Christmas is for Friends Cold comfort at Charles' padSad farewell for Lady JanePS Most watched News videos