グループ内のテキストを圧縮または伸長するには、\usepackage{microtype} を使用します。

グループ内のテキストを圧縮または伸長するには、\usepackage{microtype} を使用します。

小さなテキスト行の場合は、これを実行できます。グループの場合は、同じ操作を実行するにはどうすればよいでしょうか?

MWE:

% !TeX program = lualatex
%========================================
\documentclass[12pt]{article}
\usepackage[tracking=true]{microtype}
\usepackage{lipsum}
\begin{document}
An example of compressing or stretching small text.

\textls[-15]{An example of compressing or stretching small text.}

\textls[15]{An example of compressing or stretching small text.}

\noindent\rule{\textwidth}{1pt}

\begingroup
\lipsum[1-5]
\endgroup
\end{document}

ここに画像の説明を入力してください

関連情報