
多くの列挙リストでグローバルな変更を行う必要があるため、段落(または行)の終わりまでのみ適用されるような方法で中括弧なしで適用できるコマンドを定義する必要があります。たとえば、
\item \changecolor text text text text text text text text text text
text text text text text text text text text.
%defautl color
othertextothertextothertextothertextothertextothertextothertextot
それは可能ですか?
答え1
\def\changecolor{\begingroup\def\par{\endgroup\par}\color{red}}