Matemax” post=71596Salve, volevo sapere se era possibile in qualche modo spezzare questo box creato con tikz su più pagine.
\tikzstyle{mybox} = [draw=blue, text width=0.85\textwidth, fill=gray!20, very thick,
rectangle, rounded corners, inner sep=10pt, inner ysep=20pt]
\tikzstyle{fancytitle} =[fill=red, text=white]\begin{tikzpicture}
\node [mybox] (box){%
Sia $A \in M_{m \times n}{\R}$, esplicitamente
\[
A = \begin{pmatrix}
a_{11} & a_{12} & \cdots & a_{1n} \\
a_{21} & a_{22} & \cdots & a_{2n} \\
\vdots & \vdots & & \vdots \\
a_{m1} & a_{m2} & \cdots & a_{mn}
\end{pmatrix} = \setlength{\arraycolsep}{1pt} %spazio tra le colonne di una matrice
\begin{pmatrix}
\trattino & a_1 & \trattino \\
\trattino & a_2 & \trattino \\
\trattino & a_m & \trattino
\end{pmatrix} = \setlength{\arraycolsep}{3pt}
\begin{pmatrix}
| & | & & | \\
a^1 & a^2 & \cdots & a^n \\
| & | & & | \\
\end{pmatrix}
\]
dove $\left( \trattino \ a_i \ \trattino \right) = \vtre{a_{i1}}{\ldots}{a_{in}}$ indica la $i$-ma riga e $\displaystyle \begin{pmatrix}
| \\
a^j \\
|
\end{pmatrix} = \begin{pmatrix}
a_{1j} \\
a_{2j} \\
\vdots
a_{mj} \\
\end{pmatrix}$
indica la $j$-ma colonna.
};
\node[fancytitle, rounded corners, right=10pt] at (box.north west) {$\bullet \ \textbf{Notazione}$};
%\node[fancytitle, rounded corners] at (box.east) {$\clubsuit$};
\end{tikzpicture}Magari inserendolo in una tabella o minipage. Finora non sono riuscito a farlo.
Grazie
Invece di complicarsi la vita con TikZ, io userei il pacchetto tcolorbox (distribuito sia su TeXLive che MikTeX). Ad esempio:
`
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{amsmath,amssymb}
\usepackage{tcolorbox}
\newcommand{\trattino}{-}
\begin{document}
\begin{tcolorbox}[colback=red!5,colframe=red!75!black
,title=Notazione]
Sia $A \in M_{m \times n}\in R$, esplicitamente
\[
A = \begin{pmatrix}
a_{11} & a_{12} & \cdots & a_{1n} \\
a_{21} & a_{22} & \cdots & a_{2n} \\
\vdots & \vdots & & \vdots \\
a_{m1} & a_{m2} & \cdots & a_{mn}
\end{pmatrix} = \setlength{\arraycolsep}{1pt} %spazio tra le colonne di una matrice
\begin{pmatrix}
\trattino & a_1 & \trattino \\
\trattino & a_2 & \trattino \\
\trattino & a_m & \trattino
\end{pmatrix} = \setlength{\arraycolsep}{3pt}
\begin{pmatrix}
| & | & & | \\
a^1 & a^2 & \cdots & a^n \\
| & | & & | \\
\end{pmatrix}
\]
dove $\left( \trattino \ a_i \ \trattino \right) = a_{i1}{\ldots}{a_{in}}$ indica la $i$-ma riga e $\displaystyle \begin{pmatrix}
| \\
a^j \\
|
\end{pmatrix} = \begin{pmatrix}
a_{1j} \\
a_{2j} \\
\vdots
a_{mj} \\
\end{pmatrix}$
indica la $j$-ma colonna.
\end{tcolorbox}
\end{document}
`
Ovviamente non sapevo cosa fosse il tuo comando \trattino.
Ciao
Claudio