一半的基线跳跃应该被传递并重新缩放。如果我使用
\usepackage{mathptmx}
\usepackage{anyfontsize}
...
{\fontsize{0.05\textheight}{0.05\textheight}\selectfont
Text over two lines will be passed so.
Fill in some other useless words, for getting, that there is no baselineskipt.}
没有baselineskip。为什么“skip”参数没有任何效果?
一个可能的解决方案是:
{\fontsize{0.05\textheight}{0.05\textheight}\selectfont
\parbox{0.8\textwidth}{Text over two lines will be passed so.
Fill in some other useless words, for getting, that there is no baselineskipt.}}
答案1
您走在正确的轨道上:您需要结束当前段落,以便您的更改生效。
\documentclass{scrartcl}
\usepackage{textpos}
\begin{document}
Text over two lines will be passed so. Fill in some other useless
words, for getting, that there is no baselineskipt.
{\fontsize{0.05\textheight}{0.05\textheight}\selectfont Text over
two lines will be passed so. Fill in some other useless words, for
getting, that there is no baselineskipt.\par}
\end{document}