Labelling equations with eqnarrayPlace numbering in systeme package to the leftaligning a multiline formula with the bullet of itemizeHow can I number a few equations togetherAligning several '=' symbols across two linesAlign multiple equations with parts inside rootRight align a line in align-environmentHow can I align equations to the left and to the right?Align different equations on different equal signshorizontally align two minipages with matrizesVertical alignment of different systems of equationsAlign doesn´t align equations at equal sign
How did researchers find articles before the Internet and the computer era?
How does Resilient Sphere (cast via Contingency) interact with an existing Silence spell?
Is there reliable evidence that depleted uranium from the 1999 NATO bombing is causing cancer in Serbia?
What game is this character in the Pixels movie from?
Is there an equivalent of Parseval's theorem for wavelets?
I'm reinstalling my Linux desktop, how do I keep SSH logins working?
Should fiction mention song names and iPods?
If two black hole event horizons overlap (touch) can they ever separate again?
Why won't the ground take my seed?
How to describe POV characters?
Who voices the character "Finger" in The Fifth Element?
How can I deal with extreme temperatures in a hotel room?
Most important new papers in computational complexity
How exactly is a normal force exerted, at the molecular level?
Donkey as Democratic Party symbolic animal
What exactly did Ant-Man see that made him say that their plan worked?
Was it really unprofessional of me to leave without asking for a raise first?
Why do I need two parameters in an HTTP parameter pollution attack?
Could a Weapon of Mass Destruction, targeting only humans, be developed?
What does grep -v "grep" mean and do?
Integral from infinity to infinity
Buliding a larger matrix from a smaller one
What is the purpose of putting a capacitor on the primary side of a step-down transformer?
My colleague is constantly blaming me for his errors
Labelling equations with eqnarray
Place numbering in systeme package to the leftaligning a multiline formula with the bullet of itemizeHow can I number a few equations togetherAligning several '=' symbols across two linesAlign multiple equations with parts inside rootRight align a line in align-environmentHow can I align equations to the left and to the right?Align different equations on different equal signshorizontally align two minipages with matrizesVertical alignment of different systems of equationsAlign doesn´t align equations at equal sign
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I would like to produce the following output:
To be precise, I would like the two equations to be aligned as produced by eqnarray*
, and the two labels L_1
and L_2
to also be aligned. I could use beginarraycrcl L_1& left side & = & right side endarray
, but then there is too much space before and after the =
sign. I think I could adjust that space with some parameters, but I would like this to work also on a web page with MathJax, and in any case I feel there should be a better way to do it. The way I produced that output works but I don't feel is the right way to do it, here is what I did:
begineqnarray*
L_1: hspace3.1ex x+y&=&1\
L_2: hspace1ex 2x+2y&=&2
endeqnarray*
vertical-alignment align eqnarray
add a comment |
I would like to produce the following output:
To be precise, I would like the two equations to be aligned as produced by eqnarray*
, and the two labels L_1
and L_2
to also be aligned. I could use beginarraycrcl L_1& left side & = & right side endarray
, but then there is too much space before and after the =
sign. I think I could adjust that space with some parameters, but I would like this to work also on a web page with MathJax, and in any case I feel there should be a better way to do it. The way I produced that output works but I don't feel is the right way to do it, here is what I did:
begineqnarray*
L_1: hspace3.1ex x+y&=&1\
L_2: hspace1ex 2x+2y&=&2
endeqnarray*
vertical-alignment align eqnarray
You shouldn't useeqnarray
– the spacing around the=
signs is not good.
– Bernard
9 hours ago
add a comment |
I would like to produce the following output:
To be precise, I would like the two equations to be aligned as produced by eqnarray*
, and the two labels L_1
and L_2
to also be aligned. I could use beginarraycrcl L_1& left side & = & right side endarray
, but then there is too much space before and after the =
sign. I think I could adjust that space with some parameters, but I would like this to work also on a web page with MathJax, and in any case I feel there should be a better way to do it. The way I produced that output works but I don't feel is the right way to do it, here is what I did:
begineqnarray*
L_1: hspace3.1ex x+y&=&1\
L_2: hspace1ex 2x+2y&=&2
endeqnarray*
vertical-alignment align eqnarray
I would like to produce the following output:
To be precise, I would like the two equations to be aligned as produced by eqnarray*
, and the two labels L_1
and L_2
to also be aligned. I could use beginarraycrcl L_1& left side & = & right side endarray
, but then there is too much space before and after the =
sign. I think I could adjust that space with some parameters, but I would like this to work also on a web page with MathJax, and in any case I feel there should be a better way to do it. The way I produced that output works but I don't feel is the right way to do it, here is what I did:
begineqnarray*
L_1: hspace3.1ex x+y&=&1\
L_2: hspace1ex 2x+2y&=&2
endeqnarray*
vertical-alignment align eqnarray
vertical-alignment align eqnarray
edited 6 hours ago
Zarko
138k8 gold badges75 silver badges184 bronze badges
138k8 gold badges75 silver badges184 bronze badges
asked 9 hours ago
Valerio De AngelisValerio De Angelis
334 bronze badges
334 bronze badges
You shouldn't useeqnarray
– the spacing around the=
signs is not good.
– Bernard
9 hours ago
add a comment |
You shouldn't useeqnarray
– the spacing around the=
signs is not good.
– Bernard
9 hours ago
You shouldn't use
eqnarray
– the spacing around the =
signs is not good.– Bernard
9 hours ago
You shouldn't use
eqnarray
– the spacing around the =
signs is not good.– Bernard
9 hours ago
add a comment |
2 Answers
2
active
oldest
votes
The alignat
environment from amsmath
gives you full control on the spacing between columns of equations:
documentclassarticle
usepackageamsmath
begindocument
beginalignat*2
& L_1: & x+y &=1 \
& L_2: & enspace 2x+2y&=2
endalignat*
enddocument
This is just what I was looking for - and it works with MathJax too.
– Valerio De Angelis
3 hours ago
add a comment |
Adapting the @Salim Bou's macro Place numbering in systeme package to the left, using systeme
package, you can obtain, this little MWE with another similar result:
documentclass[a4paper,12pt]article
usepackagesysteme,mathtools
newcommandrightnum[1]syscodeextracolkern-#1hfill$$kern#1
newcommandleftnumsyscodeextracolkern1.5em$$% return to default
begindocument
sysdelim..
rightnum7.5em
[systemex+y=1 @L_1:, 2x+2y=2 @L_2:]
enddocument
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%2f497382%2flabelling-equations-with-eqnarray%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
The alignat
environment from amsmath
gives you full control on the spacing between columns of equations:
documentclassarticle
usepackageamsmath
begindocument
beginalignat*2
& L_1: & x+y &=1 \
& L_2: & enspace 2x+2y&=2
endalignat*
enddocument
This is just what I was looking for - and it works with MathJax too.
– Valerio De Angelis
3 hours ago
add a comment |
The alignat
environment from amsmath
gives you full control on the spacing between columns of equations:
documentclassarticle
usepackageamsmath
begindocument
beginalignat*2
& L_1: & x+y &=1 \
& L_2: & enspace 2x+2y&=2
endalignat*
enddocument
This is just what I was looking for - and it works with MathJax too.
– Valerio De Angelis
3 hours ago
add a comment |
The alignat
environment from amsmath
gives you full control on the spacing between columns of equations:
documentclassarticle
usepackageamsmath
begindocument
beginalignat*2
& L_1: & x+y &=1 \
& L_2: & enspace 2x+2y&=2
endalignat*
enddocument
The alignat
environment from amsmath
gives you full control on the spacing between columns of equations:
documentclassarticle
usepackageamsmath
begindocument
beginalignat*2
& L_1: & x+y &=1 \
& L_2: & enspace 2x+2y&=2
endalignat*
enddocument
edited 8 hours ago
answered 9 hours ago
BernardBernard
182k7 gold badges83 silver badges216 bronze badges
182k7 gold badges83 silver badges216 bronze badges
This is just what I was looking for - and it works with MathJax too.
– Valerio De Angelis
3 hours ago
add a comment |
This is just what I was looking for - and it works with MathJax too.
– Valerio De Angelis
3 hours ago
This is just what I was looking for - and it works with MathJax too.
– Valerio De Angelis
3 hours ago
This is just what I was looking for - and it works with MathJax too.
– Valerio De Angelis
3 hours ago
add a comment |
Adapting the @Salim Bou's macro Place numbering in systeme package to the left, using systeme
package, you can obtain, this little MWE with another similar result:
documentclass[a4paper,12pt]article
usepackagesysteme,mathtools
newcommandrightnum[1]syscodeextracolkern-#1hfill$$kern#1
newcommandleftnumsyscodeextracolkern1.5em$$% return to default
begindocument
sysdelim..
rightnum7.5em
[systemex+y=1 @L_1:, 2x+2y=2 @L_2:]
enddocument
add a comment |
Adapting the @Salim Bou's macro Place numbering in systeme package to the left, using systeme
package, you can obtain, this little MWE with another similar result:
documentclass[a4paper,12pt]article
usepackagesysteme,mathtools
newcommandrightnum[1]syscodeextracolkern-#1hfill$$kern#1
newcommandleftnumsyscodeextracolkern1.5em$$% return to default
begindocument
sysdelim..
rightnum7.5em
[systemex+y=1 @L_1:, 2x+2y=2 @L_2:]
enddocument
add a comment |
Adapting the @Salim Bou's macro Place numbering in systeme package to the left, using systeme
package, you can obtain, this little MWE with another similar result:
documentclass[a4paper,12pt]article
usepackagesysteme,mathtools
newcommandrightnum[1]syscodeextracolkern-#1hfill$$kern#1
newcommandleftnumsyscodeextracolkern1.5em$$% return to default
begindocument
sysdelim..
rightnum7.5em
[systemex+y=1 @L_1:, 2x+2y=2 @L_2:]
enddocument
Adapting the @Salim Bou's macro Place numbering in systeme package to the left, using systeme
package, you can obtain, this little MWE with another similar result:
documentclass[a4paper,12pt]article
usepackagesysteme,mathtools
newcommandrightnum[1]syscodeextracolkern-#1hfill$$kern#1
newcommandleftnumsyscodeextracolkern1.5em$$% return to default
begindocument
sysdelim..
rightnum7.5em
[systemex+y=1 @L_1:, 2x+2y=2 @L_2:]
enddocument
edited 6 hours ago
answered 6 hours ago
SebastianoSebastiano
13.2k5 gold badges25 silver badges71 bronze badges
13.2k5 gold badges25 silver badges71 bronze badges
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%2f497382%2flabelling-equations-with-eqnarray%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
You shouldn't use
eqnarray
– the spacing around the=
signs is not good.– Bernard
9 hours ago