Skip to main content

Questions tagged [matrices]

{matrices} is about matrices in {equations} and {diagrams}.

4 votes
1 answer
162 views

I know there are several relevant questions on TeX Stack Exchange about nicely highlighting matrix multiplication, and some of them have excellent answers. I apologize if my question is a duplicate. I ...
Dimitrios ANAGNOSTOU's user avatar
2 votes
0 answers
52 views

Is there a way to rewrite the declared command below (from Correctly format \vdots in small matrix) to give rescaled diagonal dots? \documentclass{article} \usepackage{amsmath} \DeclareRobustCommand{\...
Josh's user avatar
  • 53
4 votes
4 answers
436 views

I tried making a vertical line in a matrix and I found two workarounds: \documentclass{article} \usepackage{amsmath} \makeatletter \renewcommand*\env@matrix[1][*\c@MaxMatrixCols c]{% \hskip -\...
Oliver Braunsberger's user avatar
10 votes
2 answers
162 views

Why would the vertical spacing between the 2nd and 3rd lines in this matrix be larger than the others? \documentclass{report} \usepackage{amsmath} \begin{document} \[ \begin{pmatrix} 1 ...
Knudsen's user avatar
  • 2,153
3 votes
3 answers
200 views

How can I align the column of sums outside of this 3x3 magic square? I've coursed through different variations of code, but I can't seem to get it correct. Kindly see the photo below. The 15s ...
Vee's user avatar
  • 31
4 votes
1 answer
219 views

I created a matrix by this code \documentclass{article} \usepackage{amsmath} \begin{document} \[ A_{n+1}= \begin{pmatrix} a & \begin{tabular}{ccccc} 0 & 0 & \ldots & 0 &...
gefei's user avatar
  • 313
10 votes
4 answers
841 views

I am looking for suggestions on how to improve the visual presentation of a block matrix I created in LaTeX. I'm hoping to "beautify" it and make it easier to read. Here is the code: \...
RIPAN DAS's user avatar
  • 423
4 votes
1 answer
127 views

Based on Section 4.4 in the "Short Math Guide for LaTeX", I expect entries in pmatrix to be horizontally centered, but this is not what I see. Consider the following MWE: \documentclass{...
user1362373's user avatar
  • 3,161
0 votes
3 answers
84 views

How can I add the numbers $k$ and $n-k$ as in the figure?
Jasmine's user avatar
  • 23
4 votes
3 answers
100 views

I am trying to typeset an empty matrix with a colored row or column. I know how to do it using tikz, but would rather not use it - if possible. I made some attempts, but the colored row (rectangle) ...
Antonio Sesto's user avatar
0 votes
2 answers
84 views

I have problems creating a list first, but adding entries on the fly later. I need the List (actualy more a numbered table/matrix/) in the first pages of my rather long document, and want to add the ...
user2567875's user avatar
4 votes
5 answers
303 views

This is my code: \documentclass[preview]{standalone} \usepackage{booktabs} \usepackage{tabularx} \usepackage{amsmath, amsfonts, amssymb, amsthm} \begin{document} \begin{tabularx}{\linewidth}{XXX} ...
user2379123's user avatar
4 votes
4 answers
252 views

I have to replicate a specific matrix, with its red boxing: I am going with pNiceMatrix and SubMatrix but in no way I can make the bottom rule to "box" my block. Is there any way, or am I ...
Moriambar's user avatar
  • 12k
5 votes
3 answers
97 views

I want to draw one column matrix with the nicematrix's \Vbrace, but brace direction is opposite, code is here. \documentclass{article} \usepackage{amsmath} \usepackage{tikz} \usetikzlibrary{...
Power's user avatar
  • 63
1 vote
1 answer
76 views

For example, I want to create a simple matrix, \begin{bmatrix} -1 & 1 \\ 1 & -1 \end{bmatrix} But this looks a bit messy visually (especially for larger matrices), However, I ...
Your neighbor Todorovich's user avatar

15 30 50 per page