3
votes
2answers
64 views

How can I have a brace on the left and the top of a matrix without overlapping?

Consider the following code: \documentclass{article} \usepackage{amsmath} \usepackage{rotating} \begin{document} \begin{align*} \rotatebox[origin=c]{90}{$n$ ...
9
votes
3answers
476 views

How can I make LaTeX ignore height of underbrace?

I have created this matrix: With this LaTeX-Code: \documentclass{article} \usepackage[pdftex,active,tightpage]{preview} \setlength\PreviewBorder{2mm} \usepackage{amsmath,array} ...
4
votes
1answer
625 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 ...
5
votes
1answer
128 views

Centering item along several nodes in bmatrix

How can I position X exactly in the middle of space between a and d column? \documentclass{article} \usepackage{amsmath} \begin{document} \[ \begin{bmatrix} a & b & c & d & e \\ ...
7
votes
1answer
250 views

Make the `\ddots` looks well in a transformed matrix

I want to typeset a large matrix: \addtocounter{MaxMatrixCols}{8} \begin{pmatrix} 1\\ &\ddots\\ & &1\\ & & &0& & & &1& & ...
5
votes
1answer
1k views

Tikz positioning in matrices

Due to the help of some posts on StackExchange (mostly [1] and [2]) I think that I got the gist of categorizing matrix rows and columns with braces and separating them with lines in TikZ. However, I ...
5
votes
2answers
5k views

tikz: control text size and location

I am trying to create flowchart, using tikz: \begin{document} \tikzstyle{decision} = [diamond, draw, fill=blue!20, minimum size=2em, text badly centered, node distance=2.5cm, inner sep=0pt] ...