# Tag Info

6

Adding this as an additional answer. You could use the multirow package with this code: \documentclass{article} \usepackage{amsmath,newpxtext,newpxmath,multirow} \begin{document} $i\ \overset{\textstyle{j}}{\left(\begin{array}{ccccc} a_{11} & \cdots & \multirow{2}{*}{\rule[-4ex]{.5pt}{5.5ex}} & \cdots & a_{1n}\\ \vdots & & & ... 5 With nicematrix you get the desired spacing by setting \arraycolsep. And a friendlier syntax, by the way. \documentclass{article} \usepackage{amsmath} \usepackage{nicematrix} \begin{document} \[ \setlength{\arraycolsep}{20pt} \begin{bNiceMatrix}[first-row,first-col] & a & b \\ a & 0 & 1 \\ b & 2 & 3 \end{bNiceMatrix}$ \end{...

5

No need for blkarray for such a simple case, an easier option is to concatenate two arrays side-by-side. The left array can be a pmatrix to automatically get the round parens. \documentclass[12pt]{article} \usepackage{amsmath} \begin{document} $\begin{pmatrix} A & B \\ C & D \end{pmatrix} % \begin{array}{c} \text{text one}\\ \text{text two} \... 4 Is this what you have in mind? \[ i\overset{\textstyle{j}}{\begin{pmatrix} a_{11} & \cdots & & \cdots & a_{1n}\\ \vdots & & \vdots & & \vdots\\ & \cdots & a_{ij} & \cdots & \\ \vdots & & \vdots & & \vdots\\ a_{n1} & \cdots & & \cdots & a_{nn} \end{pmatrix}}$ You could ...

4

Same as others, I'm not sure what you really want to reduce, but my idea is you may be able to divide the big matrix into four small matrices. Along the diagonal, you have matrix T and upper right and bottom left corners have 4x4 all zero matrices. \documentclass{article} \usepackage{mathtools} \usepackage{blkarray, bigstrut} % \begin{document} $\... 4 No idea why, but it uses \BA@colsep so you need to access the command with @ in its name. \documentclass{article} \usepackage{blkarray} \begin{document} \[\makeatletter\setlength\BA@colsep{53.4pt}\makeatother \begin{blockarray}{c c c} & a & b \\ \begin{block}{c[c @{\hspace{50pt}} c]} a & 0 & 1 \\ b & 2 & ... 4 Here is an option: \documentclass{article} \usepackage{blkarray} \begin{document} \[ \begin{blockarray}{c c @{\hspace{50pt}} c} & a & b \\ \begin{block}{c[c @{\hspace{50pt}} c]} a & 0 & 1 \\ b & 2 & 3 \\ \end{block} \end{blockarray}$ \end{document}

3

You may reduce the intercolumn space, which blkarray decides in a different way than for array. \documentclass{article} \usepackage{mathtools} \usepackage{blkarray, bigstrut} % \begin{document} \begin{equation*} \addtolength{\csname BA@colsep\endcsname}{-4pt} \mathbf{S}= \begin{blockarray}{*{10}{c} l} \begin{block}{*{10}{>{$\footnotesize}c<{$}} l} ...

3

with tikz ... \documentclass{article} \usepackage{tikz} \usetikzlibrary{backgrounds, fit, matrix} \begin{document} \begin{tikzpicture}[baseline, every label/.append style={label distance=6pt, inner sep=0pt} ] \matrix (m) [matrix of nodes, nodes={minimum width=2em, minimum height=3ex, ...

3


Only top voted, non community-wiki answers of a minimum length are eligible