1

I would like to decrease the font-size inside a tikz node. I basically want a normal sized heading word, and then to put a multiline explination below it on \footnotesized font. But the fontsizing command won't apply across linebreaks. And the linebreaks stay the original size

MWE:

\documentclass{article}
\usepackage{tikz}

\begin{document}
    \begin{tikzpicture}
    \node[circle, draw, align=center](lexeme){Lexeme\\ \footnotesize e.g. \\ \footnotesize \{ go, going,\\ \footnotesize goes, went\}};
    \end{tikzpicture}
\end{document}

example of spacing not being right

Closely related: Too large line spacing with different font size (\tiny) in beamer, but that solution did not work for tikz

1

1 Answer 1

5

like this?

enter image description here

\documentclass{article}
\usepackage{tikz}

\begin{document}
    \begin{tikzpicture}
    \node[circle, draw, align=center, font=\footnotesize](lexeme)
        {{\normalsize Lexeme}\\
         e.g.  go, going,\\
         goes, went};
    \end{tikzpicture}
\end{document}

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .