import textwrap


def to_scalefont(fontsize=r"\normalsize"):
    """
    Scales the font in the tikzpicture.
    """
    text = rf"""
        \tikzset{{font={fontsize}}}
    """
    return textwrap.dedent(text=text)