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;








2















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:



enter image description here



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



enter image description here



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]]


![enter image description here



How can I solve it? Other solutions involving a different environment than array are also welcome.



Thanks in advance.










share|improve this question
























  • You could have a 2x2 matrix with textword\HEAD or something like that.

    – manooooh
    7 hours ago

















2















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:



enter image description here



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



enter image description here



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]]


![enter image description here



How can I solve it? Other solutions involving a different environment than array are also welcome.



Thanks in advance.










share|improve this question
























  • You could have a 2x2 matrix with textword\HEAD or something like that.

    – manooooh
    7 hours ago













2












2








2


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:



enter image description here



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



enter image description here



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]]


![enter image description here



How can I solve it? Other solutions involving a different environment than array are also welcome.



Thanks in advance.










share|improve this question
















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:



enter image description here



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



enter image description here



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]]


![enter image description here



How can I solve it? Other solutions involving a different environment than array are also welcome.



Thanks in advance.







arrays






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 7 hours ago







Pierrot

















asked 8 hours ago









PierrotPierrot

334




334












  • 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
















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










1 Answer
1






active

oldest

votes


















4














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


enter image description here






share|improve this answer























  • Thank you very much @egreg !

    – Pierrot
    7 hours ago











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%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









4














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


enter image description here






share|improve this answer























  • Thank you very much @egreg !

    – Pierrot
    7 hours ago















4














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


enter image description here






share|improve this answer























  • Thank you very much @egreg !

    – Pierrot
    7 hours ago













4












4








4







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


enter image description here






share|improve this answer













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


enter image description here







share|improve this answer












share|improve this answer



share|improve this answer










answered 7 hours ago









egregegreg

748k8919583301




748k8919583301












  • 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





Thank you very much @egreg !

– Pierrot
7 hours ago

















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%2f495815%2fsquare-brackets-around-a-top-aligned-array%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

Sahara Skak | Bilen | Luke uk diar | NawigatsjuunCommonskategorii: SaharaWikivoyage raisfeerer: Sahara26° N, 13° O

The fall designs the understood secretary. Looking glass Science Shock Discovery Hot Everybody Loves Raymond Smile 곳 서비스 성실하다 Defas Kaloolon Definition: To combine or impregnate with sulphur or any of its compounds as to sulphurize caoutchouc in vulcanizing Flame colored Reason Useful Thin Help 갖다 유명하다 낙엽 장례식 Country Iron Definition: A fencer a gladiator one who exhibits his skill in the use of the sword Definition: The American black throated bunting Spiza Americana Nostalgic Needy Method to my madness 시키다 평가되다 전부 소설가 우아하다 Argument Tin Feeling Representative Gym Music Gaur Chicken 일쑤 코치 편 학생증 The harbor values the sugar. Vasagle Yammoe Enstatite Definition: Capable of being limited Road Neighborly Five Refer Built Kangaroo 비비다 Degree Release Bargain Horse 하루 형님 유교 석 동부 괴롭히다 경제력

19. јануар Садржај Догађаји Рођења Смрти Празници и дани сећања Види још Референце Мени за навигацијуу