With the package anyfontsize
I can use the command \fontsize{}{}
. But the second argument seems to be without any effect. I read there that it is related to the line space. It doesn't work.
\documentclass{article}
\usepackage{anyfontsize}
\begin{document}
{\fontsize{1cm}{1cm}\selectfont First test : I need to put some text here.}
\bigskip
{\fontsize{1cm}{2cm}\selectfont Second test : I need to put some text here --- does it work?}
\end{document}
Any clue?
fontspec
for Xelatex of Lualatex, you do not need to explicitly loadanyfontsize
.