How can I typeset a formula or result like this one?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
3
down vote

favorite












enter image description here



I want to make a result like this one, but I have no clue. Please give me your suggest. Thank you a lot for your help.



P/s: Please tell me how to typeset equations in the same way like this... Sorry my bad English cannot give you all what I'm asking for.



For specific:



documentclass[a4paper , 12pt]article
usepackagecolor
usepackage[dvipsnames]xcolor
usepackagearray
usepackagefloatrow
usepackagegraphicx
usepackage[utf8]inputenc
usepackage[utf8]vietnam
usepackagetikz,tkz-tab
usepackageamssymb
usepackagedsfont
usepackagepgf,tikz,pgfplots
pgfplotssetcompat=1.15
usepackagemathrsfs
usepackagemathtools
usetikzlibraryarrows
renewcommandbaselinestretch1.5 %Chỉnh dãn dòng
usepackage[left=2cm,right=2cm,top=2cm,bottom=2cm]geometry
makeatletter
newcasesbcases
quad
$m@th##$hfil
$m@th##$hfil
lbrack
.
makeatother

begindocument
colorbluetextbfCâu 18: Cho hàm số $y=f(x)$ có bảng biến thiên như hình phía dưới. Tìm tất cả $min mathdsR$ để hàm số $y=dfrac1f(x)-m$ có 2 đường tiệm cận đứng. \
begincenter
begintikzpicture
tkzTabInit$x$ /1, $f'(x)$ /1, $f(x)$ /2.5
$-infty$,-1,1,2, $+infty$
tkzTabLine,+,0,-,0,+,0,-
tkzTabVar-/$-infty$, +/$4$ , -/$-5$, +/$4$, -/$infty$
endtikzpicture
endcenter
begintabularm6cmm6cm
colorbluetextbfA. $m=4 v m<-5$ & colorbluetextbfB. $m=4$ \
colorbluetextbfC. $m<-5$ & colorredtextbfD. [
beginbcases
m = A \
m < -5
endbcases
] \
endtabular
enddocument









share|improve this question























  • You can use $beginbcases...endbcases$ instead of [...],
    – egreg
    3 mins ago














up vote
3
down vote

favorite












enter image description here



I want to make a result like this one, but I have no clue. Please give me your suggest. Thank you a lot for your help.



P/s: Please tell me how to typeset equations in the same way like this... Sorry my bad English cannot give you all what I'm asking for.



For specific:



documentclass[a4paper , 12pt]article
usepackagecolor
usepackage[dvipsnames]xcolor
usepackagearray
usepackagefloatrow
usepackagegraphicx
usepackage[utf8]inputenc
usepackage[utf8]vietnam
usepackagetikz,tkz-tab
usepackageamssymb
usepackagedsfont
usepackagepgf,tikz,pgfplots
pgfplotssetcompat=1.15
usepackagemathrsfs
usepackagemathtools
usetikzlibraryarrows
renewcommandbaselinestretch1.5 %Chỉnh dãn dòng
usepackage[left=2cm,right=2cm,top=2cm,bottom=2cm]geometry
makeatletter
newcasesbcases
quad
$m@th##$hfil
$m@th##$hfil
lbrack
.
makeatother

begindocument
colorbluetextbfCâu 18: Cho hàm số $y=f(x)$ có bảng biến thiên như hình phía dưới. Tìm tất cả $min mathdsR$ để hàm số $y=dfrac1f(x)-m$ có 2 đường tiệm cận đứng. \
begincenter
begintikzpicture
tkzTabInit$x$ /1, $f'(x)$ /1, $f(x)$ /2.5
$-infty$,-1,1,2, $+infty$
tkzTabLine,+,0,-,0,+,0,-
tkzTabVar-/$-infty$, +/$4$ , -/$-5$, +/$4$, -/$infty$
endtikzpicture
endcenter
begintabularm6cmm6cm
colorbluetextbfA. $m=4 v m<-5$ & colorbluetextbfB. $m=4$ \
colorbluetextbfC. $m<-5$ & colorredtextbfD. [
beginbcases
m = A \
m < -5
endbcases
] \
endtabular
enddocument









