{"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.