LaTeX 并没有对任何接近理智的文字进行自动换行:
\documentclass{article}
\usepackage{graphicx}
\usepackage{wrapfig}
\usepackage{geometry}
\usepackage{lipsum}
\geometry{margin=1in}
\begin{document}
\begin{wrapfigure}{r}{3.2in}
\rule{3in}{5in}
\end{wrapfigure}
\raggedright
\parindent=0.5in
\lipsum[1]
% Q 1
One of the greatest strengths of the Chase ad is that the information is
presented in two main different styles of text. One style, which presents the
narrative of the character in the ad, is handwritten, which personalizes the
story and catches the audience's attention. Since the ad campaign is for the
business card ``Ink'', it is fitting for the text to look like it is written by
hand and with a pen.
\end{document}
呈现为:
注意第二段的第一行,你会感到震惊。为什么渲染是那样的?(甚至第一段都是可疑的......)
答案1
使用ragged2e
包及其\RaggedRight
命令(注意大写)代替\raggedright
。LaTeX 的标准\raggedright
命令是已知从而产生如此糟糕的结果。
答案2
答案3
您还可以通过以下定义进一步获得一些改进:
%% From "Latex Companion": Spaces between words:
\tolerance=2000
\emergencystretch=20pt