share|improve this question























  • You can use $beginbcases...endbcases$ instead of [...],
    – egreg
    3 mins ago












up vote
3
down vote

favorite









up vote
3
down vote

favorite











enter image description here



I want to make a result like this one, but I have no clue. Please give me your suggest. Thank you a lot for your help.



P/s: Please tell me how to typeset equations in the same way like this... Sorry my bad English cannot give you all what I'm asking for.



For specific:



documentclass[a4paper , 12pt]article
usepackagecolor
usepackage[dvipsnames]xcolor
usepackagearray
usepackagefloatrow
usepackagegraphicx
usepackage[utf8]inputenc
usepackage[utf8]vietnam
usepackagetikz,tkz-tab
usepackageamssymb
usepackagedsfont
usepackagepgf,tikz,pgfplots
pgfplotssetcompat=1.15
usepackagemathrsfs
usepackagemathtools
usetikzlibraryarrows
renewcommandbaselinestretch1.5 %Chỉnh dãn dòng
usepackage[left=2cm,right=2cm,top=2cm,bottom=2cm]geometry
makeatletter
newcasesbcases
quad
$m@th##$hfil
$m@th##$hfil
lbrack
.
makeatother

begindocument
colorbluetextbfCâu 18: Cho hàm số $y=f(x)$ có bảng biến thiên như hình phía dưới. Tìm tất cả $min mathdsR$ để hàm số $y=dfrac1f(x)-m$ có 2 đường tiệm cận đứng. \
begincenter
begintikzpicture
tkzTabInit$x$ /1, $f'(x)$ /1, $f(x)$ /2.5
$-infty$,-1,1,2, $+infty$
tkzTabLine,+,0,-,0,+,0,-
tkzTabVar-/$-infty$, +/$4$ , -/$-5$, +/$4$, -/$infty$
endtikzpicture
endcenter
begintabularm6cmm6cm
colorbluetextbfA. $m=4 v m<-5$ & colorbluetextbfB. $m=4$ \
colorbluetextbfC. $m<-5$ & colorredtextbfD. [
beginbcases
m = A \
m < -5
endbcases
] \
endtabular
enddocument









share|improve this question















enter image description here



I want to make a result like this one, but I have no clue. Please give me your suggest. Thank you a lot for your help.



P/s: Please tell me how to typeset equations in the same way like this... Sorry my bad English cannot give you all what I'm asking for.



For specific:



documentclass[a4paper , 12pt]article
usepackagecolor
usepackage[dvipsnames]xcolor
usepackagearray
usepackagefloatrow
usepackagegraphicx
usepackage[utf8]inputenc
usepackage[utf8]vietnam
usepackagetikz,tkz-tab
usepackageamssymb
usepackagedsfont
usepackagepgf,tikz,pgfplots
pgfplotssetcompat=1.15
usepackagemathrsfs
usepackagemathtools
usetikzlibraryarrows
renewcommandbaselinestretch1.5 %Chỉnh dãn dòng
usepackage[left=2cm,right=2cm,top=2cm,bottom=2cm]geometry
makeatletter
newcasesbcases
quad
$m@th##$hfil
$m@th##$hfil
lbrack
.
makeatother

begindocument
colorbluetextbfCâu 18: Cho hàm số $y=f(x)$ có bảng biến thiên như hình phía dưới. Tìm tất cả $min mathdsR$ để hàm số $y=dfrac1f(x)-m$ có 2 đường tiệm cận đứng. \
begincenter
begintikzpicture
tkzTabInit$x$ /1, $f'(x)$ /1, $f(x)$ /2.5
$-infty$,-1,1,2, $+infty$
tkzTabLine,+,0,-,0,+,0,-
tkzTabVar-/$-infty$, +/$4$ , -/$-5$, +/$4$, -/$infty$
endtikzpicture
endcenter
begintabularm6cmm6cm
colorbluetextbfA. $m=4 v m<-5$ & colorbluetextbfB. $m=4$ \
colorbluetextbfC. $m<-5$ & colorredtextbfD. [
beginbcases
m = A \
m < -5
endbcases
] \
endtabular
enddocument






