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
5
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


enter image description here



The final picture is what I expected for










share|improve this question























  • You can use $beginbcases...endbcases$ instead of [...],
    – egreg
    Sep 19 at 9:46










  • I added something based on your test case
    – egreg
    Sep 19 at 9:52










  • please tell us, what you expect from your code example? it works fine, but result is somehow unusual (to my taste)
    – Zarko
    Sep 19 at 9:54














up vote
5
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


enter image description here



The final picture is what I expected for










share|improve this question























  • You can use $beginbcases...endbcases$ instead of [...],
    – egreg
    Sep 19 at 9:46










  • I added something based on your test case
    – egreg
    Sep 19 at 9:52










  • please tell us, what you expect from your code example? it works fine, but result is somehow unusual (to my taste)
    – Zarko
    Sep 19 at 9:54












up vote
5
down vote

favorite









up vote
5
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


enter image description here



The final picture is what I expected for










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


enter image description here



The final picture is what I expected for







math-mode






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Sep 19 at 9:59

























asked Sep 19 at 9:10









Hoàng Duy Anh

434




434











  • You can use $beginbcases...endbcases$ instead of [...],
    – egreg
    Sep 19 at 9:46










  • I added something based on your test case
    – egreg
    Sep 19 at 9:52










  • please tell us, what you expect from your code example? it works fine, but result is somehow unusual (to my taste)
    – Zarko
    Sep 19 at 9:54
















  • You can use $beginbcases...endbcases$ instead of [...],
    – egreg
    Sep 19 at 9:46










  • I added something based on your test case
    – egreg
    Sep 19 at 9:52










  • please tell us, what you expect from your code example? it works fine, but result is somehow unusual (to my taste)
    – Zarko
    Sep 19 at 9:54















You can use $beginbcases...endbcases$ instead of [...],
– egreg
Sep 19 at 9:46




You can use $beginbcases...endbcases$ instead of [...],
– egreg
Sep 19 at 9:46












I added something based on your test case
– egreg
Sep 19 at 9:52




I added something based on your test case
– egreg
Sep 19 at 9:52












please tell us, what you expect from your code example? it works fine, but result is somehow unusual (to my taste)
– Zarko
Sep 19 at 9:54




please tell us, what you expect from your code example? it works fine, but result is somehow unusual (to my taste)
– Zarko
Sep 19 at 9:54










3 Answers
3






active

oldest

votes

















up vote
11
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).




Your test case can be improved:



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
textcolorbluetextbfCâ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
begintabularp6cmp6cm
textcolorbluetextbfA. $m=4 vee m<-5$ &
textcolorbluetextbfB. $m=4$ \
textcolorbluetextbfC. $m<-5$ & textcolorredtextbfD.
$beginbcases
m = A \
m < -5
endbcases$
endtabular
enddocument


Note textcolor<color><text> instead of color<color><text>; the removal of useless \ tokens; the p column type instead of m; $...$ around bcases instead of [...].



enter image description here






