Removing outer parenthesis in a diagram The 2019 Stack Overflow Developer Survey Results Are In Unicorn Meta Zoo #1: Why another podcast? Announcing the arrival of Valued Associate #679: Cesar Manara Do we need more moderators?Parenthesis invisible in math mode, using classicthesis(eulermath) with lmodernsiunitx : forced parenthesisauto-resizing parenthesis in math formulasNested fraction parenthesis visualisationProper style/use of parenthesisWhy some parenthesis in my code are bigger than others?Odd parenthesis spacing in beamerIs there a parenthesis with a size inbetween the default size and that of “big(”?How to make large brace and parenthesis thinner?Missing space after parenthesis in inline text
Is there a way to generate uniformly distributed points on a sphere from a fixed amount of random real numbers per point?
Would an alien lifeform be able to achieve space travel if lacking in vision?
How to make Illustrator type tool selection automatically adapt with text length
Intergalactic human space ship encounters another ship, character gets shunted off beyond known universe, reality starts collapsing
Why can't devices on different VLANs, but on the same subnet, communicate?
Using dividends to reduce short term capital gains?
For what reasons would an animal species NOT cross a *horizontal* land bridge?
Working through the single responsibility principle (SRP) in Python when calls are expensive
"is" operation returns false even though two objects have same id
Can we generate random numbers using irrational numbers like π and e?
number sequence puzzle deep six
How to support a colleague who finds meetings extremely tiring?
What force causes entropy to increase?
Is an up-to-date browser secure on an out-of-date OS?
how can a perfect fourth interval be considered either consonant or dissonant?
Word for: a synonym with a positive connotation?
Windows 10: How to Lock (not sleep) laptop on lid close?
Is every episode of "Where are my Pants?" identical?
Mortgage adviser recommends a longer term than necessary combined with overpayments
How to determine omitted units in a publication
One-dimensional Japanese puzzle
How do I design a circuit to convert a 100 mV and 50 Hz sine wave to a square wave?
Button changing its text & action. Good or terrible?
Why doesn't a hydraulic lever violate conservation of energy?
Removing outer parenthesis in a diagram
The 2019 Stack Overflow Developer Survey Results Are In
Unicorn Meta Zoo #1: Why another podcast?
Announcing the arrival of Valued Associate #679: Cesar Manara
Do we need more moderators?Parenthesis invisible in math mode, using classicthesis(eulermath) with lmodernsiunitx : forced parenthesisauto-resizing parenthesis in math formulasNested fraction parenthesis visualisationProper style/use of parenthesisWhy some parenthesis in my code are bigger than others?Odd parenthesis spacing in beamerIs there a parenthesis with a size inbetween the default size and that of “big(”?How to make large brace and parenthesis thinner?Missing space after parenthesis in inline text
When I try to remove the outer brackets in the following diagram, by removing the first occurrence of beginpmatrix and the last occurrence of endpmatrix I get the error misplaced alignment tab character &. I cannot see which tab character is causing the problem and why it is causing the problem. How can I remove the outer parentheses without incurring this problem, and preserving all other properties as is, except for perhaps making the gap between rows slightly smaller. I have used \ \ below, but this gap is too big, whilst \ is too small.
documentclass[11pt]beamer
usepackagepgfpages,amsmath,amssymb,mathtools,color, graphicx, amsfonts, braket
usepackagesubfig
usethemeMadrid
usepackageempheq
usepackagemulticol
usepackagegb4e
begindocument
beginframe
[beginpmatrixbeginmatrix beginarrayc
multicolumn2ccfrac t e to e to t
endarray \ \ textJohn \ \ cfrac operatorname[;] saw endmatrix &
beginpmatrix
beginarrayc
multicolumn2ccfrac t e to e to t
endarray & beginarrayc
multicolumn2ccfrac t e to e to t
endarray \ \
textsaw & textMary\ \
cfrac operatorname[;] a & cfrac operatorname[;] b
endpmatrix
endpmatrix
]
endframe
enddocument
matrices parenthesis
add a comment |
When I try to remove the outer brackets in the following diagram, by removing the first occurrence of beginpmatrix and the last occurrence of endpmatrix I get the error misplaced alignment tab character &. I cannot see which tab character is causing the problem and why it is causing the problem. How can I remove the outer parentheses without incurring this problem, and preserving all other properties as is, except for perhaps making the gap between rows slightly smaller. I have used \ \ below, but this gap is too big, whilst \ is too small.
documentclass[11pt]beamer
usepackagepgfpages,amsmath,amssymb,mathtools,color, graphicx, amsfonts, braket
usepackagesubfig
usethemeMadrid
usepackageempheq
usepackagemulticol
usepackagegb4e
begindocument
beginframe
[beginpmatrixbeginmatrix beginarrayc
multicolumn2ccfrac t e to e to t
endarray \ \ textJohn \ \ cfrac operatorname[;] saw endmatrix &
beginpmatrix
beginarrayc
multicolumn2ccfrac t e to e to t
endarray & beginarrayc
multicolumn2ccfrac t e to e to t
endarray \ \
textsaw & textMary\ \
cfrac operatorname[;] a & cfrac operatorname[;] b
endpmatrix
endpmatrix
]
endframe
enddocument
matrices parenthesis
add a comment |
When I try to remove the outer brackets in the following diagram, by removing the first occurrence of beginpmatrix and the last occurrence of endpmatrix I get the error misplaced alignment tab character &. I cannot see which tab character is causing the problem and why it is causing the problem. How can I remove the outer parentheses without incurring this problem, and preserving all other properties as is, except for perhaps making the gap between rows slightly smaller. I have used \ \ below, but this gap is too big, whilst \ is too small.
documentclass[11pt]beamer
usepackagepgfpages,amsmath,amssymb,mathtools,color, graphicx, amsfonts, braket
usepackagesubfig
usethemeMadrid
usepackageempheq
usepackagemulticol
usepackagegb4e
begindocument
beginframe
[beginpmatrixbeginmatrix beginarrayc
multicolumn2ccfrac t e to e to t
endarray \ \ textJohn \ \ cfrac operatorname[;] saw endmatrix &
beginpmatrix
beginarrayc
multicolumn2ccfrac t e to e to t
endarray & beginarrayc
multicolumn2ccfrac t e to e to t
endarray \ \
textsaw & textMary\ \
cfrac operatorname[;] a & cfrac operatorname[;] b
endpmatrix
endpmatrix
]
endframe
enddocument
matrices parenthesis
When I try to remove the outer brackets in the following diagram, by removing the first occurrence of beginpmatrix and the last occurrence of endpmatrix I get the error misplaced alignment tab character &. I cannot see which tab character is causing the problem and why it is causing the problem. How can I remove the outer parentheses without incurring this problem, and preserving all other properties as is, except for perhaps making the gap between rows slightly smaller. I have used \ \ below, but this gap is too big, whilst \ is too small.
documentclass[11pt]beamer
usepackagepgfpages,amsmath,amssymb,mathtools,color, graphicx, amsfonts, braket
usepackagesubfig
usethemeMadrid
usepackageempheq
usepackagemulticol
usepackagegb4e
begindocument
beginframe
[beginpmatrixbeginmatrix beginarrayc
multicolumn2ccfrac t e to e to t
endarray \ \ textJohn \ \ cfrac operatorname[;] saw endmatrix &
beginpmatrix
beginarrayc
multicolumn2ccfrac t e to e to t
endarray & beginarrayc
multicolumn2ccfrac t e to e to t
endarray \ \
textsaw & textMary\ \
cfrac operatorname[;] a & cfrac operatorname[;] b
endpmatrix
endpmatrix
]
endframe
enddocument
matrices parenthesis
matrices parenthesis
edited 8 hours ago
user65526
asked 9 hours ago
user65526user65526
417210
417210
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Change pmatrix (which automatically add a pair of brackets) to matrix:
documentclass[11pt]beamer
usepackagepgfpages,amsmath,amssymb,mathtools,color, graphicx, amsfonts, braket
usepackagesubfig
usethemeMadrid
usepackageempheq
usepackagemulticol
usepackagegb4e
begindocument
beginframe
[beginmatrixbeginmatrix beginarrayc
multicolumn2ccfrac t e to e to t
endarray \ \ textJohn \ \ cfrac operatorname[;] saw endmatrix &
beginpmatrix
beginarrayc
multicolumn2ccfrac t e to e to t
endarray & beginarrayc
multicolumn2ccfrac t e to e to t
endarray \ \
textsaw & textMary\ \
cfrac operatorname[;] a & cfrac operatorname[;] b
endpmatrix
endmatrix
]
endframe
enddocument

Avoid using double \s. You always have \[]:
documentclass[11pt]beamer
usepackagepgfpages,amsmath,amssymb,mathtools,color, graphicx, amsfonts, braket
usepackagesubfig
usethemeMadrid
usepackageempheq
usepackagemulticol
usepackagegb4e
begindocument
beginframe
[beginmatrixbeginmatrix beginarrayc
multicolumn2ccfrac t e to e to t
endarray \[2ex] textJohn \ cfrac operatorname[;] saw endmatrix &
beginpmatrix
beginarrayc
multicolumn2ccfrac t e to e to t
endarray & beginarrayc
multicolumn2ccfrac t e to e to t
endarray \[2ex]
textsaw & textMary\
cfrac operatorname[;] a & cfrac operatorname[;] b
endpmatrix
endmatrix
]
endframe
enddocument

Brilliant. The other thing I wanted to know was how to get the space between each row slightly less. I had` before and in the above it is\ `. But this is slightly too big, whilst `` is too small.
– user65526
9 hours ago
I have edited my question slightly to incorporate this.
– user65526
9 hours ago
I've tried that but it doesn't produce enough space between the top two rows. Can I use0.5ex?
– user65526
9 hours ago
@user65526 Look at my edited answer. I used the default spacing in the space between row 2 and row 3, but\[2ex]between row 1 and row 2. In fact, you can add anything between[and], for example\[1cm], even negative numbers can be added.
– JouleV
9 hours ago
@user65526 Do you have any questions?
– JouleV
8 hours ago
|
show 6 more comments
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%2f484498%2fremoving-outer-parenthesis-in-a-diagram%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
Change pmatrix (which automatically add a pair of brackets) to matrix:
documentclass[11pt]beamer
usepackagepgfpages,amsmath,amssymb,mathtools,color, graphicx, amsfonts, braket
usepackagesubfig
usethemeMadrid
usepackageempheq
usepackagemulticol
usepackagegb4e
begindocument
beginframe
[beginmatrixbeginmatrix beginarrayc
multicolumn2ccfrac t e to e to t
endarray \ \ textJohn \ \ cfrac operatorname[;] saw endmatrix &
beginpmatrix
beginarrayc
multicolumn2ccfrac t e to e to t
endarray & beginarrayc
multicolumn2ccfrac t e to e to t
endarray \ \
textsaw & textMary\ \
cfrac operatorname[;] a & cfrac operatorname[;] b
endpmatrix
endmatrix
]
endframe
enddocument

Avoid using double \s. You always have \[]:
documentclass[11pt]beamer
usepackagepgfpages,amsmath,amssymb,mathtools,color, graphicx, amsfonts, braket
usepackagesubfig
usethemeMadrid
usepackageempheq
usepackagemulticol
usepackagegb4e
begindocument
beginframe
[beginmatrixbeginmatrix beginarrayc
multicolumn2ccfrac t e to e to t
endarray \[2ex] textJohn \ cfrac operatorname[;] saw endmatrix &
beginpmatrix
beginarrayc
multicolumn2ccfrac t e to e to t
endarray & beginarrayc
multicolumn2ccfrac t e to e to t
endarray \[2ex]
textsaw & textMary\
cfrac operatorname[;] a & cfrac operatorname[;] b
endpmatrix
endmatrix
]
endframe
enddocument

Brilliant. The other thing I wanted to know was how to get the space between each row slightly less. I had` before and in the above it is\ `. But this is slightly too big, whilst `` is too small.
– user65526
9 hours ago
I have edited my question slightly to incorporate this.
– user65526
9 hours ago
I've tried that but it doesn't produce enough space between the top two rows. Can I use0.5ex?
– user65526
9 hours ago
@user65526 Look at my edited answer. I used the default spacing in the space between row 2 and row 3, but\[2ex]between row 1 and row 2. In fact, you can add anything between[and], for example\[1cm], even negative numbers can be added.
– JouleV
9 hours ago
@user65526 Do you have any questions?
– JouleV
8 hours ago
|
show 6 more comments
Change pmatrix (which automatically add a pair of brackets) to matrix:
documentclass[11pt]beamer
usepackagepgfpages,amsmath,amssymb,mathtools,color, graphicx, amsfonts, braket
usepackagesubfig
usethemeMadrid
usepackageempheq
usepackagemulticol
usepackagegb4e
begindocument
beginframe
[beginmatrixbeginmatrix beginarrayc
multicolumn2ccfrac t e to e to t
endarray \ \ textJohn \ \ cfrac operatorname[;] saw endmatrix &
beginpmatrix
beginarrayc
multicolumn2ccfrac t e to e to t
endarray & beginarrayc
multicolumn2ccfrac t e to e to t
endarray \ \
textsaw & textMary\ \
cfrac operatorname[;] a & cfrac operatorname[;] b
endpmatrix
endmatrix
]
endframe
enddocument

Avoid using double \s. You always have \[]:
documentclass[11pt]beamer
usepackagepgfpages,amsmath,amssymb,mathtools,color, graphicx, amsfonts, braket
usepackagesubfig
usethemeMadrid
usepackageempheq
usepackagemulticol
usepackagegb4e
begindocument
beginframe
[beginmatrixbeginmatrix beginarrayc
multicolumn2ccfrac t e to e to t
endarray \[2ex] textJohn \ cfrac operatorname[;] saw endmatrix &
beginpmatrix
beginarrayc
multicolumn2ccfrac t e to e to t
endarray & beginarrayc
multicolumn2ccfrac t e to e to t
endarray \[2ex]
textsaw & textMary\
cfrac operatorname[;] a & cfrac operatorname[;] b
endpmatrix
endmatrix
]
endframe
enddocument

Brilliant. The other thing I wanted to know was how to get the space between each row slightly less. I had` before and in the above it is\ `. But this is slightly too big, whilst `` is too small.
– user65526
9 hours ago
I have edited my question slightly to incorporate this.
– user65526
9 hours ago
I've tried that but it doesn't produce enough space between the top two rows. Can I use0.5ex?
– user65526
9 hours ago
@user65526 Look at my edited answer. I used the default spacing in the space between row 2 and row 3, but\[2ex]between row 1 and row 2. In fact, you can add anything between[and], for example\[1cm], even negative numbers can be added.
– JouleV
9 hours ago
@user65526 Do you have any questions?
– JouleV
8 hours ago
|
show 6 more comments
Change pmatrix (which automatically add a pair of brackets) to matrix:
documentclass[11pt]beamer
usepackagepgfpages,amsmath,amssymb,mathtools,color, graphicx, amsfonts, braket
usepackagesubfig
usethemeMadrid
usepackageempheq
usepackagemulticol
usepackagegb4e
begindocument
beginframe
[beginmatrixbeginmatrix beginarrayc
multicolumn2ccfrac t e to e to t
endarray \ \ textJohn \ \ cfrac operatorname[;] saw endmatrix &
beginpmatrix
beginarrayc
multicolumn2ccfrac t e to e to t
endarray & beginarrayc
multicolumn2ccfrac t e to e to t
endarray \ \
textsaw & textMary\ \
cfrac operatorname[;] a & cfrac operatorname[;] b
endpmatrix
endmatrix
]
endframe
enddocument

Avoid using double \s. You always have \[]:
documentclass[11pt]beamer
usepackagepgfpages,amsmath,amssymb,mathtools,color, graphicx, amsfonts, braket
usepackagesubfig
usethemeMadrid
usepackageempheq
usepackagemulticol
usepackagegb4e
begindocument
beginframe
[beginmatrixbeginmatrix beginarrayc
multicolumn2ccfrac t e to e to t
endarray \[2ex] textJohn \ cfrac operatorname[;] saw endmatrix &
beginpmatrix
beginarrayc
multicolumn2ccfrac t e to e to t
endarray & beginarrayc
multicolumn2ccfrac t e to e to t
endarray \[2ex]
textsaw & textMary\
cfrac operatorname[;] a & cfrac operatorname[;] b
endpmatrix
endmatrix
]
endframe
enddocument

Change pmatrix (which automatically add a pair of brackets) to matrix:
documentclass[11pt]beamer
usepackagepgfpages,amsmath,amssymb,mathtools,color, graphicx, amsfonts, braket
usepackagesubfig
usethemeMadrid
usepackageempheq
usepackagemulticol
usepackagegb4e
begindocument
beginframe
[beginmatrixbeginmatrix beginarrayc
multicolumn2ccfrac t e to e to t
endarray \ \ textJohn \ \ cfrac operatorname[;] saw endmatrix &
beginpmatrix
beginarrayc
multicolumn2ccfrac t e to e to t
endarray & beginarrayc
multicolumn2ccfrac t e to e to t
endarray \ \
textsaw & textMary\ \
cfrac operatorname[;] a & cfrac operatorname[;] b
endpmatrix
endmatrix
]
endframe
enddocument

Avoid using double \s. You always have \[]:
documentclass[11pt]beamer
usepackagepgfpages,amsmath,amssymb,mathtools,color, graphicx, amsfonts, braket
usepackagesubfig
usethemeMadrid
usepackageempheq
usepackagemulticol
usepackagegb4e
begindocument
beginframe
[beginmatrixbeginmatrix beginarrayc
multicolumn2ccfrac t e to e to t
endarray \[2ex] textJohn \ cfrac operatorname[;] saw endmatrix &
beginpmatrix
beginarrayc
multicolumn2ccfrac t e to e to t
endarray & beginarrayc
multicolumn2ccfrac t e to e to t
endarray \[2ex]
textsaw & textMary\
cfrac operatorname[;] a & cfrac operatorname[;] b
endpmatrix
endmatrix
]
endframe
enddocument

edited 9 hours ago
answered 9 hours ago
JouleVJouleV
12.8k22663
12.8k22663
Brilliant. The other thing I wanted to know was how to get the space between each row slightly less. I had` before and in the above it is\ `. But this is slightly too big, whilst `` is too small.
– user65526
9 hours ago
I have edited my question slightly to incorporate this.
– user65526
9 hours ago
I've tried that but it doesn't produce enough space between the top two rows. Can I use0.5ex?
– user65526
9 hours ago
@user65526 Look at my edited answer. I used the default spacing in the space between row 2 and row 3, but\[2ex]between row 1 and row 2. In fact, you can add anything between[and], for example\[1cm], even negative numbers can be added.
– JouleV
9 hours ago
@user65526 Do you have any questions?
– JouleV
8 hours ago
|
show 6 more comments
Brilliant. The other thing I wanted to know was how to get the space between each row slightly less. I had` before and in the above it is\ `. But this is slightly too big, whilst `` is too small.
– user65526
9 hours ago
I have edited my question slightly to incorporate this.
– user65526
9 hours ago
I've tried that but it doesn't produce enough space between the top two rows. Can I use0.5ex?
– user65526
9 hours ago
@user65526 Look at my edited answer. I used the default spacing in the space between row 2 and row 3, but\[2ex]between row 1 and row 2. In fact, you can add anything between[and], for example\[1cm], even negative numbers can be added.
– JouleV
9 hours ago
@user65526 Do you have any questions?
– JouleV
8 hours ago
Brilliant. The other thing I wanted to know was how to get the space between each row slightly less. I had
` before and in the above it is \ `. But this is slightly too big, whilst `` is too small.– user65526
9 hours ago
Brilliant. The other thing I wanted to know was how to get the space between each row slightly less. I had
` before and in the above it is \ `. But this is slightly too big, whilst `` is too small.– user65526
9 hours ago
I have edited my question slightly to incorporate this.
– user65526
9 hours ago
I have edited my question slightly to incorporate this.
– user65526
9 hours ago
I've tried that but it doesn't produce enough space between the top two rows. Can I use
0.5ex?– user65526
9 hours ago
I've tried that but it doesn't produce enough space between the top two rows. Can I use
0.5ex?– user65526
9 hours ago
@user65526 Look at my edited answer. I used the default spacing in the space between row 2 and row 3, but
\[2ex] between row 1 and row 2. In fact, you can add anything between [ and ], for example \[1cm], even negative numbers can be added.– JouleV
9 hours ago
@user65526 Look at my edited answer. I used the default spacing in the space between row 2 and row 3, but
\[2ex] between row 1 and row 2. In fact, you can add anything between [ and ], for example \[1cm], even negative numbers can be added.– JouleV
9 hours ago
@user65526 Do you have any questions?
– JouleV
8 hours ago
@user65526 Do you have any questions?
– JouleV
8 hours ago
|
show 6 more comments
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%2f484498%2fremoving-outer-parenthesis-in-a-diagram%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