Matrices with negatives inside The Next CEO of Stack OverflowPositive and Negative power in matrices and fixed sizeHow can i shrink (or expand) the vertical spacing in stackrel?Making size of a 4x4 matrix that consist only 2 parameter of 2x2 matrix to be same size as 4x4 matrixCreating a Macro for an n-by-m Matrix in LyXHow can I set the width of a pgfplot to fit that of a tikz matrix?smaller smallmatrixWhy are matrix lines not being displayed in this minimal document?A question about matrix alignmentHighlighting certain parts of matrix without TikZLines inside matrices

How a 64-bit process virtual address space is divided in Linux?

Should I tutor a student who I know has cheated on their homework?

Unclear about dynamic binding

Won the lottery - how do I keep the money?

What is the value of α and β in a triangle?

How to count occurrences of text in a file?

Are police here, aren't itthey?

Is it ever safe to open a suspicious HTML file (e.g. email attachment)?

Can we say or write : "No, it'sn't"?

Reference request: Grassmannian and Plucker coordinates in type B, C, D

What steps are necessary to read a Modern SSD in Medieval Europe?

Why does the flight controls check come before arming the autobrake on the A320?

WOW air has ceased operation, can I get my tickets refunded?

What was the first Unix version to run on a microcomputer?

Chain wire methods together in Lightning Web Components

Why is the US ranked as #45 in Press Freedom ratings, despite its extremely permissive free speech laws?

How many extra stops do monopods offer for tele photographs?

Is it possible to replace duplicates of a character with one character using tr

Easy to read palindrome checker

Why this way of making earth uninhabitable in Interstellar?

When you upcast Blindness/Deafness, do all targets suffer the same effect?

Can a Bladesinger Wizard use Bladesong with a Hand Crossbow?

How to check if all elements of 1 list are in the *same quantity* and in any order, in the list2?

Would a completely good Muggle be able to use a wand?



Matrices with negatives inside



The Next CEO of Stack OverflowPositive and Negative power in matrices and fixed sizeHow can i shrink (or expand) the vertical spacing in stackrel?Making size of a 4x4 matrix that consist only 2 parameter of 2x2 matrix to be same size as 4x4 matrixCreating a Macro for an n-by-m Matrix in LyXHow can I set the width of a pgfplot to fit that of a tikz matrix?smaller smallmatrixWhy are matrix lines not being displayed in this minimal document?A question about matrix alignmentHighlighting certain parts of matrix without TikZLines inside matrices










0















If I have a 2x2 matrix, where one has strictly positive integer values and the other has negative integers in them, I've noticed that the size of the matrix changes a little (to accommodate for the minus sign inside).



Is there any way around this? I'd like them all to look the same size?










share|improve this question






















  • You could put an invisible - sign in front of the positive values: phantom-. Alternatively you could add a + before the positive values.

    – Skillmon
    7 hours ago






  • 1





    Can you provide a code?

    – JouleV
    7 hours ago






  • 2





    See the mathtools package and it's starred matrices

    – daleif
    6 hours ago















0















If I have a 2x2 matrix, where one has strictly positive integer values and the other has negative integers in them, I've noticed that the size of the matrix changes a little (to accommodate for the minus sign inside).



Is there any way around this? I'd like them all to look the same size?










share|improve this question






















  • You could put an invisible - sign in front of the positive values: phantom-. Alternatively you could add a + before the positive values.

    – Skillmon
    7 hours ago






  • 1





    Can you provide a code?

    – JouleV
    7 hours ago






  • 2





    See the mathtools package and it's starred matrices

    – daleif
    6 hours ago













0












0








0








If I have a 2x2 matrix, where one has strictly positive integer values and the other has negative integers in them, I've noticed that the size of the matrix changes a little (to accommodate for the minus sign inside).



Is there any way around this? I'd like them all to look the same size?










share|improve this question














If I have a 2x2 matrix, where one has strictly positive integer values and the other has negative integers in them, I've noticed that the size of the matrix changes a little (to accommodate for the minus sign inside).



Is there any way around this? I'd like them all to look the same size?







spacing matrices






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 7 hours ago









the manthe man

101




101












  • You could put an invisible - sign in front of the positive values: phantom-. Alternatively you could add a + before the positive values.

    – Skillmon
    7 hours ago






  • 1





    Can you provide a code?

    – JouleV
    7 hours ago






  • 2





    See the mathtools package and it's starred matrices

    – daleif
    6 hours ago

















  • You could put an invisible - sign in front of the positive values: phantom-. Alternatively you could add a + before the positive values.

    – Skillmon
    7 hours ago






  • 1





    Can you provide a code?

    – JouleV
    7 hours ago






  • 2





    See the mathtools package and it's starred matrices

    – daleif
    6 hours ago
















You could put an invisible - sign in front of the positive values: phantom-. Alternatively you could add a + before the positive values.

– Skillmon
7 hours ago





You could put an invisible - sign in front of the positive values: phantom-. Alternatively you could add a + before the positive values.

– Skillmon
7 hours ago




1




1





Can you provide a code?

– JouleV
7 hours ago





Can you provide a code?

– JouleV
7 hours ago




2




2





See the mathtools package and it's starred matrices

– daleif
6 hours ago





See the mathtools package and it's starred matrices

– daleif
6 hours ago










1 Answer
1






active

oldest

votes


















0














Here is a command taken from The LaTeX Companion



newcommandrelphantom[1]mathrelphantom#1


with this one, you can get what you want



beginmatrix
relphantom-1 & relphantom-2 \
relphantom-5 & relphantom-7
endmatrix

