I tried using this code but ir isn't the result I wanted
\newcommand{\xdots}{\ensuremath{{}^\cdot_\cdot}\cdot^\cdot_\cdot}
It has to go into this matrix
$$B_j\rightarrow\tilde{B}_j=\begin{pmatrix}a_{11}&\dots&a_{1,j-1}&0&a_{1,j+1}&\dots&a_{1n}\\\vdots&\ddots&\vdots&\vdots&\vdots&\ddots&\vdots\\a_{i-1,1}&\dots&a_{i-1,j-1}&0&a_{i-1,j+1}&\dots&a_{i-1,n}\\0&\dots&0&1&0&\dots&0\\a_{i+1,1}&\dots&a_{i+1,j-1}&0&a_{i+1,j+1}&\dots&a_{i+1,n}\\\vdots&\xdots&\vdots&\vdots&\vdots&\ddots&\vdots\\a_{n11}&\dots&a_{n,j-1}&0&a_{n,j+1}&\dots&a_{nn}\end{pmatrix}$$
Instead of \ddots but the upper and lower dots are smaller in my way, if there isn't a way i will use \ddots



\ooaligndo? – Phelype Oleinik Jan 30 '18 at 11:43\ooalignis a TeX primative for superimposing things. It is defined on p.356 of the TeXbook. – Steven B. Segletes Jan 30 '18 at 11:45:)– Phelype Oleinik Jan 30 '18 at 11:49\ooalign, if you don't want to skip 300 pages;-)– campa Jan 30 '18 at 12:09