Two functions in the same lineHow Do I Horizontally Center An Operator Relative To Aligned Equations Above...
A Wacky, Wacky Chessboard (That Makes No Sense)
Where was Karl Mordo in Infinity War?
Why is working on the same position for more than 15 years not a red flag?
What can I substitute for soda pop in a sweet pork recipe?
Why do members of Congress in committee hearings ask witnesses the same question multiple times?
Avoiding morning and evening handshakes
Can I become debt free or should I file for bankruptcy? How do I manage my debt and finances?
Is my plan for fixing my water heater leak bad?
Do authors have to be politically correct in article-writing?
Why zero tolerance on nudity in space?
How to avoid being sexist when trying to employ someone to function in a very sexist environment?
Could quantum mechanics be necessary to analyze some biology scenarios?
Predict mars robot position
c++ How can I make an algorithm for finding variations of a set without repetition (i.e. n elements, choose k)?
Proof by Induction - New to proofs
How should I state my MS degree in my CV when it was in practice a joint-program?
Finding ratio of the area of triangles
How do Japanese speakers determine the implied topic when none has been mentioned?
What's the purpose of these copper coils with resitors inside them in A Yamaha RX-V396RDS amplifier?
Why is c4 a better move in this position?
It took me a lot of time to make this, pls like. (YouTube Comments #1)
Do my Windows system binaries contain sensitive information?
Called into a meeting and told we are being made redundant (laid off) and "not to share outside". Can I tell my partner?
What is the wife of a henpecked husband called?
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?
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}
I want to make the two equations in the same line
math-mode
add a comment |
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}
I want to make the two equations in the same line
math-mode
add a comment |
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}
I want to make the two equations in the same line
math-mode
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}
I want to make the two equations in the same line
math-mode
math-mode
edited 13 hours ago
JouleV
4,6681938
4,6681938
asked 13 hours ago
SchülerSchüler
32319
32319
add a comment |
add a comment |
3 Answers
3
active
oldest
votes
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}
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.
Thanks a lot. So what is the best way to define a function?
– Schüler
13 hours ago
@Schüler I tend to use the inline form, but that's personal preference.
– egreg
13 hours ago
add a comment |
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}
add a comment |
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}
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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}
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.
Thanks a lot. So what is the best way to define a function?
– Schüler
13 hours ago
@Schüler I tend to use the inline form, but that's personal preference.
– egreg
13 hours ago
add a comment |
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}
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.
Thanks a lot. So what is the best way to define a function?
– Schüler
13 hours ago
@Schüler I tend to use the inline form, but that's personal preference.
– egreg
13 hours ago
add a comment |
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}
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.
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}
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.
answered 13 hours ago
egregegreg
724k8819173220
724k8819173220
Thanks a lot. So what is the best way to define a function?
– Schüler
13 hours ago
@Schüler I tend to use the inline form, but that's personal preference.
– egreg
13 hours ago
add a comment |
Thanks a lot. So what is the best way to define a function?
– Schüler
13 hours ago
@Schüler I tend to use the inline form, but that's personal preference.
– egreg
13 hours ago
Thanks a lot. So what is the best way to define a function?
– Schüler
13 hours ago
Thanks a lot. So what is the best way to define a function?
– Schüler
13 hours ago
@Schüler I tend to use the inline form, but that's personal preference.
– egreg
13 hours ago
@Schüler I tend to use the inline form, but that's personal preference.
– egreg
13 hours ago
add a comment |
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}
add a comment |
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}
add a comment |
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}
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}
answered 13 hours ago
koleygrkoleygr
11.6k11038
11.6k11038
add a comment |
add a comment |
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}
add a comment |
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}
add a comment |
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}
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}
answered 13 hours ago
BernardBernard
172k775203
172k775203
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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