beginmatrix
-1 & -2 \
relphantom-5 & relphantom-7
endmatrix





share|improve this answer










New contributor




Profahk is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.















  • 2





    But the minus sign is not a math relation (and here not even a math bin). I think a simple phantom would be more correct here.

    – Bernard
    4 hours ago











  • @Bernard It's taken from The LaTeX Companion. I am not an expert. Since it works fine ... :)

    – Profahk
    4 hours ago











  • Don't you obtain too wide spaces?

    – Bernard
    4 hours ago











  • I don't think so. In case it's too wide, one can write $relphantomtext-$

    – Profahk
    4 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%2f482298%2fmatrices-with-negatives-inside%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









0














Here is a command taken from The LaTeX Companion



newcommandrelphantom[1]mathrelphantom#1


with this one, you can get what you want



beginmatrix
relphantom-1 & relphantom-2 \
relphantom-5 & relphantom-7
endmatrix

beginmatrix
-1 & -2 \
relphantom-5 & relphantom-7
endmatrix





share|improve this answer










New contributor




Profahk is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.















  • 2





    But the minus sign is not a math relation (and here not even a math bin). I think a simple phantom would be more correct here.

    – Bernard
    4 hours ago











  • @Bernard It's taken from The LaTeX Companion. I am not an expert. Since it works fine ... :)

    – Profahk
    4 hours ago











  • Don't you obtain too wide spaces?

    – Bernard
    4 hours ago











  • I don't think so. In case it's too wide, one can write $relphantomtext-$

    – Profahk
    4 hours ago















0














Here is a command taken from The LaTeX Companion



newcommandrelphantom[1]mathrelphantom#1


with this one, you can get what you want



beginmatrix
relphantom-1 & relphantom-2 \
relphantom-5 & relphantom-7
endmatrix

beginmatrix
-1 & -2 \
relphantom-5 & relphantom-7
endmatrix





share|improve this answer










New contributor




Profahk is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.















  • 2





    But the minus sign is not a math relation (and here not even a math bin). I think a simple phantom would be more correct here.

    – Bernard
    4 hours ago











  • @Bernard It's taken from The LaTeX Companion. I am not an expert. Since it works fine ... :)

    – Profahk
    4 hours ago











  • Don't you obtain too wide spaces?

    – Bernard
    4 hours ago











  • I don't think so. In case it's too wide, one can write $relphantomtext-$

    – Profahk
    4 hours ago













0












0








0







Here is a command taken from The LaTeX Companion



newcommandrelphantom[1]mathrelphantom#1


with this one, you can get what you want



beginmatrix
relphantom-1 & relphantom-2 \
relphantom-5 & relphantom-7
endmatrix

beginmatrix
-1 & -2 \
relphantom-5 & relphantom-7
endmatrix





share|improve this answer










New contributor




Profahk is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.










Here is a command taken from The LaTeX Companion



newcommandrelphantom[1]mathrelphantom#1


with this one, you can get what you want



beginmatrix
relphantom-1 & relphantom-2 \
relphantom-5 & relphantom-7
endmatrix

beginmatrix
-1 & -2 \
relphantom-5 & relphantom-7
endmatrix






share|improve this answer










New contributor




Profahk is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this answer



share|improve this answer








edited 4 hours ago





















New contributor




Profahk is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









answered 5 hours ago









ProfahkProfahk

31




31




New contributor




Profahk is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Profahk is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Profahk is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







  • 2





    But the minus sign is not a math relation (and here not even a math bin). I think a simple phantom would be more correct here.

    – Bernard
    4 hours ago











  • @Bernard It's taken from The LaTeX Companion. I am not an expert. Since it works fine ... :)

    – Profahk
    4 hours ago











  • Don't you obtain too wide spaces?

    – Bernard
    4 hours ago











  • I don't think so. In case it's too wide, one can write $relphantomtext-$

    – Profahk
    4 hours ago












  • 2





    But the minus sign is not a math relation (and here not even a math bin). I think a simple phantom would be more correct here.

    – Bernard
    4 hours ago











  • @Bernard It's taken from The LaTeX Companion. I am not an expert. Since it works fine ... :)

    – Profahk
    4 hours ago











  • Don't you obtain too wide spaces?

    – Bernard
    4 hours ago











  • I don't think so. In case it's too wide, one can write $relphantomtext-$

    – Profahk
    4 hours ago







2




2





But the minus sign is not a math relation (and here not even a math bin). I think a simple phantom would be more correct here.

– Bernard
4 hours ago





But the minus sign is not a math relation (and here not even a math bin). I think a simple phantom would be more correct here.

– Bernard
4 hours ago













@Bernard It's taken from The LaTeX Companion. I am not an expert. Since it works fine ... :)

– Profahk
4 hours ago





@Bernard It's taken from The LaTeX Companion. I am not an expert. Since it works fine ... :)

– Profahk
4 hours ago













Don't you obtain too wide spaces?

– Bernard
4 hours ago





Don't you obtain too wide spaces?

– Bernard
4 hours ago













I don't think so. In case it's too wide, one can write $relphantomtext-$

– Profahk
4 hours ago





I don't think so. In case it's too wide, one can write $relphantomtext-$

– Profahk
4 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%2f482298%2fmatrices-with-negatives-inside%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

Styletc

Tórshavn Kliima | Partnerstääden | Luke uk diar | Nawigatsjuun62° 1′ N, 6° 46′ W62° 1′ 0″ N, 6° 46′ 0″ WWMOTórshavn