小型页面中的段落缩进

小型页面中的段落缩进

我在小页面的段落缩进方面遇到了一些问题。

这是我的 MWE 代码:

\documentclass{article}
\usepackage{ragged2e}

\begin{document}
    \begin{minipage}{0.8\textwidth}
        \justify\setlength{\parindent}{1.5em}
        
        \indent My friends, I had not intended to discuss this controversial subject at this particular time. However, I want you to know that I do not shun controversy. On the contrary, I will take a stand on any issue at any time, regardless of how fraught with controversy it might be. You have asked me how I feel about whiskey. All right, here is how I feel about whiskey:
        
        If when you say whiskey you mean the devil’s brew, the poison scourge, the bloody monster, that defiles innocence, dethrones reason, destroys the home, creates misery and poverty, yea, literally takes the bread from the mouths of little children; if you mean the evil drink that topples the Christian man and woman from the pinnacle of righteous, gracious living into the bottomless pit of degradation, and despair, and shame and helplessness, and hopelessness, then certainly I am against it.
        
        But, if when you say whiskey you mean the oil of conversation, the philosophic wine, the ale that is consumed when good fellows get together, that puts a song in their hearts and laughter on their lips, and the warm glow of contentment in their eyes; if you mean Christmas cheer; if you mean the stimulating drink that puts the spring in the old gentleman’s step on a frosty, crispy morning; if you mean the drink which enables a man to magnify his joy, and his happiness, and to forget, if only for a little while, life’s great tragedies, and heartaches, and sorrows; if you mean that drink, the sale of which pours into our treasuries untold millions of dollars, which are used to provide tender care for our little crippled children, our blind, our deaf, our dumb, our pitiful aged and infirm; to build highways and hospitals and schools, then certainly I am for it.
        
        This is my stand. I will not retreat from it. I will not compromise.
    \end{minipage}
\end{document}

输出结果如下: 在此处输入图片描述

我尝试过\indent(如示例中所示)在小页面中设置段落缩进,并\\在段落后添加/删除。当我在段落\\前添加时,出现错误。我还尝试过添加indentfirst包,但没有成功。

任何帮助都将受到赞赏。

注意:我使用 minipage 是因为它适合我的其他文档。但是,如果人们知道如何缩进整段文本(并且仍然保留段落缩进),那就更好了。

谢谢。

答案1

删除后\justify问题完全解决。正如 Phelype Oleinik 对原始问题的评论,小页面中的文本默认是对齐的(并缩进)。

相关内容