Square brackets around a top aligned arrayaligned environment of amsmath vs array environment“[” Square bracket Curiosities in an array environmentIncorrect space in tabular around an arrayGet square brackets instead of “( )” brackets in the blkarray environmentDelimiters around ArrayTop alignment in array environmentArray surrounded by a square rootBrackets around blkarray are too bigHow to control the height of square brackets of matrixRecurring decimal within an aligned array
What kind of chart is this?
How do credit card companies know what type of business I'm paying for?
Redirecting output only on a successful command call
How do I run a script as sudo at boot time on Ubuntu 18.04 Server?
How to write a nice frame challenge?
Does anyone recognize these rockets, and their location?
What is this plant I saw for sale at a Romanian farmer's market?
Why are almost all the people in this orchestra recording wearing headphones with one ear on and one ear off?
My husband's visa refused but mine wasn't -- can I travel?
How would Japanese people react to someone refusing to say “itadakimasu” for religious reasons?
Huge Heap Table and table compression on SQL Server 2016
Is my research statement supposed to lead to papers in top journals?
How to prevent cables getting intertwined
XML Query Question
How did the European Union reach the figure of 3% as a maximum allowed deficit?
Interview was just a one hour panel. Got an offer the next day; do I accept or is this a red flag?
Co-worker is now managing my team. Does this mean that I'm being demoted?
At what temperature should the earth be cooked to prevent human infection?
Fill the maze with a wall-following Snake until it gets stuck
Is it common to delay the start date of a postdoc?
Basic power tool set for Home repair and simple projects
Print the phrase "And she said, 'But that's his.'" using only the alphabet
Using roof rails to set up hammock
Someone who is granted access to information but not expected to read it
Square brackets around a top aligned array
aligned environment of amsmath vs array environment“[” Square bracket Curiosities in an array environmentIncorrect space in tabular around an arrayGet square brackets instead of “( )” brackets in the blkarray environmentDelimiters around ArrayTop alignment in array environmentArray surrounded by a square rootBrackets around blkarray are too bigHow to control the height of square brackets of matrixRecurring decimal within an aligned array
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I have this code
[left[beginarrayll
textword & \
textHEAD & beginarray[t]ll
textdet & \
textAGR & beginarray[t]lr
textagr-cat-pg & \
textNUM & ^colorgreen[1]textsg \
textPER & textter \
textGEN & ^colorgreen[2]textfe
endarray
endarray \ \
textVAL & beginarray[t]ll
textval-cat & \
textSPR & <> \
textCOMPS & <> \
textMOD & <>
endarray
endarrayright]]
which produces the following output:

Now I want to enclose the det matrix inside square brackets like this:

but when I add left[ ... right] I get an undesired result:
[left[beginarrayll
textword & \
textHEAD & left[beginarray[t]ll
textdet & \
textAGR & beginarray[t]lr
textagr-cat-pg & \
textNUM & ^colorgreen[1]textsg \
textPER & textter \
textGEN & ^colorgreen[2]textfe
endarray
endarrayright] \ \
textVAL & beginarray[t]ll
textval-cat & \
textSPR & <> \
textCOMPS & <> \
textMOD & <>
endarray
endarrayright]]

How can I solve it? Other solutions involving a different environment than array are also welcome.
Thanks in advance.
arrays
add a comment |
I have this code
[left[beginarrayll
textword & \
textHEAD & beginarray[t]ll
textdet & \
textAGR & beginarray[t]lr
textagr-cat-pg & \
textNUM & ^colorgreen[1]textsg \
textPER & textter \
textGEN & ^colorgreen[2]textfe
endarray
endarray \ \
textVAL & beginarray[t]ll
textval-cat & \
textSPR & <> \
textCOMPS & <> \
textMOD & <>
endarray
endarrayright]]
which produces the following output:

Now I want to enclose the det matrix inside square brackets like this:

but when I add left[ ... right] I get an undesired result:
[left[beginarrayll
textword & \
textHEAD & left[beginarray[t]ll
textdet & \
textAGR & beginarray[t]lr
textagr-cat-pg & \
textNUM & ^colorgreen[1]textsg \
textPER & textter \
textGEN & ^colorgreen[2]textfe
endarray
endarrayright] \ \
textVAL & beginarray[t]ll
textval-cat & \
textSPR & <> \
textCOMPS & <> \
textMOD & <>
endarray
endarrayright]]

How can I solve it? Other solutions involving a different environment than array are also welcome.
Thanks in advance.
arrays
You could have a2x2matrix withtextword\HEADor something like that.
– manooooh
7 hours ago
add a comment |
I have this code
[left[beginarrayll
textword & \
textHEAD & beginarray[t]ll
textdet & \
textAGR & beginarray[t]lr
textagr-cat-pg & \
textNUM & ^colorgreen[1]textsg \
textPER & textter \
textGEN & ^colorgreen[2]textfe
endarray
endarray \ \
textVAL & beginarray[t]ll
textval-cat & \
textSPR & <> \
textCOMPS & <> \
textMOD & <>
endarray
endarrayright]]
which produces the following output:

Now I want to enclose the det matrix inside square brackets like this:

but when I add left[ ... right] I get an undesired result:
[left[beginarrayll
textword & \
textHEAD & left[beginarray[t]ll
textdet & \
textAGR & beginarray[t]lr
textagr-cat-pg & \
textNUM & ^colorgreen[1]textsg \
textPER & textter \
textGEN & ^colorgreen[2]textfe
endarray
endarrayright] \ \
textVAL & beginarray[t]ll
textval-cat & \
textSPR & <> \
textCOMPS & <> \
textMOD & <>
endarray
endarrayright]]

How can I solve it? Other solutions involving a different environment than array are also welcome.
Thanks in advance.
arrays
I have this code
[left[beginarrayll
textword & \
textHEAD & beginarray[t]ll
textdet & \
textAGR & beginarray[t]lr
textagr-cat-pg & \
textNUM & ^colorgreen[1]textsg \
textPER & textter \
textGEN & ^colorgreen[2]textfe
endarray
endarray \ \
textVAL & beginarray[t]ll
textval-cat & \
textSPR & <> \
textCOMPS & <> \
textMOD & <>
endarray
endarrayright]]
which produces the following output:

Now I want to enclose the det matrix inside square brackets like this:

but when I add left[ ... right] I get an undesired result:
[left[beginarrayll
textword & \
textHEAD & left[beginarray[t]ll
textdet & \
textAGR & beginarray[t]lr
textagr-cat-pg & \
textNUM & ^colorgreen[1]textsg \
textPER & textter \
textGEN & ^colorgreen[2]textfe
endarray
endarrayright] \ \
textVAL & beginarray[t]ll
textval-cat & \
textSPR & <> \
textCOMPS & <> \
textMOD & <>
endarray
endarrayright]]

How can I solve it? Other solutions involving a different environment than array are also welcome.
Thanks in advance.
arrays
arrays
edited 7 hours ago
Pierrot
asked 8 hours ago
PierrotPierrot
334
334
You could have a2x2matrix withtextword\HEADor something like that.
– manooooh
7 hours ago
add a comment |
You could have a2x2matrix withtextword\HEADor something like that.
– manooooh
7 hours ago
You could have a
2x2 matrix with textword\HEAD or something like that.– manooooh
7 hours ago
You could have a
2x2 matrix with textword\HEAD or something like that.– manooooh
7 hours ago
add a comment |
1 Answer
1
active
oldest
votes
You want to use delarray. I added also some tricks to avoid text.
documentclassarticle
usepackage[T1]fontenc
usepackagedelarray,array,xcolor
newcolumntypeL>$l<$
newcolumntypeR>$r<$
begindocument
[
beginarraylbrackLLrbrack
word & \
HEAD & beginarray[t]lbrackLLrbrack
det & \
AGR & beginarray[t]LR
agr-cat-pg & \
NUM & textsuperscriptcolorgreen[1]sg \
PER & ter \
GEN & textsuperscriptcolorgreen[2]fe
endarray
endarray \ \
VAL & beginarray[t]lbrackLLrbrack
val-cat & \
SPR & <> \
COMPS & <> \
MOD & <>
endarray
endarray
]
enddocument

Thank you very much @egreg !
– Pierrot
7 hours ago
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%2f495815%2fsquare-brackets-around-a-top-aligned-array%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
You want to use delarray. I added also some tricks to avoid text.
documentclassarticle
usepackage[T1]fontenc
usepackagedelarray,array,xcolor
newcolumntypeL>$l<$
newcolumntypeR>$r<$
begindocument
[
beginarraylbrackLLrbrack
word & \
HEAD & beginarray[t]lbrackLLrbrack
det & \
AGR & beginarray[t]LR
agr-cat-pg & \
NUM & textsuperscriptcolorgreen[1]sg \
PER & ter \
GEN & textsuperscriptcolorgreen[2]fe
endarray
endarray \ \
VAL & beginarray[t]lbrackLLrbrack
val-cat & \
SPR & <> \
COMPS & <> \
MOD & <>
endarray
endarray
]
enddocument

Thank you very much @egreg !
– Pierrot
7 hours ago
add a comment |
You want to use delarray. I added also some tricks to avoid text.
documentclassarticle
usepackage[T1]fontenc
usepackagedelarray,array,xcolor
newcolumntypeL>$l<$
newcolumntypeR>$r<$
begindocument
[
beginarraylbrackLLrbrack
word & \
HEAD & beginarray[t]lbrackLLrbrack
det & \
AGR & beginarray[t]LR
agr-cat-pg & \
NUM & textsuperscriptcolorgreen[1]sg \
PER & ter \
GEN & textsuperscriptcolorgreen[2]fe
endarray
endarray \ \
VAL & beginarray[t]lbrackLLrbrack
val-cat & \
SPR & <> \
COMPS & <> \
MOD & <>
endarray
endarray
]
enddocument

Thank you very much @egreg !
– Pierrot
7 hours ago
add a comment |
You want to use delarray. I added also some tricks to avoid text.
documentclassarticle
usepackage[T1]fontenc
usepackagedelarray,array,xcolor
newcolumntypeL>$l<$
newcolumntypeR>$r<$
begindocument
[
beginarraylbrackLLrbrack
word & \
HEAD & beginarray[t]lbrackLLrbrack
det & \
AGR & beginarray[t]LR
agr-cat-pg & \
NUM & textsuperscriptcolorgreen[1]sg \
PER & ter \
GEN & textsuperscriptcolorgreen[2]fe
endarray
endarray \ \
VAL & beginarray[t]lbrackLLrbrack
val-cat & \
SPR & <> \
COMPS & <> \
MOD & <>
endarray
endarray
]
enddocument

You want to use delarray. I added also some tricks to avoid text.
documentclassarticle
usepackage[T1]fontenc
usepackagedelarray,array,xcolor
newcolumntypeL>$l<$
newcolumntypeR>$r<$
begindocument
[
beginarraylbrackLLrbrack
word & \
HEAD & beginarray[t]lbrackLLrbrack
det & \
AGR & beginarray[t]LR
agr-cat-pg & \
NUM & textsuperscriptcolorgreen[1]sg \
PER & ter \
GEN & textsuperscriptcolorgreen[2]fe
endarray
endarray \ \
VAL & beginarray[t]lbrackLLrbrack
val-cat & \
SPR & <> \
COMPS & <> \
MOD & <>
endarray
endarray
]
enddocument

answered 7 hours ago
egregegreg
748k8919583301
748k8919583301
Thank you very much @egreg !
– Pierrot
7 hours ago
add a comment |
Thank you very much @egreg !
– Pierrot
7 hours ago
Thank you very much @egreg !
– Pierrot
7 hours ago
Thank you very much @egreg !
– Pierrot
7 hours ago
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%2f495815%2fsquare-brackets-around-a-top-aligned-array%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 could have a
2x2matrix withtextword\HEADor something like that.– manooooh
7 hours ago