Tag Info

New answers tagged

3

Don't use $$, use \[...\] instead (for details see this question and answers). You can put \noalign{\pause} at the end. Then \pause is applied just when the one row is finished and before the next row is started. Also, it is better to use \text instead of \mbox as the former is more font friendly. \documentclass{beamer} \usepackage{amsmath} ...


2

If the confusion matrix, as produced by the code given in the earlier answer, is too large for your taste (even though it fits easily inside the available space), you could either edit the code to reduce the various dimensions by, say, 20 percent, or you could place the code inside a \scalebox{0.8}{<code for confusion matrix>} directive. The code ...


7

This is a TikZ approach. Step 1 First I found that fit library is useful in calculating the bounding box. In the next figure, the brown box does not include bbbbbb_3 because I did not pass (A-2-3) to fit=. \documentclass[border=9,tikz]{standalone} \usetikzlibrary{matrix,fit} \begin{document} \makeatletter \begin{tikzpicture} \matrix(A)[matrix of ...


4

I noticed that all the matrix elements were aligned relative to the outer matrix as if the brackets and braces were overlaid on top of original, using pre-existing gaps. So that is precisely what I did. In the revised version I use Tikz to set markers at the corners and compute the size and location of the sub-matrix. This isn't precise, but will do as ...


1

I don't know, try this may be it help you \documentclass{article} \usepackage{tikz} \newcommand{\pmark}[1]{\begin{tikzpicture}[overlay,remember picture]\node(#1)at (-1em,.7ex){};\end{tikzpicture}} \newcommand{\smark}[1]{\begin{tikzpicture}[overlay,remember picture]\draw(#1)--(0,.7ex);\end{tikzpicture}} ...



Top 50 recent answers are included