对齐、连字

对齐、连字

我是一名博士生,正在 overleaf 上撰写论文。我的导师告诉我要删除连字符,因为它会分散注意力,但现在有些单词超出了页边距(见图)。有人能帮我修改 overleaf 的对齐设置吗?或者可以用其他方法解决这个问题?我的前言是:

\documentclass[12pt]{report}
\usepackage[english]{babel}
\usepackage{anysize}
\marginsize{4cm}{2cm}{2cm}{0cm}
\usepackage[none]{hyphenat}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{fontspec}
\usepackage{amssymb}
\usepackage{makeidx}
\usepackage{xltxtra}
\usepackage{wrapfig}
\usepackage{rotating, graphicx}
\usepackage{microtype}
\usepackage{wasysym}
\usepackage[raggedrightboxes]{ragged2e}
\usepackage[table,xcdraw,svgnames]{xcolor}
\usepackage{booktabs}% http://ctan.org/pkg/booktabs
\newcommand{\tabitem}{~~\llap{\textbullet}~~}
\definecolor{blue}{RGB}{0,102,204}
\usepackage[font={footnotesize, it},format=plain,labelfont={color=blue,bf},justification=justified, labelsep=endash]{caption}
\graphicspath{ {Figures/} }
\usepackage{array}
\newcolumntype{P}[1]{>{\raggedright}p{#1}}
\newcolumntype{M}[1]{>{\centering\arraybackslash}m{#1}}
\usepackage{enumitem}
\setitemize{noitemsep,topsep=0pt,parsep=0pt,partopsep=0pt} % less gaps in itemize sections
\setenumerate{noitemsep,topsep=0pt,parsep=0pt,partopsep=0pt}
\usepackage[raggedright]{titlesec}
\usepackage{placeins}
\usepackage{lipsum}
\usepackage{longtable}
\usepackage{multirow}
\titlespacing{\section}{0pt}{10pt plus 4pt minus 2pt}{5pt}
\titlespacing{\subsection}{0pt}{10pt plus 4pt minus 2pt}{5pt}
\titlespacing{\subsubsection}{0pt}{20pt}{3pt}
\titlespacing{\chapter}{0pt}{0pt}{0pt}  
\usepackage{etoolbox}
\AtBeginEnvironment{tabular}{\small}
\AtBeginEnvironment{longtable}{\small}
\usepackage{tabularx}
\usepackage{setspace}
\setstretch{1.5}
\usepackage{pdflscape}
\usepackage{pdfpages}
\usepackage{textcomp, gensymb}
\usepackage{subcaption}
\setlength{\headheight}{0cm}
\setlength{\headsep}{0cm}
\setlength{\footskip}{30pt}
\setlength{\parskip}{0.5\parskip}
\setlength{\textfloatsep}{0.5\textfloatsep}
\newcommand*{\nchapter}[1]{
    \chapter*{#1}
    \addcontentsline{toc}{chapter}{#1}
}
\makeatletter
    \renewcommand*\@makechapterhead[1]{%
%       \vspace*{50\p@}%
        {%
            \parindent\z@\raggedright\normalfont
           \ifnum\c@secnumdepth>\m@ne
               \huge\bfseries\space\thechapter.\space
%               \nobreak\vskip 20\p@
%           \fi
%           \interlinepenalty\@M
            \Huge\bfseries
            #1\par
            \nobreak\vskip 20\p@
        }
    }
\makeatother
%\usepackage{fancyhdr}
\usepackage{color}   %May be necessary if you want to color links
\usepackage[hidelinks]{hyperref}
%\newcommand{\sectionbreak}{\clearpage}
\usepackage{tocloft}
\setlength\cftaftertoctitleskip{10pt}
\setcounter{tocdepth}{3}
\setcounter{secnumdepth}{3}
\usepackage[backend=biber,style=nature,]{biblatex}
\usepackage{csquotes}
\addbibresource{References.bib}

其中一个单词如何超出边距

相关内容