我希望 LaTex 在行尾断词(在需要的地方)——无论是在正文中还是在引号中。
经历过类似的问题后,听起来 LaTex 通常会自动执行此操作,所以也许我在序言中以某种方式“将其关闭”。
有人能看出解决方案是什么吗?我正在使用 Overleaf 并在 pdfLaTex 中进行编译。
电流输出照片:https://i.stack.imgur.com/R8Q0I.png
序言及正文示例:
\documentclass[oneside]{article}
%%%% Packages
\usepackage[T1,T2A]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[russian,english]{babel}
\babeltags{ru=russian, en=english}
\usepackage{blindtext}
\usepackage{footnote}
\usepackage{csquotes}
\usepackage[style=apa, citestyle=apa, sorting=nyt ]{biblatex}
\addbibresource{Biblo.bib}
\usepackage{eso-pic}
\usepackage{graphicx}
\usepackage[a4paper, hmargin={2.5cm, 3cm}, vmargin={3cm, 3cm}]{geometry}
\usepackage{fancyhdr}
\graphicspath{ {figures/} }
\usepackage{array}
\usepackage[titletoc]{appendix}
\usepackage{tcolorbox}
\usepackage{tabularx}
\usepackage{multirow}
\usepackage{marginnote}
\usepackage{threeparttable}
\usepackage[font=small,format=plain,labelfont=bf,textfont=normal,justification=justified,singlelinecheck=false]{caption}
\usepackage{amsmath}
\usepackage{setspace}
\usepackage{parskip}
\usepackage{float}
\pagestyle{fancy}
\usepackage{etoolbox}\apptocmd\appendix{\pretocmd\section{\clearpage}{}{}}{}{}
\usepackage{subfiles}
% Extra packages
\usepackage[T1]{fontenc}
\usepackage{bmpsize}
\usepackage{topcapt}
\usepackage{booktabs}
\usepackage{wrapfig}
\usepackage{url}
\usepackage{ragged2e}
\usepackage{rotating}
\usepackage{relsize,etoolbox}
\let\oldquote\quote
\let\oldendquote\endquote
\renewenvironment{quote}
{\vspace{\dimexpr-12pt-\topsep+\baselineskip\relax}\begin{spacing}{1}\oldquote}
{\oldendquote\end{spacing}\vspace{\dimexpr-12pt-\topsep+\baselineskip\relax}}
% Commands
\setstretch{2.5}
\newcommand{\margmod}[1]{\marginnote{\setstretch{.5}\parbox[t]{\marginparwidth}{\raggedright\emph{#1}}}}
%%%% Layout style
\linespread{1.5}
\fancyhead[L]{}
\fancyhead[R]{\slshape \rightmark}
\setlength{\parindent}{2em}
\setlength{\parskip}{0em}
%%%% The document
\begin{document}
\fancyhead[R]{\leftmark}
\fancyhead[L]{\rightmark}
\pagenumbering{arabic}
\small
In terms of the topic 'UK Politics' - the last of the four lowest-ranking topics I will focus on here -, the reason for this topic's low position is more difficult to determine, although the same argument as above can be the case again. In terms of UK politics, the qualitative examination of the topic revealed that most of the articles - unsurprisingly - were about Brexit, and as the following excerpt illustrate, the language again is not framed in any particular way:
\begin{quote}
\centering
The European Union's chief Brexit negotiator said on Monday that businesses still face the risk of a "cliff edge" Brexit at the end of the year, given the short time available to negotiate a future trading relationship between Britain and the EU. Michel Barnier told a joint news conference with Irish Prime Minister Leo Varadkar, Reuters quoted Barnier as saying. (RT, 28 January 2020)
\end{quote}
\noindent
Actually, in none of the articles reviewed (those with the highest LDA score for topic 16), Russia was even mentioned. As before, this suggests that those articles about the UK - and the European Union for that sake (as there is no topic specifically about the European Union) - that also are related to Russia instead are captured by topic 17. That being said, the relatively low-ranking position of topic 17 below the middle in Figure X suggests that articles about 'Russia \& the EU' are not among the most important RT topics. In Figure X, on the other hand, the topic is positioned just above the mean value.
\end{document}
答案1
您已\centering
在引文和\raggedright
页边距中使用了停止连字符,因为它们会在每行文本的两侧添加可拉伸的空间。