为什么Latex不会自动为我连字符[关闭] 。

问题描述 投票:0回答:1

为什么不使用乳胶? 自动 连字

\documentclass[onecolumn]{article}
\title{Title}

\begin{document}

\maketitle

\section{Section}
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

Why doesn't Latex  hyphenate a word for me? The words aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa goes beyond the boundary like this.
\end{document}

Latex为什么不给我连字?

enter image description here

latex
1个回答
0
投票

Latex只能对它知道如何连字符的单词进行连字符。如果你遇到一个Latex不知道连字符的单词,你可以手动告诉它可能的连字符点。

\documentclass[onecolumn]{article}
\title{Title}

\usepackage[english]{babel}
\hyphenation{aaa-aaaaa-aaaaaaa-aaaaa-aaaaaaa-aaaaaa-aaaaaa}

\begin{document}

\maketitle

\section{Section}

Why doesn't Latex  hyphenate a word for me? The words aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa goes beyond the boundary like this.
\end{document}

enter image description here

© www.soinside.com 2019 - 2024. All rights reserved.