How do I write a vertically-stacked definition of a sequence?List environment inside the tabular environment: extra line at top preventing alignmentA line of text with proper positioning but consuming no space?Align text in minipage at same heightvertical aligning images in table with adjustbox only works when not every image is in an adjustboxHow to create a new column type with top alignmentInserting a new blank line in LaTeX (HTML)Aligning matricesWhich vertical bar scales properly?problem with centering vertically multirow
What fraction of 2x2 USA call signs are vanity calls?
Could this estimate of the size and mass of the Chicxulub Impactor be accurate?
SQL Always On COPY ONLY backups - what's the point if I cant restore the AG from these backups?
Do I need to declare engagement ring bought in UK when flying on holiday to US?
What is the name for quantum gates that can be reversed?
What is the purpose of the rotating plate in front of the lock?
Remaining in the US beyond VWP admission period
Why does the UK Prime Minister need the permission of Parliament to call a general election?
Opportunity profits vs. opportunity costs
Translate English to Pig Latin | PIG_LATIN.PY
These roommates throw strange parties
How do I use NEC PC-6001 .p6 or .cas files?
How do German speakers decide what should be on the left side of the verb?
Why are UK MPs allowed to not vote (but it counts as a no)?
Is the interior of a Bag of Holding actually an extradimensional space?
French equivalent of "my cup of tea"
How to interpret or parse this confusing 'NOT' and 'AND' legal clause
How to measure the statistical "distance" between two frequency distributions?
"syntax error near unexpected token" after editing .bashrc
What does it mean to count a group of numbers with their multiplicity?
What exactly is Apple Cider
What are the solutions of this Diophantine equation?
Examples where "thin + thin = nice and thick"
Pronounceable encrypted text
How do I write a vertically-stacked definition of a sequence?
List environment inside the tabular environment: extra line at top preventing alignmentA line of text with proper positioning but consuming no space?Align text in minipage at same heightvertical aligning images in table with adjustbox only works when not every image is in an adjustboxHow to create a new column type with top alignmentInserting a new blank line in LaTeX (HTML)Aligning matricesWhich vertical bar scales properly?problem with centering vertically multirow
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I'm trying to reproduce this notation in LaTex but to no avail.
This means $e_j$ has the value of $0$ in all other coordinates except for the j-th one.
I can only do the part without $(j)$: $e_j :=(0, ldots, 0,1,0, ldots, 0) in K^m$
Please shed me some light! Thank you so much!
math-mode vertical-alignment
add a comment |
I'm trying to reproduce this notation in LaTex but to no avail.
This means $e_j$ has the value of $0$ in all other coordinates except for the j-th one.
I can only do the part without $(j)$: $e_j :=(0, ldots, 0,1,0, ldots, 0) in K^m$
Please shed me some light! Thank you so much!
math-mode vertical-alignment
2
Note that this is not aplease_do_this_for_meservice. Please provide what you have do far. You should at least be able to provide the contents of the image without the$(j)$part, having that code will make it a lot easier for others to help
– daleif
9 hours ago
Thank you @daleif! I will do it now.
– Le Anh Dung
9 hours ago
add a comment |
I'm trying to reproduce this notation in LaTex but to no avail.
This means $e_j$ has the value of $0$ in all other coordinates except for the j-th one.
I can only do the part without $(j)$: $e_j :=(0, ldots, 0,1,0, ldots, 0) in K^m$
Please shed me some light! Thank you so much!
math-mode vertical-alignment
I'm trying to reproduce this notation in LaTex but to no avail.
This means $e_j$ has the value of $0$ in all other coordinates except for the j-th one.
I can only do the part without $(j)$: $e_j :=(0, ldots, 0,1,0, ldots, 0) in K^m$
Please shed me some light! Thank you so much!
math-mode vertical-alignment
math-mode vertical-alignment
edited 13 mins ago
Davislor
10.2k20 silver badges40 bronze badges
10.2k20 silver badges40 bronze badges
asked 10 hours ago
Le Anh DungLe Anh Dung
2471 silver badge6 bronze badges
2471 silver badge6 bronze badges
2
Note that this is not aplease_do_this_for_meservice. Please provide what you have do far. You should at least be able to provide the contents of the image without the$(j)$part, having that code will make it a lot easier for others to help
– daleif
9 hours ago
Thank you @daleif! I will do it now.
– Le Anh Dung
9 hours ago
add a comment |
2
Note that this is not aplease_do_this_for_meservice. Please provide what you have do far. You should at least be able to provide the contents of the image without the$(j)$part, having that code will make it a lot easier for others to help
– daleif
9 hours ago
Thank you @daleif! I will do it now.
– Le Anh Dung
9 hours ago
2
2
Note that this is not a
please_do_this_for_meservice. Please provide what you have do far. You should at least be able to provide the contents of the image without the $(j)$ part, having that code will make it a lot easier for others to help– daleif
9 hours ago
Note that this is not a
please_do_this_for_meservice. Please provide what you have do far. You should at least be able to provide the contents of the image without the $(j)$ part, having that code will make it a lot easier for others to help– daleif
9 hours ago
Thank you @daleif! I will do it now.
– Le Anh Dung
9 hours ago
Thank you @daleif! I will do it now.
– Le Anh Dung
9 hours ago
add a comment |
5 Answers
5
active
oldest
votes
For example:
documentclassarticle
usepackage[T1]fontenc
usepackage[utf8]inputenc
usepackagestackengine
% these are from https://www.tug.org/TUGboat/tb22-4/tb72perlS.pdf
defclap#1hbox to 0pthss#1hss
begindocument
$(0,dots,0,ensurestackMathstackunder1clap$(i)$,0,dots,0)$
enddocument

