Two functions in the same lineHow Do I Horizontally Center An Operator Relative To Aligned Equations Above...

4 Spheres all touching each other??

Which branches of mathematics can be done just in terms of morphisms and composition?

Why can I easily sing or whistle a tune I've just heard, but not as easily reproduce it on an instrument?

How to acknowledge an embarrassing job interview, now that I work directly with the interviewer?

Using AWS Fargate as web server

What to do when being responsible for data protection in your lab, yet advice is ignored?

How do we edit a novel that's written by several people?

Can I retract my name from an already published manuscript?

How do I add a variable to this curl command?

How to properly claim credit for peer review?

Why do members of Congress in committee hearings ask witnesses the same question multiple times?

Why didn't Eru and/or the Valar intervene when Sauron corrupted Númenor?

How to approximate rolls for potions of healing using only d6's?

When does coming up with an idea constitute sufficient contribution for authorship?

How much time does it take for a broken magnet to recover its poles?

What's the rationale behind the objections to these measures against human trafficking?

What is better: yes / no radio, or simple checkbox?

Activating a Alphanet Faucet Wallet Remotely (without tezos-client)

ip vs ifconfig commands pros and cons

Meth dealer reference in Family Guy

Table enclosed in curly brackets

Where is this triangular-shaped space station from?

How to prepare vegetables for a sandwich that can last for several days in a fridge?

What's a good word to describe a public place that looks like it wouldn't be rough?



Two functions in the same line


How Do I Horizontally Center An Operator Relative To Aligned Equations Above and BelowWhy does widehat behave differently if I insert hspace{0pt}?Two columns of equations, aligned and just one number per columnUsing mathspec to change digits font in math mode isn't workingAligning the text in formulaAlignment for equations2 boxed equations on one line(blue outline box and shadow)Apply line spacing to matrix of math nodes in TikzLeft align text within alignat and keep everything else centeredHow to use multiple label across multiple align* environments?













3















      documentclass[12pt,a4paper]{report}
usepackage{mathtools, nccmath}
usepackage{amssymb, amsthm, mathrsfs}

begin{document}
begin{align*}
hcolon S(0,1)& rightarrow S^A(0,1)\
x&mapsto frac{x}{|x|_A},
end{align*}
and
begin{align*}
gcolon S^A(0,1)& rightarrow S(0,1)\
y&mapsto frac{y}{|y|},
end{align*}
end{document}


enter image description here




I want to make the two equations in the same line











