I would like to adjust fonts according to the distance between pictures (circles) which they refer to.
But didn't succeed!
I tried the following code:
Code: Select all
\newcommand{\redim}[1]{%
\ifx \xunit > 24
{\huge{#1}}
\else
\ifx \xunit > 20
{\LARGE{#1}}
\else
\ifx \xunit > 17
{\Large{#1}}
\else
\ifx \xunit > 14
{\large{#1}}
\else
\ifx \xunit > 12
{\normalsize{#1}}
\else
\ifx \xunit > 10
{\small{#1}}
\else
{\tiny{#1}}
\fi
\fi
\fi
\fi
\fi
\fi
}
The result is always \tiny.
I'm trying to modify psgo.sty, which uses pstrick.
Thank you very much.
Nino