(The clap is a bit harsh; see the linked article for a better way)
2
Nice (+1). If, in the preamble, you userenewcommanduseanchorwidthT, you can eliminate theclap.
– Steven B. Segletes
9 hours ago
2
@StevenB.Segletes thanks, one never stops learning...
– Rmano
9 hours ago
2
That being said,mathtoolsdefinesclapandmathclap.
– Bernard
9 hours ago
add a comment |
Here's a solution which employs the amssymb and mathtools packages.

If you would like to push the (j) term a bit lower than in the picture shown above, simply change 1 to 1mathstrut.
documentclassarticle
usepackagemathtools,amssymb
begindocument
Let $minmathbbN^times$. For $j=1,dots,m$ define
[
e_j := (0,dots,0,undersetmathclap(j)1,0,dots,0) in K^m
]
enddocument
2
Yep, cleaner than mine.
– Rmano
8 hours ago
add a comment |
Here is an example:
documentclassarticle
usepackageamsmath
begindocument
$E_j := underset(j)(0,dots,0,1,0,dots,0)$
enddocument

EDIT:
For asymmetric case:
e_j := (0,dots,underset(j-1)0,underset(j)1,0,dots,0)

New contributor
Andrey Lychev is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
I propose two variants, with mathtools and old-arrows:
documentclassarticle
usepackage[T1]fontenc
usepackage[utf8]inputenc
usepackagemathtools
usepackageold-arrows %
begindocument
$e_j = (0,dots,0,undersetmathclap(j)strut1,0,dots,0)$
$e_j = (0,dots,0,undersetsubstackuparrow\ jstrut1,0,dots,0)$
enddocument

add a comment |
My proposal, as alternative to the best answers, is the use the package blkarray.
documentclass[12pt]article
usepackagemathtools,blkarray
begindocument
[
beginblockarrayccccccccc
beginblockc(ccccccc)c
e_j coloneqq mkern-5mu& 0, & ldots, & 0, & 1, & 0, & ldots, & 0 & mkern-5mu in K^m\
endblock
& & & & (j)
endblockarray
]
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/4.0/"u003ecc by-sa 4.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%2f507137%2fhow-do-i-write-a-vertically-stacked-definition-of-a-sequence%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
5 Answers
5
active
oldest
votes
5 Answers
5
active
oldest
votes
active
oldest
votes
active
oldest
votes
For example:
documentclassarticle
usepackage[T1]fontenc
usepackage[utf8]inputenc
usepackagestackengine
% these are from https://www.tug.org/TUGboat/tb22-4/tb72perlS.pdf
defclap#1hbox to 0pthss#1hss
begindocument
$(0,dots,0,ensurestackMathstackunder1clap$(i)$,0,dots,0)$
enddocument