share|improve this question





























    3















          documentclass[12pt,a4paper]{report}
    usepackage{mathtools, nccmath}
    usepackage{amssymb, amsthm, mathrsfs}

    begin{document}
    begin{align*}
    hcolon S(0,1)& rightarrow S^A(0,1)\
    x&mapsto frac{x}{|x|_A},
    end{align*}
    and
    begin{align*}
    gcolon S^A(0,1)& rightarrow S(0,1)\
    y&mapsto frac{y}{|y|},
    end{align*}
    end{document}


    enter image description here




    I want to make the two equations in the same line











    share|improve this question



























      3












      3








      3








            documentclass[12pt,a4paper]{report}
      usepackage{mathtools, nccmath}
      usepackage{amssymb, amsthm, mathrsfs}

      begin{document}
      begin{align*}
      hcolon S(0,1)& rightarrow S^A(0,1)\
      x&mapsto frac{x}{|x|_A},
      end{align*}
      and
      begin{align*}
      gcolon S^A(0,1)& rightarrow S(0,1)\
      y&mapsto frac{y}{|y|},
      end{align*}
      end{document}


      enter image description here




      I want to make the two equations in the same line











      share|improve this question
















            documentclass[12pt,a4paper]{report}
      usepackage{mathtools, nccmath}
      usepackage{amssymb, amsthm, mathrsfs}

      begin{document}
      begin{align*}
      hcolon S(0,1)& rightarrow S^A(0,1)\
      x&mapsto frac{x}{|x|_A},
      end{align*}
      and
      begin{align*}
      gcolon S^A(0,1)& rightarrow S(0,1)\
      y&mapsto frac{y}{|y|},
      end{align*}
      end{document}


      enter image description here




      I want to make the two equations in the same line








      math-mode






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 13 hours ago









      JouleV

      4,6681938




      4,6681938










      asked 13 hours ago









      SchülerSchüler

      32319




      32319






















          3 Answers
          3






          active

          oldest

          votes


















          4














          Use aligned:



          documentclass[12pt,a4paper]{report}
          usepackage{mathtools}

          begin{document}

          begin{equation*}
          begin{aligned}[t]
          hcolon S(0,1) &rightarrow S^A(0,1)\
          x &mapsto frac{x}{|x|_A},
          end{aligned}
          quadtext{and}quad
          begin{aligned}[t]
          gcolon S^A(0,1) &rightarrow S(0,1)\
          y &mapsto frac{y}{|y|},
          end{aligned}
          end{equation*}

          end{document}


          enter image description here



          I used to be fond of this function notation, but then I started to dislike it: it's heavy, uses up space and doesn't really do anything good. On the blackboard it can be useful, not in papers.






          share|improve this answer
























          • Thanks a lot. So what is the best way to define a function?

            – Schüler
            12 hours ago











          • @Schüler I tend to use the inline form, but that's personal preference.

            – egreg
            12 hours ago



















          2














          Using aligned you can do the job in inline math mode. I suppose you would like the result centered, so, I placed the code in a center environment and finally, I added some hspace commands for better spacing:



           documentclass[12pt,a4paper]{report}
          usepackage{mathtools, nccmath}
          usepackage{amssymb, amsthm, mathrsfs}

          begin{document}
          begin{center}
          (begin{aligned}
          hcolon S(0,1)& rightarrow S^A(0,1)\
          x&mapsto frac{x}{|x|_A},
          end{aligned}
          hspace{20pt}text{ and }hspace{20pt}
          begin{aligned}
          gcolon S^A(0,1)& rightarrow S(0,1)\
          y&mapsto frac{y}{|y|},
          end{aligned})
          end{center}
          end{document}


          enter image description here






          share|improve this answer































            2














            Something like one of these?



            documentclass[12pt,a4paper]{report}
            usepackage{mathtools, nccmath}
            usepackage{amssymb, amsthm, mathrsfs}

            begin{document}

            [ begin{aligned}
            hcolon S(0,1)& longrightarrow S^A(0,1)\
            x&longmapsto frac{x}{|x|_A},
            end{aligned}
            qquadtext{ and }qquad
            begin{aligned}
            gcolon S^A(0,1)& longrightarrow S(0,1)\
            y&longmapsto frac{y}{|y|},
            end{aligned} ]bigskip

            [ begin{rcases} begin{aligned}
            hcolon S(0,1)& longrightarrow S^A(0,1)\
            x&longmapsto frac{x}{|x|_A},
            end{aligned}end{rcases}
            quadtext{ and }quad
            begin{dcases} begin{aligned}
            gcolon S^A(0,1)& longrightarrow S(0,1)\
            y&longmapsto frac{y}{|y|},
            end{aligned}end{dcases} ]

            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%2f477547%2ftwo-functions-in-the-same-line%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              3 Answers
              3






              active

              oldest

              votes








              3 Answers
              3






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              4














              Use aligned:



              documentclass[12pt,a4paper]{report}
              usepackage{mathtools}

              begin{document}

              begin{equation*}
              begin{aligned}[t]
              hcolon S(0,1) &rightarrow S^A(0,1)\
              x &mapsto frac{x}{|x|_A},
              end{aligned}
              quadtext{and}quad
              begin{aligned}[t]
              gcolon S^A(0,1) &rightarrow S(0,1)\
              y &mapsto frac{y}{|y|},
              end{aligned}
              end{equation*}

              end{document}


              enter image description here



              I used to be fond of this function notation, but then I started to dislike it: it's heavy, uses up space and doesn't really do anything good. On the blackboard it can be useful, not in papers.






              share|improve this answer
























              • Thanks a lot. So what is the best way to define a function?

                – Schüler
                12 hours ago











              • @Schüler I tend to use the inline form, but that's personal preference.

                – egreg
                12 hours ago
















              4














              Use aligned:



              documentclass[12pt,a4paper]{report}
              usepackage{mathtools}

              begin{document}

              begin{equation*}
              begin{aligned}[t]
              hcolon S(0,1) &rightarrow S^A(0,1)\
              x &mapsto frac{x}{|x|_A},
              end{aligned}
              quadtext{and}quad
              begin{aligned}[t]
              gcolon S^A(0,1) &rightarrow S(0,1)\
              y &mapsto frac{y}{|y|},
              end{aligned}
              end{equation*}

              end{document}


              enter image description here



              I used to be fond of this function notation, but then I started to dislike it: it's heavy, uses up space and doesn't really do anything good. On the blackboard it can be useful, not in papers.






              share|improve this answer
























              • Thanks a lot. So what is the best way to define a function?

                – Schüler
                12 hours ago











              • @Schüler I tend to use the inline form, but that's personal preference.

                – egreg
                12 hours ago














              4












              4








              4







              Use aligned:



              documentclass[12pt,a4paper]{report}
              usepackage{mathtools}

              begin{document}

              begin{equation*}
              begin{aligned}[t]
              hcolon S(0,1) &rightarrow S^A(0,1)\
              x &mapsto frac{x}{|x|_A},
              end{aligned}
              quadtext{and}quad
              begin{aligned}[t]
              gcolon S^A(0,1) &rightarrow S(0,1)\
              y &mapsto frac{y}{|y|},
              end{aligned}
              end{equation*}

              end{document}


              enter image description here



              I used to be fond of this function notation, but then I started to dislike it: it's heavy, uses up space and doesn't really do anything good. On the blackboard it can be useful, not in papers.






              share|improve this answer













              Use aligned:



              documentclass[12pt,a4paper]{report}
              usepackage{mathtools}

              begin{document}

              begin{equation*}
              begin{aligned}[t]
              hcolon S(0,1) &rightarrow S^A(0,1)\
              x &mapsto frac{x}{|x|_A},
              end{aligned}
              quadtext{and}quad
              begin{aligned}[t]
              gcolon S^A(0,1) &rightarrow S(0,1)\
              y &mapsto frac{y}{|y|},
              end{aligned}
              end{equation*}

              end{document}


              enter image description here



              I used to be fond of this function notation, but then I started to dislike it: it's heavy, uses up space and doesn't really do anything good. On the blackboard it can be useful, not in papers.







              share|improve this answer












              share|improve this answer



              share|improve this answer










              answered 13 hours ago









              egregegreg

              724k8819173220




              724k8819173220













              • Thanks a lot. So what is the best way to define a function?

                – Schüler
                12 hours ago











              • @Schüler I tend to use the inline form, but that's personal preference.

                – egreg
                12 hours ago



















              • Thanks a lot. So what is the best way to define a function?

                – Schüler
                12 hours ago











              • @Schüler I tend to use the inline form, but that's personal preference.

                – egreg
                12 hours ago

















              Thanks a lot. So what is the best way to define a function?

              – Schüler
              12 hours ago





              Thanks a lot. So what is the best way to define a function?

              – Schüler
              12 hours ago













              @Schüler I tend to use the inline form, but that's personal preference.

              – egreg
              12 hours ago





              @Schüler I tend to use the inline form, but that's personal preference.

              – egreg
              12 hours ago











              2














              Using aligned you can do the job in inline math mode. I suppose you would like the result centered, so, I placed the code in a center environment and finally, I added some hspace commands for better spacing:



               documentclass[12pt,a4paper]{report}
              usepackage{mathtools, nccmath}
              usepackage{amssymb, amsthm, mathrsfs}

              begin{document}
              begin{center}
              (begin{aligned}
              hcolon S(0,1)& rightarrow S^A(0,1)\
              x&mapsto frac{x}{|x|_A},
              end{aligned}
              hspace{20pt}text{ and }hspace{20pt}
              begin{aligned}
              gcolon S^A(0,1)& rightarrow S(0,1)\
              y&mapsto frac{y}{|y|},
              end{aligned})
              end{center}
              end{document}


              enter image description here






              share|improve this answer




























                2














                Using aligned you can do the job in inline math mode. I suppose you would like the result centered, so, I placed the code in a center environment and finally, I added some hspace commands for better spacing:



                 documentclass[12pt,a4paper]{report}
                usepackage{mathtools, nccmath}
                usepackage{amssymb, amsthm, mathrsfs}

                begin{document}
                begin{center}
                (begin{aligned}
                hcolon S(0,1)& rightarrow S^A(0,1)\
                x&mapsto frac{x}{|x|_A},
                end{aligned}
                hspace{20pt}text{ and }hspace{20pt}
                begin{aligned}
                gcolon S^A(0,1)& rightarrow S(0,1)\
                y&mapsto frac{y}{|y|},
                end{aligned})
                end{center}
                end{document}


                enter image description here






                share|improve this answer


























                  2












                  2








                  2







                  Using aligned you can do the job in inline math mode. I suppose you would like the result centered, so, I placed the code in a center environment and finally, I added some hspace commands for better spacing:



                   documentclass[12pt,a4paper]{report}
                  usepackage{mathtools, nccmath}
                  usepackage{amssymb, amsthm, mathrsfs}

                  begin{document}
                  begin{center}
                  (begin{aligned}
                  hcolon S(0,1)& rightarrow S^A(0,1)\
                  x&mapsto frac{x}{|x|_A},
                  end{aligned}
                  hspace{20pt}text{ and }hspace{20pt}
                  begin{aligned}
                  gcolon S^A(0,1)& rightarrow S(0,1)\
                  y&mapsto frac{y}{|y|},
                  end{aligned})
                  end{center}
                  end{document}


                  enter image description here






                  share|improve this answer













                  Using aligned you can do the job in inline math mode. I suppose you would like the result centered, so, I placed the code in a center environment and finally, I added some hspace commands for better spacing:



                   documentclass[12pt,a4paper]{report}
                  usepackage{mathtools, nccmath}
                  usepackage{amssymb, amsthm, mathrsfs}

                  begin{document}
                  begin{center}
                  (begin{aligned}
                  hcolon S(0,1)& rightarrow S^A(0,1)\
                  x&mapsto frac{x}{|x|_A},
                  end{aligned}
                  hspace{20pt}text{ and }hspace{20pt}
                  begin{aligned}
                  gcolon S^A(0,1)& rightarrow S(0,1)\
                  y&mapsto frac{y}{|y|},
                  end{aligned})
                  end{center}
                  end{document}


                  enter image description here







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered 13 hours ago









                  koleygrkoleygr

                  11.6k11038




                  11.6k11038























                      2














                      Something like one of these?



                      documentclass[12pt,a4paper]{report}
                      usepackage{mathtools, nccmath}
                      usepackage{amssymb, amsthm, mathrsfs}

                      begin{document}

                      [ begin{aligned}
                      hcolon S(0,1)& longrightarrow S^A(0,1)\
                      x&longmapsto frac{x}{|x|_A},
                      end{aligned}
                      qquadtext{ and }qquad
                      begin{aligned}
                      gcolon S^A(0,1)& longrightarrow S(0,1)\
                      y&longmapsto frac{y}{|y|},
                      end{aligned} ]bigskip

                      [ begin{rcases} begin{aligned}
                      hcolon S(0,1)& longrightarrow S^A(0,1)\
                      x&longmapsto frac{x}{|x|_A},
                      end{aligned}end{rcases}
                      quadtext{ and }quad
                      begin{dcases} begin{aligned}
                      gcolon S^A(0,1)& longrightarrow S(0,1)\
                      y&longmapsto frac{y}{|y|},
                      end{aligned}end{dcases} ]

                      end{document}


                      enter image description here






                      share|improve this answer




























                        2














                        Something like one of these?



                        documentclass[12pt,a4paper]{report}
                        usepackage{mathtools, nccmath}
                        usepackage{amssymb, amsthm, mathrsfs}

                        begin{document}

                        [ begin{aligned}
                        hcolon S(0,1)& longrightarrow S^A(0,1)\
                        x&longmapsto frac{x}{|x|_A},
                        end{aligned}
                        qquadtext{ and }qquad
                        begin{aligned}
                        gcolon S^A(0,1)& longrightarrow S(0,1)\
                        y&longmapsto frac{y}{|y|},
                        end{aligned} ]bigskip

                        [ begin{rcases} begin{aligned}
                        hcolon S(0,1)& longrightarrow S^A(0,1)\
                        x&longmapsto frac{x}{|x|_A},
                        end{aligned}end{rcases}
                        quadtext{ and }quad
                        begin{dcases} begin{aligned}
                        gcolon S^A(0,1)& longrightarrow S(0,1)\
                        y&longmapsto frac{y}{|y|},
                        end{aligned}end{dcases} ]

                        end{document}


                        enter image description here






                        share|improve this answer


























                          2












                          2








                          2







                          Something like one of these?



                          documentclass[12pt,a4paper]{report}
                          usepackage{mathtools, nccmath}
                          usepackage{amssymb, amsthm, mathrsfs}

                          begin{document}

                          [ begin{aligned}
                          hcolon S(0,1)& longrightarrow S^A(0,1)\
                          x&longmapsto frac{x}{|x|_A},
                          end{aligned}
                          qquadtext{ and }qquad
                          begin{aligned}
                          gcolon S^A(0,1)& longrightarrow S(0,1)\
                          y&longmapsto frac{y}{|y|},
                          end{aligned} ]bigskip

                          [ begin{rcases} begin{aligned}
                          hcolon S(0,1)& longrightarrow S^A(0,1)\
                          x&longmapsto frac{x}{|x|_A},
                          end{aligned}end{rcases}
                          quadtext{ and }quad
                          begin{dcases} begin{aligned}
                          gcolon S^A(0,1)& longrightarrow S(0,1)\
                          y&longmapsto frac{y}{|y|},
                          end{aligned}end{dcases} ]

                          end{document}


                          enter image description here






                          share|improve this answer













                          Something like one of these?



                          documentclass[12pt,a4paper]{report}
                          usepackage{mathtools, nccmath}
                          usepackage{amssymb, amsthm, mathrsfs}

                          begin{document}

                          [ begin{aligned}
                          hcolon S(0,1)& longrightarrow S^A(0,1)\
                          x&longmapsto frac{x}{|x|_A},
                          end{aligned}
                          qquadtext{ and }qquad
                          begin{aligned}
                          gcolon S^A(0,1)& longrightarrow S(0,1)\
                          y&longmapsto frac{y}{|y|},
                          end{aligned} ]bigskip

                          [ begin{rcases} begin{aligned}
                          hcolon S(0,1)& longrightarrow S^A(0,1)\
                          x&longmapsto frac{x}{|x|_A},
                          end{aligned}end{rcases}
                          quadtext{ and }quad
                          begin{dcases} begin{aligned}
                          gcolon S^A(0,1)& longrightarrow S(0,1)\
                          y&longmapsto frac{y}{|y|},
                          end{aligned}end{dcases} ]

                          end{document}


                          enter image description here







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered 13 hours ago









                          BernardBernard

                          172k775203




                          172k775203






























                              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%2f477547%2ftwo-functions-in-the-same-line%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

                              As a Security Precaution, the user account has been locked The Next CEO of Stack OverflowMS...

                              Список ссавців Італії Природоохоронні статуси | Список |...

                              Українські прізвища Зміст Історичні відомості |...