share|improve this answer





























    up vote
    4
    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



    In terms of the OP's test case, I give two different vertical alignment options, in the form of "D" and "E".



    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
    usepackagetabstackengine
    stackMath
    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.
    $left[alignCenterstackm =& A \m <& -5right.$ \
    colorredtextbfE.
    belowbaseline[-htstrutbox]left[alignCenterstackm =& A \m <& -5right.
    &
    endtabular
    enddocument


    enter image description here






    share|improve this answer






















    • It doesn't work much in my test question :( Check the code of my test question please.
      – Hoàng Duy Anh
      Sep 19 at 9:51










    • @HoàngDuyAnh Yes it does. Please see my edit.
      – Steven B. Segletes
      Sep 19 at 9:59










    • Oh I see, that's exactly what I'm trying to text out! Thank you alot
      – Hoàng Duy Anh
      Sep 19 at 10:00

















    up vote
    3
    down vote













    enter image description here



    a simple way which cross my mind :-) :



    documentclassarticle

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


    edit:
    considering your mwe, with my above proposition you will obtain:



    enter image description here



    documentclass[a4paper , 12pt]article
    % usepackagecolor % it is loaded by xcolor
    usepackage[dvipsnames]xcolor
    usepackagearray
    usepackagefloatrow
    usepackagegraphicx
    usepackage[utf8]inputenc
    usepackage[utf8]vietnam
    usepackagetikz,tkz-tab
    usepackageamssymb
    usepackagedsfont
    usepackagepgfplots%pgf,tikz
    pgfplotssetcompat=1.15
    usepackagemathrsfs
    usepackagemathtools
    usetikzlibraryarrows
    renewcommandbaselinestretch1.5 %Chỉnh dãn dòng
    usepackage[left=2cm,right=2cm,top=2cm,bottom=2cm]geometry


    begindocument
    textcolorbluetextbfCâ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
    begintabularp6cmp6cm
    textcolorbluetextbfA. $m=4 vee m<-5$ &
    textcolorbluetextbfB. $m=4$ \
    textcolorbluetextbfC. $m<-5$ & textcolorredtextbfD.
    $left[beginarrayc
    m = A \
    m < -5
    endarrayright.$
    endtabular
    enddocument

    documentclass[t]beamer
    setbeamertemplatenavigation symbols
    setbeamertemplatefootline
    setbeamertemplateheadline
    usepackage[edges]forest





    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
      Sep 19 at 9:15







    • 2




      @HoàngDuyAnh - Please be more specific about the "struggle when I put in my answers" consists of.
      – Mico
      Sep 19 at 9:40










    • @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
      Sep 19 at 9:40










    • Let me add my code into the question
      – Hoàng Duy Anh
      Sep 19 at 9:40










    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
    11
    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).




    Your test case can be improved:



    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
    textcolorbluetextbfCâ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
    begintabularp6cmp6cm
    textcolorbluetextbfA. $m=4 vee m<-5$ &
    textcolorbluetextbfB. $m=4$ \
    textcolorbluetextbfC. $m<-5$ & textcolorredtextbfD.
    $beginbcases
    m = A \
    m < -5
    endbcases$
    endtabular
    enddocument


    Note textcolor<color><text> instead of color<color><text>; the removal of useless \ tokens; the p column type instead of m; $...$ around bcases instead of [...].



    enter image description here






    share|improve this answer


























      up vote
      11
      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).




      Your test case can be improved:



      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
      textcolorbluetextbfCâ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
      begintabularp6cmp6cm
      textcolorbluetextbfA. $m=4 vee m<-5$ &
      textcolorbluetextbfB. $m=4$ \
      textcolorbluetextbfC. $m<-5$ & textcolorredtextbfD.
      $beginbcases
      m = A \
      m < -5
      endbcases$
      endtabular
      enddocument


      Note textcolor<color><text> instead of color<color><text>; the removal of useless \ tokens; the p column type instead of m; $...$ around bcases instead of [...].



      enter image description here






      share|improve this answer
























        up vote
        11
        down vote










        up vote
        11
        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).




        Your test case can be improved:



        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
        textcolorbluetextbfCâ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
        begintabularp6cmp6cm
        textcolorbluetextbfA. $m=4 vee m<-5$ &
        textcolorbluetextbfB. $m=4$ \
        textcolorbluetextbfC. $m<-5$ & textcolorredtextbfD.
        $beginbcases
        m = A \
        m < -5
        endbcases$
        endtabular
        enddocument


        Note textcolor<color><text> instead of color<color><text>; the removal of useless \ tokens; the p column type instead of m; $...$ around bcases instead of [...].



        enter image description here






        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).




        Your test case can be improved:



        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
        textcolorbluetextbfCâ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
        begintabularp6cmp6cm
        textcolorbluetextbfA. $m=4 vee m<-5$ &
        textcolorbluetextbfB. $m=4$ \
        textcolorbluetextbfC. $m<-5$ & textcolorredtextbfD.
        $beginbcases
        m = A \
        m < -5
        endbcases$
        endtabular
        enddocument


        Note textcolor<color><text> instead of color<color><text>; the removal of useless \ tokens; the p column type instead of m; $...$ around bcases instead of [...].



        enter image description here







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Sep 19 at 9:52

























        answered Sep 19 at 9:36









        egreg

        686k8418283078




        686k8418283078




















            up vote
            4
            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



            In terms of the OP's test case, I give two different vertical alignment options, in the form of "D" and "E".



            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
            usepackagetabstackengine
            stackMath
            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.
            $left[alignCenterstackm =& A \m <& -5right.$ \
            colorredtextbfE.
            belowbaseline[-htstrutbox]left[alignCenterstackm =& A \m <& -5right.
            &
            endtabular
            enddocument


            enter image description here






            share|improve this answer






















            • It doesn't work much in my test question :( Check the code of my test question please.
              – Hoàng Duy Anh
              Sep 19 at 9:51










            • @HoàngDuyAnh Yes it does. Please see my edit.
              – Steven B. Segletes
              Sep 19 at 9:59










            • Oh I see, that's exactly what I'm trying to text out! Thank you alot
              – Hoàng Duy Anh
              Sep 19 at 10:00














            up vote
            4
            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



            In terms of the OP's test case, I give two different vertical alignment options, in the form of "D" and "E".



            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
            usepackagetabstackengine
            stackMath
            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.
            $left[alignCenterstackm =& A \m <& -5right.$ \
            colorredtextbfE.
            belowbaseline[-htstrutbox]left[alignCenterstackm =& A \m <& -5right.
            &
            endtabular
            enddocument


            enter image description here






            share|improve this answer






















            • It doesn't work much in my test question :( Check the code of my test question please.
              – Hoàng Duy Anh
              Sep 19 at 9:51










            • @HoàngDuyAnh Yes it does. Please see my edit.
              – Steven B. Segletes
              Sep 19 at 9:59










            • Oh I see, that's exactly what I'm trying to text out! Thank you alot
              – Hoàng Duy Anh
              Sep 19 at 10:00












            up vote
            4
            down vote










            up vote
            4
            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



            In terms of the OP's test case, I give two different vertical alignment options, in the form of "D" and "E".



            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
            usepackagetabstackengine
            stackMath
            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.
            $left[alignCenterstackm =& A \m <& -5right.$ \
            colorredtextbfE.
            belowbaseline[-htstrutbox]left[alignCenterstackm =& A \m <& -5right.
            &
            endtabular
            enddocument


            enter image description here






            share|improve this answer














            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



            In terms of the OP's test case, I give two different vertical alignment options, in the form of "D" and "E".



            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
            usepackagetabstackengine
            stackMath
            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.
            $left[alignCenterstackm =& A \m <& -5right.$ \
            colorredtextbfE.
            belowbaseline[-htstrutbox]left[alignCenterstackm =& A \m <& -5right.
            &
            endtabular
            enddocument


            enter image description here







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Sep 19 at 10:04

























            answered Sep 19 at 9:45









            Steven B. Segletes

            148k9186390




            148k9186390











            • It doesn't work much in my test question :( Check the code of my test question please.
              – Hoàng Duy Anh
              Sep 19 at 9:51










            • @HoàngDuyAnh Yes it does. Please see my edit.
              – Steven B. Segletes
              Sep 19 at 9:59










            • Oh I see, that's exactly what I'm trying to text out! Thank you alot
              – Hoàng Duy Anh
              Sep 19 at 10:00
















            • It doesn't work much in my test question :( Check the code of my test question please.
              – Hoàng Duy Anh
              Sep 19 at 9:51










            • @HoàngDuyAnh Yes it does. Please see my edit.
              – Steven B. Segletes
              Sep 19 at 9:59










            • Oh I see, that's exactly what I'm trying to text out! Thank you alot
              – Hoàng Duy Anh
              Sep 19 at 10:00















            It doesn't work much in my test question :( Check the code of my test question please.
            – Hoàng Duy Anh
            Sep 19 at 9:51




            It doesn't work much in my test question :( Check the code of my test question please.
            – Hoàng Duy Anh
            Sep 19 at 9:51












            @HoàngDuyAnh Yes it does. Please see my edit.
            – Steven B. Segletes
            Sep 19 at 9:59




            @HoàngDuyAnh Yes it does. Please see my edit.
            – Steven B. Segletes
            Sep 19 at 9:59












            Oh I see, that's exactly what I'm trying to text out! Thank you alot
            – Hoàng Duy Anh
            Sep 19 at 10:00




            Oh I see, that's exactly what I'm trying to text out! Thank you alot
            – Hoàng Duy Anh
            Sep 19 at 10:00










            up vote
            3
            down vote













            enter image description here



            a simple way which cross my mind :-) :



            documentclassarticle

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


            edit:
            considering your mwe, with my above proposition you will obtain:



            enter image description here



            documentclass[a4paper , 12pt]article
            % usepackagecolor % it is loaded by xcolor
            usepackage[dvipsnames]xcolor
            usepackagearray
            usepackagefloatrow
            usepackagegraphicx
            usepackage[utf8]inputenc
            usepackage[utf8]vietnam
            usepackagetikz,tkz-tab
            usepackageamssymb
            usepackagedsfont
            usepackagepgfplots%pgf,tikz
            pgfplotssetcompat=1.15
            usepackagemathrsfs
            usepackagemathtools
            usetikzlibraryarrows
            renewcommandbaselinestretch1.5 %Chỉnh dãn dòng
            usepackage[left=2cm,right=2cm,top=2cm,bottom=2cm]geometry


            begindocument
            textcolorbluetextbfCâ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
            begintabularp6cmp6cm
            textcolorbluetextbfA. $m=4 vee m<-5$ &
            textcolorbluetextbfB. $m=4$ \
            textcolorbluetextbfC. $m<-5$ & textcolorredtextbfD.
            $left[beginarrayc
            m = A \
            m < -5
            endarrayright.$
            endtabular
            enddocument

            documentclass[t]beamer
            setbeamertemplatenavigation symbols
            setbeamertemplatefootline
            setbeamertemplateheadline
            usepackage[edges]forest





            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
              Sep 19 at 9:15







            • 2




              @HoàngDuyAnh - Please be more specific about the "struggle when I put in my answers" consists of.
              – Mico
              Sep 19 at 9:40










            • @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
              Sep 19 at 9:40










            • Let me add my code into the question
              – Hoàng Duy Anh
              Sep 19 at 9:40














            up vote
            3
            down vote













            enter image description here



            a simple way which cross my mind :-) :



            documentclassarticle

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


            edit:
            considering your mwe, with my above proposition you will obtain:



            enter image description here



            documentclass[a4paper , 12pt]article
            % usepackagecolor % it is loaded by xcolor
            usepackage[dvipsnames]xcolor
            usepackagearray
            usepackagefloatrow
            usepackagegraphicx
            usepackage[utf8]inputenc
            usepackage[utf8]vietnam
            usepackagetikz,tkz-tab
            usepackageamssymb
            usepackagedsfont
            usepackagepgfplots%pgf,tikz
            pgfplotssetcompat=1.15
            usepackagemathrsfs
            usepackagemathtools
            usetikzlibraryarrows
            renewcommandbaselinestretch1.5 %Chỉnh dãn dòng
            usepackage[left=2cm,right=2cm,top=2cm,bottom=2cm]geometry


            begindocument
            textcolorbluetextbfCâ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
            begintabularp6cmp6cm
            textcolorbluetextbfA. $m=4 vee m<-5$ &
            textcolorbluetextbfB. $m=4$ \
            textcolorbluetextbfC. $m<-5$ & textcolorredtextbfD.
            $left[beginarrayc
            m = A \
            m < -5
            endarrayright.$
            endtabular
            enddocument

            documentclass[t]beamer
            setbeamertemplatenavigation symbols
            setbeamertemplatefootline
            setbeamertemplateheadline
            usepackage[edges]forest





            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
              Sep 19 at 9:15







            • 2




              @HoàngDuyAnh - Please be more specific about the "struggle when I put in my answers" consists of.
              – Mico
              Sep 19 at 9:40










            • @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
              Sep 19 at 9:40










            • Let me add my code into the question
              – Hoàng Duy Anh
              Sep 19 at 9:40












            up vote
            3
            down vote










            up vote
            3
            down vote









            enter image description here



            a simple way which cross my mind :-) :



            documentclassarticle

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


            edit:
            considering your mwe, with my above proposition you will obtain:



            enter image description here



            documentclass[a4paper , 12pt]article
            % usepackagecolor % it is loaded by xcolor
            usepackage[dvipsnames]xcolor
            usepackagearray
            usepackagefloatrow
            usepackagegraphicx
            usepackage[utf8]inputenc
            usepackage[utf8]vietnam
            usepackagetikz,tkz-tab
            usepackageamssymb
            usepackagedsfont
            usepackagepgfplots%pgf,tikz
            pgfplotssetcompat=1.15
            usepackagemathrsfs
            usepackagemathtools
            usetikzlibraryarrows
            renewcommandbaselinestretch1.5 %Chỉnh dãn dòng
            usepackage[left=2cm,right=2cm,top=2cm,bottom=2cm]geometry


            begindocument
            textcolorbluetextbfCâ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
            begintabularp6cmp6cm
            textcolorbluetextbfA. $m=4 vee m<-5$ &
            textcolorbluetextbfB. $m=4$ \
            textcolorbluetextbfC. $m<-5$ & textcolorredtextbfD.
            $left[beginarrayc
            m = A \
            m < -5
            endarrayright.$
            endtabular
            enddocument

            documentclass[t]beamer
            setbeamertemplatenavigation symbols
            setbeamertemplatefootline
            setbeamertemplateheadline
            usepackage[edges]forest





            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


            edit:
            considering your mwe, with my above proposition you will obtain:



            enter image description here



            documentclass[a4paper , 12pt]article
            % usepackagecolor % it is loaded by xcolor
            usepackage[dvipsnames]xcolor
            usepackagearray
            usepackagefloatrow
            usepackagegraphicx
            usepackage[utf8]inputenc
            usepackage[utf8]vietnam
            usepackagetikz,tkz-tab
            usepackageamssymb
            usepackagedsfont
            usepackagepgfplots%pgf,tikz
            pgfplotssetcompat=1.15
            usepackagemathrsfs
            usepackagemathtools
            usetikzlibraryarrows
            renewcommandbaselinestretch1.5 %Chỉnh dãn dòng
            usepackage[left=2cm,right=2cm,top=2cm,bottom=2cm]geometry


            begindocument
            textcolorbluetextbfCâ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
            begintabularp6cmp6cm
            textcolorbluetextbfA. $m=4 vee m<-5$ &
            textcolorbluetextbfB. $m=4$ \
            textcolorbluetextbfC. $m<-5$ & textcolorredtextbfD.
            $left[beginarrayc
            m = A \
            m < -5
            endarrayright.$
            endtabular
            enddocument

            documentclass[t]beamer
            setbeamertemplatenavigation symbols
            setbeamertemplatefootline
            setbeamertemplateheadline
            usepackage[edges]forest






            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Sep 19 at 10:08

























            answered Sep 19 at 9:14









            Zarko

            114k863152




            114k863152











            • 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
              Sep 19 at 9:15







            • 2




              @HoàngDuyAnh - Please be more specific about the "struggle when I put in my answers" consists of.
              – Mico
              Sep 19 at 9:40










            • @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
              Sep 19 at 9:40










            • Let me add my code into the question
              – Hoàng Duy Anh
              Sep 19 at 9:40
















            • 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
              Sep 19 at 9:15







            • 2




              @HoàngDuyAnh - Please be more specific about the "struggle when I put in my answers" consists of.
              – Mico
              Sep 19 at 9:40










            • @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
              Sep 19 at 9:40










            • Let me add my code into the question
              – Hoàng Duy Anh
              Sep 19 at 9:40















            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
            Sep 19 at 9:15





            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
            Sep 19 at 9:15





            2




            2




            @HoàngDuyAnh - Please be more specific about the "struggle when I put in my answers" consists of.
            – Mico
            Sep 19 at 9:40




            @HoàngDuyAnh - Please be more specific about the "struggle when I put in my answers" consists of.
            – Mico
            Sep 19 at 9:40












            @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
            Sep 19 at 9:40




            @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
            Sep 19 at 9:40












            Let me add my code into the question
            – Hoàng Duy Anh
            Sep 19 at 9:40




            Let me add my code into the question
            – Hoàng Duy Anh
            Sep 19 at 9:40

















             

            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













































































            Popular posts from this blog

            Peggy Mitchell

            The Forum (Inglewood, California)

            Palaiologos