(The clap is a bit harsh; see the linked article for a better way)
2
Nice (+1). If, in the preamble, you userenewcommanduseanchorwidthT, you can eliminate theclap.
– Steven B. Segletes
9 hours ago
2
@StevenB.Segletes thanks, one never stops learning...
– Rmano
9 hours ago
2
That being said,mathtoolsdefinesclapandmathclap.
– Bernard
9 hours ago
add a comment |
For example:
documentclassarticle
usepackage[T1]fontenc
usepackage[utf8]inputenc
usepackagestackengine
% these are from https://www.tug.org/TUGboat/tb22-4/tb72perlS.pdf
defclap#1hbox to 0pthss#1hss
begindocument
$(0,dots,0,ensurestackMathstackunder1clap$(i)$,0,dots,0)$
enddocument

(The clap is a bit harsh; see the linked article for a better way)
2
Nice (+1). If, in the preamble, you userenewcommanduseanchorwidthT, you can eliminate theclap.
– Steven B. Segletes
9 hours ago
2
@StevenB.Segletes thanks, one never stops learning...
– Rmano
9 hours ago
2
That being said,mathtoolsdefinesclapandmathclap.
– Bernard
9 hours ago
add a comment |
For example:
documentclassarticle
usepackage[T1]fontenc
usepackage[utf8]inputenc
usepackagestackengine
% these are from https://www.tug.org/TUGboat/tb22-4/tb72perlS.pdf
defclap#1hbox to 0pthss#1hss
begindocument
$(0,dots,0,ensurestackMathstackunder1clap$(i)$,0,dots,0)$
enddocument

(The clap is a bit harsh; see the linked article for a better way)
For example:
documentclassarticle
usepackage[T1]fontenc
usepackage[utf8]inputenc
usepackagestackengine
% these are from https://www.tug.org/TUGboat/tb22-4/tb72perlS.pdf
defclap#1hbox to 0pthss#1hss
begindocument
$(0,dots,0,ensurestackMathstackunder1clap$(i)$,0,dots,0)$
enddocument

(The clap is a bit harsh; see the linked article for a better way)
answered 9 hours ago
RmanoRmano
10.2k2 gold badges17 silver badges54 bronze badges
10.2k2 gold badges17 silver badges54 bronze badges
2
Nice (+1). If, in the preamble, you userenewcommanduseanchorwidthT, you can eliminate theclap.
– Steven B. Segletes
9 hours ago
2
@StevenB.Segletes thanks, one never stops learning...
– Rmano
9 hours ago
2
That being said,mathtoolsdefinesclapandmathclap.
– Bernard
9 hours ago
add a comment |
2
Nice (+1). If, in the preamble, you userenewcommanduseanchorwidthT, you can eliminate theclap.
– Steven B. Segletes
9 hours ago
2
@StevenB.Segletes thanks, one never stops learning...
– Rmano
9 hours ago
2
That being said,mathtoolsdefinesclapandmathclap.
– Bernard
9 hours ago
2
2
Nice (+1). If, in the preamble, you use
renewcommanduseanchorwidthT, you can eliminate the clap.– Steven B. Segletes
9 hours ago
Nice (+1). If, in the preamble, you use
renewcommanduseanchorwidthT, you can eliminate the clap.– Steven B. Segletes
9 hours ago
2
2
@StevenB.Segletes thanks, one never stops learning...
– Rmano
9 hours ago
@StevenB.Segletes thanks, one never stops learning...
– Rmano
9 hours ago
2
2
That being said,
mathtools defines clap and mathclap.– Bernard
9 hours ago
That being said,
mathtools defines clap and mathclap.– Bernard
9 hours ago
add a comment |
Here's a solution which employs the amssymb and mathtools packages.

