Graphics, Figures & Tables ⇒ scaling a matrix
scaling a matrix
I try to scale a matrix that is to big to fit on the page. I have tried \begin{tikzpicture}[scale=.5] but see no difference. Do I need to change font size as well? or is it something else I need to take into consideration?
/Mikael
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
scaling a matrix
besides the
scale
option, we often need to set transform shape
.Perhaps show your example code?
Stefan
scaling a matrix
Here is the code:
(I have
\usepackage{tikz}
\usetikzlibrary{matrix}
in the preamble)
Code: Select all
\begin{figure}
\begin{tikzpicture}[scale=.5]
\matrix (m) [ matrix of nodes, row sep = 1em, column sep = 0em,
nodes={minimum width = 7em, outer sep = 0em}] {
& & & & & & medkännande\\
& & & & &erkännande& \\
& & & &kommunikation& & \\
& & & tolerans & & & \\
& &acceptans & & & & \\
& insikt& & & & & \\
Villighet & & & & & & \\
};
\draw
(m-7-1.south west) -- (m-7-1.south east)
-- (m-6-2.south west) -- (m-6-2.south east)
-- (m-5-3.south west) -- (m-5-3.south east)
-- (m-4-4.south west) -- (m-4-4.south east)
-- (m-3-5.south west) -- (m-3-5.south east)
-- (m-2-6.south west) -- (m-2-6.south east)
-- (m-1-7.south west) -- (m-1-7.south east)
;
\end{tikzpicture}
\caption{De tre nedersta stegen beskriver individuell utveckling som ger god grund för grupputveckling. De fyra översta visar en parallell process på gruppnivå där tolerans motsvara villighet.}
\end{figure}