4

I'm using tikz for drawing, and the label are to big, I'm using the font=\tiny parameter, but it's still to big. How can I reduce more the font size?

\draw [<->,line width=0.02cm] ($(first_joint.center) + (0.75, 0)$) node (yaxis) [above, font=\tiny] {$y_{_1}$}
                -| ($(first_joint.center) + (0, -0.75)$) node (xaxis) [left, font=\tiny] {$x_{_1}$};    
  • You can use the option scale. – Marco Daniel Feb 17 '13 at 10:15
  • I just want to change only size of the labels. – Kicsi Mano Feb 17 '13 at 10:24
  • The scale is working fine – Kicsi Mano Feb 17 '13 at 10:28
5

You can use \fontsize (and \selectfont) with a good font like lmodern:

enter image description here

\documentclass[tikz]{standalone}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\begin{document}
\begin{tikzpicture}[inner sep=1pt]
   \node[font=\tiny]{A};
   \node[text=red,font=\fontsize{3}{3.5}\selectfont]{B};
\end{tikzpicture}
\end{document}

Not the answer you're looking for? Browse other questions tagged or ask your own question.