![双倍行距的行数(与 Word 相比)](https://linux22.com/image/259032/%E5%8F%8C%E5%80%8D%E8%A1%8C%E8%B7%9D%E7%9A%84%E8%A1%8C%E6%95%B0%EF%BC%88%E4%B8%8E%20Word%20%E7%9B%B8%E6%AF%94%EF%BC%89.png)
我是 LaTeX 的新手。我注意到我的文档在 Word 中比在 LaTeX 中长了近一页。(LaTeX 中约 7.25 页,Word 中约 8.25 页)。这似乎是因为我的 Word 文档每页有 23 行,而我的 LaTeX 文档有 27 行。我思考边距相同(我将其设置为相同,但没有测量过)。
我的文档的开头是这样的:
\documentclass[12pt]{article}
\usepackage[margin=1.25in,top=1in,bottom=1in]{geometry}
\usepackage{textcomp}
\usepackage{setspace}
\doublespacing
...这就是我所拥有的所有格式。
LaTeX/Word 中的默认“双倍行距”是否setspace
比 Word 小?我如何手动调整它(在 LaTeX 中)?
答案1
这(主要是)因为\doublespacing
相当于的\setstretch{1.667}
并不完全等同于 Word 中的双线。
要将 27 行减少到 23 行,您可以使用:
\usepackage{setspace}
\setstretch{2}
或者更简单:
\linespread{2} % without any package.
效果相同:
\baselineskip=29pt %in the body of the document
您lineno
可以快速测试此设置:
\documentclass[12pt]{article}
\usepackage{lipsum}
\usepackage[margin=1.25in,top=1in,bottom=1in]{geometry}
\linespread{2}
\usepackage{lineno}
\linenumbers
\begin{document}
\lipsum[1-10]
\end{document}