Questions tagged [bordermatrix]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
2 answers
142 views

Dashed Line in Border Matrix

How can I create a bordermatrix with dashed lines as the picture shows? I tried to use array, but can’t get the exactly same thing.
Azura's user avatar
  • 11
1 vote
2 answers
75 views

Multi-line label in \bordermatrix bleeds into the matrix

How do we put a multi-line label in \bordermatrix without a dirty hack? I do not wish to use other matrix packages or blockarray type of environments. I simply wish to leave extra vertical space ...
angie's user avatar
  • 13
2 votes
1 answer
416 views

Block matrix with lines inside border matrix

I'm wondering if anyone can help me typeset this border matrix with lines inside it. Dashed or solid lines are okay but I would prefer the lines to not extend past the brackets. I would also prefer to ...
Jeremy Weissmann's user avatar
0 votes
1 answer
114 views

How can I draw this kind of matrix?

How can I draw this kind of matrix?
Moein Pourbaba's user avatar
0 votes
1 answer
65 views

Make some corrections about a relative complex matrix

I have received a relative complex matrix made with Tikz. I would like to do some modifications on a few points. Here the source : \documentclass[tikz,margin=1mm]{standalone} \usepackage[utf8]{...
user avatar
3 votes
1 answer
77 views

Plot above matrix

I need Help ! I need to add the yellow dot with arrow. In my model If possible something like coordinates so that in the future you can move the point from place \documentclass{article} \usepackage{...
David Nascimento da Silva's user avatar
5 votes
2 answers
737 views

Alignment of exterior column entries with nicematrix

I am using the nicematrix package to typeset a matrix with border (exterior) entries. Currently my code is like this: \documentclass[preview]{standalone} \usepackage{nicematrix} \begin{document} $\...
locx's user avatar
  • 63
0 votes
1 answer
189 views

Bad Alignment with bordermatrix in mathjax

I'm trying to make a border matrix but the elements outside the pmatrix are badalignment respect the pmatrix using Mathjax. Here's the code: \documentclass[14pt,a4paper,oneside]{article} \usepackage[...
Tobal's user avatar
  • 805
1 vote
1 answer
87 views

How to set a default border for each cell in table?

I have a document which has some tables in it and I want to set some default border for each cell in the table. Right now I have defined a new command and I have to call that command for each cell but ...
MRIDUL SHARMA's user avatar
0 votes
2 answers
2k views

Matrix in latex using border matrix

I have written this in latex: \begin {equation} \label{E:1} A={\frac{w_i}{w_j}} = {a_{ij}} ={\bbordermatrix{& C_1 & C_2 & C_\ldots & C_n \cr C_1 & (w_1/w_1)=1 &...
Valdo's user avatar
  • 3
2 votes
2 answers
129 views

Add Arrow to Bordermatrix

I have the following code for a border Matrix: $\bordermatrix{% & A& B& C& D& E \cr CV_{1} & 0.16 & 0.31 & 0.76 & 0.82 & 0.042 \cr ...
IschaIschratioh's user avatar
3 votes
2 answers
614 views

Writing "stochastic matrices" in LaTeX

I'm having some notes on stochastic processes and would like to know if there is a less painful way to build stochastic matrices in LaTeX. By painful I want to continue the way I did below. Question. ...
MathOverview's user avatar
  • 2,911
3 votes
3 answers
942 views

Two columns outside matrix

I have a matrix with elements outside of this matrix: \documentclass{article} \begin{document} \begin{equation} \bordermatrix{ & A_1 & A_2 & \cdots & A_n ...
Antoine T's user avatar
7 votes
2 answers
1k views

Better spacing around brackets of kbordermatrix

I'm using kbordermatrix to put some indices on my matrices. An example would be the following: See the end of the post for the code behind this example. The problem is that the spacing between the [ ...
Koen's user avatar
  • 149
1 vote
3 answers
680 views

Alingments in bordermatrix

I have a bordematrix with fractions and I want to adjust the alingment because numbers are overlaping. How can I do it? The example is this one: \bordermatrix{~ & 1000 & 1001 & 1010 & ...
Petra's user avatar
  • 13
0 votes
0 answers
152 views

Kbordermatrix and underbrace [duplicate]

I want to create a kbordermatrix with an underbrace and some text below. I tried it with \documentclass{scrartcl} \usepackage{kbordermatrix} \begin{document} \[ \underbrace{ \kbordermatrix{ & 1 &...
Squeezelemma's user avatar
2 votes
1 answer
445 views

problem with pmatrix closing bracket

I have something like that : \begin{equation} \label{eq:vecdir} \mathbf{a}(\mathbf{k}_p) = \begin{pmatrix} 1&\\ e^{j\pi \frac{\mathbf{d}_1}{\lambda}\mathbf{k}_p}&\\ ...
apollocreed's user avatar
1 vote
2 answers
458 views

block matrix headings

I'm trying to write the following block matrix but i have some points i need a help to fix it. first, in the block matrix where i write some headings (k_1, k_2 n-k_1-k_2) there is between them ...
Student's user avatar
  • 191
0 votes
0 answers
309 views

How to represent a big border matrix in latex?

I have tried a little, but getting confused how to represent the big curly braces on the top of the matrix? The MWE is as follows. \documentclass{article} %\usepackage{amsmath} % <-- You already ...
M S's user avatar
  • 1,552
2 votes
2 answers
906 views

How to represent the following border matrix in latex?

I have tried and st-rucked in between. My main query is how to place the curly brace so that it covers entire T11 to T1p1, as shown in the attached image. Does there exist any syntax similar to \Biggl ...
M S's user avatar
  • 1,552
2 votes
1 answer
186 views

Bordermatrix with thinner rows?

I found this great question about how to reduce white space in bordermatrix columns: \documentclass[12pt]{article} \begin{document} {\let\quad\thinspace $\bordermatrix{% & 0 & 1 & 2 ...
Lee88's user avatar
  • 121
2 votes
4 answers
538 views

Problem with \bordermatrix

I need to write a complicated determinant of matrix, that has a structure as in the attached picture.
tranhoang10's user avatar
7 votes
3 answers
1k views

how to vertical align text before blockarray in blkarray package?

I have to label row and column index around matrix. I know blkarray would help, so I write like this: \documentclass[a4paper,12pt]{article} \usepackage{amsmath} \usepackage{blkarray}% http://ctan....
user1024's user avatar
  • 173
2 votes
2 answers
7k views

3x3 Normal Form Payoff Matrix in LaTeX Tabular Environment

~Disclaimer~ This question is a generalization of this question to the 3x3 case. I would like the same format as the top example in the answer to the above question; That is, "Player 1" on the left, "...
EthanAlvaree's user avatar
  • 1,357
1 vote
0 answers
3k views

\underbrace in bordermatrix

Is there a possibility to use \underbrace in a \bordermatrix? I want to underbrace some elements in the last row of the matrix, but it is important that it stays a bordermatrix, because I need the ...
User's user avatar
  • 11
1 vote
2 answers
1k views

Labeling all sides of the matrix with kbordermatrix

I have a matrix with labels on the left and top. Now I want to have a label on all sides of the matrix. How can I change my code? \documentclass[10 pt, a4paper, leqno, oneside] {report} \usepackage{...
Orongo's user avatar
  • 113
1 vote
0 answers
436 views

Create border matric with indices on all four sides

I have tried to use the command \bordermatrix but struggle to get it to work when all for sides has an index. The matrix I'm trying to replicate look like this
Orongo's user avatar
  • 113
2 votes
1 answer
127 views

bMatrix with dot variable inside juping around

Sorry for the bad question but I could not phrase it better. The code is as follows and the output I want is [q_s,(dot)q_s]^T (I want it as a column not as the row transpose that works). \dot{x} = \...
SigniFicar's user avatar
6 votes
3 answers
2k views

How to represent the following math equation (border matrix) in Latex?

I am frustrated in setting the above attached picture to my manuscript. All things are feasible by using the \begin{cases} or matrices environment. The placing of T1, T2, ... , Tn and V1, V2, ..., Vn ...
M S's user avatar
  • 1,552
2 votes
2 answers
770 views

confusion matrix with [ ] delimeters

I would like to make a confusion matrix that looks like the one on the picture. How can I achive this? Thanks
olyashevska's user avatar
2 votes
3 answers
1k views

How to customize a kbordermatrix

To the matrix given below, I would like to add the following two features: A downarrow centered below the text "Column j." Highlight the entry a_{ij}. How might I achieve this? \documentclass{...
DJJerome's user avatar
  • 4,056
5 votes
1 answer
2k views

Redefining \bordermatrix

Greetings to all of the community! Could anyone help on redefining the \bordermatrix to get results as shown? The initial question was about changing form of braces (and there is a thread about it) ...
Arseny Kharitonov's user avatar
0 votes
0 answers
312 views

Bordermatrix without the top row

Is it possible to remove the top row from a \bordermatrix? I only need to put indices on the left of the matrix, but even if I don't enter any values, my document creates a blank line above the matrix:...
RBS's user avatar
  • 419
2 votes
1 answer
6k views

Bordermatrix without brackets

I am hanging on this one since yesterday and was not able to find an example nor anything in the documentation --- maybe I am blind? What i want is a matrix with border annotations BUT without the ...
RalfB's user avatar
  • 825
13 votes
3 answers
33k views

Creating a Payoff Matrix Using LaTeX Tabular Environment

I'm trying to use my limited knowledge of LaTeX to create a payoff matrix by hand. Here's my first try: \begin{tabular}{cc|c|c|} & & Player $Y$ & \\ ...
EthanAlvaree's user avatar
  • 1,357
3 votes
2 answers
1k views

Right justify columns in border matrix

I would like to right justify the columns in a border matrix. Is this possible? Default seems to be centre \documentclass{article} \begin{document} $ \bordermatrix{~ & 5 & 6\cr ...
Psionman's user avatar
  • 225
2 votes
1 answer
1k views

Problems with centering a border matrix

I have the following code: \begin{figure}[h!] \centering \bordermatrix{~& \ket{\Phi_{0}} & \ket{S} & \ket{D} & \ket{T} & \ket{Q} & \dots \cr \bra{\Phi_{0}} & E_{0} & ...
cxl's user avatar
  • 55
2 votes
1 answer
515 views

Formatting matrices with vector elements along column headings?

Often I've seen the matrix equation Ax = b presented as matrix A augmented with vector b, with the individual elements x_1 ... x_n written sequentially as headers across the columns; is it possible to ...
user67077's user avatar
0 votes
1 answer
449 views

How to break a bordermatrix into multiple matrices?

I have a border matrix that is too large to fit on one page. I want to break it into multiple matrices.
abazar's user avatar
  • 1
2 votes
2 answers
2k views

Latex \kbordermatrix with row labels on the right side

I'm needing to create a matrix enclosed with brackets [], not parentheses (), with row labels on right side. Is this possible using \kbordermatrix? For instance, in the following: \kbordermatrix{\...
Nicole's user avatar
  • 21
3 votes
4 answers
2k views

When the left-right parenthesis is too big, how to make it smaller?

When the left-right parenthesis is too big as in the example below, how do you make the parenthesis smaller? \documentclass[reqno]{amsart} \usepackage{amssymb} \...
user46728's user avatar
14 votes
3 answers
2k views

Exam Class : With Question with images and border

I'm learning Exam Class to generate question paper. Sample tex code is mentioned below: \documentclass{exam} \usepackage{tikz} \newcommand*\circled[1]{\tikz[baseline=(char.base)]{ \node[...
Pawan Mude's user avatar
  • 2,921
8 votes
3 answers
4k views

Put names on top of matrix

I am trying to produce 3 matrices on the same line. And on top of the each matrix, there is a name. I tried using tabular for the names and then I use align for the matrices. However, this creates ...
user1769197's user avatar
3 votes
1 answer
314 views

how to create columns of array

I use the following code to generate this: \begin{center} 2 Iteración\\ Fila $S_{1}$ \end{center} \small \[\begin{array}{crl} \kbordermatrix{\mbox{ }& & & & & & & \\ ...
ANONIMO ANONIMO's user avatar
11 votes
4 answers
12k views

braces over matrix

I want to make an overbrace and a side brace on my matrix in order to indicate its size. How can I achieve that. \begin{pmatrix} 1 & 1 & 0 & .& . & . & 0 & 1 \\ 0 &...
rima101's user avatar
  • 193
4 votes
2 answers
2k views

bordermatrix with more space between rows when there are fractional elements

I am using a modified version of \bordermatrix as defined here: \bordermatrix with brackets [ ] instead of parentheses ( ) My matrices have fractional elements and I would like to add additional ...
Thomas Farrar's user avatar
1 vote
0 answers
79 views

How to make a matrix like this? [duplicate]

can anyone help me to making a matrix with braces like this?
mohammad azadi's user avatar
1 vote
1 answer
2k views

Making the entries of bordermatrix smaller

How do I make the entries in bordermatrix smaller? \documentclass[reqno]{amsart} \usepackage{amssymb} \usepackage{mathrsfs} \usepackage{amsmath} \usepackage{amsthm} \usepackage{stackrel} \...
user26246's user avatar
26 votes
3 answers
32k views

\bordermatrix with brackets [ ] instead of parentheses ( )

I have the following code: \documentclass{article} \begin{document} $ M = \bordermatrix{~ & x & y \cr A & 1 & 0 \cr B & 0 & 1 \cr} $ \end{document} ...
Andreas's user avatar
  • 443
4 votes
1 answer
1k views

TikZ-equivalent of bordermatrix with automatic alignment of labels

I would like to create a TikZ matrix (containing pictures in the cells) and annotate rows/columns of this matrix is the same manner as \bordermatrix allows. This is (approximately) a picture of what I ...
RolKau's user avatar
  • 465