If you would like to push the (j) term a bit lower than in the picture shown above, simply change 1 to 1mathstrut.
documentclassarticle
usepackagemathtools,amssymb
begindocument
Let $minmathbbN^times$. For $j=1,dots,m$ define
[
e_j := (0,dots,0,undersetmathclap(j)1,0,dots,0) in K^m
]
enddocument
2
Yep, cleaner than mine.
– Rmano
8 hours ago
add a comment |
Here's a solution which employs the amssymb and mathtools packages.

If you would like to push the (j) term a bit lower than in the picture shown above, simply change 1 to 1mathstrut.
documentclassarticle
usepackagemathtools,amssymb
begindocument
Let $minmathbbN^times$. For $j=1,dots,m$ define
[
e_j := (0,dots,0,undersetmathclap(j)1,0,dots,0) in K^m
]
enddocument
2
Yep, cleaner than mine.
– Rmano
8 hours ago
add a comment |
Here's a solution which employs the amssymb and mathtools packages.

If you would like to push the (j) term a bit lower than in the picture shown above, simply change 1 to 1mathstrut.
documentclassarticle
usepackagemathtools,amssymb
begindocument
Let $minmathbbN^times$. For $j=1,dots,m$ define
[
e_j := (0,dots,0,undersetmathclap(j)1,0,dots,0) in K^m
]
enddocument
Here's a solution which employs the amssymb and mathtools packages.

If you would like to push the (j) term a bit lower than in the picture shown above, simply change 1 to 1mathstrut.
documentclassarticle
usepackagemathtools,amssymb
begindocument
Let $minmathbbN^times$. For $j=1,dots,m$ define
[
e_j := (0,dots,0,undersetmathclap(j)1,0,dots,0) in K^m
]
enddocument
answered 9 hours ago
MicoMico
304k33 gold badges418 silver badges828 bronze badges
304k33 gold badges418 silver badges828 bronze badges
2
Yep, cleaner than mine.
– Rmano
8 hours ago
add a comment |
2
Yep, cleaner than mine.
– Rmano
8 hours ago
2
2
Yep, cleaner than mine.
– Rmano
8 hours ago
Yep, cleaner than mine.
– Rmano
8 hours ago
add a comment |
Here is an example:
documentclassarticle
usepackageamsmath
begindocument
$E_j := underset(j)(0,dots,0,1,0,dots,0)$
enddocument

EDIT:
For asymmetric case:
e_j := (0,dots,underset(j-1)0,underset(j)1,0,dots,0)

New contributor
Andrey Lychev is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
Here is an example:
documentclassarticle
usepackageamsmath
begindocument
$E_j := underset(j)(0,dots,0,1,0,dots,0)$
enddocument

EDIT:
For asymmetric case:
e_j := (0,dots,underset(j-1)0,underset(j)1,0,dots,0)

New contributor
Andrey Lychev is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
Here is an example:
documentclassarticle
usepackageamsmath
begindocument
$E_j := underset(j)(0,dots,0,1,0,dots,0)$
enddocument

EDIT:
For asymmetric case:
e_j := (0,dots,underset(j-1)0,underset(j)1,0,dots,0)

New contributor
Andrey Lychev is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Here is an example:
documentclassarticle
usepackageamsmath
begindocument
$E_j := underset(j)(0,dots,0,1,0,dots,0)$
enddocument

EDIT:
For asymmetric case:
e_j := (0,dots,underset(j-1)0,underset(j)1,0,dots,0)

New contributor
Andrey Lychev is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
edited 9 hours ago
New contributor
Andrey Lychev is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
answered 9 hours ago
Andrey LychevAndrey Lychev
414 bronze badges
414 bronze badges
New contributor
Andrey Lychev is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Andrey Lychev is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
add a comment |
I propose two variants, with mathtools and old-arrows:
documentclassarticle
usepackage[T1]fontenc
usepackage[utf8]inputenc
usepackagemathtools
usepackageold-arrows %
begindocument
$e_j = (0,dots,0,undersetmathclap(j)strut1,0,dots,0)$
$e_j = (0,dots,0,undersetsubstackuparrow\ jstrut1,0,dots,0)$
enddocument

