simple conditions equation












2















I tested some solutions, but without getting the simple results.
aesthetic I would like to use the arrows. rather than parentheses. the formula is followed by a text with explanations of the conditions.
would you have some simple suggestions about it?
thanks



documentclass[a4paper]{article} 

usepackage[T1]{fontenc}
usepackage[italian]{babel}
usepackage{amsmath}
usepackage{tikz}
usepackage{mwe}
usepackage{lmodern}
makeatletter
DeclareMathSizes{@xpt}{@xpt}{5}{4}
DeclareMathSizes{@xipt}{@xipt}{6}{5}
DeclareMathSizes{@xiipt}{@xiipt}{6}{5}
DeclareMathSizes{@xivpt}{@xivpt}{@xpt}{6}
makeatother

begin{document}
$
alpha = mfrac{l',z}{l_{0}};
begin{cases}
>0\=0\<0
end{cases}
$

$
alpha = mfrac{l',z}{l_{0}}
begin{array}{c}
nearrow >0\
rightarrow = 0\
searrow < 0\
end{array}
$
end{document}


enter image description here










share|improve this question


















  • 1





    Could you post an example of the kind of text you'd like to add?

    – Bernard
    2 hours ago






  • 2





    so far i not see anywhere your second example for writing "condition equation". cases is normal for such cases. it is far more readable than your "invention" ...

    – Zarko
    2 hours ago











  • @Bernard the equation I would like to explain is more complex. It is the conditions with respect to the production of buoyancy forces compared to the Richardson number. I am not very familiar with the tikz library and often I have difficulty with trivial things (which are often the most important ones)

    – Antonio
    1 hour ago











  • @Bernard in this case it is only an aesthetic problem. I prefer the arrows, to the braces

    – Antonio
    1 hour ago











  • Would there be an explanation per case, or a global explanation?

    – Bernard
    1 hour ago
















2















I tested some solutions, but without getting the simple results.
aesthetic I would like to use the arrows. rather than parentheses. the formula is followed by a text with explanations of the conditions.
would you have some simple suggestions about it?
thanks



documentclass[a4paper]{article} 

usepackage[T1]{fontenc}
usepackage[italian]{babel}
usepackage{amsmath}
usepackage{tikz}
usepackage{mwe}
usepackage{lmodern}
makeatletter
DeclareMathSizes{@xpt}{@xpt}{5}{4}
DeclareMathSizes{@xipt}{@xipt}{6}{5}
DeclareMathSizes{@xiipt}{@xiipt}{6}{5}
DeclareMathSizes{@xivpt}{@xivpt}{@xpt}{6}
makeatother

begin{document}
$
alpha = mfrac{l',z}{l_{0}};
begin{cases}
>0\=0\<0
end{cases}
$

$
alpha = mfrac{l',z}{l_{0}}
begin{array}{c}
nearrow >0\
rightarrow = 0\
searrow < 0\
end{array}
$
end{document}


enter image description here










share|improve this question


















  • 1





    Could you post an example of the kind of text you'd like to add?

    – Bernard
    2 hours ago






  • 2





    so far i not see anywhere your second example for writing "condition equation". cases is normal for such cases. it is far more readable than your "invention" ...

    – Zarko
    2 hours ago











  • @Bernard the equation I would like to explain is more complex. It is the conditions with respect to the production of buoyancy forces compared to the Richardson number. I am not very familiar with the tikz library and often I have difficulty with trivial things (which are often the most important ones)

    – Antonio
    1 hour ago











  • @Bernard in this case it is only an aesthetic problem. I prefer the arrows, to the braces

    – Antonio
    1 hour ago











  • Would there be an explanation per case, or a global explanation?

    – Bernard
    1 hour ago














2












2








2








I tested some solutions, but without getting the simple results.
aesthetic I would like to use the arrows. rather than parentheses. the formula is followed by a text with explanations of the conditions.
would you have some simple suggestions about it?
thanks



documentclass[a4paper]{article} 

usepackage[T1]{fontenc}
usepackage[italian]{babel}
usepackage{amsmath}
usepackage{tikz}
usepackage{mwe}
usepackage{lmodern}
makeatletter
DeclareMathSizes{@xpt}{@xpt}{5}{4}
DeclareMathSizes{@xipt}{@xipt}{6}{5}
DeclareMathSizes{@xiipt}{@xiipt}{6}{5}
DeclareMathSizes{@xivpt}{@xivpt}{@xpt}{6}
makeatother

begin{document}
$
alpha = mfrac{l',z}{l_{0}};
begin{cases}
>0\=0\<0
end{cases}
$

$
alpha = mfrac{l',z}{l_{0}}
begin{array}{c}
nearrow >0\
rightarrow = 0\
searrow < 0\
end{array}
$
end{document}


enter image description here










share|improve this question














I tested some solutions, but without getting the simple results.
aesthetic I would like to use the arrows. rather than parentheses. the formula is followed by a text with explanations of the conditions.
would you have some simple suggestions about it?
thanks



documentclass[a4paper]{article} 

usepackage[T1]{fontenc}
usepackage[italian]{babel}
usepackage{amsmath}
usepackage{tikz}
usepackage{mwe}
usepackage{lmodern}
makeatletter
DeclareMathSizes{@xpt}{@xpt}{5}{4}
DeclareMathSizes{@xipt}{@xipt}{6}{5}
DeclareMathSizes{@xiipt}{@xiipt}{6}{5}
DeclareMathSizes{@xivpt}{@xivpt}{@xpt}{6}
makeatother

begin{document}
$
alpha = mfrac{l',z}{l_{0}};
begin{cases}
>0\=0\<0
end{cases}
$

$
alpha = mfrac{l',z}{l_{0}}
begin{array}{c}
nearrow >0\
rightarrow = 0\
searrow < 0\
end{array}
$
end{document}


enter image description here







graphics equations tikz-arrows






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 2 hours ago









AntonioAntonio

305111




305111








  • 1





    Could you post an example of the kind of text you'd like to add?

    – Bernard
    2 hours ago






  • 2





    so far i not see anywhere your second example for writing "condition equation". cases is normal for such cases. it is far more readable than your "invention" ...

    – Zarko
    2 hours ago











  • @Bernard the equation I would like to explain is more complex. It is the conditions with respect to the production of buoyancy forces compared to the Richardson number. I am not very familiar with the tikz library and often I have difficulty with trivial things (which are often the most important ones)

    – Antonio
    1 hour ago











  • @Bernard in this case it is only an aesthetic problem. I prefer the arrows, to the braces

    – Antonio
    1 hour ago











  • Would there be an explanation per case, or a global explanation?

    – Bernard
    1 hour ago














  • 1





    Could you post an example of the kind of text you'd like to add?

    – Bernard
    2 hours ago






  • 2





    so far i not see anywhere your second example for writing "condition equation". cases is normal for such cases. it is far more readable than your "invention" ...

    – Zarko
    2 hours ago











  • @Bernard the equation I would like to explain is more complex. It is the conditions with respect to the production of buoyancy forces compared to the Richardson number. I am not very familiar with the tikz library and often I have difficulty with trivial things (which are often the most important ones)

    – Antonio
    1 hour ago











  • @Bernard in this case it is only an aesthetic problem. I prefer the arrows, to the braces

    – Antonio
    1 hour ago











  • Would there be an explanation per case, or a global explanation?

    – Bernard
    1 hour ago








1




1





Could you post an example of the kind of text you'd like to add?

– Bernard
2 hours ago





Could you post an example of the kind of text you'd like to add?

– Bernard
2 hours ago




2




2





so far i not see anywhere your second example for writing "condition equation". cases is normal for such cases. it is far more readable than your "invention" ...

– Zarko
2 hours ago





so far i not see anywhere your second example for writing "condition equation". cases is normal for such cases. it is far more readable than your "invention" ...

– Zarko
2 hours ago













@Bernard the equation I would like to explain is more complex. It is the conditions with respect to the production of buoyancy forces compared to the Richardson number. I am not very familiar with the tikz library and often I have difficulty with trivial things (which are often the most important ones)

– Antonio
1 hour ago





@Bernard the equation I would like to explain is more complex. It is the conditions with respect to the production of buoyancy forces compared to the Richardson number. I am not very familiar with the tikz library and often I have difficulty with trivial things (which are often the most important ones)

– Antonio
1 hour ago













@Bernard in this case it is only an aesthetic problem. I prefer the arrows, to the braces

– Antonio
1 hour ago





@Bernard in this case it is only an aesthetic problem. I prefer the arrows, to the braces

– Antonio
1 hour ago













Would there be an explanation per case, or a global explanation?

– Bernard
1 hour ago





Would there be an explanation per case, or a global explanation?

– Bernard
1 hour ago










2 Answers
2






active

oldest

votes


















2














My suggestion for example, for the 2nd formula, without left bracket, is with the package tikz-cd.



enter image description here



documentclass{article}
usepackage{tikz-cd}
usepackage{amsmath}
begin{document}
begin{tikzcd}[row sep=.4cm, column sep=.5cm]
& >0 \
{alpha = mdfrac{l',z}{l_{0}}}
arrow[ru] arrow[r] arrow[rd] & =0 \
& <0
end{tikzcd}
end{document}





share|improve this answer































    1














    Done here with two separate stacks, so that the arrow vertical gap can be different than the baselineskip of the conditions stack.



    documentclass[a4paper]{article} 
    usepackage[T1]{fontenc}
    usepackage[italian]{babel}
    usepackage{amsmath}
    usepackage{tikz}
    usepackage{mwe}
    usepackage{lmodern}
    makeatletter
    DeclareMathSizes{@xpt}{@xpt}{5}{4}
    DeclareMathSizes{@xipt}{@xipt}{6}{5}
    DeclareMathSizes{@xiipt}{@xiipt}{6}{5}
    DeclareMathSizes{@xivpt}{@xivpt}{@xpt}{6}
    makeatother
    usepackage[usestackEOL]{stackengine}
    stackMath
    newcommandarrowstack{,ensurestackMath{stackengine{Sstackgap}{%
    stackengine{Sstackgap}{rightarrow}{nearrow}{O}{c}{F}{F}{S}%
    }{searrow}{U}{c}{F}{F}{S}%
    }}
    begin{document}
    [
    setstackgap{L}{16pt}% GOVERNS THE CONDITIONS STACK BASELINESKIP
    setstackgap{S}{2pt}% GOVERNS THE ARROW STACK GAP
    alpha = mfrac{l',z}{l_{0}}
    arrowstack
    Centerstack[l]{{}>0\{}=0\{}<0}
    ]
    end{document}


    enter image description here






    share|improve this answer


























      Your Answer








      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "85"
      };
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function() {
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled) {
      StackExchange.using("snippets", function() {
      createEditor();
      });
      }
      else {
      createEditor();
      }
      });

      function createEditor() {
      StackExchange.prepareEditor({
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: false,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });














      draft saved

      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f487981%2fsimple-conditions-equation%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









      2














      My suggestion for example, for the 2nd formula, without left bracket, is with the package tikz-cd.



      enter image description here



      documentclass{article}
      usepackage{tikz-cd}
      usepackage{amsmath}
      begin{document}
      begin{tikzcd}[row sep=.4cm, column sep=.5cm]
      & >0 \
      {alpha = mdfrac{l',z}{l_{0}}}
      arrow[ru] arrow[r] arrow[rd] & =0 \
      & <0
      end{tikzcd}
      end{document}





      share|improve this answer




























        2














        My suggestion for example, for the 2nd formula, without left bracket, is with the package tikz-cd.



        enter image description here



        documentclass{article}
        usepackage{tikz-cd}
        usepackage{amsmath}
        begin{document}
        begin{tikzcd}[row sep=.4cm, column sep=.5cm]
        & >0 \
        {alpha = mdfrac{l',z}{l_{0}}}
        arrow[ru] arrow[r] arrow[rd] & =0 \
        & <0
        end{tikzcd}
        end{document}





        share|improve this answer


























          2












          2








          2







          My suggestion for example, for the 2nd formula, without left bracket, is with the package tikz-cd.



          enter image description here



          documentclass{article}
          usepackage{tikz-cd}
          usepackage{amsmath}
          begin{document}
          begin{tikzcd}[row sep=.4cm, column sep=.5cm]
          & >0 \
          {alpha = mdfrac{l',z}{l_{0}}}
          arrow[ru] arrow[r] arrow[rd] & =0 \
          & <0
          end{tikzcd}
          end{document}





          share|improve this answer













          My suggestion for example, for the 2nd formula, without left bracket, is with the package tikz-cd.



          enter image description here



          documentclass{article}
          usepackage{tikz-cd}
          usepackage{amsmath}
          begin{document}
          begin{tikzcd}[row sep=.4cm, column sep=.5cm]
          & >0 \
          {alpha = mdfrac{l',z}{l_{0}}}
          arrow[ru] arrow[r] arrow[rd] & =0 \
          & <0
          end{tikzcd}
          end{document}






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered 2 hours ago









          SebastianoSebastiano

          11.7k42366




          11.7k42366























              1














              Done here with two separate stacks, so that the arrow vertical gap can be different than the baselineskip of the conditions stack.



              documentclass[a4paper]{article} 
              usepackage[T1]{fontenc}
              usepackage[italian]{babel}
              usepackage{amsmath}
              usepackage{tikz}
              usepackage{mwe}
              usepackage{lmodern}
              makeatletter
              DeclareMathSizes{@xpt}{@xpt}{5}{4}
              DeclareMathSizes{@xipt}{@xipt}{6}{5}
              DeclareMathSizes{@xiipt}{@xiipt}{6}{5}
              DeclareMathSizes{@xivpt}{@xivpt}{@xpt}{6}
              makeatother
              usepackage[usestackEOL]{stackengine}
              stackMath
              newcommandarrowstack{,ensurestackMath{stackengine{Sstackgap}{%
              stackengine{Sstackgap}{rightarrow}{nearrow}{O}{c}{F}{F}{S}%
              }{searrow}{U}{c}{F}{F}{S}%
              }}
              begin{document}
              [
              setstackgap{L}{16pt}% GOVERNS THE CONDITIONS STACK BASELINESKIP
              setstackgap{S}{2pt}% GOVERNS THE ARROW STACK GAP
              alpha = mfrac{l',z}{l_{0}}
              arrowstack
              Centerstack[l]{{}>0\{}=0\{}<0}
              ]
              end{document}


              enter image description here






              share|improve this answer






























                1














                Done here with two separate stacks, so that the arrow vertical gap can be different than the baselineskip of the conditions stack.



                documentclass[a4paper]{article} 
                usepackage[T1]{fontenc}
                usepackage[italian]{babel}
                usepackage{amsmath}
                usepackage{tikz}
                usepackage{mwe}
                usepackage{lmodern}
                makeatletter
                DeclareMathSizes{@xpt}{@xpt}{5}{4}
                DeclareMathSizes{@xipt}{@xipt}{6}{5}
                DeclareMathSizes{@xiipt}{@xiipt}{6}{5}
                DeclareMathSizes{@xivpt}{@xivpt}{@xpt}{6}
                makeatother
                usepackage[usestackEOL]{stackengine}
                stackMath
                newcommandarrowstack{,ensurestackMath{stackengine{Sstackgap}{%
                stackengine{Sstackgap}{rightarrow}{nearrow}{O}{c}{F}{F}{S}%
                }{searrow}{U}{c}{F}{F}{S}%
                }}
                begin{document}
                [
                setstackgap{L}{16pt}% GOVERNS THE CONDITIONS STACK BASELINESKIP
                setstackgap{S}{2pt}% GOVERNS THE ARROW STACK GAP
                alpha = mfrac{l',z}{l_{0}}
                arrowstack
                Centerstack[l]{{}>0\{}=0\{}<0}
                ]
                end{document}


                enter image description here






                share|improve this answer




























                  1












                  1








                  1







                  Done here with two separate stacks, so that the arrow vertical gap can be different than the baselineskip of the conditions stack.



                  documentclass[a4paper]{article} 
                  usepackage[T1]{fontenc}
                  usepackage[italian]{babel}
                  usepackage{amsmath}
                  usepackage{tikz}
                  usepackage{mwe}
                  usepackage{lmodern}
                  makeatletter
                  DeclareMathSizes{@xpt}{@xpt}{5}{4}
                  DeclareMathSizes{@xipt}{@xipt}{6}{5}
                  DeclareMathSizes{@xiipt}{@xiipt}{6}{5}
                  DeclareMathSizes{@xivpt}{@xivpt}{@xpt}{6}
                  makeatother
                  usepackage[usestackEOL]{stackengine}
                  stackMath
                  newcommandarrowstack{,ensurestackMath{stackengine{Sstackgap}{%
                  stackengine{Sstackgap}{rightarrow}{nearrow}{O}{c}{F}{F}{S}%
                  }{searrow}{U}{c}{F}{F}{S}%
                  }}
                  begin{document}
                  [
                  setstackgap{L}{16pt}% GOVERNS THE CONDITIONS STACK BASELINESKIP
                  setstackgap{S}{2pt}% GOVERNS THE ARROW STACK GAP
                  alpha = mfrac{l',z}{l_{0}}
                  arrowstack
                  Centerstack[l]{{}>0\{}=0\{}<0}
                  ]
                  end{document}


                  enter image description here






                  share|improve this answer















                  Done here with two separate stacks, so that the arrow vertical gap can be different than the baselineskip of the conditions stack.



                  documentclass[a4paper]{article} 
                  usepackage[T1]{fontenc}
                  usepackage[italian]{babel}
                  usepackage{amsmath}
                  usepackage{tikz}
                  usepackage{mwe}
                  usepackage{lmodern}
                  makeatletter
                  DeclareMathSizes{@xpt}{@xpt}{5}{4}
                  DeclareMathSizes{@xipt}{@xipt}{6}{5}
                  DeclareMathSizes{@xiipt}{@xiipt}{6}{5}
                  DeclareMathSizes{@xivpt}{@xivpt}{@xpt}{6}
                  makeatother
                  usepackage[usestackEOL]{stackengine}
                  stackMath
                  newcommandarrowstack{,ensurestackMath{stackengine{Sstackgap}{%
                  stackengine{Sstackgap}{rightarrow}{nearrow}{O}{c}{F}{F}{S}%
                  }{searrow}{U}{c}{F}{F}{S}%
                  }}
                  begin{document}
                  [
                  setstackgap{L}{16pt}% GOVERNS THE CONDITIONS STACK BASELINESKIP
                  setstackgap{S}{2pt}% GOVERNS THE ARROW STACK GAP
                  alpha = mfrac{l',z}{l_{0}}
                  arrowstack
                  Centerstack[l]{{}>0\{}=0\{}<0}
                  ]
                  end{document}


                  enter image description here







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited 1 hour ago

























                  answered 2 hours ago









                  Steven B. SegletesSteven B. Segletes

                  163k9208421




                  163k9208421






























                      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%2f487981%2fsimple-conditions-equation%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      How to label and detect the document text images

                      Vallis Paradisi

                      Tabula Rosettana