TeX 文档类别与页面风格详解

3星 · 超过75%的资源 需积分: 10 5 下载量 100 浏览量 更新于2024-09-17 收藏 363KB PDF 举报
"TeX-文档类别和页面风格.pdf"是一份专注于介绍LaTeX文档管理和页面设置的专业文档。LaTeX是一款强大的排版系统,它特别适合创建高质量的科技论文、报告和书籍。文档主要讨论了三个核心主题:文档类别、字体大小调整和纸张尺寸设定。 1. 文档类别: LaTeX支持多种文档类型,包括标准的论文、报告、书籍、幻灯片等。文档类别主要通过特定的命令或环境来定义,如`article`, `report`, `book`, 和`beamer`(用于制作幻灯片)。每种类别都有其特有的布局和格式要求,用户可以根据实际需求选择合适的类别。 2. 字体大小: 在LaTeX中,字体大小的设置非常重要,因为它影响到文档的可读性和视觉效果。除了标准的字体大小外,还可以通过可选参数进行自定义,例如`\fontsize{size}{baselineskip}`,其中`size`是字体大小,`baselineskip`是行间距。默认情况下,非幻灯片文档使用`\normalsize`,而幻灯片则可能有不同的默认设置。 3. 纸张大小: 纸张大小的设置同样灵活,LaTeX允许用户指定宽度、高度以及边距。默认情况下,大部分文档类型采用标准的A4纸张,但也可以通过可选参数设置为其他尺寸,如`\paperwidth`和`\paperheight`。例如,`geometry`包可以用来方便地调整纸张布局。 4. 可选参数与页面风格: 文档中提到的“杂类可选参数”涉及到更细致的页面定制,比如选择横向或纵向布局(通过`\raggedleft`, `\raggedright`, 或`\centering`实现),以及控制某些元素的位置和排列方式。这些参数允许用户根据个人喜好或者出版要求对页面布局进行微调。 总结来说,这份文档为LaTeX使用者提供了深入理解文档分类和页面风格设置的指南,帮助他们更好地组织和设计文档,确保输出的美观性和专业性。通过掌握这些知识,无论是学术写作还是商业报告,都能轻松创建出符合期望格式的高质量文档。

翻译 This is Elsevier's new document class for typeset journal articles, elsarticle.cls. It is now accepted for submitted articles, both in Elsevier's electronic submission system and elsewhere. Elsevier's previous document class for typeset articles, elsart.cls, is now over 10 years old. It has been replaced with this newly written document class elsarticle.cls, which has been developed for Elsevier by the leading TeX developer STM Document Engineering Pvt Ltd. elsarticle.cls is based upon the standard LaTeX document class article.cls. It uses natbib.sty for bibliographical references. Bugs and problems with elsarticle.cls may be reported to the developers of the class via elsarticle@stmdocs.in. The file manifest.txt provides a list of the files in the elsarticle bundle. The following are the main files available: - elsarticle.dtx, the dtx file - elsdoc.pdf, the user documentation - elsarticle-template-num.tex, template file for numerical citations - elsarticle-template-harv.tex, template file for name-year citations - elsarticle-template-num-names.tex, template file for numerical citations + new natbib option. Eg. Jones et al. [21] - elsarticle-num.bst, bibliographic style for numerical references - elsarticle-harv.bst, bibliographic style for name-year references - elsarticle-num-names.bst, bibliographic style for numerical referencces + new natbib option for citations. To extract elsarticle.cls from *.dtx: latex elsarticle.ins The documentation file is elsdoc.tex in the contrib directory. To compile it: 1. pdflatex elsdoc 2. pdflatex elsdoc 3. pdflatex elsdoc

2023-06-01 上传