[XeTeX] Drawings within a matrix
Ulrich Groh
ugroh at mac.com
Wed Apr 9 14:50:51 CEST 2008
It seems, that tikz is not complete on texlive2007 for Mac because I
get error messages compiling the example :
.. I can't find file 'pgflibraraytikzmatrix.code.tex'
If I uncomment the matrix in
\usetikzlibrary{arrows,matrix}
then it runs trough but producing not what be expected.
Is this known? Or do I have to install the tkiz-package myself?
------------------------------
Herzliche Grüße / Best regards
Ulrich Groh
------------------------------
Am 09.04.2008 um 08:55 schrieb HAF MED:
> HELLO,
>
> yu can use pgf ex. :
>
> \documentclass[11pt]{article}
> \usepackage{pgf}
> \usepackage{tikz}
> \usetikzlibrary{arrows,matrix}
> \begin{document}
> $A=\begin{array}{cc}
> \begin{tikzpicture}
> \matrix [matrix of math nodes,left delimiter=(,right delimiter=),
> row 1 column 1/.style={red}
> ]
> {
> a_{11} & \node(c) {a_{12}}; & & \node(d) {a_{1n}}; \\
> \node(a) {a_{21}}; & \node(e) {a_{22}}; & \cdots & a_{2n} \\
> & \vdots & \ddots & \vdots \\
> \node(b) {a_{n1}}; & a_{n2} & \cdots & \node(f) {a_{nn}}; \\
> };
> \draw [red,thick] (e.north west) rectangle (f.south east);
> \draw [-,red,very thick] (a.north) -- (b.south);
> \draw [-,red,very thick] (c.west) -- (d.east);
> \end{tikzpicture} \\
> \end{array}$
> \end{document}
>
>
> 2008/4/9, Will Robertson <wspr81 at gmail.com>:
> On 09/04/2008, at 3:37 PM, Yaniv Hollander wrote:
>
> Does anybody know how I can combine drawings into matrices in Latex?
> For example, lets say I want to present a symmetric matrix, and I
> want to put a triangular containing the word 'SYM' above the cells
> of the lower triangular of the matrix. Is it possible to do such a
> thing?
>
> I'm not really sure what you mean, I'm afraid. It might be be better
> to ask this sort of non-XeTeX specific question in a more general
> group like texhax or comp.text.tex...
>
> Will
> _______________________________________________
> XeTeX mailing list
> postmaster at tug.org
> http://tug.org/mailman/listinfo/xetex
>
>
>
> _______________________________________________
> XeTeX mailing list
> postmaster at tug.org
> http://tug.org/mailman/listinfo/xetex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/xetex/attachments/20080409/5aaf6fa6/attachment-0001.html
More information about the XeTeX
mailing list