Resize vertical bars (absolute-value symbols)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”

How come there are so many candidates for the 2020 Democratic party presidential nomination?

What makes accurate emulation of old systems a difficult task?

Do I have to worry about players making “bad” choices on level up?

Does a semiconductor follow Ohm's law?

a sore throat vs a strep throat vs strep throat

Contradiction proof for inequality of P and NP?

Packing rectangles: Does rotation ever help?

Error message with tabularx

Repelling Blast: Must targets always be pushed back?

What language was spoken in East Asia before Proto-Turkic?

Can someone publish a story that happened to you?

A Strange Latex Symbol

A ​Note ​on ​N!

How can Republicans who favour free markets, consistently express anger when they don't like the outcome of that choice?

French for 'It must be my imagination'?

Rivers without rain

How to get a plain text file version of a CP/M .BAS (M-BASIC) program?

Please, smoke with good manners

The Defining Moment

Don’t seats that recline flat defeat the purpose of having seatbelts?

How exactly does Hawking radiation decrease the mass of black holes?

Is there really no use for MD5 anymore?

Combinable filters

Pulling the rope with one hand is as heavy as with two hands?



Resize vertical bars (absolute-value symbols)


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 Apr 20 at 16:19









      Mico

      288k32394782




      288k32394782










      asked Apr 20 at 14:38









      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
            Apr 20 at 15:48







          • 3





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

            – egreg
            Apr 20 at 15:49


















          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
              Apr 20 at 15:48







            • 3





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

              – egreg
              Apr 20 at 15:49















            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
              Apr 20 at 15:48







            • 3





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

              – egreg
              Apr 20 at 15:49













            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 Apr 20 at 14:41









            egregegreg

            737k8919393267




            737k8919393267












            • 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
              Apr 20 at 15:48







            • 3





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

              – egreg
              Apr 20 at 15:49

















            • 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
              Apr 20 at 15:48







            • 3





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

              – egreg
              Apr 20 at 15:49
















            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
            Apr 20 at 15:48






            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
            Apr 20 at 15:48





            3




            3





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

            – egreg
            Apr 20 at 15:49





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

            – egreg
            Apr 20 at 15:49











            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 Apr 20 at 16:17









                MicoMico

                288k32394782




                288k32394782



























                    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

                    Wikipedia:Vital articles Мазмуну Biography - Өмүр баян Philosophy and psychology - Философия жана психология Religion - Дин Social sciences - Коомдук илимдер Language and literature - Тил жана адабият Science - Илим Technology - Технология Arts and recreation - Искусство жана эс алуу History and geography - Тарых жана география Навигация менюсу

                    Bruxelas-Capital Índice Historia | Composición | Situación lingüística | Clima | Cidades irmandadas | Notas | Véxase tamén | Menú de navegacióneO uso das linguas en Bruxelas e a situación do neerlandés"Rexión de Bruxelas Capital"o orixinalSitio da rexiónPáxina de Bruselas no sitio da Oficina de Promoción Turística de Valonia e BruxelasMapa Interactivo da Rexión de Bruxelas-CapitaleeWorldCat332144929079854441105155190212ID28008674080552-90000 0001 0666 3698n94104302ID540940339365017018237

                    What should I write in an apology letter, since I have decided not to join a company after accepting an offer letterShould I keep looking after accepting a job offer?What should I do when I've been verbally told I would get an offer letter, but still haven't gotten one after 4 weeks?Do I accept an offer from a company that I am not likely to join?New job hasn't confirmed starting date and I want to give current employer as much notice as possibleHow should I address my manager in my resignation letter?HR delayed background verification, now jobless as resignedNo email communication after accepting a formal written offer. How should I phrase the call?What should I do if after receiving a verbal offer letter I am informed that my written job offer is put on hold due to some internal issues?Should I inform the current employer that I am about to resign within 1-2 weeks since I have signed the offer letter and waiting for visa?What company will do, if I send their offer letter to another company