我怎样才能在 Beamer 中缩小我的思维导图?

我怎样才能在 Beamer 中缩小我的思维导图?

我正在尝试在 beamer 中缩小我的思维导图 tikzpicture,但无法缩小中间圆圈的尺寸。

\documentclass{beamer}

\usepackage{tikz}
\usetikzlibrary{mindmap}

\tikzset{level 1 concept/.append style={font=\sf, sibling angle=72,level distance = 25mm}}
\tikzset{level 2 concept/.append style={font=\sf, sibling angle=45,level distance = 15mm}}
\tikzset{level 3 concept/.append style={font=\sf, sibling angle=45,level distance = 15mm}}
\tikzset{every node/.append style={scale=0.6}}

\begin{document}

\begin{frame}
\begin{tikzpicture}[mindmap, grow cyclic, every node/.style=concept, concept color=blue!40, align=flush center]
    \node{Water}
    child { node {River pollution}}
    child { node {Water supply}}
    child { node {Water reuse}}
    child { node {Water conservation / demand}}
    child { node {Changing thoughts around water use}}
;
\end{tikzpicture}
\end{frame}

\end{document}

在此处输入图片描述

答案1

您可以使用以下几个数字:

  1. 气泡之间的距离:改变distance = 25mm

  2. 要调整气泡的大小:node[scale=0.8]


\documentclass{beamer}

\usepackage{tikz}
\usetikzlibrary{mindmap}

\tikzset{level 1 concept/.append style={font=\sf, sibling angle=72,level distance = 35mm}}
\tikzset{level 2 concept/.append style={font=\sf, sibling angle=45,level distance = 20mm}}
\tikzset{level 3 concept/.append style={font=\sf, sibling angle=45,level distance = 20mm}}

\begin{document}

    \begin{frame}
        \begin{tikzpicture}[mindmap, grow cyclic, every node/.style=concept, concept color=blue!40, align=flush center]
        \node[scale=0.8]{Water}
        child { node[scale=0.8] {River pollution}}
        child { node[scale=0.8] {Water supply}}
        child { node[scale=0.8] {Water reuse}}
        child { node[scale=0.8] {Water conservation / demand}}
        child { node[scale=0.8] {Changing thoughts around water use}}
        ;
        \end{tikzpicture}
    \end{frame}

\end{document}

在此处输入图片描述

相关内容