“\parfillskip=0pt”可以将普通TeX中的短段落缩短两行吗?

U. Wermuth
{"title":"“\\parfillskip=0pt”可以将普通TeX中的短段落缩短两行吗?","authors":"U. Wermuth","doi":"10.47397/tb/43-3/tb135wermuth-shorten","DOIUrl":null,"url":null,"abstract":"The decisions of TEX when it breaks a paragraph into lines are based on numerical calculations of badness values, line demerits, etc. With the help of the formulas that TEX implements, experts can decide questions about possible or impossible tasks. The question in the title compares the number of lines that TEX produces for a given text, if it is typeset with plain TEX’s default values, to the number that one gets with a single change applied to these defaults: \\parfillskip is set to 0 pt. A problem of this type cannot be solved by the abovemen-tioned formulas alone although they help to find an assumed example in the simplest case of a three-line paragraph. But this example doesn’t respect plain ’s default values, as they aren’t captured in the formulas. Additionally, some assumptions about the TEX input are needed to show that the answer to the question in the title is “no” for Computer Modern Roman fonts of sizes 8 pt, 9 pt, 10 pt, and 12 pt.","PeriodicalId":93390,"journal":{"name":"TUGboat (Providence, R.I.)","volume":"1 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2022-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Can “\\\\parfillskip=0pt” shorten a short paragraph in plain TeX by two lines?\",\"authors\":\"U. Wermuth\",\"doi\":\"10.47397/tb/43-3/tb135wermuth-shorten\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"The decisions of TEX when it breaks a paragraph into lines are based on numerical calculations of badness values, line demerits, etc. With the help of the formulas that TEX implements, experts can decide questions about possible or impossible tasks. The question in the title compares the number of lines that TEX produces for a given text, if it is typeset with plain TEX’s default values, to the number that one gets with a single change applied to these defaults: \\\\parfillskip is set to 0 pt. A problem of this type cannot be solved by the abovemen-tioned formulas alone although they help to find an assumed example in the simplest case of a three-line paragraph. But this example doesn’t respect plain ’s default values, as they aren’t captured in the formulas. Additionally, some assumptions about the TEX input are needed to show that the answer to the question in the title is “no” for Computer Modern Roman fonts of sizes 8 pt, 9 pt, 10 pt, and 12 pt.\",\"PeriodicalId\":93390,\"journal\":{\"name\":\"TUGboat (Providence, R.I.)\",\"volume\":\"1 1\",\"pages\":\"\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2022-01-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"TUGboat (Providence, R.I.)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.47397/tb/43-3/tb135wermuth-shorten\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"TUGboat (Providence, R.I.)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.47397/tb/43-3/tb135wermuth-shorten","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

当TEX将一个段落分成几行时,它的决定是基于对不良值、行错误等的数值计算。在TEX实现的公式的帮助下,专家可以决定有关可能或不可能完成的任务的问题。题目中的问题比较了TEX为给定文本生成的行数(如果使用普通TEX的默认值进行排版)与对这些默认值进行一次更改所得到的行数:\parfillskip被设置为0 pt。这种类型的问题不能仅通过上述公式来解决,尽管它们有助于在最简单的三行段落中找到假设的示例。但是这个例子不考虑plain的默认值,因为它们没有在公式中被捕获。此外,需要对TEX输入进行一些假设,以显示对于大小为8、9、10和12 pt的Computer Modern Roman字体,标题中问题的答案是“否”。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Can “\parfillskip=0pt” shorten a short paragraph in plain TeX by two lines?
The decisions of TEX when it breaks a paragraph into lines are based on numerical calculations of badness values, line demerits, etc. With the help of the formulas that TEX implements, experts can decide questions about possible or impossible tasks. The question in the title compares the number of lines that TEX produces for a given text, if it is typeset with plain TEX’s default values, to the number that one gets with a single change applied to these defaults: \parfillskip is set to 0 pt. A problem of this type cannot be solved by the abovemen-tioned formulas alone although they help to find an assumed example in the simplest case of a three-line paragraph. But this example doesn’t respect plain ’s default values, as they aren’t captured in the formulas. Additionally, some assumptions about the TEX input are needed to show that the answer to the question in the title is “no” for Computer Modern Roman fonts of sizes 8 pt, 9 pt, 10 pt, and 12 pt.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信