## 编译环境 操作系统 * [x] Windows 7/8/10 * [ ] macOS * [ ] Linux `若需勾选,请把[ ]改成[x]` Tex发行版 * [x] TexLive `年份` * [ ] MikTeX `版本号` * [ ] CTeX `若需勾选,请把[ ]改成[x]` ## 我的问题 不断词导致单词之间的距离很大怎么办? ## 我的代码 ``` \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{geometry} \geometry{top=1cm, bottom=2cm, left=3cm, right=3cm} \usepackage{ctex} \title{What kind of people can live better} \author{} \date{} \begin{document} \maketitle \thispagestyle{empty} %\normalsize We are constantly told to lean into work, and to push harder, and achieve more. We are given the impression that these are the things that we need to go after in order to have a good life. But is that true? Is that really what keeps people happy as they go through life?The answer is No and the fact is the good life is built with good relationships. \textbf{Social connections are really good for us .} It turns out that people who are more socially connected to family, to friends, to community are happier. They are physically healthier and they live longer than people who are less well connected. And the experience of loneliness turns out to be toxic. People, who are more isolated than they want to be from others, find that they’re less happy, their health declines earlier in mid-life, their brain functioning declines sooner, and they live shorter lives than people who are not lonely. And the sad fact is, that at any given time, more than 1 in 5 Americans will report, that they are lonely. And we know that you can be lonely in a crowd, and you can be lonely in a marriage. ``` ## 结果 ![](https://wenda.latexstudio.net/data/attach/201202/BWgHvTyt.png)

3 回答3

0
第一个问题:你自己在代码里加了一个空格…… 第二个问题:你用了中文输入法输入那个引号……
  • 引号在编码上不区分半角/全角,解决办法是 `xeCJk` 的 `\xeCJKDeclareCharClass` 功能,或者干脆不要加载 `ctex` 或 `xeCJK` – zepinglee 2020-12-03 01:25 回复
  • 谢谢!! – ⊙▽爆炒鹅卵石∧⊙ 2020-12-02 16:58 回复
  • 谢谢!! – ⊙▽爆炒鹅卵石∧⊙ 2020-12-02 16:58 回复
0
输入不规范造成的,细心些就好了
0
第一个: . 的左右都加了空格;第二个问题:是输入的时候造 成的,也就是输入的‘不对。

你的回答

请登录后回答

你的回答将会帮助更多人,请务必认真回答问题。