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
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Stefan Kottwitz
- Site Admin
- Posts: 10348
- 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}