math-mode






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 6 mins ago









egreg

683k8418193064




683k8418193064










asked 39 mins ago









Hoàng Duy Anh

334




334











  • You can use $beginbcases...endbcases$ instead of [...],
    – egreg
    3 mins ago
















  • You can use $beginbcases...endbcases$ instead of [...],
    – egreg
    3 mins ago















You can use $beginbcases...endbcases$ instead of [...],
– egreg
3 mins ago




You can use $beginbcases...endbcases$ instead of [...],
– egreg
3 mins ago










3 Answers
3






active

oldest

votes

















up vote
3
down vote













The newcases macro of mathtools ought to have an easier interface; with the current one you can still define a bcases environment (b for “bracket”).



documentclassarticle
usepackagemathtools

makeatletter
newcasesbcases
quad
$m@th##$hfil
$m@th##$hfil
lbrack
.
makeatother

begindocument

[
beginbcases
m = A \
m < -5
endbcases
]

enddocument


enter image description here



You should also consider the more standard cases environment (it uses a brace).






share|improve this answer



























    up vote
    1
    down vote













    enter image description here



    a simple way which cross my mind :-=:



    documentclassarticle

    begindocument
    [
    left[
    beginarrayl
    m=4 \
    m<-5
    endarray
    right.
    ]
    enddocument





    share|improve this answer




















    • Oh thank you a lots, That's help a lot but there is some struggle when I put it in the answers of my test:
      – Hoàng Duy Anh
      34 mins ago







    • 2




      @HoàngDuyAnh - Please be more specific about the "struggle when I put in my answers" consists of.
      – Mico
      10 mins ago










    • @HoàngDuyAnh, you not provide any code (as small complete document which we can copy and test), so we haven't any idea about your document. anyway, the proposed solution is so elementary that it should work in any document.
      – Zarko
      10 mins ago










    • Let me add my code into the question
      – Hoàng Duy Anh
      9 mins ago

















    up vote
    1
    down vote













    I use an aligned stack here only to emphasize that if the left hand side of the two rows had different widths (here they do not), the aligned forms would be the most appropriate.



    documentclassarticle
    usepackagetabstackengine
    stackMath
    begindocument
    [
    left[alignCenterstackm=&4\m<&-5right.
    ]
    enddocument


    enter image description here





    share




















      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: false,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      bindNavPrevention: true,
      postfix: "",
      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%2f451502%2fhow-can-i-typeset-a-formula-or-result-like-this-one%23new-answer', 'question_page');

      );

      Post as a guest






























      3 Answers
      3






      active

      oldest

      votes








      3 Answers
      3






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      3
      down vote













      The newcases macro of mathtools ought to have an easier interface; with the current one you can still define a bcases environment (b for “bracket”).



      documentclassarticle
      usepackagemathtools

      makeatletter
      newcasesbcases
      quad
      $m@th##$hfil
      $m@th##$hfil
      lbrack
      .
      makeatother

      begindocument

      [
      beginbcases
      m = A \
      m < -5
      endbcases
      ]

      enddocument


      enter image description here



      You should also consider the more standard cases environment (it uses a brace).






      share|improve this answer
























        up vote
        3
        down vote













        The newcases macro of mathtools ought to have an easier interface; with the current one you can still define a bcases environment (b for “bracket”).



        documentclassarticle
        usepackagemathtools

        makeatletter
        newcasesbcases
        quad
        $m@th##$hfil
        $m@th##$hfil
        lbrack
        .
        makeatother

        begindocument

        [
        beginbcases
        m = A \
        m < -5
        endbcases
        ]

        enddocument


        enter image description here



        You should also consider the more standard cases environment (it uses a brace).






        share|improve this answer






















          up vote
          3
          down vote










          up vote
          3
          down vote









          The newcases macro of mathtools ought to have an easier interface; with the current one you can still define a bcases environment (b for “bracket”).



          documentclassarticle
          usepackagemathtools

          makeatletter
          newcasesbcases
          quad
          $m@th##$hfil
          $m@th##$hfil
          lbrack
          .
          makeatother

          begindocument

          [
          beginbcases
          m = A \
          m < -5
          endbcases
          ]

          enddocument


          enter image description here



          You should also consider the more standard cases environment (it uses a brace).






          share|improve this answer












          The newcases macro of mathtools ought to have an easier interface; with the current one you can still define a bcases environment (b for “bracket”).



          documentclassarticle
          usepackagemathtools

          makeatletter
          newcasesbcases
          quad
          $m@th##$hfil
          $m@th##$hfil
          lbrack
          .
          makeatother

          begindocument

          [
          beginbcases
          m = A \
          m < -5
          endbcases
          ]

          enddocument


          enter image description here



          You should also consider the more standard cases environment (it uses a brace).







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered 13 mins ago









          egreg

          683k8418193064




          683k8418193064




















              up vote
              1
              down vote













              enter image description here



              a simple way which cross my mind :-=:



              documentclassarticle

              begindocument
              [
              left[
              beginarrayl
              m=4 \
              m<-5
              endarray
              right.
              ]
              enddocument





              share|improve this answer




















              • Oh thank you a lots, That's help a lot but there is some struggle when I put it in the answers of my test:
                – Hoàng Duy Anh
                34 mins ago







              • 2




                @HoàngDuyAnh - Please be more specific about the "struggle when I put in my answers" consists of.
                – Mico
                10 mins ago










              • @HoàngDuyAnh, you not provide any code (as small complete document which we can copy and test), so we haven't any idea about your document. anyway, the proposed solution is so elementary that it should work in any document.
                – Zarko
                10 mins ago










              • Let me add my code into the question
                – Hoàng Duy Anh
                9 mins ago














              up vote
              1
              down vote













              enter image description here



              a simple way which cross my mind :-=:



              documentclassarticle

              begindocument
              [
              left[
              beginarrayl
              m=4 \
              m<-5
              endarray
              right.
              ]
              enddocument





              share|improve this answer




















              • Oh thank you a lots, That's help a lot but there is some struggle when I put it in the answers of my test:
                – Hoàng Duy Anh
                34 mins ago







              • 2




                @HoàngDuyAnh - Please be more specific about the "struggle when I put in my answers" consists of.
                – Mico
                10 mins ago










              • @HoàngDuyAnh, you not provide any code (as small complete document which we can copy and test), so we haven't any idea about your document. anyway, the proposed solution is so elementary that it should work in any document.
                – Zarko
                10 mins ago










              • Let me add my code into the question
                – Hoàng Duy Anh
                9 mins ago












              up vote
              1
              down vote










              up vote
              1
              down vote









              enter image description here



              a simple way which cross my mind :-=:



              documentclassarticle

              begindocument
              [
              left[
              beginarrayl
              m=4 \
              m<-5
              endarray
              right.
              ]
              enddocument





              share|improve this answer












              enter image description here



              a simple way which cross my mind :-=:



              documentclassarticle

              begindocument
              [
              left[
              beginarrayl
              m=4 \
              m<-5
              endarray
              right.
              ]
              enddocument






              share|improve this answer












              share|improve this answer



              share|improve this answer










              answered 35 mins ago









              Zarko

              113k861150




              113k861150











              • Oh thank you a lots, That's help a lot but there is some struggle when I put it in the answers of my test:
                – Hoàng Duy Anh
                34 mins ago







              • 2




                @HoàngDuyAnh - Please be more specific about the "struggle when I put in my answers" consists of.
                – Mico
                10 mins ago










              • @HoàngDuyAnh, you not provide any code (as small complete document which we can copy and test), so we haven't any idea about your document. anyway, the proposed solution is so elementary that it should work in any document.
                – Zarko
                10 mins ago










              • Let me add my code into the question
                – Hoàng Duy Anh
                9 mins ago
















              • Oh thank you a lots, That's help a lot but there is some struggle when I put it in the answers of my test:
                – Hoàng Duy Anh
                34 mins ago







              • 2




                @HoàngDuyAnh - Please be more specific about the "struggle when I put in my answers" consists of.
                – Mico
                10 mins ago










              • @HoàngDuyAnh, you not provide any code (as small complete document which we can copy and test), so we haven't any idea about your document. anyway, the proposed solution is so elementary that it should work in any document.
                – Zarko
                10 mins ago










              • Let me add my code into the question
                – Hoàng Duy Anh
                9 mins ago















              Oh thank you a lots, That's help a lot but there is some struggle when I put it in the answers of my test:
              – Hoàng Duy Anh
              34 mins ago





              Oh thank you a lots, That's help a lot but there is some struggle when I put it in the answers of my test:
              – Hoàng Duy Anh
              34 mins ago





              2




              2




              @HoàngDuyAnh - Please be more specific about the "struggle when I put in my answers" consists of.
              – Mico
              10 mins ago




              @HoàngDuyAnh - Please be more specific about the "struggle when I put in my answers" consists of.
              – Mico
              10 mins ago












              @HoàngDuyAnh, you not provide any code (as small complete document which we can copy and test), so we haven't any idea about your document. anyway, the proposed solution is so elementary that it should work in any document.
              – Zarko
              10 mins ago




              @HoàngDuyAnh, you not provide any code (as small complete document which we can copy and test), so we haven't any idea about your document. anyway, the proposed solution is so elementary that it should work in any document.
              – Zarko
              10 mins ago












              Let me add my code into the question
              – Hoàng Duy Anh
              9 mins ago




              Let me add my code into the question
              – Hoàng Duy Anh
              9 mins ago










              up vote
              1
              down vote













              I use an aligned stack here only to emphasize that if the left hand side of the two rows had different widths (here they do not), the aligned forms would be the most appropriate.



              documentclassarticle
              usepackagetabstackengine
              stackMath
              begindocument
              [
              left[alignCenterstackm=&4\m<&-5right.
              ]
              enddocument


              enter image description here





              share
























                up vote
                1
                down vote













                I use an aligned stack here only to emphasize that if the left hand side of the two rows had different widths (here they do not), the aligned forms would be the most appropriate.



                documentclassarticle
                usepackagetabstackengine
                stackMath
                begindocument
                [
                left[alignCenterstackm=&4\m<&-5right.
                ]
                enddocument


                enter image description here





                share






















                  up vote
                  1
                  down vote










                  up vote
                  1
                  down vote









                  I use an aligned stack here only to emphasize that if the left hand side of the two rows had different widths (here they do not), the aligned forms would be the most appropriate.



                  documentclassarticle
                  usepackagetabstackengine
                  stackMath
                  begindocument
                  [
                  left[alignCenterstackm=&4\m<&-5right.
                  ]
                  enddocument


                  enter image description here





                  share












                  I use an aligned stack here only to emphasize that if the left hand side of the two rows had different widths (here they do not), the aligned forms would be the most appropriate.



                  documentclassarticle
                  usepackagetabstackengine
                  stackMath
                  begindocument
                  [
                  left[alignCenterstackm=&4\m<&-5right.
                  ]
                  enddocument


                  enter image description here






                  share











                  share


                  share










                  answered 4 mins ago









                  Steven B. Segletes

                  147k9186388




                  147k9186388



























                       

                      draft saved


                      draft discarded















































                       


                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f451502%2fhow-can-i-typeset-a-formula-or-result-like-this-one%23new-answer', 'question_page');

                      );

                      Post as a guest













































































                      Comments

                      Popular posts from this blog

                      What does second last employer means? [closed]

                      List of Gilmore Girls characters

                      Confectionery