add a comment |
I propose two variants, with mathtools and old-arrows:
documentclassarticle
usepackage[T1]fontenc
usepackage[utf8]inputenc
usepackagemathtools
usepackageold-arrows %
begindocument
$e_j = (0,dots,0,undersetmathclap(j)strut1,0,dots,0)$
$e_j = (0,dots,0,undersetsubstackuparrow\ jstrut1,0,dots,0)$
enddocument

add a comment |
I propose two variants, with mathtools and old-arrows:
documentclassarticle
usepackage[T1]fontenc
usepackage[utf8]inputenc
usepackagemathtools
usepackageold-arrows %
begindocument
$e_j = (0,dots,0,undersetmathclap(j)strut1,0,dots,0)$
$e_j = (0,dots,0,undersetsubstackuparrow\ jstrut1,0,dots,0)$
enddocument

I propose two variants, with mathtools and old-arrows:
documentclassarticle
usepackage[T1]fontenc
usepackage[utf8]inputenc
usepackagemathtools
usepackageold-arrows %
begindocument
$e_j = (0,dots,0,undersetmathclap(j)strut1,0,dots,0)$
$e_j = (0,dots,0,undersetsubstackuparrow\ jstrut1,0,dots,0)$
enddocument

edited 4 hours ago
answered 8 hours ago
BernardBernard
190k7 gold badges86 silver badges224 bronze badges
190k7 gold badges86 silver badges224 bronze badges
add a comment |
add a comment |
My proposal, as alternative to the best answers, is the use the package blkarray.
documentclass[12pt]article
usepackagemathtools,blkarray
begindocument
[
beginblockarrayccccccccc
beginblockc(ccccccc)c
e_j coloneqq mkern-5mu& 0, & ldots, & 0, & 1, & 0, & ldots, & 0 & mkern-5mu in K^m\
endblock
& & & & (j)
endblockarray
]
enddocument
add a comment |
My proposal, as alternative to the best answers, is the use the package blkarray.
documentclass[12pt]article
usepackagemathtools,blkarray
begindocument
[
beginblockarrayccccccccc
beginblockc(ccccccc)c
e_j coloneqq mkern-5mu& 0, & ldots, & 0, & 1, & 0, & ldots, & 0 & mkern-5mu in K^m\
endblock
& & & & (j)
endblockarray
]
enddocument
add a comment |
My proposal, as alternative to the best answers, is the use the package blkarray.
documentclass[12pt]article
usepackagemathtools,blkarray
begindocument
[
beginblockarrayccccccccc
beginblockc(ccccccc)c
e_j coloneqq mkern-5mu& 0, & ldots, & 0, & 1, & 0, & ldots, & 0 & mkern-5mu in K^m\
endblock
& & & & (j)
endblockarray
]
enddocument
My proposal, as alternative to the best answers, is the use the package blkarray.
documentclass[12pt]article
usepackagemathtools,blkarray
begindocument
[
beginblockarrayccccccccc
beginblockc(ccccccc)c
e_j coloneqq mkern-5mu& 0, & ldots, & 0, & 1, & 0, & ldots, & 0 & mkern-5mu in K^m\
endblock
& & & & (j)
endblockarray
]
enddocument
answered 3 hours ago
SebastianoSebastiano
15.8k5 gold badges26 silver badges80 bronze badges
15.8k5 gold badges26 silver badges80 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%2f507137%2fhow-do-i-write-a-vertically-stacked-definition-of-a-sequence%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

2
Note that this is not a
please_do_this_for_meservice. Please provide what you have do far. You should at least be able to provide the contents of the image without the$(j)$part, having that code will make it a lot easier for others to help– daleif
9 hours ago
Thank you @daleif! I will do it now.
– Le Anh Dung
9 hours ago